Beruflich Dokumente
Kultur Dokumente
Date
Author
Description of
change
1.0
2014-11-3
Joshua Ehiguese
Document Creation.
Note: Ensure the node that is going to be dropped has no databases instances, or other services running. If
any do exist, either drop them or just move them over to other nodes in the cluster. The following steps outline
a procedure to remove a node with no database instance running from the existing cluster.
STEP 1
Check cluster status. We will be removing the highlighted node below.
servern1:
CRS-4537: Cluster Ready Services is online
CRS-4529: Cluster Synchronization Services is online
CRS-4533: Event Manager is online
**************************************************************
servern2:
CRS-4535: Cannot communicate with Cluster Ready Services
CRS-4529: Cluster Synchronization Services is online
CRS-4534: Cannot communicate with Event Manager
**************************************************************
servern3:
CRS-4537: Cluster Ready Services is online
CRS-4529: Cluster Synchronization Services is online
CRS-4533: Event Manager is online
****************
STEP 2
Identify if the node is pinned. As grid user from node 1.
-bash-4.1$ hostname
servern1.domain.com
-bash-4.1$ whoami
grid
-bash-4.1$ . oraenv
ORACLE_SID = [+ASM1] ?
The Oracle base remains unchanged with value /oracle/grid/GI_base
-bash-4.1$ olsnodes -t -s
servern1 Active Unpinned
servern2 Active Unpinned
servern3 Active Unpinned
-bash-4.1$
Step 3
Run the following command as the root user on the node that is going to be removed:
$GRID_HOME/deinstall/deinstall local
Note: had issues using sudo, so ran it without using sudo.
Step 4
Run the following command as the root user from an active node in a cluster:
$crsctl delete node n servern2
-bash-4.1$ hostname
servern1.domain.com
-bash-4.1$ whoami
grid
-bash-4.1$ . oraenv
ORACLE_SID = [grid] ? +ASM1
The Oracle base has been set to /oracle/grid/GI_base
-bash-4.1$ which crsctl
/oracle/grid/product/12.1.0.2_grid/bin/crsctl
-bash-4.1$ sudo /oracle/grid/product/12.1.0.2_grid/bin/crsctl delete node -n servern2
CRS-4661: Node servern2 successfully deleted.
-bash-4.1$
Step 5
From any active node, execute the following command to update the Oracle inventory for GI and
RDBMS homes across all nodes:
$GRID_HOME/oui/bin/runInstaller updateNodeList ORACLE_HOME=$GRID_HOME
cluster_nodes={ servern1, servern3} CRS=TRUE silent
-bash-4.1$ hostname
servern1.domain.com
-bash-4.1$ . oraenv
ORACLE_SID = [+ASM1] ?
The Oracle base remains unchanged with value /oracle/grid/GI_base
-bash-4.1$ whoami
grid
-bash-4.1$ pwd
/oracle/grid/product/12.1.0.2_grid/oui/bin
-bash-4.1$ ls
addLangs.sh detachHome.sh filesList.properties lsnodes runConfig.sh runInstaller.sh
attachHome.sh filesList.bat filesList.sh resource runInstaller runSSHSetup.sh
-bash-4.1$ ./runInstaller -updateNodeList ORACLE_HOME=/oracle/grid/product/12.1.0.2_grid
"cluster_nodes={servern1,servern3}" CRS=TRUE -silent
Starting Oracle Universal Installer...
Checking swap space: must be greater than 500 MB. Actual 16387 MB Passed
The inventory pointer is located at /etc/oraInst.loc
Checking swap space: must be greater than 500 MB. Actual 16387 MB Passed
The inventory pointer is located at /etc/oraInst.loc
'UpdateNodeList' was successful.
-bash-4.1$
Step 6
Verify
$cluvfy stage post nodedel n servern2 verbose
-bash-4.1$
-bash-4.1$ olsnodes -t -s
servern1 Active Unpinned
servern3 Active Unpinned
Step 7
Clean up the following directories manually on the node that was just dropped:
/etc/oraInst.loc, /etc/oratab, /etc/oracle/ /tmp/.oracle, /opt/ORCLmap
-bash-4.1$ cd /etc
-bash-4.1$ ls -ltr | grep -i oraIn