Monday, May 19, 2008

Oracle Home Cloning For RAC

A short note on the steps for cloning Oracle Home for RAC:

1. On all Nodes: Copy existing ORACLE_HOME binaries to a new OH location
$cp -pr /opt/oracle/product/10.2.0.2 /opt/oracle/product/10.2.0.4

2. Add entries for the new Oracle_HOME into the inventory
  • CD to the new OH: cd /opt/oracle/product/10.2.0.4/clone/bin
  • perl clone.pl ORACLE_HOME=/opt/oracle/product/10.2.0.4 ORACLE_HOME_NAME=Ora10g_10204 "CLUSTER_NODES=alps,everest" "LOCAL_NODE=alps"
  • Execute /opt/oracle/product/10.2.0.4/root.sh script as root.
  • Apply the 10.2.0.4 patchset unto the newly created OH