Sun Cluster 系統管理指南 (適用於 Solaris 作業系統)

如何停用 Cluster Transport Cable

您也可以使用 SunPlex Manager GUI 來完成此程序。請參閱 SunPlex Manager 線上說明,以取得詳細資訊。

您可能需要停用叢集傳輸電纜,以臨時關閉叢集互連路徑。這在解決叢集交互連接的問題或更換叢集交互連接硬體時,非常有用。

當電纜停用後,電纜的二個端點仍保持為配置狀態。如果配接卡仍當作傳輸電纜的端點使用,則無法移除。


注意 – 注意 –

每個叢集節點和叢集中的其他節點間至少要有一條作業傳輸路徑。不應該有節點彼此孤立。請務必要先確認節點的叢集交互連接的狀態,然後再停用電纜。請在驗證後發現某電纜為多餘 (有另一個連線可用) 時才停用該電纜。停用節點最後一條繼續運轉中的電纜會使該節點失去叢集成員的資格。


  1. 成為叢集中任何節點的超級使用者。

  2. 先檢查叢集交互連接的狀態再停用電纜。


    # scstat -W
    


    注意 – 注意 –

    您試圖移除兩個節點叢集中的任一個節點而收到「路徑失效」的錯誤訊息時,請先解決問題再繼續執行本程序。這種問題可能指示節點路徑無法使用。移除其餘好的路徑會使節點失去叢集成員資格,而導致必須重新配置。


  3. 輸入 scsetup(1M) 公用程式。


    # scsetup
    

    顯示 Main Menu。

  4. 輸入 3 (叢集交互連接) 來存取 Cluster Interconnect Menu。

  5. 輸入 8 (停用傳輸電纜) 來停用電纜。

    請依指示進行並輸入所要求的資訊。這個叢集交互連接上的所有元件都會被停用。您需要同時輸入要識別之電纜某個端點的節點名稱和配接卡名稱。

  6. 確認電纜停用成功。


    # scconf -p | grep cable
    

範例—停用叢集傳輸電纜

這個範例顯示如何停用位於節點 phys-schost-2 之配接卡 qfe-1 上的叢集傳輸電纜。


[Become superuser on any node.]
[Enter the scsetup utility:]
# scsetup
Select Cluster interconnect>Disable a transport cable.
Answer the questions when prompted.
You will need the following information.
   You Will Need:         Example:
   node names             phys-schost-2
   adapter names          qfe1
   junction names         hub1
[Verify that the scconf command completed successfully:]
 
scconf -c -m endpoint=phys-schost-2:qfe1,state=disabled
 
Command completed successfully.
Quit the scsetup Cluster Interconnect Menu and Main Menu.
[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