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

Exit Print View

Updated: September 2016
 
 

Run the Fabric Configuration Wizard (Toolbox CLI)

  1. In the Toolbox CLI, run the fabric configuration wizard and answer the questions accordingly.

    Note -  Press the Enter key to accept the default values, enclosed in square [ ] brackets.

    See these examples:

    • In this example, automatic discovery was used.

      [toolbox-cli] set config wizard
          <<< TOOLBOX FABRIC CONFIG WIZARD >>>
      Run wizard? (y/n) [n]: y
      
      Fabric 1 Name? [none]: NSN
      Fabric 'NSN' | MKey? [0x3815345c5d4b4880]:
      Fabric 'NSN' | Password? (alphanumeric of length 8):
      Fabric 'NSN' | Confirm Password:
      Discovered the following racks:
      
      [{'name': 'nsn178',
        'rack_family': 'generic',
        'rack_type': 'generic',
        'switches': [{'hostname': 'nsn178-157',
                      'ip': '10.134.178.157',
                      'type': 'leaf'},
                     {'hostname': 'nsn178-159',
                      'ip': '10.134.178.159',
                      'type': 'spine'},
                     {'hostname': 'nsn178-158',
                      'ip': '10.134.178.158',
                      'type': 'spine'}]}]
      
      Looks good? (y/n) [y]:
      Do all switches have SM enabled? (y/n) [y]:
      
      Configuration will be saved in the following JSON format:
      
      {'fabrics': [{'mkey': '0x3815345c5d4b4880',
                    'name': 'NSN',
                    'password': 'changeme',
                    'racks': [{'name': 'nsn178',
                               'rack_family': 'generic',
                               'rack_type': 'generic',
                               'switches': [{'hostname': 'nsn178-157',
                                             'ip': '10.134.178.157',
                                             'sm': 'enabled',
                                             'type': 'leaf'},
                                            {'hostname': 'nsn178-159',
                                             'ip': '10.134.178.159',
                                             'sm': 'enabled',
                                             'type': 'spine'},
                                            {'hostname': 'nsn178-158',
                                             'ip': '10.134.178.158',
                                             'sm': 'enabled',
                                             'type': 'spine'}]}]}]}
      
      Save config file as? [/etc/toolbox/conf/fabric.conf]:
      Done. Generated config as: /etc/toolbox/conf/fabric.conf
      
      Please restart daemon
      [toolbox-cli]
    • In this example, automatic discovery was switched to manual.

      [toolbox-cli] set config wizard
          <<< TOOLBOX FABRIC CONFIG WIZARD >>>
      Run wizard? (y/n) [n]: y
      
      Fabric 1 Name? [none]: TEST
      Fabric 'ExadataCustomer' | MKey? [0xa000000000000001]:
      Fabric 'ExadataCustomer' | Password? (alphanumeric of length 8):
      Fabric 'ExadataCustomer' | Confirm Password:
      Discovered the following racks:
      
      [{'name': 'scac10sw',
        'rack_family': 'ED',
        'rack_type': 'quarter/eighth',
        'switches': [{'hostname': 'scac10sw-iba0',
                      'ip': '10.128.74.171',
                      'type': 'leaf'},
                     {'hostname': 'scac10sw-ibb0',
                      'ip': '10.128.74.172',
                      'type': 'leaf'}]}]
      
      Looks good? (y/n) [y]: n
      Fabric 'TEST' | How many Racks? [1]:
      
      Fabric 'TEST' | Rack 1 Name? [none]:
      Fabric 'TEST' | Rack 'none' | Family? (ED/EL/SSC/BDA/none) [none]:
      Fabric 'TEST' | Rack 'none' | Type? (full/half/quarter/eighth/none) [none]:
      Fabric 'TEST' | Rack 'none' | How many Switches? [1]:
      
      Fabric 'TEST' | Rack 'none' | Switch 1 hostname?: abc
      Fabric 'TEST' | Rack 'none' | Switch 'abc' | IP?: 1.1.1.1
      Fabric 'TEST' | Rack 'none' | Switch 'abc' | SM state? [enabled]:
      
      Configuration will be saved in the following JSON format:
      
      {'fabrics': [{'mkey': '0xa000000000000001',
                    'name': 'TEST',
                    'password': 'welcome1',
                    'racks': [{'family': 'none',
                               'name': 'none',
                               'switches': [{'hostname': 'abc',
                                             'ip': '1.1.1.1',
                                             'sm': 'enabled'}],
                               'type': 'none'}]}]}
      
      Save config file as? [/etc/toolbox/conf/fabric.conf]:
      [toolbox-cli]
  2. Restart the toolbox daemon.

    See Enable or Disable the Toolbox CLI Daemon.

Related Information