Configuring image service

Prerequisites
  • Ensure that image installation is completed on all the hosts.

  • Ensure a directory /var/nps/driver is created in NPS toolkit VM.

Procedure
  1. Copy the ENS driver zip file from the /var/artifacts directory to the /var/nps/driver/ directory.
  2. To configure image service, do one of the following:
    • On all the servers, run the following command:
      nps baremetal -a configure -sl all -l debug
    • On a single server, run the following command:
      nps baremetal -a configure -sl "<server_ilo_ip>" -l debug
      
      NOTE:

      It will take a few minutes to complete the configuration. You can verify the status of the configuration by running the "show" command.

  3. To monitor the configuration status, run the following command on NPS toolkit VM:
    nps show --service baremetal
    NOTE:

    Wait until the status is displayed as COMPLETED or SUCCESS for all the configuration operations. If the status of configuration is displayed as failed, analyze the <topology_name>_<server_IP>_esxi_configure_<date>.log file in the /var/nps/logs/<topology_name>/ directory, and verify the status of baremetal configuration with the details provided in the log file.

    If the log file reports the Image service configuration as failed as well, log in to the iLO of the host, reset the iLO, and rerun the command for Image configuration.

  4. After successful configuration of Image Service, SSH to the ESXi with the ESXi management IP and password given in the input json for all the nodes, and run the following command to verify if ENS driver is installed:
    esxcli software vib list | grep ens
    
  5. Once the stack is deployed, on the resource nodes, run the following command to see if ENS is enabled:
    esxcfg-nics --list
    NOTE:
  6. After successful configuration of Image Service, run the following command to delete the image-service pod.

    nps baremetal -a delete -nos <nos_type>

    Where,

    nos - is Network Operating System and the supported <nos_type> is cumulus.

  7. A certified vSAN driver should be installed with the ESXi 6.7U1 image. Perform the following steps to install the driver:
    1. Delete the ENS driver from /var/nps/driver.
    2. Copy the vSAN driver from /var/artifacts to /var/nps/driver.
    3. Run the following command to install the driver:
      nps baremetal -a install-driver -sl <server_ip or all> -l <loglevel>
      

      Supported log levels are info and debug.

  8. Check the status of the pod <Topology-Name>-baremetal-install-driver-<ILO-IP>. The status should be completed.