VALRAID is a utility program that can be used to validate policy files against inventory files generated by the INVRAID utility.
Used in simulation mode, VALRAID simulates the effect that a policy file would have on a RAID configuration if it were applied using the PRAID utility, which makes it useful for creating PRAID policy files. The policy files can be tested without running PRAID on the target system.
Used in check mode, VALRAID determines whether the policy file specified matches the RAID configuration represented in the inventory file. This capability can be used in OS deployment scripts to skip the RAID configuration step if the controller is already configured with the required RAID configuration and thus avoiding an extra reboot before installing the OS. VALRAID will set the return code = 20 to indicate that the policy file does not match the configuration represented by the inventory file.
The two modes of operation share most parameters, but the syntax is mode-specific.
valraid /ini:input_inventory_file /inp:input_policy_file
/outi:output_inventory_file /outp:output_policy_file
/raid:/inifiles
valraid /c /ini:input_inventory_file /inp:input_policy_file /raid:/inifiles
Parameter | Description | Example |
---|---|---|
|
Specifies the input inventory file. To generate the inventory file, run INVRAID against a target system. |
|
|
Specifies the input policy file. |
|
|
Specifies the file name for the output inventory
file. This inventory file represents the RAID configuration that results
from using the PRAID utility to apply input_policy_file to
the system described in input_inventory_file. This option is valid only for simulation mode. |
|
|
Specifies the file name for the output policy
file. This file can be applied to a target system by using the PRAID
utility. This option is valid only for simulation mode. |
|
|
Specifies the directory that contains the RAID
configuration .ini files. The default is /opt/ibm/sgtk/sgdeploy/sgtklinux/.data/valraid |
|
|
Specifies check mode to compare the configuration
from input_inventory_file to the configuration
represented in input_policy_file. The default is simulation mode. |
|