How To Input Variables to CRS Home Cloning Procedure clone.pl (Doc ID 444617.1)

Last updated on MAY 05, 2017

Applies to:

Oracle Database - Enterprise Edition - Version 10.2.0.3 and later
Information in this document applies to any platform.

Goal

Note: Starting with 11gR1, the documentation includes instructions on how to specify options to the cloning script. The official documentation supersedes this note and should be used as THE reference for versions 11gR1 and higher. The cloning procedure has not changed significantly from 10gR2 to 11g, so it can also be referred to for 10gR2.

11.1
http://docs.oracle.com/cd/B28359_01/rac.111/b28255/clonecluster.htm#BABHGDAB
Clusterware Administration and Deployment Guide
3 Cloning Oracle Clusterware

11.2
http://docs.oracle.com/cd/E11882_01/rac.112/e41959/clonecluster.htm#CWADD03202
Clusterware Administration and Deployment Guide
5 Cloning Oracle Clusterware

12.1
http://docs.oracle.com/database/121/CWADD/clonecluster.htm#CWADD03202
Clusterware Administration and Deployment Guide
8 Cloning Oracle Clusterware

12.2
http://docs.oracle.com/database/122/CWADD/cloning-oracle-clusterware.htm#CWADD03202
Clusterware Administration and Deployment Guide
8 Cloning Oracle Clusterware

 

When using the "cloning" method to add a new node to a cluster, how to specify options such as the OCR and Voting disk location?

Background: Adding new nodes to a cluster

Starting with 10gR2, there are two methods available to add new nodes to a cluster. The first method is to use the 'addNode.bat' script. The second method is to use the "cloning" procedure.

Both methods are documented:

UNIX:
Chapter 10 - Adding and Deleting Nodes and Instances on UNIX-Based Systems
http://download-west.oracle.com/docs/cd/B19306_01/rac.102/b14197/adddelunix.htm
WINDOWS:
addNode.sh -
Chapter 11 - Adding and Deleting Nodes and Instances on Windows-Based Systems
http://download.oracle.com/docs/cd/B19306_01/rac.102/b14197/adddelwin.htm
cloning -
<Note 407086.1> - USING CLONING IN CRS/RAC WINDOWS ENVIRONMENTS TO ADD A NODE
(Note: The cloning procedure in Windows is also documented in chapter 11, however, for CRS home cloning, please use the instructions in <Note 407086.1>  instead.)

Background: Using cloning for CRS home

This is a brief overview of the cloning procedure, used to clone a CRS home from an existing node to a new one.  (It assumes that you have already successfully installed an Oracle Clusterware home on at least one node.)


1. Tar (Unix) or zip (windows) the CRS home on the existing node.
2. Copy the file to the new node's CRS home
3. Make sure that the new node meets all of the hardware, software, network, etc. requirements in the installation guide and has settings that match up with the existing node(s) in the cluster. For example:
* Make sure that the shared disks are accessible for the new nodes
* cluster interconnect NIC must have the same name as the other nodes (Unix) or binding order is correct for network cards (Windows)
* Correct user and group(s) exist on the new node (Unix)
* the user that performs the cloning is the same as the user that performed the installation (Windows)
4. Untar/unzip the archived CRS home on the new node
5. Unix: Run the "clone.pl" perl script from the new node
Windows: run "setup.exe -clone" command from the new node
6. Unix:
* Run orainstRoot.sh root.sh on the new node.
* Set up ONS and interfaces on the new node.
Windows:
* Run cfgToolAllCommands.

There may be additional steps or some differences depending on the situation (eg. whether using cloning to create a new cluster or to add a node to an existing cluster, etc.)  For full instructions, please see the documentation & note referenced above.

Purpose of this note

The goal of this note is to show how to specify options to "clone.pl" or "setup.exe -clone", when cloning an Oracle Clusterware home.  This applies to step 5 in the above steps and doesn't affect any of the other steps.  All other steps must still be followed.

 

Solution

Sign In with your My Oracle Support account

Don't have a My Oracle Support account? Click to get started

My Oracle Support provides customers with access to over a
Million Knowledge Articles and hundreds of Community platforms