The Storage Insight SDK Add-on creates an agentlet that calls the discovery script to discover the enclosure and its objects. The agentlet is bundled with the Storage Insight plug-in. The array objects are discovered in the following order:
During new device configuration, Veritas Operations Manager runs check_env.pl script. Thereafter, the discovery script (with the -list encl option) is run.
--get-data command is run.
It is optional to implement get-data command. It is the hook provided to the discovery script so that it can pre-fetch all the required data from the array when this command is invoked. Now the subsequent commands can use the same data instead of querying the array again.
Discovery of enclosure objects: It happens when the deep discovery is enabled after the initial probe is successful. The enclosure objects are discovered in the following order:
--cleanup: It is the hook provided to the discovery script to perform any cleanup.
If you have not selected capability of any of the above-mentioned options, the corresponding command is not invoked.