Editing a custom command, Deleting a custom command, Software environment variables for scripting – HP Storage Essentials Enterprise Edition Software User Manual
Page 334: 35 variables for all elements
Viewing Element Topology and Properties
296
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.
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
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