Discovery Script
Discovery script is the script which the VOM agentlet created for the SI Plugin will call for discovering information about the various enclosure characteristics, physical and logical capabilities. The script can be written in any language. It has to support predefined hooks (arguments) as defined in the SDK Users guide for discovering a specific type of an object.

e.g. if the discovery script name is arrayinfo.pl and you choose to discover physical disks then it is expected that the command line “arrayinfo.pl –list pdevs –encl ” displays a list of all physical disks present in the specified enclosure. The format in which data has to be displayed is predefined in the SDK Users guide.

Typically such a discovery script will call array vendor CLIs for getting the required information. Such interfaces require certain run time parameters such as Array Hostname/IP, Username or Password etc. You can specify the configuration arguments required by the discovery script in the subsequent page where you can adjust the exact command line that is to be called by the agentlet.

Additional Script(s)
Discovery scripts can use helper modules/scripts which can be uploaded as “Additional Script(s)”. All the scripts specified will be setup on the discovery host(s) which is selected in the VOM Management Server while configuring a new device. The discovery script will be passed an environment variable called SI_PLUGIN_DIR which will point to the directory where the specified scripts are installed on the discovery host(s)

You can provide a check env script which will verify if the specified discovery host(s) have any components required by the discovery script installed such as the underlying vendor CLIs or any other applications. The name of the check env script is fixed and has to be named “check_env.pl”. it is expected to return 0 on success and non zero on failure. The script can assume that the host where it is executed is the discovery host. It will be used to probe the enclosure from the specified discovery host(s) during the configuration of a new device operation in VOM UI.