Oracle10203RAC環境刪除節點(三)

yangtingkun發表於2009-12-30

前面幾篇文章介紹了在Oracle 10203 for Solaris sparcRAC雙節點環境中,新增一個節點的過程。這裡描述刪除節點的操作。

這一篇介紹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部落格 ” ,連結:http://blog.itpub.net/4227/viewspace-624034/,如需轉載,請註明出處,否則將追究法律責任。

相關文章