HP StorageWorks Storage Mirroring Recover User's Guide (T5437-96008, November 2009)

181 of 739
5. If you are monitoring multiple IP addresses, select one of the Failover Trigger
options.
All Monitored IP Addresses Fail—Failover begins when all monitored IP
addresses fail.
One Monitored IP Address Fails—Failover begins when any of the
monitored IP addresses fail.
6. If you selected Application Monitoring as the Method to Monitor for Failover,
enter information in the Application Monitoring Settings area.
a. In the Username field, enter the fully-qualified user name that will be used to
run WMI scripts. The fully-qualified user name must be in the format
domain\username or username@domain.
Note:
The required credentials for running WMI scripts is full WMI access
to the CIMV2 namespace. Under Windows 2008, the supplied
credentials must also be allowed through DCOM and User Access
Control. It is recommended that a group be created for running
scripts, and that the required permissions be given to the group.
By default, the administrative group of a Windows 2008 machine
has full WMI access. However, DCOM and User Access Control
settings may need to be adjusted.
For more information, see Application Manager Credentials.
b. In the Password field, enter the password for the specified user account.
c. Click the Test Credentials button to validate that the specified credentials
are sufficient to run WMI scripts.
d. In the Monitoring Option area, select one of the following options.
Built-in Monitoring—Use the default application monitoring options.
If desired, you can select the Attempt to restart services checkbox to
automatically attempt to restart the monitored application services.
Custom Monitoring Script—Launch a PS1 (PowerShell), VB
(VisualBasic), or Jscript file to check application health. Either type the
name of the script, or click Browse to locate a script. After a script is
selected, you can click Edit to launch a text editor to view or modify the
script.
Note:
An example script that you can use as a basis for creating your custom
script is included in the \Samples subfolder where Storage Mirroring
Recover is installed.
To use PS1 scripts, PowerShell must be installed on the target.