You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: OracleDatabase/RAC/OracleRACStorageServer/README.md
+9-66Lines changed: 9 additions & 66 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -11,7 +11,6 @@ Refer to the following instructions for setup of NFS Container for Oracle RAC:
11
11
-[NFS Server installation on Podman Host](#nfs-server-installation-on-podman-host)
12
12
-[SELinux Configuration on Podman Host](#selinux-configuration-on-podman-host)
13
13
-[Oracle RAC Storage Container for Podman Host](#oracle-rac-storage-container-for-podman-host)
14
-
-[Oracle RAC Storage container for Docker Host](#oracle-rac-storage-container-for-docker-host)
15
14
-[Create NFS Volume](#create-nfs-volume)
16
15
-[Copyright](#copyright)
17
16
@@ -22,7 +21,7 @@ To create the files for Oracle RAC storage, ensure that you have at least 60 GB
22
21
23
22
To assist in building the images, you can use the [`buildContainerImage.sh`](containerfiles/buildContainerImage.sh) script. See below for instructions and usage.
24
23
25
-
In this guide, we refer to Oracle Linux 8 onwards as the Podman Host, and Oracle Linux 7 as the Docker Host machines.
24
+
In this guide, we refer to Oracle Linux 8 onwards as the Podman Host.
26
25
27
26
The `buildContainerImage.sh` script is just a utility shell script that performs MD5 checks. It provides an easy way for beginners to get started. Expert users are welcome to directly call `podman build` with their preferred set of parameters. Go into the **containerfiles** folder and run the **buildContainerImage.sh** script on your Podman host:
28
27
@@ -38,20 +37,15 @@ In a successful build, you should see build messages similar to the following:
38
37
--> oracle/rac-storage-server:latest
39
38
```
40
39
41
-
**NOTE**: To build an Oracle RAC storage Image for the Docker host, pass the version `ol7` to buildContainerImage.sh
42
-
43
40
For detailed usage notes for this script, run the following command:
To check the Oracle RAC storage container and services creation logs, you can run a `tail` command on the Docker logs. It should take approximately 10 minutes to create the racnode-storage container service.
127
+
To check the Oracle RAC storage container and services creation logs, you can run a `tail` command on the Podman logs. It should take approximately 10 minutes to create the racnode-storage container service.
To check the Oracle RAC storage container and services creation logs, you can run a `tail` command on the Docker logs. It should take 10 minutes to create the racnode-storage container service.
184
-
185
-
```bash
186
-
docker logs -f racnode-storage
187
-
```
188
-
189
141
**IMPORTANT:** During the container startup, five files with the name `asm_disk0[1-5].img` will be created under `/oradata`. If the files are already present, then they will not be recreated. These files can be used for ASM storage in Oracle RAC containers.
190
142
191
143
**NOTE**: Place the directory in a container that has at least 60 GB. In the preceding example, we are using `/scratch/stage/rac-storage/$ORACLE_DBNAME`. Change these values according to your environment. Inside the container, the directory will be `/oradata`. Do not change this value.
192
144
193
145
In the following example, we use **192.168.17.0/24** as the subnet for the NFS server. You can change the subnet values according to your environment.
194
146
195
-
You should see following in the Docker logs output:
196
-
197
-
198
147
**IMPORTANT:** The NFS volume must be `/oradata`, which you will export to Oracle RAC containers for ASM storage. It will take approximately 10 minutes to set up the NFS server.
199
148
200
149
### Create NFS Volume
201
-
#### Create NFS volume using the following command on the Podman Host
202
150
203
151
```bash
204
152
podman volume create --driver local \
@@ -208,15 +156,7 @@ podman volume create --driver local \
208
156
racstorage
209
157
```
210
158
211
-
#### Create NFS volume using following command on Docker Host
**IMPORTANT:** If you are not using the `192.168.17.0/24` subnet then you must change **addr=192.168.17.80** based on your environment.
221
161
222
162
## Environment variables explained
@@ -226,6 +166,9 @@ racstorage
226
166
| DNS_SERVER | Default set to `10.0.20.25`. Specify the comma-separated list of DNS server IP addresses where both Oracle RAC nodes are resolved. |
227
167
| DOMAIN | Default set to `example.info`. Specify the domain details for the Oracle RAC Container Environment. |
228
168
169
+
## Sample Container Files for Older Releases
170
+
To setup an Oracle RAC storage Container for the Docker host on Oracle Linux 7, refer older [README](./README1.md#how-to-build-nfs-storage-container-image-on-docker-host)
171
+
instructions.
229
172
## License
230
173
Unless otherwise noted, all scripts and files hosted in this repository that are required to build the container images are under UPL 1.0 license.
0 commit comments