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
docker compose completed with blockdevices
NFS tested with RAC on Docker with Docker Compose
NEW DNS all testing completed with Podman and Podman Compose
Copy file name to clipboardExpand all lines: OracleDatabase/RAC/OracleConnectionManager/README.md
+49-19Lines changed: 49 additions & 19 deletions
Original file line number
Diff line number
Diff line change
@@ -3,50 +3,74 @@ Sample container build files to facilitate installation, configuration, and envi
3
3
4
4
## How to build and run
5
5
This project offers sample container images for:
6
-
* Oracle Database 21c Client (21.3) for Linux x86-64
7
-
* Oracle Database 19c Client (19.3) for Linux x86-64
8
-
* Oracle Database 18c Client (18.3) for Linux x86-64
9
-
* Oracle Database 12c Release 2 Client (12.2.0.1.0) for Linux x86-64
6
+
* Oracle Database 21c Client (21.3) for Linux x86-64
7
+
* Oracle Database 19c Client (19.3) for Linux x86-64
8
+
* Oracle Database 18c Client (18.3) for Linux x86-64
9
+
* Oracle Database 12c Release 2 Client (12.2.0.1.0) for Linux x86-64
10
10
11
11
To assist in building the container images, you can use the [buildContainerImage.sh](dockerfiles/buildContainerImage.sh) script. See section **Create Oracle Connection Manager Image** for instructions and usage.
12
12
13
13
**IMPORTANT:** Oracle Connection Manager binds to a single port on your host and proxies incoming connections to multiple running containers. It can also proxy connections for users to Oracle RAC Databases running on internal container networks.
14
14
15
+
If you are on Podman Host, please ensure that you have the `podman-docker` package installed on your OL8 Podman host to run the command using the docker utility.
16
+
```bash
17
+
dnf install podman-docker -y
18
+
```
19
+
15
20
For complete Oracle Connection Manager setup, please go though following steps and execute them as per your enviornment:
16
21
17
22
### Create Oracle Connection Manager Image
18
-
**IMPORTANT:** You will have to provide the installation binaries of Oracle ADMIN Client Oracle Database 21c Client (21.3) for Linux x86-64 and put them into the `dockerfiles/<version>` folder. You only need to provide the binaries for the edition you are going to install. The binaries can be downloaded from the [Oracle Technology Network](http://www.oracle.com/technetwork/database/enterprise-edition/downloads/index.html). You also have to make sure to have internet connectivity for yum. Note that you must not uncompress the binaries.
23
+
**IMPORTANT:** You will have to provide the installation binaries of Oracle ADMIN Client Oracle Database 21c Client (21.3) for Linux x86-64 and put them into the `dockerfiles/<version>` folder. You only need to provide the binaries for the edition you are going to install.
19
24
20
-
The `buildContainerImage.sh` script is just a utility shell script that performs MD5 checks and is an easy way for beginners to get started. Expert users are welcome to directly call `docker build` with their prefered set of parameters.Before you build the image make sure that you have provided the installation binaries and put them into the right folder. Go into the **dockerfiles** folder and run the **buildContainerImage.sh** script as root or with sudo privileges:
25
+
The binaries can be downloaded from the [Oracle Technology Network](http://www.oracle.com/technetwork/database/enterprise-edition/downloads/index.html).
21
26
22
-
```
27
+
You also have to make sure to have internet connectivity for yum. Note that you must not uncompress the binaries.
28
+
29
+
The `buildContainerImage.sh` script is just a utility shell script that performs MD5 checks and is an easy way for beginners to get started. Expert users are welcome to directly call `docker build` with their prefered set of parameters.
30
+
31
+
Before you build the image make sure that you have provided the installation binaries and put them into the right folder. Go into the **dockerfiles** folder and run the **buildContainerImage.sh** script as root or with sudo privileges:
Before creating container, create the bridge. If you are using same bridge with same network then you can use same IPs mentioned in **Create Containers** section.
In the above container, you can see that we are passing env variables using "-e". You need to change PUBLIC_IP, PUBLIC_HOSTNAME, SCAN_NAME, SCAN_IP according to your environment. Also, container will be binding to port 1521 on your docker host.
@@ -55,13 +79,19 @@ In the above container, you can see that we are passing env variables using "-e"
55
79
56
80
To check the Cman container/services creation logs , please tail docker logs. It will take 2 minutes to create the Cman container service.
57
81
82
+
Check logs in `Docker Host` -
83
+
```bash
84
+
docker logs racnodedc1-cman
58
85
```
59
-
docker logs racnode-cman
86
+
87
+
Check logs in `Podman Host` -
88
+
```bash
89
+
docker logs racnodepc1-cman
60
90
```
61
91
62
92
You should see following when cman container setup is done:
Copy file name to clipboardExpand all lines: OracleDatabase/RAC/OracleDNSServer/README.md
+34-12Lines changed: 34 additions & 12 deletions
Original file line number
Diff line number
Diff line change
@@ -7,13 +7,17 @@ Sample container build files to facilitate installation, configuration, and envi
7
7
## How to build and run
8
8
You need to make sure that you have at least 350MB of space available for the container to create the files for RAC DNS server.
9
9
10
-
**IMPORTANT:** If you are behind a proxy, you need to set the `http_proxy or https_proxy` env variable based on your environment before building the image.
10
+
**IMPORTANT:** If you are behind a proxy, you need to set the `http_proxy or https_proxy` env variable based on your environment 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.
11
+
```bash
12
+
dnf install podman-docker -y
13
+
```
11
14
12
15
The `buildContainerImage.sh` script can assist with building the images. See below for instructions and usage.
13
16
14
17
The `buildContainerImage.sh` script is a utility shell script that performs MD5 checks and is an easy way to get started. Users can also use the docker build command to build an image with custom configuration parameters. To run the script, go into the `dockerfiles` folder and run the `buildContainerImage.sh` script:
In the above example, we used **172.16.1.0/24** subnet for the DNS server. You can change the subnet values according to your environment.
54
74
75
+
Also, `RAC_NODE_NAME_PREFIXD`, `RAC_NODE_NAME_PREFIXP`, and `PRIVATE_DOMAIN_NAME` are optional environment variables. You can utilize one depending on whether you are planning to use DNS Server on Docker or Podman Host and want to utilize the Private Network Domain respectively.
76
+
55
77
To check the DNS server container/services creation logs, please tail the Docker logs. It may take up to 2 minutes for the racdns container to start completely.
56
78
57
79
```bash
58
-
docker logs -f racdns
80
+
docker logs -f rac-dnsserver
59
81
```
60
82
61
83
you should see the following in docker logs output:
Oracle Database Docker Image for Real Application Clusters (RAC) version $VERSION is ready to be extended:
136
130
137
131
--> $IMAGE_NAME
138
132
139
133
Build completed in $BUILD_ELAPSED seconds.
140
134
141
135
EOF
142
-
143
136
else
144
-
echo"Oracle Database Real Application Clusters Docker Image was NOT successfully created. Check the output and correct any reported problems with the docker build operation."
0 commit comments