oracle 10g rac添加节点与删除节点的步骤
oracle 10g rac数据库添加节点与删除节点的步骤
环境aIx 6.1 +oracle 10.2.0.4+emc cx500
删除节点步骤:1. Delete the instance on the node to be deleted.
2. Clean up the ASM instance.
3. Remove the listener from the node to be deleted.
4. Remove the node from the database.
5. Remove the node from ASM.
6. Remove ONS configuration from the node to be deleted.
7. Remove the node from the clusterware.
添加节点步骤:1. Install and configure OS and hardware for new node.
2. Add Oracle Clusterware to the new node.
3. Configure ONS for the new node.
4. Add ASM home to the new node.
5. Add RAC home to the new node.
6. Add a listener to the new node.
7. Add a database instance to the new node. 遇到的问题:在保留节点更新ORACLE_HOME和CRS节点信息不成功: 更新ORACLE_HOME信息[oracle@p650:/oracle/app/oracle]$$ORACLE_HOME/oui/bin/runInstaller -updateNodeList ORACLE_HOME=$ORACLE_HOME "CLUSTER_NODES=p650"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 /etc/oraInst.locThe inventory is located at /oracle/app/oracle/oraInventory'UpdateNodeList' failed. 注意上面这种方法,更新不成功,需要用下面这种方法。[oracle@p650:/oracle/app/oracle]$$ORACLE_HOME/oui/bin/runInstaller -updateNodeList ORACLE_HOME=$ORACLE_HOME "CLUSTER_NODES=p650" "INVENTORY_LOCATION=/oracle/app/oracle/oraInventory" LOCAL_NODE=p650Starting 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 /etc/oraInst.locThe inventory is located at /oracle/app/oracle/oraInventory'UpdateNodeList' was successful. 更新CRS节点信息[oracle@p650:/oracle/app/oracle]$$ORA_CRS_HOME/oui/bin/runInstaller -updateNodeList ORACLE_HOME=$ORA_CRS_HOME "CLUSTER_NODES=p650" CRS=TRUE 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 /etc/oraInst.locThe inventory is located at /oracle/app/oracle/oraInventory'UpdateNodeList' failed. 注意上面这种方法会报错。$ORA_CRS_HOME/oui/bin/runInstaller -updateNodeList ORACLE_HOME=/crs/app/oracle/product/crs_1 "CLUSTER_NODES=p650" "INVENTORY_LOCATION=/oracle/app/oracle/oraInventory" LOCAL_NODE=p650 CRS=TRUE[oracle@p650:/oracle/app/oracle]$$ORA_CRS_HOME/oui/bin/runInstaller -updateNodeList ORACLE_HOME=/crs/app/oracle/product/crs_1 "CLUSTER_NODES=p650" "INVENTORY_LOCATION=/oracle/app/oracle/oraInventory" LOCAL_NODE=p650 CRS=TRUEStarting 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 /etc/oraInst.locThe inventory is located at /oracle/app/oracle/oraInventory'UpdateNodeList' was successful.