Cloning Local Oracle Homes on Linux and UNIX Systems
Add nodes to Oracle RAC environments by cloning a local, non-shared Oracle home in Linux and UNIX environments.
Complete the following steps to clone Oracle AI Database with Oracle RAC:
- Follow the steps in the topic "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.
- Use the
tarutility to create an archive of the Oracle home on the existing node and copy it to the new node. If the location of the Oracle home on the source node is$ORACLE_HOME, then you must use this same directory as the destination location on the new node. On the new node, configure the environment variables
ORACLE_HOMEandORACLE_BASE. Then go to theGrid_home /clone/bindirectory on the new node and run the following command, whereexisting_nodeis the name of the node that you are cloning,new_node2andnew_node3are the names of the new nodes, andOracle_home_nameis the name of the Oracle home:perl clone.pl ORACLE_HOME=$ORACLE_HOME ORACLE_HOME_NAME=Oracle_home_name ORACLE_BASE=$ORACLE_BASE "'CLUSTER_NODES={existing_node,new_node2,new_node3}'" "'LOCAL_NODE=new_node2'" CRS=TRUE INVENTORY_LOCATION=/u01/app/oraInventory- Run the following command to run the configuration assistants to configure Oracle RAC on the new nodes:
$ORACLE_HOME/cfgtoollogs/configToolFailedCommandsThis script contains all commands that failed, were skipped, or were canceled during the installation. You can use this script to run the database configuration assistants outside of Oracle Universal Installer. Note that before you run the script you should check the script to see if any passwords within it need to be updated.
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 -O "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 on the new nodes.
Related Topics