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/OracleRealApplicationClusters/README.md
+2-1Lines changed: 2 additions & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -63,7 +63,8 @@ Also, When you are performing the installation using any files from podman host
63
63
* To resolve VIPs and SCAN IPs in this guide, we use a preconfigured DNS server in our environment.
64
64
Replace environment variables `-e DNS_SERVERS=10.0.20.25`,`--dns=10.0.20.25`,`-e DOMAIN=example.info` and `--dns-search=example.info` parameters in the examples in this guide based on your environment.
65
65
66
-
* The Oracle RAC `Containerfile` does not contain any Oracle software binaries. Download the following software from the [Oracle Technology Network](https://www.oracle.com/technetwork/database/enterprise-edition/downloads/index.html), if you are planning to build Oracle RAC Container Images from next section. However, if you are using pre-built RAC images from the Oracle Container Registry, then you can skip this step.
66
+
* The Oracle RAC `Containerfile` does not contain any Oracle software binaries. Download the following software from the [Oracle Technology Network](https://www.oracle.com/technetwork/database/enterprise-edition/downloads/index.html), if you are planning to build Oracle RAC Container Images from next section.
67
+
However, if you are using pre-built RAC images from the Oracle Container Registry, then you can skip this step.
67
68
- Oracle Grid Infrastructure 21c (21) for Linux x86-64
Copy file name to clipboardExpand all lines: OracleDatabase/RAC/OracleRealApplicationClusters/docs/README_1.md
+36-30Lines changed: 36 additions & 30 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -4,7 +4,8 @@ Learn about container deployment options for Oracle Real Application Clusters (O
4
4
5
5
## Overview of Running Oracle RAC in Containers
6
6
7
-
Oracle Real Application Clusters (Oracle RAC) is an option to the award-winning Oracle Database Enterprise Edition. Oracle RAC is a cluster database with a shared cache architecture that overcomes the limitations of traditional shared-nothing and shared-disk approaches to provide highly scalable and available database solutions for all business applications. Oracle RAC uses Oracle Clusterware as a portable cluster software that allows clustering of independent servers so that they cooperate as a single system and Oracle Automatic Storage Management (Oracle ASM) to provide simplified storage management that is consistent across all servers and storage platforms. Oracle Clusterware and Oracle ASM are part of the Oracle Grid Infrastructure, which bundles both solutions in an easy to deploy software package.
7
+
Oracle Real Application Clusters (Oracle RAC) is an option to the award-winning Oracle Database Enterprise Edition. Oracle RAC is a cluster database with a shared cache architecture that overcomes the limitations of traditional shared-nothing and shared-disk approaches to provide highly scalable and available database solutions for all business applications.
8
+
Oracle RAC uses Oracle Clusterware as a portable cluster software that allows clustering of independent servers so that they cooperate as a single system and Oracle Automatic Storage Management (Oracle ASM) to provide simplified storage management that is consistent across all servers and storage platforms. Oracle Clusterware and Oracle ASM are part of the Oracle Grid Infrastructure, which bundles both solutions in an easy to deploy software package.
8
9
9
10
For more information on Oracle RAC Database 21c refer to the [Oracle Database documentation](http://docs.oracle.com/en/database/).
10
11
@@ -97,7 +98,9 @@ Complete each of the following prerequisites:
97
98
sysctl -p
98
99
```
99
100
100
-
8. To resolve VIPs and SCAN IPs, we are using a DNS container in this guide. Before proceeding to the next step, create a [DNS server container](../OracleDNSServer/README.md). If you have a pre-configured DNS server in your environment, then you can replace `-e DNS_SERVERS=172.16.1.25`, `--dns=172.16.1.25`, `-e DOMAIN=example.com` and `--dns-search=example.com` parameters in **Section 2: Building Oracle RAC Database Podman Install Images** with the `DOMAIN_NAME` and `DNS_SERVER` based on your environment. You must ensure that you have the`Podman-docker` package installed on your OL8 Podman host to run the command using the `docker` utility.
101
+
8. To resolve VIPs and SCAN IPs, we are using a DNS container in this guide. Before proceeding to the next step, create a [DNS server container](../OracleDNSServer/README.md).
102
+
If you have a pre-configured DNS server in your environment, then you can replace `-e DNS_SERVERS=172.16.1.25`, `--dns=172.16.1.25`, `-e DOMAIN=example.com` and `--dns-search=example.com` parameters in **Section 2: Building Oracle RAC Database Podman Install Images** with the `DOMAIN_NAME` and `DNS_SERVER` based on your environment.
103
+
You must ensure that you have the`Podman-docker` package installed on your OL8 Podman host to run the command using the `docker` utility.
101
104
102
105
9. If you are running RAC on Podman, you need to make sure you have installed the `podman-docker` rpm so that podman commands can be run using `docker` utility.
103
106
10. The Oracle RAC `Dockerfile` does not contain any Oracle software binaries. Download the following software from the [Oracle Technology Network](https://www.oracle.com/technetwork/database/enterprise-edition/downloads/index.html) and stage them under `<GITHUB_REPO_CLONED_PATH>/docker-images/OracleDatabase/RAC/OracleRealApplicationCluster/containerfiles/<VERSION>` folder.
@@ -129,14 +132,14 @@ To assist in building the images, you can use the [`buildContainerImage.sh`](htt
129
132
### Oracle RAC Container Image for Docker
130
133
If you are planing to deploy Oracle RAC container image on Podman, skip to the section [Oracle RAC Container Image for Podman](#oracle-rac-container-image-for-podman).
-`IGNORE_PREREQ` is default `false` while building full image, if you want to skip this during dbca/grid installation or basically set `-ignorePrereq` while building the container image, set this to `true`.
-`IGNORE_PREREQ` is default `false` while building full image, if you want to skip this during dbca/grid installation or basically set `-ignorePrereq` while building the container image, set this to `true`.
140
143
141
144
### Oracle RAC Container Image for Podman
142
145
If you are planing to deploy Oracle RAC container image on Docker, skip to the section [Oracle RAC Container Image for Docker](#oracle-rac-container-image-for-docker).
@@ -156,7 +159,8 @@ If you are planing to deploy Oracle RAC container image on Docker, skip to the s
156
159
157
160
## Section 3: Network and Password Management
158
161
159
-
1. Before you start the installation, you must plan your private and public network. You can create a network bridge on every container host so containers running within that host can communicate with each other. For example, create `rac_pub1_nw` for the public network (`172.16.1.0/24`) and `rac_priv1_nw` (`192.168.17.0/24`) for a private network. You can use any network subnet for testing. In this document we reference the public network on `172.16.1.0/24` and the private network on `192.168.17.0/24`.
162
+
1. Before you start the installation, you must plan your private and public network. You can create a network bridge on every container host so containers running within that host can communicate with each other.
163
+
For example, create `rac_pub1_nw` for the public network (`172.16.1.0/24`) and `rac_priv1_nw` (`192.168.17.0/24`) for a private network. You can use any network subnet for testing. In this document we reference the public network on `172.16.1.0/24` and the private network on `192.168.17.0/24`.
@@ -362,7 +366,7 @@ Now create the Oracle RAC container using the image. You can use the following e
362
366
- You must have created the `racstorage` volume before the creation of the Oracle RAC Container. For details, please refer [OracleRACStorageServer](../OracleRACStorageServer/README.md).
363
367
- For details about the available environment variables, refer the [Section 7](#section-7-environment-variables-for-the-first-node).
364
368
365
-
#### Assign networks to Oracle RAC containers
369
+
#### Assign networks to Oracle RAC docker containers
366
370
367
371
You need to assign the Docker networks created in section 1 to containers. Execute the following commands:
368
372
@@ -372,7 +376,7 @@ You need to assign the Docker networks created in section 1 to containers. Execu
To start the first container, run the following command:
378
382
@@ -394,7 +398,7 @@ You should see the database creation success message at the end:
394
398
####################################
395
399
```
396
400
397
-
#### Connect to the Oracle RAC container
401
+
#### Connect to the Oracle RAC docker container
398
402
399
403
To connect to the container execute the following command:
400
404
@@ -406,7 +410,7 @@ If the install fails for any reason, log in to the container using the preceding
406
410
407
411
### Section 4.3: Adding an Oracle RAC Node using a Docker Container
408
412
409
-
Before proceeding to the next step, ensure Oracle Grid Infrastructure is running and the Oracle RAC Database is open as per instructions in [Section 4.2: Setup Oracle RAC on Docker](#section-4.2-setup-oracle-rac-on-docker). Otherwise, the node addition process will fail.
413
+
Before proceeding to the next step, ensure Oracle Grid Infrastructure is running and the Oracle RAC Database is open as per instructions in [Section 4.2: Setup Oracle RAC on Docker](#section-42-setup-oracle-rac-container-on-docker). Otherwise, the node addition process will fail.
410
414
411
415
Refer the [Section 3: Network and Password Management](#section-3--network-and-password-management) and setup the network on a container host based on your Oracle RAC environment. If you have already done the setup, ignore and proceed further.
412
416
@@ -424,7 +428,7 @@ sh /opt/scripts/startup/resetOSPassword.sh --op_type reset_grid_oracle --pwd_fil
424
428
425
429
#### Deploying Oracle RAC Additional Node on Container with Block Devices on Docker
426
430
427
-
If you are using an NFS volume, skip to the section [Deploying Oracle RAC on Container with Oracle RAC Storage Container on Docker](#deploying-oracle-rac-node-2-on-container-with-oracle-rac-storage-container-on-docker).
431
+
If you are using an NFS volume, skip to the section [Deploying Oracle RAC on Container with Oracle RAC Storage Container on Docker](#deploying-oracle-rac-on-container-with-oracle-rac-storage-container)
428
432
429
433
To create additional nodes, use the following command:
430
434
@@ -473,7 +477,7 @@ For details of all environment variables and parameters, refer to [Section 7](#s
473
477
474
478
#### Deploying Oracle RAC Additional Node on Container with Oracle RAC Storage Container on Docker
475
479
476
-
If you are using physical block devices for shared storage, skip to [Deploying Oracle RAC on Container with Block Devices on Docker](#deploying-oracle-rac-node-2-on-container-with-block-devices-on-docker).
480
+
If you are using physical block devices for shared storage, skip to [Deploying Oracle RAC on Container with Block Devices on Docker](#deploying-oracle-rac-on-container-with-block-devices-on-docker)
477
481
478
482
Use the existing `racstorage:/oradata` volume when creating the additional container using the image.
479
483
@@ -524,7 +528,7 @@ For example:
524
528
- You must have created **racstorage** volume before the creation of the Oracle RAC container.
525
529
- You can change env variables such as IPs and ORACLE_PWD based on your env. For details about the env variables, refer the section 8.
526
530
527
-
#### Assign Network to additional Oracle RAC container
531
+
#### Assign Network to additional Oracle RAC docker container
528
532
529
533
Connect the private and public networks you created earlier to the container:
530
534
@@ -556,7 +560,7 @@ ORACLE RAC DATABASE IS READY TO USE!
556
560
####################################
557
561
```
558
562
559
-
#### Connect to the Oracle RAC container
563
+
#### Connect to the Oracle RAC container on Additional Node
560
564
561
565
To connect to the container execute the following command:
562
566
@@ -684,7 +688,7 @@ Now create the Oracle RAC container using the image. For the details of environm
684
688
685
689
#### Deploying Oracle RAC on Container With Oracle RAC Storage Container on Podman
686
690
687
-
If you are using block devices, skip to the section [Deploying RAC Containers with Block Devices on Podman](#deploying-rac-containers-with-block-devices-on-podman).
691
+
If you are using block devices, skip to the section [Deploying RAC Containers with Block Devices on Podman](#deploying-oracle-rac-containers-with-block-devices-on-podman)
688
692
Now create the Oracle RAC container using the image. You can use the following example to create a container:
689
693
690
694
```bash
@@ -732,7 +736,7 @@ Now create the Oracle RAC container using the image. You can use the following
732
736
- Change environment variables such as `NODE_IP`, `PRIV_IP`, `PUBLIC_IP`, `ASM_DEVICE_LIST`, `PWD_FILE`, and `PWD_KEY` based on your environment. Also, ensure you use the correct device names on each host.
733
737
- You must have created the `racstorage` volume before the creation of the Oracle RAC Container. For details about the available environment variables, refer the [Section 7](#section-7-environment-variables-for-the-first-node).
734
738
735
-
#### Assign networks to Oracle RAC containers
739
+
#### Assign networks to Oracle RAC podman containers
736
740
737
741
You need to assign the Podman networks created in section 1 to containers. Execute the following commands:
738
742
@@ -742,7 +746,7 @@ You need to assign the Podman networks created in section 1 to containers. Execu
To start the first container, run the following command:
748
752
@@ -764,7 +768,7 @@ ORACLE RAC DATABASE IS READY TO USE!
764
768
####################################
765
769
```
766
770
767
-
#### Connect to the Oracle RAC container
771
+
#### Connect to the Oracle RAC podman container
768
772
769
773
To connect to the container execute the following command:
770
774
@@ -897,7 +901,7 @@ For example:
897
901
- You must have created **racstorage** volume before the creation of the Oracle RAC container.
898
902
- You can change env variables such as IPs and ORACLE_PWD based on your env. For details about the env variables, refer the [Section 8](#section-8-environment-variables-for-the-second-and-subsequent-nodes).
899
903
900
-
#### Assign Network to additional Oracle RAC container
904
+
#### Assign Network to additional Oracle RAC podman container
901
905
902
906
Connect the private and public networks you created earlier to the container:
903
907
@@ -1014,7 +1018,7 @@ If you want to build a patched image based on a base 21.3.0 container image, the
1014
1018
1015
1019
## Section 10 : Sample Container Files for Older Releases
1016
1020
1017
-
### Docker
1021
+
### Docker Container Files
1018
1022
1019
1023
This project offers sample container files for Oracle Grid Infrastructure and Oracle Real Application Clusters for dev and test:
1020
1024
@@ -1028,10 +1032,12 @@ This project offers sample container files for Oracle Grid Infrastructure and Or
1028
1032
**Notes:**
1029
1033
1030
1034
* Note that the Oracle RAC on Docker Container releases are supported only fortest and development environments, but not for production environments.
1031
-
* If you are planning to build and deploy Oracle RAC 18.3.0, you need to download Oracle 18.3.0 Grid Infrastructure and Oracle Database 18.3.0 Database. You also need to download Patch# p28322130_183000OCWRU_Linux-x86-64.zip from [Oracle Technology Network](https://www.oracle.com/technetwork/database/database-technologies/clusterware/downloads/docker-4418413.html). Stage it under containerfiles/18.3.0 folder.
1032
-
* If you are planning to build and deploy Oracle RAC 12.2.0.1, you need to download Oracle 12.2.0.1 Grid Infrastructure and Oracle Database 12.2.0.1 Database. You also need to download Patch# p27383741_122010_Linux-x86-64.zip from [Oracle Technology Network](https://www.oracle.com/technetwork/database/database-technologies/clusterware/downloads/docker-4418413.html). Stage it under containerfiles/12.2.0.1 folder.
1035
+
* If you are planning to build and deploy Oracle RAC 18.3.0, you need to download Oracle 18.3.0 Grid Infrastructure and Oracle Database 18.3.0 Database. You also need to download Patch# p28322130_183000OCWRU_Linux-x86-64.zip from [Oracle Technology Network](https://www.oracle.com/technetwork/database/database-technologies/clusterware/downloads/docker-4418413.html).
1036
+
Stage it under containerfiles/18.3.0 folder.
1037
+
* If you are planning to build and deploy Oracle RAC 12.2.0.1, you need to download Oracle 12.2.0.1 Grid Infrastructure and Oracle Database 12.2.0.1 Database. You also need to download Patch# p27383741_122010_Linux-x86-64.zip from [Oracle Technology Network](https://www.oracle.com/technetwork/database/database-technologies/clusterware/downloads/docker-4418413.html).
1038
+
Stage it under containerfiles/12.2.0.1 folder.
1033
1039
1034
-
### Podman
1040
+
### Podman Container Files
1035
1041
1036
1042
This project offers sample container files for Oracle Grid Infrastructure and Oracle Real Application Clusters for dev and test:
1037
1043
@@ -1048,15 +1054,15 @@ This project offers sample container files for Oracle Grid Infrastructure and Or
1048
1054
* You must add `CV_ASSUME_DISTID=OEL8` inside the `Dockerfile` as an env variable.
1049
1055
1050
1056
* Once the `19.3.0` Oracle RAC on Podman image is built, start building patched image with the download 19.16 RU and one-offs. To build the patch the image, refer [Example of how to create a patched database image](https://github.com/oracle/docker-images/tree/main/OracleDatabase/RAC/OracleRealApplicationClusters/samples/applypatch).
1051
-
* Make changes in`/opt/containers/envfile`in [Prepare the envfile](#prepare-the-envfile) sectoin as per 19c `Dockerfile`. You need to change all the contents based on 19c such as `GRID_HOME`, `ORACLE_HOME` and `ADDNODE_RSP` which you have used in `Dockerfile` while building the image.
1057
+
* Make changes in`/opt/containers/envfile` as per 19c `Dockerfile`. You need to change all the contents based on 19c such as `GRID_HOME`, `ORACLE_HOME` and `ADDNODE_RSP` which you have used in`Dockerfile`while building the image.
1052
1058
1053
1059
## Section 11 : Support
1054
1060
1055
-
### Docker
1061
+
### Docker Support
1056
1062
1057
1063
At the time of this release, Oracle RAC on Docker is supported only on Oracle Linux 7. To see current details, refer the [Real Application Clusters Installation Guide for Docker Containers Oracle Linux x86-64](https://docs.oracle.com/en/database/oracle/oracle-database/21/racdk/oracle-rac-on-docker.html).
1058
1064
1059
-
### Podman
1065
+
### Podman Support
1060
1066
1061
1067
At the time of this release, Oracle RAC on Podman is supported for Oracle Linux 8.5 later. To see current Linux support certifications, refer [Oracle RAC on Podman Documentation](https://docs.oracle.com/en/database/oracle/oracle-database/21/install-and-upgrade.html)
0 commit comments