Sun Cluster 3.0 系統管理手冊

5.1.3 如何移除叢集傳送電纜與傳送配接卡

請使用下列程序來從節點移除叢集傳送電纜與叢集傳送配接卡。當電纜停用後,電纜的二個端點仍保持為配置狀態。如果配接卡仍當作傳送電纜的端點使用則無法移除。


小心 - 小心 -

叢集節點要求至少有一條作用中的電纜連到叢集交互連接以成為叢集的成員。請務必要先確認節點的叢集交互連接的狀態,然後再停用電纜。請在驗證後發現某電纜為多餘(有另一個連線可用)時才停用該電纜。停用節點最後一條繼續運轉中的電纜會使該節點失去叢集成員的資格。


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

  2. 檢查其餘叢集傳送路徑的狀態。


    # scstat -W
    

    小心 - 小心 -

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


  3. 執行 scsetup 公用程式。


    # scsetup
    

    出現「主功能表」。

  4. 輸入 2(叢集交互連接)來存取「叢集交互連接功能表」。

  5. 輸入 4(移除傳送電纜)來移除電纜。

    請依指示進行並輸入所要求的資訊。您必須同時輸入節點名稱以及您要識別之電纜某個端點的配接卡名稱。


    *** Cluster Interconnect Menu ***
        Please select from one of the following options:
        ...
        4) Remove a transport cable
        ...
        Option: 4
        ...
    >>> Remove a Cluster Transport Cable <<<
        ...
        Is it okay to continue (yes/no) [yes]? <Return>
        ...
        To which node is the cable attached? nodename
        Name of the adapter on "node"? adaptername
        Is it okay to proceed with the update (yes/no) [yes]? <Return>
        ...
        Command completed successfully.    Hit ENTER to continue: <Return>
    

    註解 -

    如果您移除實體電纜,請切斷電纜與埠以及目標裝置之間的連接。


  6. 要移除配接卡,請輸入 5(從節點移除傳送配接卡)。

    請依指示進行並輸入所要求的資訊。您必須同時輸入節點名稱以及您要識別之電纜某個端點的配接卡名稱。


    *** Cluster Interconnect Menu **    Please select from one of the following options:
        ...
        5) Remove a transport adapter
        ...
        Option: 5
        ...
    >>> Remove a Cluster Transport Adapter <<<
        ...
        Is it okay to continue (yes/no) [yes]? <Return>
        ...
        To which node is the cable attached? nodename
        Name of the adapter on "node"? adaptername
        Is it okay to proceed with the update (yes/no) [yes]? <Return>
        ...
        Command completed successfully.    Hit ENTER to continue: <Return>
    

    註解 -

    如果您要從節點移除實體配接卡,請參閱 Sun Cluster 3.0 Hardware Guide 來取得硬體服務程序。


  7. 確認電纜或配接卡成功移除。


    # scconf -p | grep cable
    # scconf -p | grep adapter
    

    從給定節點移除傳送電纜或配接卡應該不會出現在這個指令的輸出中。

5.1.3.1 範例-移除傳送電纜或傳送配接卡

以下範例顯示如何使用 scsetup 指令來移除傳送電纜或傳送配接卡。


[Become superuser on a node in the cluster.]
[Execute the scsetup utility:]
# scsetup
[Enter option 2:]
*** Main Menu ***
    Please select from one of the following options:
    ...
      2) Cluster interconnect
    ...    Option: 2
[Enter option 4 to remove a cable:]
*** Cluster Interconnect Menu ***
    Please select from one of the following options:
    ...
      4) Remove a transport cable
    ...
    Option: 4
[Enter the requested information:]
>>> Remove 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-0
    Is it okay to proceed with the update (yes/no) [yes]? <Return>	.
scconf -a -m endpoint=phys-schost-2:hme1,endpoint=hub0
    Command completed successfully.    Hit ENTER to continue: <Return>
[Enter option 5 to remove an adapter:]
*** Cluster Interconnect Menu ***
    Please select from one of the following options:
    ...
      5) Remove a transport adapter from a node
    ...
    Option: 5
[Enter the requested information:]
>>> Remove a Cluster Transport Adapter <<<
    ...
    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-0
    Is it okay to proceed with the update (yes/no) [yes]? <Return>	.
 
scconf -r -m endpoint=phys-schost-2:hme1
 
    Command completed successfully.    Hit ENTER to continue: <Return>
[Verify that the cable or adapter is removed:]
# scconf -p | grep cable
  Transport cable:   phys-schost-2:qfe0@1 ethernet-1@2    Enabled
  Transport cable:   phys-schost-3:qfe0@1 ethernet-1@3    Enabled
  Transport cable:   phys-schost-1:qfe0@0 ethernet-1@1    Enabled
# scconf -p | grep adapter
  Node transport adapters:   qfe2 hme1 qfe0
  Node transport adapter:   qfe0
  Node transport adapters:   qfe0 qfe2 hme1
  Node transport adapter:   qfe0
  Node transport adapters:   qfe0 qfe2 hme1
  Node transport adapter:   qfe0