Command example

This topic describes how a command is constructed using Storage Insight SDK Add-on.

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.

Note:

If the discovery script is a Perl script, Veritas Operations Manager implicitly invokes it with the Perl that is provided with VRTSsfmh package. It is present at sfmh-install-dir/bin/perl.

See About the enclosure discovery command output.

More Information

Enclosure objects discovery order

About discovery script