Your cluster was originally created with nodes RACNODE1 and RACNODE2 three years ago. Last
year, nodes RACNODE3 and RACNODE4 were added.
These nodes have faster processors and more local storage than the original nodes making
performance management and tuning more difficult.
Two more nodes with the same processor speed have been added to the cluster last week as
RACNODE5 and RACNODE6 and you must remove RACNODE1 and RACNODE2 for
redeployment.
The Oracle Grid Infrastructure is using GNS and the databases are all 11g Release 2, all running
from the same home. The Grid home is /fs01/home/grid.
Which three steps must be performed to remove the nodes from the cluster?
A.
Run /fs01/home/grid/oui/bin/runInstaller -updateNodeList
ORACLE_HOME=/fs01/home/grid “CLUSTER_NODES= {RACNODE3 , RACNODE4 ,
RACNODE5 ,
RACNODE6}
as the grid software owner on any remaining node.
B.
Run /fs01/home/grid/oui/bin/runInstaller -updateNodeList
ORACLE_HOME=/fs01/home/grid ” CLUSTER_NODES={RACNODE1}
as the grid software owner on RACNODE1 and run /fs01/home/grid/oui/bin/runInstaller -updateNodeList
ORACLE_HOME=/ fs01/home/grid ” CLUSTER_NODES={RACNODE 2} as the grid software
owner on
RACNODE2.
C.
Run /fs01/home/grid/oui/bin/runInstaller -detachHome ORACLE_HOME=/fs01/home/grid as the
grid
software owner on RACNODE1 and RACNODE2.
D.
Run the /fs01/home/grid/crs/install/rootcrs.pl script as root on each node to be deleted.
E.
Run crsctl delete node -n RACNODE1 and crsctl delete node -n RACNODE2 as root from any
node remaining in the cluster.
Explanation:
Deleting a Cluster Node on Linux and UNIX Systems
1. Ensure that Grid_home correctly specifies the full directory path for the Oracle Clusterware
home on each node, where Grid_home is the location of the installed Oracle Clusterware
software.
2. Run the following command as either root or the user that installed Oracle Clusterware to
determine whether the node you want to delete is active and whether it is pinned:
$ olsnodes -s -t
If the node is pinned, then run the crsctl unpin css command. Otherwise, proceed to the next step.
3. Disable the Oracle Clusterware applications and daemons running on the node. Run the
rootcrs.pl script as root from the Grid_home/crs/install directory on the node to be deleted, as
follows:
# ./rootcrs.pl -deconfig -deinstall -force
If you are deleting multiple nodes, then run the rootcrs.pl script on each node that you are deleting.
If you are deleting all nodes from a cluster, then append the -lastnode option to the precedingcommand to clear OCR and the voting disks, as follows:
# ./rootcrs.pl -deconfig -deinstall -force -lastnode
4. From any node that you are not deleting, run the following command from the Grid_home/bin
directory as root to delete the node from the cluster:
# crsctl delete node -n node_to_be_deleted
Then if you run a dynamic Grid Plug and Play cluster using DHCP and GNS, skip to step 7.
5. On the node you want to delete, run the following command as the user that installed Oracle
Clusterware from the Grid_home/oui/bin directory where node_to_be_deleted is the name of the
node that you are deleting:
$ ./runInstaller -updateNodeList ORACLE_HOME=Grid_home “CLUSTER_NODES=
{node_to_be_deleted}” CRS=TRUE -silent -local
6. On the node that you are deleting, depending on whether you have a shared or local Oracle
home, complete one of the following procedures as the user that installed Oracle Clusterware:
If you have a shared home, then run the following command from the Grid_home/oui/bin directory
on the node you want to delete:
$ ./runInstaller -detachHome ORACLE_HOME=Grid_home -silent -local
For a local home, deinstall the Oracle Clusterware home from the node that you want to delete, as
follows, by running the following command, where Grid_home is the path defined for the Oracle
Clusterware home:
$ Grid_home/deinstall/deinstall local
7. On any node other than the node you are deleting, run the following command from the
Grid_home/oui/bin directory where remaining_nodes_list is a comma-delimited list of the nodes
that are going to remain part of your cluster:
$ ./runInstaller -updateNodeList ORACLE_HOME=Grid_home “CLUSTER_NODES=
{remaining_nodes_list}” CRS=TRUE -silent
8. Run the following CVU command to verify that the specified nodes have been successfully
deleted from the cluster:
$ cluvfy stage -post nodedel -n node_list [-verbose]
Oracle Clusterware Administration and Deployment Guide
11g Release 2 (11.2)
A is right. update node list
B is wrong. node 1 and 2 are to be deleted
C is wrong. no need to detach home
D is right. rootcrs.pl to remove node as root
E is right. crsctl delete node
So A.D.E are correct