Go to main content
Sun Datacenter InfiniBand Switch 36 Documentation Supplement for Firmware Version 2.2

Exit Print View

Updated: September 2016
 
 

Restore a Switch (Toolbox CLI)


Note -  The command requires you to provide the passphrase for when the backup was made, and the ilom-admin user's password as security measures.
  • In the Toolbox CLI, restore a switch.
    [toolbox-cli] set config restore new_ip=local_IP_address old_sm=sm_name {local backup=filename|peer {name=peer_hostname|ip=peer_IP_address} backup=filename|remote backup=URL fabric=fabric_name rack=rack_name} [sm_state]

    where:

    • local_IP_address is the IP address of the management controller of the new switch that is being provisioned as a replacement.

    • sm_name is the host name of the old switch that is being replaced.

    • filename is the file name of the backup configuration.

    • peer_hostname is the host name of the peer switch that has the backup file needed for restoring the settings on new switch

    • peer_IP_address is the IP address of the peer switch.

    • URL is the URL of the remote server backup file location.

    • fabric_name is the name of the fabric to which the switch will belong.

    • rack_name is the name of the rack to which the switch will belong.

    • sm_state is the state of the Subnet Manger after restoration, either enabled or disabled.


    Note -  You can change the IP address of the management controller, and set the state of the Subnet Manager, when you restore the switch.

    For example, to restore switch with IP address 10.134.178.158 and host name nsn178-158 with backup file 160519050245_nsn178-158_e_[nsn178]_[NSN_Fabric].bck, type:

    [toolbox-cli] set config restore new_ip=10.134.178.158 old_sm=nsn178-158 local backup=160519050245_nsn178-158_e_[nsn178]_[NSN_Fabric].bck
    10.134.178.158 ilom-admin password: password
    passphrase: passphrase
    The backup will use passphrase 'w***************'. Do you want to continue? (y/n): y
    Setting up passwordless access for toolbox at 10.134.178.158 ........[OK]
    Restoring switch to nsn178-158...  [OK]
    Sleeping for 10 seconds to let SM state change happen...  [OK]
    Acquiring Global Lock... [OK]
    Sleeping for 20 seconds to let replication take effect...  [OK]
    Updating fabric conf file: /etc/toolbox/conf/fabric.conf...  [OK]
    Verifying Switch FW versions in fabric...  [OK]
    Releasing Global Lock... [OK]
    
    [toolbox-cli]

Related Information