6.4

Table Of Contents
Reference Guide
42 VMware, Inc.
3 To limit the date and time range, select Only show events from and edit the date or time range.
4Click OK.
Applications: Services Tab
The Applications: Services page displays both services that you or plug-ins specify and the services related
to them by dependency (either as dependents or depends-on). The target states of protected services for the
Primary and Secondary server can be specified and are typically Running on the active and Stopped on the
passive. Services are protected if they are Running or Automatic, and are otherwise logged as unprotected.
vCenter Server Heartbeat manages services that depend on protected services (started and stopped) but not
monitored (not restarted if stopped by some external agency). vCenter Server Heartbeat monitors protected
services (restarted if stopped) but not managed (not stopped if protected applications are stopped).
Adding a Service
To protect a service
1 Right-click on a service and select Add from the menu or click Add on Applications: Services page to
invoke the Add Service dialog. The Name drop-down list contains a list of all currently running services.
2 Select the service and set the values for Target State on Active and Target State on Passive. Normally the
Target State on Active is set to Running and the Target State on Passive is set to Stopped.
3 If vCenter Server Heartbeat is to manage the start and stop of the service, select Manage Starting and
Stopping. If vCenter Server Heartbeat is to monitor the state of the service, select Monitor State.
vCenter Server Heartbeat also assigns three sequential tasks to perform in the event of failure. Task
options include Recover Service, Application Restart, Log Warning, Switchover, and any additional
user-defined tasks previously created.
4 Assign a task to each of the three failure options and click OK.
Editing a Service
To change the options of a protected service
1 Select the service and click Edit.
The Edit Service dialog opens to provide a subset of same options available when adding a new service.
2 Make the modifications and click OK.
Checking the Status of Services
The Applications: Services page displays the status of all protected services. The status shows both the target
and actual state for both the Primary and Secondary servers and the Failure Counts for both servers.
Unprotecting User Defined Services and Stopping Monitoring
To unprotect and stop monitoring user defined services
1Click Applications: Services, select the user defined service, and click Edit.
2 Clear Manage Starting and Stopping and Monitor State. Click OK.
N
OTE Setting the target state for both the active and passive server to Running can cause the service to
place a lock on some files preventing synchronization from completing.
NOTE If an application with the failure option set to Application Restart fails, only the services that have
failed are restarted. Dependent services do not stop and restart as a result of the failure.