There is no change when it comes to cloning oracle home binaries in 12c from the old versions.
Let me put down the steps to copy oracle home home_! to home_2 on the same hosts.
There is no downtime required for any of these steps.
1. Login as ROOT to the both DB hosts and make a copy of the home_1. The reason for using root is to preserve the file permissions
cp -Rp /u01/app/oracle/product/12.1.0.2/dbhome_1 /u01/app/oracle/product/12.1.0.2/dbhome_2
2. Run the clone command in silent mode on both the DB hosts one after the other as “oracle” user
export ORACLE_HOME=/u01/app/oracle/product/12.1.0.2/dbhome_2 export PATH=$ORACLE_HOME/bin:$PATH perl /u01/app/oracle/product/12.1.0.2/dbhome_2/clone/bin/clone.pl -silent ORACLE_HOME="/u01/app/oracle/product/12.1.0.2/dbhome_2" ORACLE_HOME_NAME="OraDB12Home2" ORACLE_BASE="/u01/app/oracle" '-O"CLUSTER_NODES={PRIME01,PRIME02}"' '-O"LOCAL_NODE=PRIME01"' perl /u01/app/oracle/product/12.1.0.2/dbhome_2/clone/bin/clone.pl -silent ORACLE_HOME="/u01/app/oracle/product/12.1.0.2/dbhome_2" ORACLE_HOME_NAME="OraDB12Home2" ORACLE_BASE="/u01/app/oracle" '-O"CLUSTER_NODES={PRIME01,PRIME02}"' '-O"LOCAL_NODE=PRIME02"'
Output:
PRIME01:ASTGDRU1 > perl /u01/app/oracle/product/12.1.0.2/dbhome_2/clone/bin/clone.pl -silent ORACLE_HOME="/u01/app/oracle/product/12.1.0.2/dbhome_2" ORACLE_HOME_NAME="OraDB12Home2" ORACLE_BASE="/u01/app/oracle" '-O"CLUSTER_NODES={PRIME01,PRIME02}"' '-O"LOCAL_NODE=PRIME01"'
./runInstaller -clone -waitForCompletion "ORACLE_HOME=/u01/app/oracle/product/12.1.0.2/dbhome_2" "ORACLE_HOME_NAME=OraDB12Home2" "ORACLE_BASE=/u01/app/oracle" "CLUSTER_NODES={PRIME01,PRIME02}" "LOCAL_NODE=PRIME01" -silent -paramFile /u01/app/oracle/product/12.1.0.2/dbhome_2/clone/clone_oraparam.ini
Starting Oracle Universal Installer...
Checking Temp space: must be greater than 500 MB. Actual 17580 MB Passed
Checking swap space: must be greater than 500 MB. Actual 24575 MB Passed
Preparing to launch Oracle Universal Installer from /tmp/OraInstall2015-11-03_10-45-15AM. Please wait ...You can find the log of this install session at:
/u01/app/oraInventory/logs/cloneActions2015-11-03_10-45-15AM.log
.................................................. 5% Done.
.................................................. 10% Done.
.................................................. 15% Done.
.................................................. 20% Done.
.................................................. 25% Done.
.................................................. 30% Done.
.................................................. 35% Done.
.................................................. 40% Done.
.................................................. 45% Done.
.................................................. 50% Done.
.................................................. 55% Done.
.................................................. 60% Done.
.................................................. 65% Done.
.................................................. 70% Done.
.................................................. 75% Done.
.................................................. 80% Done.
.................................................. 85% Done.
..........
Copy files in progress.
Copy files successful.
Link binaries in progress.
Link binaries successful.
Setup files in progress.
Setup files successful.
Setup Inventory in progress.
Setup Inventory successful.
Finish Setup successful.
The cloning of OraDB12Home2 was successful.
Please check '/u01/app/oraInventory/logs/cloneActions2015-11-03_10-45-15AM.log' for more details.
Setup Oracle Base in progress.
Setup Oracle Base successful.
.................................................. 95% Done.
As a root user, execute the following script(s):
1. /u01/app/oracle/product/12.1.0.2/dbhome_2/root.sh
Execute /u01/app/oracle/product/12.1.0.2/dbhome_2/root.sh on the following nodes: [PRIME01]
.................................................. 100% Done.
3. Run the root.sh on both the nodes
[root@PRIME01 ~]# /u01/app/oracle/product/12.1.0.2/dbhome_2/root.sh
4. You can confirm this by checking the inventory file
cat /u01/app/oraInventory/ContentsXML/inventory.xml <?xml version="1.0" standalone="yes" ?> <!-- Copyright (c) 1999, 2014, Oracle and/or its affiliates. All rights reserved. --> <!-- Do not modify the contents of this file by hand. --> <INVENTORY> <VERSION_INFO> <SAVED_WITH>12.1.0.2.0</SAVED_WITH> <MINIMUM_VER>2.1.0.6.0</MINIMUM_VER> </VERSION_INFO> <HOME_LIST> <HOME NAME="OraGI12Home1" LOC="/u01/app/12.1.0.2/grid" TYPE="O" IDX="1" CRS="true"> <NODE_LIST> <NODE NAME="PRIME02"/> <NODE NAME="PRIME01"/> </NODE_LIST> </HOME> <HOME NAME="OraDB12Home1" LOC="/u01/app/oracle/product/12.1.0.2/dbhome_1" TYPE="O" IDX="2"> <NODE_LIST> <NODE NAME="PRIME01"/> </NODE_LIST> </HOME> <HOME NAME="OraDB12Home2" LOC="/u01/app/oracle/product/12.1.0.2/dbhome_2" TYPE="O" IDX="3"> <NODE_LIST> <NODE NAME="PRIME01"/> <NODE NAME="PRIME02"/> </NODE_LIST> </HOME> </HOME_LIST> <COMPOSITEHOME_LIST> </COMPOSITEHOME_LIST> </INVENTORY>