您可能需停用叢集傳送電纜來暫時關閉叢集交互連接路徑。這在解決叢集交互連接的問題或更換叢集交互連接硬體時,非常有用。
當電纜停用後,電纜的二個端點仍保持為配置狀態。如果配接卡仍當作傳送電纜的端點使用則無法移除。
叢集節點要求至少有一條作用中的電纜連到叢集交互連接以成為叢集的成員。請務必要先確認節點的叢集交互連接的狀態,然後再停用電纜。請在驗證後發現某電纜為多餘(有另一個連線可用)時才停用該電纜。停用節點最後一條繼續運轉中的電纜會使該節點失去叢集成員的資格。
成為叢集中任何節點的超級使用者(superuser)。
先檢查叢集交互連接的狀態再停用電纜。
# scstat -W |
您移除二節點叢集中的任一個而收到 "路徑失效" 的錯誤時,請先解決問題再繼續執行本程序。這種問題可能指示節點路徑不可使用。移除其餘好的路徑會使節點失去叢集成員資格而導致必須重新配置。
輸入 scsetup 公用程式。
# scsetup |
出現「主功能表」。
輸入 2(叢集交互連接)來存取「叢集交互連接功能表」。
輸入 8(停用傳送電纜)來停用電纜。
請依指示進行並輸入所要求的資訊。這個叢集交互連接上的所有元件都會被停用。您必須同時輸入節點名稱以及您要識別之電纜某個端點的配接卡名稱。
確認電纜停用成功。
# scconf -p | grep cable |
這個範例顯示如何停用位於節點 phys-schost-2 之配接卡 qfe-1 上的叢集傳送電纜。
[Become superuser on any node.] [Enter the scsetup utility:] # scsetup [Enter option 8:] *** Cluster Interconnect Menu *** Please select from one of the following options: ... 8) Disable a transport cable ... Option: 8 [Enter the requested information:] >>> Disable a Cluster Transport Cable <<< ... Is it okay to continue (yes/no) [yes]? <Return> ... To which node is the cable attached? phys-schhost-2 Name of the adapter on "phys-schost-2"? qfe-1 Is it okay to proceed with the update (yes/no) [yes]? <Return> scconf -c -m endpoint=phys-schost-2:qfe1,state=disabled Command completed successfully. Hit ENTER to continue: <Return> [Verify that the cable is disabled:] # scconf -p | grep cable Transport cable: phys-schost-2:qfe1@0 ethernet-1@2 Disabled Transport cable: phys-schost-3:qfe0@1 ethernet-1@3 Enabled Transport cable: phys-schost-1:qfe0@0 ethernet-1@1 Enabled |