次の手順を使用し、クラスタトランスポートケーブルとクラスタトランスポートアダプタをノードから削除します。ケーブルが無効な場合、このケーブルの 2 つの終端は構成されたままになります。トランスポートケーブルの終端として使用されているアダプタは削除できません。
クラスタノードでは、そのクラスタノードのメンバーとなるクラスタインターコネクトに、機能しているケーブルが少なくとも 1 つ接続されている必要があります。ケーブルを無効にする前には、必ず、ノードのクラスタインターコネクトの状態を確認してください。状態が冗長な場合、つまり別の接続が使用できる場合だけ、ケーブル接続を無効にします。ノードの最後の機能しているケーブルを無効にすると、そのノードはクラスタメンバーシップから外れます。
クラスタの任意のノードでスーパーユーザーになります。
残りのクラスタトランスポートパスの状態を確認します。
# scstat -W |
2 ノードクラスタのいずれかのノードを削除しようとして「パス障害 (Path faulted)」などのエラーメッセージが表示された場合、この手順を続ける前に問題を調査してください。このような問題は、ノードパスが利用できないことを示しています。残りの正常なパスを削除すると、このノードはクラスタメンバーシップから外れ、クラスタが再構成されます。
scsetup ユーティリティを実行します。
# scsetup |
「Main Menu」が表示されます。
2 (Cluster interconnect) を入力し、「Cluster Interconnect Menu」にアクセスします。
4 (Remove a Taransport cable) を入力してケーブルを削除します。
指示に従い、必要な情報を入力します。ケーブルのいずれかの終端のノード名およびアダプタ名の両方を入力する必要があります。
*** 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> |
物理的にケーブル接続を解除する場合は、ポートと宛先デバイスをつないでいるケーブルを切り離します。
アダプタを削除するには、5 (Remove a transport adapter from a node) を入力します。
指示に従い、必要な情報を入力します。ケーブルのいずれかの終端のノード名およびアダプタ名の両方を入力する必要があります。
*** 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』を参照してください。
ケーブルまたはアダプタが削除されたことを確認します。
# scconf -p | grep cable # scconf -p | grep adapter |
ノードからトランスポートケーブルやトランスポートアダプタが削除された場合は、このコマンドの出力には表示されません。
次に、scsetup コマンドを使用し、トランスポートケーブルとトランスポートアダプタを削除する例を示します。
[クラスタ内のノードでスーパーユーザーになる] [scsetup ユーティリティを実行する] # scsetup [オプション 2 を入力する] *** Main Menu *** Please select from one of the following options: ... 2) Cluster interconnect ... Option: 2 [オプション 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? 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> [オプション 5 を入力してアダプタを削除する] *** Cluster Interconnect Menu *** Please select from one of the following options: ... 5) Remove a transport adapter from a node ... Option: 5 [要求された情報を入力する] >>> 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> [ケーブルまたはアダプタが削除されていることを確認する] # 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 |