RAID settings validation
Use the
nps validate-raid
command to validate RAID settings with the provided hardware profile. As part of the validation,
raid_details
section provided in the hardware profile is validated.
Ensure that the status of the RAID operation in hardware preparation is completed before executing this command. If the command is executed before the hardware preparation is complete, it will show mis-matched parameters with the profile.
Validating single server or multiple servers or all the servers
Validating range of servers
Validating server RAID settings with the provided hardware profile
To validate single server or multiple servers or all the servers
Use this command to validate all provided server RAID settings with hardware profile provided in the input JSON. All the servers from input JSON or specific servers provided in the command will be listed and the RAID settings defined in their respective profile will be validated against those servers.
Syntax
nps validate-raid -sl all
OR
nps validate-raid -sl <iLO_IP>
OR
nps validate-raid -sl <iLO_IP1,iLO_IP2,iLO_IP3…>
Parameters
-sl
To list the iLO IPs on which RAID settings need to be validated. The parameter options are described below.
all
: To validate all servers.<ilO_IP>
: Server iLO IP to validate single server.<iLO_IP1, iLO_IP2, iLO_IP3>
: Server iLO IP’s to validate multiple servers.
To validate range of servers
Use this command to validate range of server’s RAID settings with their server hardware profile. All the servers between provided range (including start IP and end IP) will be listed and the RAID settings defined in their respective profile will be validated against those servers.
Syntax
nps validate-raid --range <server_start_ip,server_end_ip>
Parameters
--range
server_start_ip
: Start IP address of the range.server_end_ip
: End IP address of the range.
To validate server RAID settings with the provided hardware profile
Use this command to validate server RAID settings with the provided hardware profile. All the servers that matches the provided hardware profile will be listed and the RAID settings defined in that profile will be validated against those servers.
Syntax
nps validate-raid -p <hw_profile_name>
Parameters
-p
Hardware profile name to validate.