Owner's Manual

Deployment Guide 47
To Stop and Remove ASM From the Node That is Deleted
On one of the remaining nodes, perform the following steps:
1
Open a terminal window.
2
Ty p e :
srvctl stop asm -n <node_name>
where
<node_name>
is the node you want to remove from the cluster.
3
Ty p e :
srvctl remove asm -n <node_name>
where
<node_name>
is the node you want to remove from the cluster.
Deleting the Node From the Database Layer
1
On the node being deleted, log in as
oracle
.
2
Type the following command, using the public name of the node you are deleting (for example, if you
are removing
node3-pub
):
srvctl stop nodeapps -n node3-pub
Ignore error CRS-0210 which complains about the listener.
3
On the node being deleted, log in as
root
.
4
If you wish to remove the Oracle Database software, type the following command:
rm -rf /opt/oracle/product/10.2.0/db_1/*
Removing the Node from the Clusterware Layer
1
On the node that you are deleting, as user
root
, disable CRS by typing the following command:
/crs/oracle/product/10.2.0/crs/install/rootdelete.sh remote nosharedvar
2
On one of the remaining nodes, as user
root
, type the following command:
/crs/oracle/product/10.2.0/crs/install/rootdeletenode.sh
<public nodename>, <node-number>
Where
<public-nodename>
is public name and
<node-number>
is the node number of the node
being deleted.
To determine the node number of any node, type the following command:
/crs/oracle/product/10.2.0/crs/bin/olsnodes -n
3
On the node that you are deleting, if you wish to remove the Oracle CRS software, type the
following command:
rm -rf /crs/oracle/product/10.2.0/crs/*