5.16 Expanding an Oracle RAC Cluster on Oracle VM Using OEDACLI
You can expand an existing Oracle RAC cluster on Oracle VM by adding user domains using the Oracle Exadata Deployment Assistant command-line interface (OEDACLI).
OEDACLI is the preferred method if you have a known, good version of the OEDA XML file for your cluster.
Note:
During the execution of this procedure, the existing Oracle RAC cluster nodes along with their database instances incur zero downtime.Use cases for this procedure include:
- You have an existing Oracle RAC cluster that uses only a subset of the database servers of an Oracle Exadata Rack, and now the nodes not being used by the cluster have become candidates for use.
- You have an existing Oracle RAC cluster on Oracle Exadata that was recently extended with additional database servers.
- You have an existing Oracle RAC cluster that had a complete node failure and the node was removed and replaced with a newly re-imaged node.
Before preforming the steps in this section, the new database servers should have been set up as detailed in Adding a New Database Server to the Cluster, including the following:
- The new database server is installed and configured on the network with a management domain.
- Download the latest Oracle Exadata Deployment Assistant (OEDA); ensure the version you download is the July 2019 release, or later.
- You have an OEDA configuration XML file that accurately reflects the existing cluster configuration. You can validate the XML file by generating an installation template from it and comparing it to the current configuration. See the OEDACLI command SAVE FILES.
- Review the OEDA Installation Template report for the
current system configuration to obtain node names and IP addresses for existing
nodes. You will need to have new host names and IP addresses for the new nodes
being added. The new host names and IP addresses required are:
- Administration host names and IP addresses (referred to as ADMINNET) for the management domain and the user domains.
- Private host names and IP addresses (referred to as PRIVNET) for the management domain and the user domains.
- Integrated Lights Out Manager (ILOM) host names and IP addresses for the management domain.
- Client host names and IP addresses (referred to as CLIENTNET) for the user domains.
- Virtual IP (VIP) host names and IP addresses (referred to as VIPNET) for the user domains.
- Physical rack number and location of the new node in the
rack (in terms of
U
number)
-
Each management domain has been imaged or patched to the same image in use on the existing database servers. The current system image must match the version of the
/EXAVMIMAGES/ System.first.boot.*.img
file on the new management domain node.Note:
The~/dom0_group
file referenced below is a text file that contains the host names of the management domains for all existing and new nodes being added.Check the image version across all management domains are the same.
dcli -g ~/dom0_group -l root "imageinfo -ver" exa01adm01: 19.2.0.0.0.190225 exa01adm02: 19.2.0.0.0.190225 exa01adm03: 19.2.0.0.0.190225
If any image versions differ, you must upgrade the nodes as needed so that they match.
Ensure that the
System.first.boot
version across all management domains matches the image version retrieved in the previous step.dcli -g ~/dom0_group -l root "ls -1 /EXAVMIMAGES/System.first.boot*.img" exa01adm01: /EXAVMIMAGES/System.first.boot.19.2.0.0.0.190225.img exa01adm02: /EXAVMIMAGES/System.first.boot.19.2.0.0.0.190225.img exa01adm03: /EXAVMIMAGES/System.first.boot.19.2.0.0.0.190225.img
If any nodes are missing the
System.first.boot.img
file that corresponds to the current image, then obtain the required file. See the “Supplemental README note” for your Exadata release in My Oracle Support Doc ID 888828.1 and look for the patch file corresponding to this description, “DomU System.img OS image for V.V.0.0.0 VM creation on upgraded dom0s” - Place the
klone.zip
files (gi-klone*.zip
anddb-klone*.zip
) in the/EXAVMIMAGES
location on the freshly imaged management domain node you are adding to the cluster. These files can be found in the/EXAVMIMAGES
directory on the management domain node from where the system was initially deployed.
The steps here show how to add a new management domain
node called exa01adm03
that will have a new user domain called exa01adm03vm01
. The steps show how to
extend an existing Oracle RAC cluster onto the user domain using OEDACLI commands. The existing cluster has management domain nodes named exa01adm01
and
exa01adm02
and user domain nodes
named exa01adm01vm01
and exa01adm02vm01
.