Oracle 10G RAC 刪除已有節點

來源:互聯網
上載者:User

標籤:oracle   10g   rac   刪除節點   

如果現在在RAC叢集中有三個節點c1、c2、c3:

如果想要卸載c3節點。

1、在c1或者c2上刪除c3執行個體

運行dbca

然後選擇Oracle Real Application Clusters database

選擇Instance Management

選擇Delete an instance

選擇執行個體,填寫使用者名稱密碼,Next

選擇c3: instance3,Next

執行完畢

2、刪除r3的ASM執行個體(如果有的話)

在c1或者c2上,在Oracle使用者下:

srvctl stop asm -n c3

srvctl remove asm -n c3

3、用netca卸載刪除監聽

在c1或者c2上,netca

選擇Cluster configuration,

選擇c3節點,

選擇Listener configuration,

選擇Delete,

選擇LISTENER

4、更新oraInventory

在c1或者c2上

在$ORACLE_HOME/oui/bin中

執行:./runInstaller -updateNodeList ORACLE_HOME=$ORACLE_HOME "CLUSTER_NODES=c1,c2"

在c3上

在$ORACLE_HOME/oui/bin中

執行:./runInstaller -updateNodeList ORACLE_HOME=$ORACLE_HOME "CLUSTER_NODES=c1,c2"

./runInstaller -updateNodeList ORACLE_HOME=$ORACLE_HOME "CLUSTER_NODES=c3" -local

5、在c3刪除oracle軟體

在$ORACLE_HOME/bin中

./runInstaller -deinstall

只刪除資料庫軟體(不要刪除叢集軟體)

6、刪除其餘資源

在c1或者c2上

在oracle使用者下:

/u01/crs_1/bin/srvctl stop nodeapps -n c3

在root使用者下:
/u01/crs_1/bin/srvctl remove nodeapps -n c3

7、刪除c3的叢集

在c3上

cd /u01/crs_1/install/

./rootdelete.sh

8、在c1上刪除c3

在root使用者下

cd /u01/crs_1/install

./rootdeletenodesh c3 3

9、在c1刪除c3的clusterware記錄資訊

cd /u01/crs_1/oui/bin

./runInstaller -updateNodeList ORACLE_HOME=/u01/crs_1 "CLUSTER_NODES=c1,c2" CRS=TRUE

10、在c3上更新oraInventory

cd /u01/crs_1/oui/bin

./runInstaller -updateNodeList ORACLE_HOME=/u01/crs_1 "CLUSTER_NODES=c3" CRS=TRUE -local

11、在c3上刪除clusterware軟體

cd /u01/crs_1/oui/bin

./runInstaller -deinstall

注意:

在中途可以用crs_stat -t查看資源狀態

可以用srvctl stop xxx -n c3停止一個資源

可以用srvctl remove xxx -n c3移除一個資源


Oracle 10G RAC 刪除已有節點

聯繫我們

該頁面正文內容均來源於網絡整理,並不代表阿里雲官方的觀點,該頁面所提到的產品和服務也與阿里云無關,如果該頁面內容對您造成了困擾,歡迎寫郵件給我們,收到郵件我們將在5個工作日內處理。

如果您發現本社區中有涉嫌抄襲的內容,歡迎發送郵件至: info-contact@alibabacloud.com 進行舉報並提供相關證據,工作人員會在 5 個工作天內聯絡您,一經查實,本站將立刻刪除涉嫌侵權內容。

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.