以下範例顯示如何使用 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
|