Sunday, October 21, 2012

Node Deletetion Steps (Node2)


1. Remove Instance of node2

2. Stop asm for node2 from any nodes.

3. Remove asm for node2 from any nodes.

4. Remove Listener from Node2 usinf NETCA.

 5. From Node2:
           
./runInstaller -updateNodeList ORACLE_HOME=$ORACLE_HOME "CLUSTER_NODES=node2" -local                            

 6. From Node2, start dbca from Oracle_Home/oui/bin, and remove "DB_HOME"

 7. From Node1:
           
./runInstaller -updateNodeList ORACLE_HOME=$ORACLE_HOME "CLUSTER_NODES=node1"                                   

8. From Node2, set Oracle_Home to asm_1 and ten fire:

./runInstaller -updateNodeList ORACLE_HOME=$ORACLE_HOME "CLUSTER_NODES=node2" -local                            

9. From Node2, start OUI and deinstall ASM Home.

10. From Node1, Set ORACLE_HOME= /u01/app/oracle/product/11.1.0/asm_1

11. From Node1: from  /u01/app/oracle/product/11.1.0/asm_1/oui/bin, start OUI

./runInstaller -updateNodeList ORACLE_HOME=$ORACLE_HOME "CLUSTER_NODES=node1"                                   
  
12. From Node1, find out ons remote_port no.

     cat /u01/app/crs11g/opmn/conf/ons.config

     output: 6150 but it should be 6251

13. From Node2: as a root user (#) execute rootdelete.sh from /u01/app/crs11g/install

     # /u01/app/crs11g/install/rootdelete.sh

14.From Node-1 first find out the node numbers

     # /u01/app/crs11g/bin/olsnodes -n
    
     output : node1   1
                   node2   2

15. From Node-1 as a root user (#):

# /u01/app/crs11g/install/rootdeletenode.sh node2[Node_Name] 2[node_no]

     output:
           CRS nodeapps are deleted successfully             
           clscfg: EXISTING configuration version 4 detected.
           clscfg: version 4 is 11 Release 1.                
           Node deletion operation successful.               
           'node2' deleted successfully                      

16. From Node2 set ORACLE_HOME=CRS_HOME and then execute

$$ORACLE_HOME/oui/bin/runInstaller -updateNodeList            ORACLE_HOME=$ORACLE_HOME "CLUSTER_NODES=node2" CRS=TRUE -local

17. ./runInstaller and remove CRS_HOME
  
18. From Node-1:

$ /u01/app/crs11g/oui/bin/runInstaller -updateNodeList ORACLE_HOME=$ORACLE_HOME "CLUSTER_NODES=node1" CRS=TRUE
  
19. check node is deleted from 

$ ./crs_stat -t

Thanks,

1 comment: