Professional Documents
Culture Documents
DB EXPERTS Basavraju 1
DB EXPERTS Basavraju 9866465379
DB EXPERTS Basavraju 2
DB EXPERTS Basavraju 9866465379
DB EXPERTS Basavraju 3
DB EXPERTS Basavraju 9866465379
DB EXPERTS Basavraju 4
DB EXPERTS Basavraju 9866465379
DB EXPERTS Basavraju 5
DB EXPERTS Basavraju 9866465379
DB EXPERTS Basavraju 6
DB EXPERTS Basavraju 9866465379
DB EXPERTS Basavraju 7
DB EXPERTS Basavraju 9866465379
DB EXPERTS Basavraju 8
DB EXPERTS Basavraju 9866465379
7. Verify that the dropped instance's redo thread has been removed by
querying the V$LOG view. If the redo thread is not disabled, then
disable the thread. For example:
SQL> ALTER DATABASE DISABLE THREAD 2;
8. Verify that the instance has been removed from the OCR by issuing
the following commands:
srvctl config database -d database_name
[oracle@node1 ~]$ srvctl config database -d proddb
node1 proddb1 /orasoft/ora10g
[oracle@node1 ~]$
cd CRS_HOME/bin
./crs_stat
------------------------------------------------------------
[oracle@node1 ~]$
DB EXPERTS Basavraju 9
DB EXPERTS Basavraju 9866465379
9. If this node had an ASM instance and the node will no longer be a
part of the cluster, you must remove the ASM instance by issuing
the following commands:
[oracle@node1 ~]$ srvctl config asm -n node1
+ASM1 /orasoft/ora10g
[oracle@node1 ~]$ srvctl config asm -n node2
+ASM2 /orasoft/ora10g
[oracle@node1 ~]$
Stop asm instance on node2
10 .If you are deleting more than one node, then repeat these steps to
delete the instances from all the nodes that you are going to delete.
You can use DBCA in silent mode to delete a database instance from a
node.
Run the following command, where the variables are the same as those
shown in Table 8-1 for the DBCA command to add an instance. Provide a
node name only if you are deleting an instance from a node other than the
one on where DBCA is running as shown in the following example where
password is the password:
dbca -silent -deleteInstance [-nodeList node] -gdbName gdbname
-instanceName
instname -sysDBAUserName sysdba -sysDBAPassword password
DB EXPERTS Basavraju 10
DB EXPERTS Basavraju 9866465379
DB EXPERTS Basavraju 11
DB EXPERTS Basavraju 9866465379
DB EXPERTS Basavraju 12
DB EXPERTS Basavraju 9866465379
DB EXPERTS Basavraju 13
DB EXPERTS Basavraju 9866465379
DB EXPERTS Basavraju 14
DB EXPERTS Basavraju 9866465379
from : /orasoft/ora10g/oraInst.loc
--------------------------------------------------------------------------------
DB EXPERTS Basavraju 15
DB EXPERTS Basavraju 9866465379
--------------------------------------------------------------------------------
OPatch succeeded.
[oracle@node2 ~]$
[oracle@node2 bin]$
from : /orasoft/ora10g/oraInst.loc
DB EXPERTS Basavraju 16
DB EXPERTS Basavraju 9866465379
2010_Aug_05_09-49-58-IST_Thu.log
--------------------------------------------------------------------------------
--------------------------------------------------------------------------------
OPatch succeeded.
To deinstall the Oracle home from the node you are deleting, run the
following command from the Oracle_home/oui/bin directory:
./runInstaller -deinstall -silent
"REMOVE_HOMES={Oracle_home}" -local
Starting deinstall
DB EXPERTS Basavraju 17
DB EXPERTS Basavraju 9866465379
succeeded
........................................................................................................... 100%
Done.
Deinstall successful
End of deinstallations
[oracle@node2 bin]$
Ensure that the database resource is not running on a node you are
deleting. Run the crs_relocate command from the CRS_HOME/bin
directory to perform this as shown in the example:
crs_relocate ora.db_name.db
------------------------------------------------------------
DB EXPERTS Basavraju 18
DB EXPERTS Basavraju 9866465379
[oracle@node1 ~]$
------------------------------------------------------------
DB EXPERTS Basavraju 19
DB EXPERTS Basavraju 9866465379
from : /orasoft/ora10g/oraInst.loc
--------------------------------------------------------------------------------
--------------------------------------------------------------------------------
OPatch succeeded.
DB EXPERTS Basavraju 20
DB EXPERTS Basavraju 9866465379
[oracle@node1 ~]$
------------------------------------------------------------
DB EXPERTS Basavraju 21
DB EXPERTS Basavraju 9866465379
[oracle@node1 ~]$
[root@node1 ~]#
------------------------------------------------------------
[root@node1 ~]#
Once you have deleted the instance, you can begin the process of deleting
the node from the cluster. You accomplish this by running scripts on the
node you want to delete to remove the Oracle Clusterware installation
and you run scripts on the remaining nodes to update the node list.
The following steps assume that the node to be removed (node2 in this
DB EXPERTS Basavraju 22
DB EXPERTS Basavraju 9866465379
Stopping resources.
Stopping CSSD.
[root@node2 ~]#
Stopping resources.
Stopping CSSD.
DB EXPERTS Basavraju 23
DB EXPERTS Basavraju 9866465379
[root@node2 install]#
Starting deinstall
DB EXPERTS Basavraju 24
DB EXPERTS Basavraju 9866465379
Deinstall successful
End of deinstallations
[oracle@node2 bin]$
From the CRS home run the installer with the updateNodeList option on
any remaining nodes in the cluster, and include a comma-delimited list of
nodes that remain in the cluster:
CRS_home/oui/bin/runInstaller -updateNodeList
ORACLE_HOME=CRS_home
CLUSTER_NODES=node1, node3, node4 CRS=TRUE
node1 1
node2 2
[root@node1 ~]#
DB EXPERTS Basavraju 25
DB EXPERTS Basavraju 9866465379
node1 1
[root@node1 install]#
------------------------------------------------------------
DB EXPERTS Basavraju 26
DB EXPERTS Basavraju 9866465379
[oracle@node1 ~]$
DB EXPERTS Basavraju 27