N1 Provisioning Server 3.1, Blades Edition, System Administration Guide

ProcedureTo Move a Server Blade From One Slot to Another

This scenario describes moving a server blade from one slot to another one within a chassis.


Caution – Caution –

In this procedure, the order in which tasks are performed is important, otherwise a conflict might occur if the server blade removed from the chassis is still in the CPDB. Ensure that you delete the server blade first from its current slot, then add it to the new one. See the example following the steps for details.


Before You Begin

Before physically removing server blades, execute the removefru blade command from the system controller. See the Sun Fire B1600 Blade System Chassis documentation for details on how to use this command.

All server blades to be deleted must be in FREE or NEW state. You can change device states by executing the device command. See the device man page for details on how to use that command.

Steps
  1. When prompted to either type q for exiting or the line number for the recommended action, type the line number.

  2. When prompted whether to delete or add a device, type y.

    You are prompted to confirm the deletion.

  3. Type y again.


    Note –

    Do delete operations first to avoid getting error messages.



Example 2–4 Sample Actions for Moving a Blade Between Slots

In the following example, a server blade was physically moved from slot S10 to S14 of a shelf. The shelfsync discovery process recommended two actions: an addition to slot S14 (device ID 50114) and a deletion from slot S10 (device ID 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: 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]#