Configuring a ServiceMonitor resource
This topic descibes how to use the Application Configuration Wizard to configure a ServiceMonitor resource.
To configure a ServiceMonitor resource
-
In the Application Options panel, click Create, select** ServiceMonitor from the corresponding drop-down list, and click Next**.
-
Specify the service to be monitored or a user-defined script to monitor a service.
If you want VCS to monitor the service, do the following:
-
Select the Service option and click... (ellipsis button) adjacent to the Service Name text box.
-
In the Service dialog box, select the service and click OK. The selected service name appears in the Service Name text box. Alternatively, you may also type the service name to be monitored.
-
Click Next.
If you want a script to monitor the service, do the following:
-
Click ... (ellipsis button) and specify the complete path for the script.
-
Specify the parameters for the script.
-
Specify the time in seconds for the agent to receive a return value from the monitor script.
-
Click Next.
-
On the User Details panel, specify the user information in whose context the service will be monitored.
Do the following:
-
To configure a service to run in the context of a local system account, click Local System account.
-
To configure a service to run in the context of another user account, click This Account and then specify theDomain Name,User Name, and** Password** for the user account.
If the service selected in step 2 is running in the context of a local system account, the This Account option is disabled. Similarly, if the service is running in the context of any other user account, theLocal System account option is disabled.
-
Click Next.
Service Monitor resource belongs to the category of persistence resources. Such resources do not depend on other VCS resources, including shared storage. Hence, the Shared Storage Option dialog box does not appear if you select the ServiceMonitor option.
-
In the Application Resource Summary panel, review the summary of the ServiceMonitor resource. Click Back to make changes. Otherwise, clickNext.
-
In the Application Options dialog box, select one of the following options:
-
To configure a GenericService resource:
-
To configure a Process resource:
-
To configure other resources, including Registry Replication and Network resources:
If you do not want to add any more resources, proceed to configuring the service group.
More Information