Configure Device: Template Default Node#

The device (node) that was created as part of the BCM installation process will now be used to create a template. Similar to backing up the default softwareimage and category, this node can be cloned later to create additional nodes with the out-of-the-box configuration… with one modification: the default static IP address assignment will be changed to use DHCP instead.

Some settings, such as category and provisioning interface, may already be correctly configured. This procedure can also serve as an example of how to apply similar settings to other devices in the future.

Note

BOOTIF is a special name used by BCM for one of the possible interfaces. The node-installer automatically translates BOOTIF into the name of the device (such as eth0 or eth1) used for network booting. This is useful for systems with multiple network interfaces, as it removes the need to manually identify the boot interface. Using the name BOOTIF instead means that the underlying device does not need to be specified in the first place.

For more information about the BOOTIF interface, please refer to the BCM Administrator Manual.

  1. Reconfigure node001.

    a. Enter cmsh (if not already within it).

    root@nvidia-era-bcm-01:~# cmsh
    

    b. Enter the device submenu.

    [nvidia-era-bcm-01]% device
    

    c. List the devices.

    [nvidia-era-bcm-01->device]% list
    
    _images/bcm-deployment-guide-p54-img266.png

    Figure 82 Output of the list command showing the devices in the device submenu.#

    d. Rename node001 to template-default-node

    [nvidia-era-bcm-01->device]% rename node001 template-default-node
    
    _images/bcm-deployment-guide-p55-img268.png

    Figure 83 Output confirming the rename of node001 to template-default-node.#

    e. List the devices again to confirm the change.

    [nvidia-era-bcm-01->device]% list
    
    _images/bcm-deployment-guide-p55-img269.png

    Figure 84 Output of the list command confirming the rename to template-default-node.#

    f. Use template-default-node to edit its settings.

    [nvidia-era-bcm-01->device*]% use template-default-node
    

    g. Set the category to default.

    [nvidia-era-bcm-01->device*[template-default-node*]]% set category default
    

    h. Enter the interfaces submenu.

    [nvidia-era-bcm-01->device*[template-default-node*]]% interfaces
    

    i. List the interfaces.

    [nvidia-era-bcm-01->device*[template-default-node*]->interfaces]% list
    
    _images/bcm-deployment-guide-p55-img270.png

    Figure 85 Output of the list command showing the current interfaces, including the BOOTIF provisioning interface.#

    j. Use bootif to edit its settings.

    [nvidia-era-bcm-01->device*[template-default-node*]->interfaces]% use bootif
    

    k. Enable DHCP.

    [nvidia-era-bcm-01->device*[template-default-node*]->interfaces[BOOTIF]]% set dhcp yes
    

    l. Clear the IP address.

    [nvidia-era-bcm-01->device*[template-default-node*]->interfaces*[BOOTIF*]]% clear ip
    

    m. Set the network to internalnet.

    [nvidia-era-bcm-01->device*[template-default-node*]->interfaces*[BOOTIF*]]% set network internalnet
    

    n. Exit to the interfaces submenu, then exit again to return to the device->template-default-node submenu.

    [nvidia-era-bcm-01->device*[template-default-node*]->interfaces*[BOOTIF*]]% exit
    [nvidia-era-bcm-01->device*[template-default-node*]->interfaces*]% exit
    

    o. Set the provisioning interface to bootif.

    [nvidia-era-bcm-01->device*[template-default-node*]]% set provisioninginterface bootif
    

    p. Commit the changes.

    [nvidia-era-bcm-01->device*[template-default-node*]]% commit