Cloning Shared Oracle Homes on Linux and UNIX Systems
Add nodes to Oracle RAC environments by cloning a shared Oracle home in Linux and UNIX systems.
Complete the following steps to clone Oracle AI Database with Oracle RAC:
- Follow the steps in the "Preparing to Clone Oracle RAC" to create a copy of an Oracle home that you then use to perform the cloning procedure on one or more nodes.
On the new node, configure the environment variables
ORACLE_HOMEandORACLE_BASE. Then go to the$ORACLE_HOME/clone/bindirectory and run the following command, whereexisting_nodeis the name of the node that you are cloning,new_node2, andnew_node3are the names of the new nodes,Oracle_home_nameis the name of the Oracle home, and the-cfsoption indicates the Oracle home is shared:perl clone.pl -O 'CLUSTER_NODES={existing_node,new_node2,new_node3}' -O LOCAL_NODE=new_node2 ORACLE_BASE=$ORACLE_BASE ORACLE_HOME=$ORACLE_HOME ORACLE_HOME_NAME=Oracle_home_name [-cfs]Note:
In the preceding command:
- Use the
-cfsoption for a shared Oracle AI Database home with Oracle RAC. - The value for the
ORACLE_HOME_NAMEparameter must be that of the node you are cloning.
- Use the
Run the following command on the existing node from the
$ORACLE_HOME/oui/bindirectory to update the inventory in the Oracle AI Database home with Oracle RAC, specified byOracle_home, whereexisting_nodeis the name of the original node that you are cloning andnew_node2andnew_node3are the names of the new nodes:./runInstaller -updateNodeList ORACLE_HOME=$ORACLE_HOME "CLUSTER_NODES= {existing_node,new_node2,new_node3}"On each new node, go to the
$ORACLE_HOMEdirectory and run the following command:./root.sh- From the node that you cloned, run Oracle DBCA to add Oracle RAC database instances to the new nodes.
Related Topics