HP Storage Essentials SRM 6.0 User Guide for Enterprise Edition and Standard Edition SRM Software (July 2008)

Viewing Element Topology and Properties296
Editing a Custom Command
To edit a custom command:
1. Right-click an element in System Manager.
2. Select Custom Commands > Set Up Custom Commands from the menu.
3. Click the button corresponding to the custom command you want to edit.
4. Make the appropriate changes in the Edit Custom Command window.
5. Click OK.
The custom command is modified.
Deleting a Custom Command
To delete a custom command:
1. Right-click an element in System Manager.
2. Select Custom Commands > Set Up Custom Commands from the menu.
3. Click the button corresponding to the custom command you want to delete.
The custom command is deleted.
Software Environment Variables for Scripting
The software provides environment variables for you to put in your scripts. For example, assume you
have a script that backs up a host. You could use variables to obtain information about the host.
The software gathers information about the element you right-click. For example, if you use the
variable APPIQ_ELEMENT_ID the management server obtains the element ID of the element you
right-click.
Table 35 on page 295 lists the variables that can be used to gather information for all elements. If
an application resides on the host, the variables in this table provide information about the
application. See Table 39 on page 297 for variables that return information about the host.
Table 35 Variables for All Elements
Variable Value
APPIQ_ELEMENT_ID
The identifier of an element.
APPIQ_ELEMENT_NAME
The name of the element.
APPIQ_ELEMENT_STATUS
The following statuses are available:
Managed
Generic
Missing
Virtual Application
Asset