6.5

Table Of Contents
Applications: Tasks Tab
Tasks are a generalization and extension of start, stop, and monitor scripts. Task types are determined by when
the tasks run, and include the following:
Network Conguration This is the rst type of task that runs when applications start and is intended to
launch dnscmd or DNSUpdate. The task can launch a batch script containing multiple dnscmd commands.
Network Conguration tasks are the only types of task that can vary between Primary and Secondary
servers.
Periodic These tasks are run at specic congurable intervals.
Pre/Post Start These tasks run before and after services start on the active server.
Pre/Post Stop These tasks run before and after services stop on the active server.
Pre/Post Shadow These tasks run before and after the Data Rollback Module creates a shadow copy on
the active server (Not available in this release).
Rule Action Congure these tasks to run in response to a triggered rule or when a service fails its check.
Tasks can be dened and implemented by plug-ins or by the user, or they can be built-in tasks dened by
vCenter Server Heartbeat. User dened tasks are implemented as command lines, which can include launching
a batch script. Examples of built-in tasks include monitoring a protected service state on the active and passive
servers. An example of a plug-in-dened task is the discovery of protected data and services for a particular
application.
The vCenter Server Heartbeat Applications: Tasks page provides a list of tasks and associated status information,
as well as features to quickly manage tasks.
Adding a Task
To add a task:
Procedure
1 Click Add to invoke the Add Task dialog. Assign a name to the task.
2 Select the task type from the Task Type: drop-down list.
Note If the Task Type is Network Conguration, you must select the identity of the server the task runs on
(Primary or Secondary).
3
In the Command text box, enter the path or Browse to the script, .bat file, or command for the task to
perform.
Note When the Command entry requires specic user credentials, you must select that user from the Run
As drop-down list. To add a user account, click User Accounts (near the top of the pane). See“Viewing,
Adding, and Removing User Accounts,” on page 52.
4 Click OK.
VMware, Inc. 51
Chapter 5 Application Protection