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/OracleConnectionManager/README.md
+40-11Lines changed: 40 additions & 11 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -3,12 +3,13 @@ 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 23ai Client (23.5) for Linux x86-64
6
7
* Oracle Database 21c Client (21.3) for Linux x86-64
7
8
* Oracle Database 19c Client (19.3) for Linux x86-64
8
9
* Oracle Database 18c Client (18.3) for Linux x86-64
9
10
* Oracle Database 12c Release 2 Client (12.2.0.1.0) for Linux x86-64
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
+
To assist in building the container images, you can use the [buildContainerImage.sh](containerfiles/buildContainerImage.sh) script. See section **Create Oracle Connection Manager Image** for instructions and usage.
12
13
13
14
**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
15
@@ -20,15 +21,32 @@ dnf install podman-docker -y
20
21
For complete Oracle Connection Manager setup, please go though following steps and execute them as per your enviornment:
21
22
22
23
### Create Oracle Connection Manager Image
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.
24
+
**IMPORTANT:** You will have to provide the installation binaries of Oracle ADMIN Client Oracle Database 23ai Client (23.5) for Linux x86-64 and put them into the `containerfiles/<version>` folder. You only need to provide the binaries for the edition you are going to install.
24
25
25
26
The binaries can be downloaded from the [Oracle Technology Network](http://www.oracle.com/technetwork/database/enterprise-edition/downloads/index.html).
26
27
27
28
You also have to make sure to have internet connectivity for yum. Note that you must not uncompress the binaries.
28
29
29
30
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
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:
32
+
Before you build the image make sure that you have provided the installation binaries and put them into the right folder.
33
+
34
+
#### Create Oracle Connection Manager Image in Podman Hosts
35
+
Go into the **containerfiles** folder and run the **buildContainerImage.sh** script as root or with sudo privileges:
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.
105
+
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`, `DB_HOSTDETAILS` according to your environment. Also, container will be binding to port 1521 on your docker host.
77
106
78
107
**Note:** SCAN_NAME and SCAN_IP will be your Oracle RAC SCAN details. These will be registered in connection manager but will be accessible when you create Oracle RAC container.
79
108
@@ -86,7 +115,7 @@ docker logs racnodedc1-cman
86
115
87
116
Check logs in `Podman Host` -
88
117
```bash
89
-
docker logs racnodepc1-cman
118
+
podman logs racnodepc1-cman
90
119
```
91
120
92
121
You should see following when cman container setup is done:
0 commit comments