Configuring image service
Ensure that image installation is completed on all the hosts.
Ensure a directory
/var/nps/driver
is created in NPS toolkit VM.
-
Copy the ENS driver zip file from the
/var/artifacts
directory to the/var/nps/driver/
directory. -
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.
-
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
orSUCCESS
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.
-
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
-
Once the stack is deployed, on the resource nodes, run the following command to see if ENS is enabled:
esxcfg-nics --list
NOTE:Ensure that the output of the command displays
i40en_ens
as the driver name for all the PCIe NICs.If the ENS driver is not installed during Image Service configuration, see Appendix E: Installation of ENS driver post image service configuration to install the driver on the ESXi host manually.
-
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.
-
A certified vSAN driver should be installed with the ESXi 6.7U1 image. Perform the following steps to install the driver:
- Delete the ENS driver from
/var/nps/driver
. - Copy the vSAN driver from
/var/artifacts
to/var/nps/driver
. - 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
anddebug
.
- Delete the ENS driver from
-
Check the status of the pod
<Topology-Name>-baremetal-install-driver-<ILO-IP>
. The status should be completed.