Adding Oracle RAC to Nodes with Oracle Grid Infrastructure Installed
To add Oracle Real Application Clusters to Microsoft Windows nodes that are Oracle Clusterware cluster nodes, review these procedures.
Before beginning these procedures, ensure that your existing nodes have the correct path to the Grid_home and that the Oracle_home environment variables are set correctly.
Extending the Oracle RAC Home On an Existing Node
To add Oracle RAC database instances to nodes that already have Oracle Grid Infrastructure installed, you must extend the Oracle RAC home that is on an existing node (node1 in this procedure) of the cluster to the target nodes.
- Navigate to the
Oracle_home\addnodedirectory onnode1and run theaddnode.batscript using the following syntax, wherenode2is the name of the node you are adding:addnode.bat "CLUSTER_NEW_NODES={node2}"To run this command in silent mode:
addNode.bat -silent "CLUSTER_NEW_NODES={node2}"For the Oracle home directory you use, if an Oracle home user was specified when the Oracle AI Database software was installed, then OUI requires the password for the Oracle home user. OUI checks the wallet (stored in the OCR) for the user and extracts the password from there. If the user information is not contained in the wallet, then the
addnode.batscript generates an error unless you specify the-promptPasswdflag on the command line.
Creating a Mount Point for the Oracle Home On a Shared File System
If you have a shared Oracle home on a shared file system that is not Oracle ACFS, then you must first create a mount point for the Oracle RAC database home on the target node, mount and attach the Oracle RAC database home, and update the Oracle Inventory, as follows:
- Run the
srvctl config database -db db_namecommand on an existing node in the cluster to obtain the mount point information. - Mount the file system that hosts the Oracle RAC database home.
Run the following command as the user who installed Oracle RAC from the
Oracle_home \oui\bindirectory on the node you are adding to add the Oracle RAC database home:setup.exe -attachHome ORACLE_HOME="ORACLE_HOME" "CLUSTER_NODES= local_node_name}" LOCAL_NODE="node_name" ORACLE_HOME_NAME="home_name"- Update the Oracle Inventory as the user who installed Oracle RAC, as follows:
setup.exe -updateNodeList ORACLE_HOME=mount_point_path "CLUSTER_NODES={node_list}"In the preceding command,
node_listrefers to a list of all nodes where the Oracle RAC database home is installed, including the node you are adding.
Note:
Oracle recommends that you back up your voting disk and Oracle Cluster Registry (OCR) files after you complete the node addition process.
Related Topics