下面彻底删除节点3上的软件,首先需要设置节点3上的CLUSTER_NODES列表:
bash-3.00# xhost +
access control disabled, clients can connect from any host
bash-3.00# su - oracle
Sun Microsystems Inc. SunOS 5.10 Generic January 2005
$ bash
bash-3.00$ cd /data/oracle/product/10.2/crs/oui/binbash-3.00$ ./runInstaller -updateNodelist ORACLE_HOME=/data/oracle/product/10.2/crs "CLUSTER_NODES={racnode3}" CRS=TRUE -local正在启动Oracle Universal Installer...
正在检查安装程序要求...
检查操作系统版本:必须是5.8, 5.9 or 5.10。实际为5.10通过
检查临时空间:必须大于250 MB。实际为4323 MB通过检查交换空间:必须大于500 MB。实际为4399 MB通过检查监视器:监视器配置至少必须显示256种颜色。实际为65536通过
所有安装程序要求均已满足。
'UpdateNodeList'成功。
bash-3.00$ cd /data/oracle/product/10.2/database/oui/bin
bash-3.00$ ./runInstaller -updateNodelist ORACLE_HOME=/data/oracle/product/10.2/database "CLUSTER_NODES={racnode3}" -local正在启动Oracle Universal Installer...
在oraparam.ini中未找到先决条件检查,不执行系统先决条件检查。The inventory pointer is located at /var/opt/oracle/oraInst.loc
The inventory is located at /data/oracle/oraInventory
'UpdateNodeList'成功。
下面在节点3上执行runInstaller,分别删除数据库软件和CLUSTER软件。
随后登陆节点1更新节点信息:
bash-2.03$ cd /data/oracle/product/10.2/crs/oui/bin
bash-2.03$ ./runInstaller -updateNodeList -noClusterEnabled ORACLE_HOME=/data/oracle/product/10.2/crs CLUSTER_NODES=racnode1,racnode2 CRS=true "INVENTORY_LOCATION=/data/oracle/oraInventory" LOCAL_NODE=racnode1
Starting Oracle Universal Installer...
No pre-requisite checks found in oraparam.ini, no system pre-requisite checks will be executed.
The inventory pointer is located at /var/opt/oracle/oraInst.loc
The inventory is located at /data/oracle/oraInventory
'UpdateNodeList' was successful.
bash-2.03$ cd /data/oracle/product/10.2/database/oui/bin
bash-2.03$ ./runInstaller -updateNodeList -noClusterEnabled ORACLE_HOME=/data/oracle/product/10.2/database CLUSTER_NODES=racnode1,racnode2 CRS=false "INVENTORY_LOCATION=/data/oracle/oraInventory" LOCAL_NODE=racnode1
Starting Oracle Universal Installer...
No pre-requisite checks found in oraparam.ini, no system pre-requisite checks will be executed.
The inventory pointer is located at /var/opt/oracle/oraInst.loc
The inventory is located at /data/oracle/oraInventory
'UpdateNodeList' was successful.
登陆节点2执行类似的操作,唯一的区别是将LOCAL_NODE改为racnode2:
bash-2.03$ cd $ORACLE_HOME/../crs/oui/bin
bash-2.03$ ./runInstaller -updateNodeList -noClusterEnabled ORACLE_HOME=/data/oracle/product/10.2/crs CLUSTER_NODES=racnode1,racnode2 CRS=true "INVENTORY_LOCATION=/data/oracle/oraInventory" LOCAL_NODE=racnode2
Starting Oracle Universal Installer...
No pre-requisite checks found in oraparam.ini, no system pre-requisite checks will be executed.
The inventory pointer is located at /var/opt/oracle/oraInst.loc
The inventory is located at /data/oracle/oraInventory
'UpdateNodeList' was successful.
bash-2.03$ cd $ORACLE_HOME/oui/bin
bash-2.03$ ./runInstaller -updateNodeList -noClusterEnabled ORACLE_HOME=/data/oracle/product/10.2/database CLUSTER_NODES=racnode1,racnode2 CRS=false "INVENTORY_LOCATION=/data/oracle/oraInventory" LOCAL_NODE=racnode2
Starting Oracle Universal Installer...
No pre-requisite checks found in oraparam.ini, no system pre-requisite checks will be executed.
The inventory pointer is located at /var/opt/oracle/oraInst.loc
The inventory is located at /data/oracle/oraInventory
'UpdateNodeList' was successful.
至此,节点3的清除工作全部完成。