Sun Cluster 3.0 系統管理手冊

5.1.2 如何新增 Cluster Transport Cable 與傳送配接卡

  1. 請確定已經安裝實體 cluster transport cable。

    有關如何安裝 cluster transport cable 的程序,請參閱 Sun Cluster 3.0 Hardware Guide

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

  3. 執行 scsetup 公用程式。


    # scsetup
    

    出現「主功能表」。

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

  5. 輸入 1(新增傳送電纜)來新增電纜。

    請依指示進行並輸入所要求的資訊。具有二個節點的直接連接不需要中繼。不過,您必須同時輸入節點名稱以及您要識別之電纜某個端點的配接卡名稱。


    >>> Add a Cluster Transport Cable <<<
        ...
        Is it okay to continue (yes/no) [yes]? <Return>
        ...
        To which node do you want to add the cable?  nodename
        Name of the adapter to use on "node"?  adaptername
        Name of the junction at the other end of the cable?  junctionname
        Okay to use the default for this cable connection [yes]? <Return>
        Is it okay to proceed with the update (yes/no) [yes]? <Return>
    
  6. 輸入 2(新增傳送配接卡至節點)來新增配接卡。

    請依指示進行並輸入所要求的資訊。具有二個節點的直接連接不需要中繼。不過,您必須同時輸入節點名稱以及您要識別之電纜某個端點的配接卡名稱。


    >>> Add a Cluster Transport Adapter <<<
        ...
        Is it okay to continue (yes/no) [yes]? <Return>
        ...
        To which node do you want to add the cable?  nodename
        Name of the adapter to use on "node"?  adaptername
        Name of the junction at the other end of the cable?  junctionname
        Okay to use the default for this cable connection [yes]? <Return>
        Is it okay to proceed with the update (yes/no) [yes]? <Return>
    
  7. 確認叢集傳送電纜或傳送配接卡新增成功。


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

5.1.2.1 範例-新增叢集傳送電纜與傳送配接卡

以下範例顯示如何使用 scsetup 指令來新增傳送電纜或傳送配接卡到節點。


[Ensure the physical cable is installed.]
[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 1 to add a cable:]
*** Cluster Interconnect Menu ***
    Please select from one of the following options:
    ...
    1) Add a transport cable
    ...
    Option: 1
[Enter the requested information:]
>>> Add 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 2 to add an adapter:]
*** Cluster Interconnect Menu ***
    Please select from one of the following options:
    ...
    2) Add a transport adapter to a node
    ...
    Option: 2
[Enter the requested information:]
>>> Add 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 -a -m endpoint=phys-schost-2:hme1,endpoint=hub0
    Command completed successfully.    Hit ENTER to continue: <Return>
[Verify that the cable and adapter are added:]
# 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