Skip to content

Environment pre-requisites checker utility

The following is an utility that performs various connectivity checks between various components of MetalSoft.

Download the ms-prerequisite-check script from https://github.com/metalsoft-io/scripts

Once the Global and Site Controller components are set up, you can run a connectivity check by running the following on the first node of the Global Controller:

Example:

Terminal window
ms-prerequisite-check site-operate global-controller-hostname=demo.metalsoft.io
  • Check site-controller prerequisites

    ms-prerequisite-check site-operate global-controller-hostname=<global-controller-hostname> nfs-server=<nfs-server>

    • global-controller-hostname: (required) IP address or hostname of the global controller.
    • nfs-server: NFS server for use by the site controller.
  • Check site controller access to a switch

    ms-prerequisite-check site-manage-switch nos=<nos> management-ip=<management-ip> username=<username> password=<password>

    • nos: (required) The switch NOS - one of (OS10, SONiC, JunOS, Cisco).
    • management-ip: (required) IP address of the switch management port.
    • username: (required) Username of the switch management admin user.
    • password: (required) Password of the switch management admin user.
  • Check site controller access to manage server

    ms-prerequisite-check site-manage-server vendor=<vendor> bmc-ip=<bmc-ip> username=<username> password=<password> vnc-port=<vnc-port> vnc-password=<vnc-password> iso-link=<iso-link>

    • vendor: (required) The server vendor - one of (Dell, HP, Lenovo).
    • bmc-ip: (required) IP address of the server BMC interface.
    • username: (required) Username of the server BMC admin user.
    • password: (required) Password of the server BMC admin user.
    • vnc-port: VNC service port. [default: 5901]
    • vnc-password: VNC password.
    • iso-link: Link to an ISO to test mounting virtual media.