Owner's Manual

添加和删除节点 101
从数据库层中删除节点
1
在要除的节点上,作为用
oracle
登录。
2
使用要除的节点的公用名入以下命令。如,如果您要
node3-pub
srvctl stop nodeapps -n node3-pub
忽略有关侦听程序的
错误
CRS-0210
3
在将要除的节点上,请作为
root
登录。
4
如果要
Oracle
数据库软件,请入以下命令:
rm -rf
<ORACLE_DB_HOME>/*
,其中
<ORACLE_DB_HOME>
类似
/u01/app/oracle/product/10.2.0./db_1
Oracle
群集件层中删除节点
1
在要除的节点上,作为用
root
键入以下命令来用群集就绪服务
(CRS)
<ORACLE_CRS_HOME>install/rootdelete.s
h remote nosharedvar
其中
<ORACLE_CRS_HOME>
类似
/u01/app/oracle/product/11.1.0./crs/
2
余的个节点上,作为用
root
键入以下命令:
<ORACLE_CRS_HOME>install/rootdelete
node.sh <public nodename>, <node-number>
,其中
<ORACLE_CRS_HOME>
类似
/u01/app/oracle/product/11.1.0./crs/
<public nodename>
是要除的节点的公用名
<nodenumber>
是要除的节点的节点编号
3
要确定任何节点的节点编号,请键入以下命令:
<ORACLE_CRS_HOME>bin/olsnodes
-n
其中
<ORACLE_CRS_HOME>
类似
/u01/app/oracle/product/10.2.0./crs/
4
在要除的节点上,如果要
Oracle CRS
软件,请键入以下命令:
rm -rf <ORACLE_CRS_HOME>/*
其中
<ORACLE_CRS_HOME>
类似
/u01/app/oracle/product/10.2.0./crs