Data Center Fabric Manager Professional Plus User Manual - Supporting DCFM 10.3.x (53-1001356-01, October 2009)

DCFM Professional Plus User Manual 259
53-1001356-01
Defining the launch script action
7
Defining the launch script action
NOTE
Launch scripts with a user interface are not supported.
You can define the path to the script that is launched when a policy is triggered. When the script
launches, the Management application does not verify the existence of the script.
The script must have the following characteristics:
It must reside on the Management application server.
It must be capable of being executed by the OS where the Management application server is
installed and it must be a valid binary for that OS (Windows, Solaris, or Linux).
It must be able to receive a command-line argument from the Management application. The
argument is the name of the XML file that generates when an event occurs.
You can only edit actions from the Add Event Policy, Duplicate Event Policy, or Edit Event Policy
dialog boxes.
For step-by-step instructions on adding or editing an event policy, refer to Adding an event policy”
on page 254, Adding an ISL offline policy” on page 255, Adding a PM threshold crossed policy”
on page 256, or Adding a security violation policy” on page 257.
For step-by-step instructions on duplicating an event policy, refer to “Duplicating an event policy” on
page 262, “Duplicating an ISL offline policy” on page 263, “Duplicating a PM threshold crossed
policy” on page 264, or “Duplicating a security violation policy” on page 265.
For step-by-step instructions on editing an event policy, refer to “Editing an event policy” on
page 266, “Editing an ISL offline policy” on page 267, “Editing a PM threshold crossed policy” on
page 268, or “Editing a security violation policy” on page 269.
To define the launch script path, complete the following steps.
1. Select Launch Script from the Actions list.
2. Click Change.
The Launch Script dialog box displays.
3. Enter the full path (including executable) of the launch script in the File Name field.
NOTE
Launch scripts with a user interface are not supported.
You must enter a fully qualified path on the Management application Server for Windows (for
example, C:\Program Files\<Management_Application_Name> 10.X.X\bin\xyz.bat) as well as
Linux and Solaris (for example, /etc/proc/sbin/script.sh).
4. Click OK on the Launch Script dialog box.
NOTE
The Management application does not verify that the file name exists in the specified folder.
5. Click OK on the Add, Duplicate, or Edit Event Policy dialog box.