ブレードの取り外しや追加など、シャーシの物理状態を変更した後では、/opt/terraspring/sbin/shelfsync コマンドを使用して、CPDB と、シャーシの物理状態を同期させる必要があります。 同期の前に、同期させるデバイスを検出する作業を行います。 この作業は、サーバーブレードの追加、削除、移動、および交換で共通です。 そのため、検出プロセスとそれに関連する例は、「シャーシコンポーネントの追加、移動、および削除」の節で 1 回だけ説明します。 その後の同期に関する節では、推奨される操作、同期のプロセス、および関連する例のみを説明します。
サーバーブレードの IP アドレスまたはデバイス ID を (入力を求められた場合に) 入力して、シャーシの物理状態の検出と、CPDB の同期を開始します。
q を入力して終了するか、推奨される操作の行番号を入力するよう求められたら、行番号を入力します。
デバイスを追加するかどうかをたずねられたら、y と入力します。
推奨される操作がすべて完了した場合、または残りの推奨される操作を実行しない場合は、q を入力して終了します。
シェルフをその保存された状態と再度同期させるか、別のシャーシを同期させるか、終了するかをたずねられたら、同期させる必要があるすべてのシャーシを同期させるよう、適切な選択を行います。
終了するには、プロンプトで 3 を入力します。
/opt/terraspring/sbin/shelfsync Begining synchronization of the I-Fabric's database with an SFB1600's physical state. Enter SFB1600 management IP address or the device ID: 10.5.132.65 Database query in progress. Please wait. Found: ipaddr="10.5.132.65" shelfid="50200" powerid="50260" Checking network connectivity to 10.5.132.65....Done. Network connectivity: OK Attempting discovery of the specified SFB1600 device. Management interface user name: admin Password: Are the switch user name and password the same as the management user name and password? [yY/nN]y Is there any new switch added to the shelf that you want to bench configure? [yY/nN]n Device discovery for 10.5.132.65 in progress. Please wait. Writing WML output to /var/tmp/deviceWML.29789 Device discovery succeeded. Fetching database state.....Please Wait.....Done!! Recommended actions: Recommended # Cause Action Identification Conflicting IDs -- ----------- ------- ----------------------- --------------- 0 Discovered ADD 50211 00:03:BA:26:91:AD 1 Discovered ADD 50251 sw_50251_SSC1 * = action has been run, entering -y will suppress acknowledgement prompts Enter line number(s) from above or q for quit: 1 ADD device 50251 (Identification: sw_50251_SSC1)? [y/n] y Adding device 50251 by running /var/tmp/add.withtype.50251: <segment> <device-type name="sun-b1600-shelf" parent="bls" desc="Sun B1600 Shelf"> </device-type> ... Processing WML file /var/tmp/add.withtype.50251 ... **WARNING** Skipping device type 'sun-b1600-shelf'. It is already defined. **WARNING** Updating device '50001'. It is already defined. File '/var/tmp/add.withtype.50251' processed successfully Password set : 50251 Recommended actions: Recommended # Cause Action Identification Conflicting IDs -- ----------- ------- ----------------------- --------------- 0 Discovered ADD 50250 sw_50250_SSC0 1 Discovered *ADD 50251 sw_50251_SSC1 * = action has been run, entering -y will suppress acknowledgement prompts Enter line number(s) from above or q for quit: 0 ADD device 50211 (Identification: 00:03:BA:26:91:AD? [y/n] y Adding device 50211 by running /var/tmp/add.withtype.50211: <segment> <device-type name="sun-b1600-shelf" parent="bls" desc="Sun B1600 Shelf"> </device-type> ... Processing WML file /var/tmp/add.withtype.50211 ... **WARNING** Skipping device type 'sun-b1600-shelf'. It is already defined. File '/var/tmp/add.withtype.50211' processed successfully Recommended actions: Recommended # Cause Action Identification Conflicting IDs -- ----------- ------- ----------------------- --------------- 0 Discovered *ADD 50211 00:03:BA:26:91:AD 1 Discovered *ADD 50251 sw_50251_SSC1 * = action has been run, entering -y will suppress acknowledgement prompts Enter line number(s) 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 bash-2.03# |
以下の手順では、ファーム内で使用されていないサーバーブレードや SSC を削除する方法を説明します。
サーバーブレードや SSC を物理的に取り外す前に、システムコントローラから removefru blade コマンドを実行します。 このコマンドの使用法の詳細については、Sun Fire™ B1600 ブレードシステムシャーシのドキュメントを参照してください。
削除するすべてのブレードは、FREE または NEW 状態である必要があります。 device コマンドを実行すると、デバイスの状態を変更できます。 このコマンドの使用法の詳細については、device のマニュアルページを参照してください。
SSC0 コンポーネントは削除しないでください。このコンポーネントを削除すると、N1 Provisioning Server ソフトウェアは正常に動作しません。
q を入力して終了するか、推奨される操作の行番号を入力するよう求められたら、デバイスを削除する行番号を入力します。
デバイスを削除するかどうかをたずねられたら、y を入力します。
削除を確認するプロンプトが表示されます。
もう一度 y と入力します。
推奨される操作がすべて完了した場合、または残りの推奨される操作を実行しない場合は、q を入力して終了します。
シャーシをその保存された状態と再度同期させるか、別のシャーシを同期させるか、終了するかをたずねられます。
同期させる必要があるすべてのシャーシを同期させるための適切な選択を行います。
終了するには、プロンプトで 3 を入力します。
Recommended actions: Recommended # Cause Action Identification Conflicting IDs -- ----------- ------- ----------------------- --------------- 0: Removed DELETE 50110 00:03:BA:26:91:AD 1: Removed DELETE 50151 sw_50151_SSC1 * = action has been run Enter line number from above or q for quit: 0 DELETE device 50110 (Identification 00:03:BA:26:91:AD)? [y/n] y /opt/terraspring/sbin/device -d 50110 Are you sure to delete (y/n)? y Deleted device 50110 Recommended actions: Recommended # Cause Action Identification Conflicting IDs -- ----------- ------- ----------------------- --------------- 0: Removed *DELETE 50110 00:03:BA:26:91:AD 1: Removed DELETE 50151 sw_50151_SSC1 * = action has been run Enter line number from above or q for quit: 1 DELETE device 50151 (Identification sw_50151_SSC1)? [y/n] y /opt/terraspring/sbin/device -d 50151 Are you sure to delete (y/n)? y Deleted device 50151 Recommended actions: Recommended # Cause Action Identification Conflicting IDs -- ----------- ------- ----------------------- --------------- 0 Removed *DELETE 50110 00:03:BA:2A:14:4A 0 Removed *DELETE 50151 sw_50151_SSC1 * = action has been run, entering -y will suppress acknowledgement prompts Enter line number(s) 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]# |
このシナリオでは、シャーシ内でサーバーブレードをあるスロットから別のスロットへ移動する手順を説明します。
この手順では、作業の実行順序が重要になります。順序を守らないと、シャーシから取り外されたサーバーブレードが CPDB に残っている場合、矛盾が生じる場合があります。 まず現在のスロットからサーバーブレードを削除してから、新しいスロットにそのサーバーブレードを追加します。 詳細については、次の手順の例を参照してください。
物理的にサーバーブレードを取り外す前に、システムコントローラから removefru blade コマンドを実行します。 このコマンドの使用法の詳細については、Sun Fire B1600 ブレードシステムシャーシのドキュメントを参照してください。
削除するすべてのサーバーブレードは、FREE または NEW 状態である必要があります。 device コマンドを実行すると、デバイスの状態を変更できます。 このコマンドの使用法の詳細については、device のマニュアルページを参照してください。
q を入力して終了するか、推奨される操作の行番号を入力するよう求められたら、行番号を入力します。
デバイスの削除または追加をたずねられたら、y を入力します。
削除を確認するプロンプトが表示されます。
もう一度 y と入力します。
エラーメッセージが表示されないように、先に delete 操作を行います。
次の例では、シェルフのスロット S10 から S14 へサーバーブレードが物理的に移動されます。 shelfsync 検出プロセスでは、 スロット S14 (デバイス ID 50114) への追加と、スロット S10 (デバイス ID 50110) からの削除の、2 つの操作が推奨されています。
Recommended actions: Recommended # Cause Action Identification Conflicting IDs -- ----------- ------- ----------------------- --------------- 0: CONFLICT ADD 50114 00:03:BA:26:91:F5 50110 1: CONFLICT DELETE 50110 00:03:BA:26:91:F5 50114 * = action has been run Enter line number from above or q for quit: 1 DELETE device 50110 (Identification 00:03:BA:26:91:F5)? [y/n] y /opt/terraspring/sbin/device -d 50110 Are you sure to delete (y/n)? y Deleted device 50110 Recommended actions: Recommended # Cause Action Identification Conflicting IDs -- ----------- ------- ----------------------- --------------- 0: CONFLICT ADD 50114 00:03:BA:26:91:F5 50110 1: CONFLICT *DELETE 50110 00:03:BA:26:91:F5 50114 * = action has been run Enter line number from above or q for quit: 0 ADD device 50114 (Identification=oo:03:BA:26:91:F5) [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 **WARNING** Skipping device type 'sun-b1600-shelf'. It is already defined. File '/var/tmp/add.withtype.50114' processed successfully Recommended actions: Recommended # Cause Action Identification Conflicting IDs -- ----------- ------- ----------------------- --------------- 0: CONFLICT *ADD 50114 00:03:BA:26:91:F5 50110 1: CONFLICT *DELETE 50110 00:03:BA:26:91:F5 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]# |
次のシナリオでは、シャーシ内で 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]# |
あるファームに割り当てられていたサーバーブレードを交換し、新しく取り付けたサーバーブレードをそのファームに割り当てる場合は、ファームに新しいブレードを追加する必要があります。
データベースキューで replaceFailedDevice 要求を削除します。
障害のあるサーバーブレードを新しいサーバーブレードと交換します。
新しいブレードのメディアアクセス制御 (MAC) アドレスを取得し、次のように入力して CPDB を更新します。
device -s device-ID -o port-name mac-address
replacedevice -i と入力します。
Control Center にログオンし、Control Center Editor を使用して更新の要求を発行します。
詳細については、『N1 Provisioning Server 3.1, Blades Edition Control Center 管理ガイド』を参照してください。