次のシナリオでは、シャーシ内で 2 つのサーバーブレードを交換する手順を説明します。
この手順では、作業の実行順序が重要になります。順序を守らないと、シャーシから取り外されたサーバーブレードが CPDB に残っている場合、矛盾が生じる場合があります。 まず現在のスロットからサーバーブレードを削除してから、新しいスロットにそのサーバーブレードを追加します。 詳細については、次の手順の例を参照してください。
物理的にサーバーブレードを取り外す前に、電源コントローラから removefru blade コマンドを実行します。 このコマンドの使用法の詳細については、Sun Fire B1600 ブレードシステムシャーシのドキュメントを参照してください。
削除するすべてのサーバーブレードは、FREE または NEW 状態である必要があります。 device コマンドを実行すると、デバイスの状態を変更できます。 このコマンドの使用法の詳細については、delete のマニュアルページを参照してください。
q を入力して終了するか、推奨される操作の行番号を入力するよう求められたら、行番号を入力します。
デバイスを削除するかどうかをたずねられたら、y を入力します。
削除を確認するプロンプトが表示されます。
もう一度 y と入力します。
Recommended actions:
Recommended
# Cause Action Identification Conflicting IDs
-- ----------- ------- ----------------------- ---------------
0: CONFLICT DELETE 50114 00:03:BA:26:91:F5 50110
1: CONFLICT ADD 50110 00:03:BA:26:91:F5 50114
2: CONFLICT ADD 50114 00:03:BA:26:91:AD 50110
3: CONFLICT DELETE 50110 00:03:BA:26:91:AD 50114
* = action has been run
Enter line number from above or q for quit: 0
DELETE device 50114 (MAC address 00:03:BA:26:91:F5)? [y/n] y
/opt/terraspring/sbin/device -d 50114
Are you sure to delete (y/n)? y
Deleted device 50114
Recommended actions:
Recommended
# Cause Action Identification Conflicting IDs
-- ----------- ------- ----------------------- ---------------
0: CONFLICT *DELETE 50114 00:03:BA:26:91:F5 50110
1: CONFLICT ADD 50110 00:03:BA:26:91:F5 50114
2: CONFLICT ADD 50114 00:03:BA:26:91:AD 50110
3: CONFLICT DELETE 50110 00:03:BA:26:91:AD 50114
* = action has been run
Enter line number from above or q for quit: 3
DELETE device 50110 (Identification 00:03:BA:26:91:AD)? [y/n] y
/opt/terraspring/sbin/device -d 50114
Are you sure to delete (y/n)? y
Deleted device 50110
Recommended actions:
Recommended
# Cause Action Identification Conflicting IDs
-- ----------- ------- ----------------------- ---------------
0: CONFLICT *DELETE 50114 00:03:BA:26:91:F5 50110
1: CONFLICT ADD 50110 00:03:BA:26:91:F5 50114
2: CONFLICT ADD 50114 00:03:BA:26:91:AD 50110
3: CONFLICT *DELETE 50110 00:03:BA:26:91:AD 50114
* = action has been run
Enter line number from above or q for quit: 1
ADD device 50110 (Identification=00:03:BA:26:91:F5)? [y/n] y
Adding device 50110 by running /var/tmp/add.withtype.50110:
<segment>
,device-type name="sun-b1600-shelf" parent="bls" desc="Sun B1600 Shelf">
</device-type>
...
Processing WML file /var/tmp/add.withtype.50110...
File '/var/tmp/add.withtype.50110' processed successfully
Recommended actions:
Recommended
# Cause Action Identification Conflicting IDs
-- ----------- ------- ----------------------- ---------------
0: CONFLICT *DELETE 50114 00:03:BA:26:91:F5 50110
1: CONFLICT *ADD 50110 00:03:BA:26:91:F5 50114
2: CONFLICT ADD 50114 00:03:BA:26:91:AD 50110
3: CONFLICT *DELETE 50110 00:03:BA:26:91:AD 50114
* = action has been run
Enter line number from above or q for quit: 2
ADD device 50114 (Identification=00:03:BA:26:91:AD)? [y/n] y
Adding device 50114 by running /var/tmp/add.withtype.50114:
<segment>
,device-type name="sun-b1600-shelf" parent="bls" desc="Sun B1600 Shelf">
</device-type>
...
Processing WML file /var/tmp/add.withtype.50114...
File '/var/tmp/add.withtype.50114' processed successfully
Recommended actions:
Recommended
# Cause Action Identification Conflicting IDs
-- ----------- ------- ----------------------- ---------------
0: CONFLICT *DELETE 50114 00:03:BA:26:91:F5 50110
1: CONFLICT *ADD 50110 00:03:BA:26:91:F5 50114
2: CONFLICT *ADD 50114 00:03:BA:26:91:AD 50110
3: CONFLICT *DELETE 50110 00:03:BA:26:91:AD 50114
* = action has been run
Enter line number from above or q for quit: q
What do you want to do next:
#1. Re-sync the current SFB1600 device with its saved state.
#2. Synchronize another SFB1600 device with its saved state.
#3. Exit.
Make selection (1-3): 3
[root@idb1:2]#
|