oracle rac 如何正確的刪除單個節點的actionlist,racactionlist

來源:互聯網
上載者:User

oracle rac 如何正確的刪除單個節點的actionlist,racactionlist

1節點2使用dbca刪除一個節點2節點1alter database disable thread 2;3節點1驗證是否已經刪除一個節點資料庫[03:49:06 oracle(db)@rac1 ~]$ srvctl config database -d prodDatabase unique name: prodDatabase name: prodOracle home: /u01/app/oracle/product/11.2.0/dbOracle user: oracleSpfile: +DATA/prod/spfileprod.oraDomain:Start options: openStop options: immediateDatabase role: PRIMARYManagement policy: AUTOMATICServer pools: prodDatabase instances: prod1Disk Groups: DATAMount point paths:Services:Type: RACDatabase is administrator managed4 節點1停止節點2的監聽srvctl disable listener -l LISTENER -n rac2;srvctl stop listener -l LISTENER -n rac2;5節點2更新節點資訊/u01/app/oracle/product/11.2.0/db/oui/bin/runInstaller -updateNodeList ORACLE_HOME=/u01/app/oracle/product/11.2.0/db "CLUSTER_NODES={rac2}" -local6節點2刪除節點2的ORACLE軟體/u01/app/oracle/product/11.2.0/db/deinstall/deinstall -local7節點1更新剩餘節點的資訊/u01/app/oracle/product/11.2.0/db/oui/bin/runInstaller -updateNodeList ORACLE_HOME=/u01/app/oracle/product/11.2.0/db "CLUSTER_NODES={rac1}"刪除oracle軟體已經完成下面來刪除grid軟體8節點1查看ons的資源情況olsnodes -s -trac1 Active Unpinnedrac2 Active Unpinned9節點2以root使用者執行rootcrs.pl 指令碼清楚grid的配置資訊/u01/app/11.2.0/grid/crs/install/rootcrs.pl -deconfig -deinstall -force10節點1再次確認ons的資源情況olsnodes -s -trac1 Active Unpinnedrac2 Inactive Unpinned11節點1root使用者執行刪除另外一個節點的資訊 crsctl delete node -n rac2olsnodes -s -trac1 Active Unpinned12節點2oracle使用者執行/u01/app/11.2.0/grid/oui/bin/runInstaller -updateNodeList ORACLE_HOME=/u01/app/11.2.0/grid/ "CLUSTER_NODES=rac2" CRS=TRUE -silent -local13節點2卸載grid軟體oracle使用者執行/u01/app/11.2.0/grid/deinstall/deinstall -localroot 使用者下執行rm -rf /etc/oraInst.locrm -rf /opt/ORCLfmaprm -rf /etc/oratab14節點1更新剩餘節點的資訊oracle使用者執行:/u01/app/11.2.0/grid/oui/bin/runInstaller -updateNodeList ORACLE_HOME=/u01/app/11.2.0/grid/ "CLUSTER_NODES=rac1" CRS=TRUE -silent15 節點1檢查是否已經刪除[04:24:28 oracle(db)@rac1 ~]$ cluvfy stage -post nodedel -n rac2 -verbosePerforming post-checks for node removalChecking CRS integrity...Clusterware version consistency passedThe Oracle Clusterware is healthy on node "rac1"CRS integrity check passedResult:Node removal check passedPost-check for node removal was successful.可以看到節點刪除成功

相關文章

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.