Installing image service

Prerequisites
  • Ensure that there is reachability between the NPS toolkit VM and data switches.

  • Ensure that the status of the FLR NICs is connected and up.

  • Ensure that repository container is up and running using the following command:

    docker ps -a | grep repo_container

  • Ensure that RHEL ISO is present in the NPS toolkit VM. The path and name of the ISO must match the path and name specified for the field iso_filepath in input JSON file.

  • Ensure that the server with role baremetal, described in the input JSON, is powered on and the remaining servers are powered off. If the server with the role baremetal is not powered on, run the following command to power on the server:

    nps baremetal -a power-on -sl <server_iLO_ip> -l <loglevel>

    Where the supported log levels are: info and debug

Procedure
  1. If the proxy is set in the environmental variables, disable the proxy using the following commands:
    unset http_proxy
    unset https_proxy
  2. Bring up image-service pod for DHCP, TFTP, and HTTP service from NPS toolkit VM using the following command:
    nps baremetal -a install -nos <nos_type> -l debug

    Where,

    nos - is the Network Operating System and supported <nos_type> is cumulus.
    NOTE:
    • -nos is an optional parameter.
    • If -nos is provided, DHCP relay is configured on the switch.

    For any installation issue, check the log file /var/nps/logs/<topology_name>/baremetal_install.log.

  3. Open the iLO console and verify if the server is getting PXE-booted.
    1. If the server is PXE-booting, then wait for some time for the OS to get installed on the baremetal node. Verify the baremetal installation using the following command:
      nps show --service baremetal

      The status is displayed as completed. If the server does not PXE booted, then the status is displayed as Not done or Failed.