Use the following procedures to remove the Oracle instance from the leaving node.
Use dbca
to delete the Oracle instance, or use SQL statements to drop the log groups and disable the public thread.
Uninstalling Oracle from the node your are removing is optional.
If Oracle is installed locally and you choose to uninstall it, use the Oracle runInstaller
utility. Run the utility on each system you are removing from a RAC cluster.
oracle
.
If you use the Bourne Shell (sh
or ksh
):
$ DISPLAY=host:0.0;export DISPLAY
runInstaller
:
As the utility starts up, be sure to select the option to uninstall the Oracle software from the local node you are removing. Refer to the Oracle Installation Guide for additional information about running the utility.
Use this procedure only if you are not uninstalling Oracle from the node you are removing.
Note If Oracle is on cluster file system, or if you have uninstalled Oracle, skip to Stopping VCS and modifying the configuration.
Remove the links to the Veritas libraries and convert to Oracle single-instance binary. Use the following procedure on each system you are removing from the RAC cluster:
oracle
.
vi
or another text editor, edit the init$ORACLE_SID.ora
file:
$ cd $ORACLE_HOME/dbs/init$ORACLE_SID.ora
$ORACLE_HOME/lib/libodmd9.so
to remove the ODM function:
$ cp $ORACLE_HOME/lib/libodmd9.so $ORACLE_HOME/lib/libodm9.so
$ export LDR_CNTRL=MAXDATA=0x9000000
$ dump -x64 -Hv $ORACLE_HOME/bin/oracle
If Oracle RAC is configured, the list of libraries in the output contains:
These libraries are not listed for an Oracle single instance configuration. If there is no output, Oracle single-instance binary is configured.