Skip to content

Commit 1348358

Browse files
authored
readme file changes for NFS Storage Devices (#2752)
1 parent 8bf9a88 commit 1348358

File tree

2 files changed

+63
-71
lines changed

2 files changed

+63
-71
lines changed

OracleDatabase/RAC/OracleRACStorageServer/README.md

Lines changed: 8 additions & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,10 @@ You would see successful build message similar like below-
4141
### How to build NFS Storage Container Image on Docker Host
4242
You need to make sure that you have atleast 60GB space available for container to create the files for RAC storage.
4343

44-
**IMPORTANT:** If you are behind the proxy, you need to set http_proxy env variable based on your enviornment before building the image.
44+
**IMPORTANT:** If you are behind the proxy, you need to set http_proxy env variable based on your enviornment before building the image. Please ensure that you have the `podman-docker` package installed on your OL8 Podman host to run the command using the docker utility.
45+
```bash
46+
dnf install podman-docker -y
47+
```
4548

4649
To assist in building the images, you can use the [buildDockerImage.sh](dockerfiles/buildDockerImage.sh) script. See below for instructions and usage.
4750

@@ -59,21 +62,16 @@ For detailed usage of command, please execute folowing command:
5962
## Create Bridge Network
6063
Before creating container, create the bridge private network for NFS storage container.
6164

62-
On Docker host-
65+
On the host-
6366
```bash
6467
docker network create --driver=bridge --subnet=192.168.17.0/24 rac_priv1_nw
6568
```
6669

67-
On Podman host-
68-
```bash
69-
podman network create --driver=bridge --subnet=192.168.17.0/24 rac_priv1_nw
70-
```
71-
7270
**Note:** You can change subnet according to your environment.
7371

7472

7573
## NFS Server installation on Host
76-
You must install NFS server rpms on host to utilize NFS volumes in containers.
74+
Ensure to install NFS server rpms on host to utilize NFS volumes in containers-
7775

7876
```bash
7977
yum -y install nfs-utils
@@ -105,7 +103,7 @@ podman run -d -t \
105103
--cap-add NET_ADMIN \
106104
--volume /scratch/stage/rac-storage/$ORACLE_DBNAME:/oradata \
107105
--network=rac_priv1_nw \
108-
--ip=192.168.17.80 \
106+
--ip=192.168.17.25 \
109107
--systemd=always \
110108
--restart=always \
111109
--name racnode-storage \
@@ -170,16 +168,6 @@ Create NFS volume for /oradata
170168
### Create NFS Volume
171169
Create NFS volume using following command on Podman Host:
172170

173-
```bash
174-
podman volume create --driver local \
175-
--opt type=nfs \
176-
--opt o=addr=192.168.17.80,rw,bg,hard,tcp,vers=3,timeo=600,rsize=32768,wsize=32768,actimeo=0 \
177-
--opt device=192.168.17.80:/oradata \
178-
racstorage
179-
```
180-
181-
Create NFS volume using following command on Docker Host:
182-
183171
```bash
184172
docker volume create --driver local \
185173
--opt type=nfs \
@@ -188,7 +176,7 @@ docker volume create --driver local \
188176
racstorage
189177
```
190178

191-
**IMPORTANT:** If you are not using 192.168.17.0/24 subnet then you need to change **addr=192.168.17.80** based on your environment.
179+
**IMPORTANT:** If you are not using 192.168.17.0/24 subnet then you need to change **addr=192.168.17.25** based on your environment.
192180

193181
**IMPORTANT:** The NFS volume must be `/oradata` which you will export to RAC containers for ASM storage. It will take 10 minutes for setting up NFS server.
194182

0 commit comments

Comments
 (0)