Performing sanity check of all hardware
unset http_proxy
unset https_proxy
-
Perform sanity check of a server.
- Perform sanity check of a server using the following command:
nps sanity-check -c server
The command provides the reachability status of the server using iLO IP address. The hardware preparation and image provisioning details of all the servers present in the uploaded input JSON is available.
- Perform sanity check and get the BIOS details and RAID details for a given IP address of a server.
nps sanity-check -c server -ip <server_ip> -a <action>
Supported actions are
bios_details
andraid_details
.
- Perform sanity check of a server using the following command:
-
Perform sanity check of a switch using the following command:
nps sanity-check -c switch -ip <switch_ip> --get <info> -nos <nos_type>
Supported
info
fornos
ascomware
/cumulus
areversion
,management_port
,vlan_defaultgw
,network_reachability
,ha
, andbridge_aggregation
.Supported
info
fornos
asaruba
areversion
,management_port
,vlan_interfaces
,network_reachability
,ha
, andbridge_aggregation
.NOTE:If
nos
iscomware
/cumulus
, then sanity check must be performed only for data switches.If
nos
isaruba
, then sanity check must be performed only on data and borderleaf switches.vlan_interfaces
is supported only for Aruba borderleaf switches.- If sanity check fails to get
vlan_interfaces
details from the borderleaf switch with error"Login failed: session limit reached."
, then perform the following steps to clear the session limit.Log in to the borderleaf switch that was used in the failing sanity check CLI.
Run
https-server session close all
and retry the CLI.
nos
is the network operating system and the supported<nos_type>
arecomware
,cumulus
, andaruba
.The information selected from the supported information list for a given
<switch_ip>
and<nos_type>
is displayed.