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 has on a RAID configuration if it is applied by using the PRAID utility. You can use this capability when you create PRAID policy files to test the policy files without running PRAID on the target system.
Used in check mode, VALRAID determines if the policy file specified matches the RAID configuration represented in the inventory file. Use this capability in operating system deployment scripts to bypass the RAID configuration step if the controller is already configured with the required RAID configuration. With this process, you can avoid restarting the system before installing the operating system. To indicate that the policy file does not match the configuration represented by the inventory file, VALRAID sets the return code to 20.
Although the two modes of operation share most parameters, 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. Generate the inventory file by running 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 would
result 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 .ini files. The default is /opt/ibm/sgtk/sgdeploy/sgtklinux/.data/valraid |
|
|
Specifies check mode. Check mode compares the configuration from the input_inventory_file file to the configuration represented in the input_policy_file file. The default is simulation mode. |
|