Database Reference
In-Depth Information
Adding and Removing Cluster Nodes
The flexibility of Oracle Clusterware is exhibited through its ability to scale up and scale down the existing cluster
online by adding and removing nodes in conformity with the demands of the business. This section will outline the
procedure to add and remove nodes from the existing cluster.
Adding a Node
Assume that you have a two-node cluster environment and want to bring in an additional node (named rac3) to scale
up the existing cluster environment, and that the node that is going to be part of the cluster meets all prerequisites
essential to begin the procedure to add a node.
Adding a new node to the existing cluster typically consists of the following stages:
Cloning Grid Infrastructure Home (cluster/ASM)
Cluster configuration
Cloning RDBMS home
When the new node is ready with all necessary prerequisites to become part of the existing cluster, such as
storage, network, OS, and patches, use the following step-by-step procedure to add the node:
From the first node of the cluster, execute the following command to initiate integrity verification checks for the
cluster and on the node that is going to be part of the cluster:
$ cluvfy stage -pre nodeadd -n rac3 -fixup -verbose
When no verification check failures are reported, use the following example to launch the procedure to add
the node, assuming that the Dynamic Host Configuration Protocol (DHCP) and Grid Naming Service (GNS) are not
configured in the current environment:
$ $GRID_HOME/oui/bin/addNode.sh -silent "CLUSTER_NEW_NODES={rac3}"
"CLUSTER_NEW_VIRTUAL_HOSTNAMES={rac3_vip}"
Use the following example when adding to the Flex Cluster setup:
$ $GRID_HOME/oui/bin/addNode.sh -silent "CLUSTER_NEW_NODES={rac3}"
"CLUSTER_NEW_VIRTUAL_HOSTNAMES={rac3-vip}" "CLUSTER_NEW_NODE_ROLES={hub}"
Execute the root.sh script as the root user when prompted on the node that is joining the cluster. The script will
initialize cluster configuration and start up the cluster stack on the new node.
After successfully completing the procedure to add a new node, perform post node add verification checks from
any cluster node using the following example:
$ cluvfy stage -post nodeadd -n rac3
$ crsctl check cluster -all -- verify the cluster health from all nodes
$ olsnodes -n -- to list all existing nodes in a cluster
After a successful node addition, execute the following from $ORACLE_HOME to clone the Oracle RDBMS software
over the new node to complete the node addition procedure:
$ORACLE_HOME/oui/bin/addNode.sh "CLUSTER_NEW_NODES={rac3}"
 
Search WWH ::




Custom Search