The discovery script run-time arguments are passed to the discovery script when it is run by the Storage Insight plug-in agentlet to discover the array objects. On the Configuration Parameters wizard panel, you can enter these parameters. The run time arguments form the command.
The two types of arguments are as follows:
User-defined: These arguments are required by the underlying vendor CLI, which is called by the discovery script to access the array.
For example, the command discover-array.pl --ip ${ip} --user ${user} --password ${password} has three run-time arguments. They are ip, user, and password.
After the Storage Insight plug-in is installed successfully, you can view these arguments on the Device Configuration wizard panel of Storage Insight Add-on. You need to enter the values for these arguments.
Predefined: The predefined arguments are the command line options to discover a type of array object.
For example, discover-array.pl --list pdevs. In this example, --list pdevs is the command option that the discovery script needs to implement. The command should list the records of all physical disks discovered from the configured array. The output format of the record is predefined.
When the above-mentioned command is run, the user-defined arguments are also passed to it. In this example, the complete command line called by the agentlet to discover the physical disks is as follows:
"discover-array.pl --ip 10.2.1.0 --user admin --password adminpassword --list pdevs"