下列程序已在 Sun Cluster 3.0 5/02 更新版次中介紹過,且適用於本更新版次以及 Sun Cluster 3.0 軟體所有後續的更新版次。
在您從完全建立的叢集配置將叢集節點斷線之前,請執行此程序以從叢集節點移除 Sun Cluster 軟體。您可以利用此程序從叢集最後存留的節點上移除軟體。
若要從尚未加入叢集或仍然處於安裝模式的節點上移除 Sun Cluster 軟體,則請勿執行此程序。請另外到 Sun Cluster 3.0 12/01 軟體安裝手冊 中的「如何移除 Sun Cluster 軟體以修正安裝問題」。
請確定您已正確完成移除叢集節點的對應作業中所列的所有必備作業。
請參閱 Sun Cluster 3.0 12/01 系統管理手冊 中的「新增與移除叢集節點」。
請確定在繼續這個程序前,您已從所有資源群組、裝置群組以及法定裝置配置移除節點、讓它進入維護狀態,並從叢集將它移除。
在您將移除的節點之外的主動叢集成員上成為超級使用者。
從主動的叢集成員上,將您想要移除的節點加入至叢集的節點認證清單中。
# scconf -a -T node=nodename |
新增
設定認證選項
指定要加入認證清單中的節點名稱。
另外,您可以使用 scsetup(1M) 公用程式。請參閱 Sun Cluster 3.0 12/01 系統管理手冊 中的「如何將叢集節點新增至已獲授權的節點清單」,以取得詳細操作程序。
成為要移除的節點上的超級使用者。
將節點重新開機,進入非叢集模式。
# shutdown -g0 -y -i0 ok boot -x |
在 /etc/vfstab 檔案中,除了 /global/.devices 全域裝載之外,移除所有全域裝載的檔案系統項目。
從節點移除 Sun Cluster 軟體。
# cd / # scinstall -r |
請參閱 scinstall(1M) 線上援助頁,以取得詳細資訊。如果 scinstall 傳回錯誤訊息,請參閱 "節點移除的疑難排解"。
若有傳輸電纜與傳輸接點,請從其他的叢集裝置上將它們斷線。
本節說明當您執行 scinstall -r 指令時,可能接收到的錯誤訊息,以及應採取的更正動作。
下列錯誤訊息表示您所移除的節點在它的 vfstab 檔中仍然擁有參照的叢集檔案系統。
Verifying that no unexpected global mounts remain in /etc/vfstab ... failed scinstall:global-mount1 is still configured as a global mount. scinstall:global-mount1 is still configured as a global mount. scinstall:/global/dg1 is still configured as a global mount. scinstall:It is not safe to uninstall with these outstanding errors. scinstall:Refer to the documentation for complete uninstall instructions. scinstall:Uninstall failed. |
要更正此項錯誤,請回到 "如何從叢集節點移除 Sun Cluster 軟體 (5/02)" 並重複此程序。在您重新執行 scinstall -r 指令之前,請確定您成功地完成程序中的 步驟 6。
下列錯誤訊息表示您所移除的節點仍然列在磁碟裝置群組裡。
Verifying that no device services still reference this node ... failed scinstall:This node is still configured to host device service "service". scinstall:This node is still configured to host device service "service2". scinstall:This node is still configured to host device service "service3". scinstall:This node is still configured to host device service "dg1". scinstall:It is not safe to uninstall with these outstanding errors. scinstall:Refer to the documentation for complete uninstall instructions. scinstall:Uninstall failed. |
欲更正此項錯誤,請執行下列步驟。
嘗試將節點重新加入叢集。
# boot |
節點是否成功地重新加入叢集?
如果不是,請進到 步驟 3。
如果是,請依照下列步驟從磁碟裝置群組移除節點。
如果節點成功地重新加入叢集,請從剩下的磁碟裝置群組中移除節點。
遵循 "如何從所有磁碟裝置群組 (5/02) 移除節點" 中的程序。
在您從所有磁碟裝置群組中移除節點之後,請回到 "如何從叢集節點移除 Sun Cluster 軟體 (5/02)" 並重複此項程序。
如果節點無法重新加入叢集,請將節點的 /etc/cluster/ccr 檔重新命名為您所選的其他名稱,例如,ccr.old。
# mv /etc/cluster/ccr /etc/cluster/ccr.old |
請回到 "如何從叢集節點移除 Sun Cluster 軟體 (5/02)" 並重複此項程序。