This topic describes how a command is constructed using Storage Insight SDK Add-on.
You use Perl to create the discovery script discover-array.pl.
You enter username, IP address, and password as the run-time arguments, and select the following CLI options for them:
The constructed command is as follows:
"discover-array.pl --username ${username} --pwd ${pwd} --IP ${IP}"
You select Discover Physical Disks option on the Enclosure Capabilities panel.
At the end of the process, the following command is created:
"discover-array.pl --username ${username} --pwd ${pwd} --IP ${IP} --list pdevs"
The values of username, IP, and password are provided by the user during the run-time, and a complete command is constructed. For example,
"discover-array.pl --username admin --pwd adminpassword --IP 10.2.1.0 --list pdevs"
The above example provides information about the physical disk. However, you can select logical devices, array ports, adapters, replications, logical groups as the discovery object. For each option, a separate command is created.