前面几篇文章介绍了在Oracle 10203 for Solaris sparc的RAC双节点环境中,新增一个节点的过程。这里描述删除节点的操作。
这一篇介绍Oracle软件环境的更新。
Oracle10203RAC环境删除节点(一):http://yangtingkun.itpub.net/post/468/495334
Oracle10203RAC环境删除节点(二):http://yangtingkun.itpub.net/post/468/495377
下面彻底删除节点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的清除工作全部完成。
来自 “ ITPUB博客 ” ,链接:https://blog.itpub.net/4227/viewspace-624034/ ,如需转载,请注明出处,否则将追究法律责任。