6.4

Table Of Contents
Reference Guide
44 VMware, Inc.
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 Configuration – This is the first 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 Configuration tasks are the only types of task that can vary between Primary and
Secondary servers.
Periodic – These tasks are run a specific configurable 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 Data Rollback Module creates a shadow copy on the
active server (Not available in this release).
Rule Action – Configure these tasks to run in response to a triggered rule or when a service fails its check.
You can define and implement tasks at the command line, such as launching a batch-script. Examples of
built-in tasks include monitoring a protected service state on the active and passive servers.
vCenter Server Heartbeat can use plug-ins to define and implement tasks. An example of a plug-in-defined
task is the discovery of protected data and services for a particular application.
Click Applications: Tasks to open the Tasks page.
Adding a Task
To add a task
1Click Add to invoke the Add Task dialog. Assign a name to the task.
2 Select the task type from the drop-down list.
3 Select the identity of the server the task runs on (Primary or Secondary).
4In the Command text box, type in the path or browse to the script, .bat file, or command for the task to
perform.
5Click OK.
Editing a Task
You can edit the interval of a task or disable a task.
To edit a task
1 Right-click on an existing task and select Edit from the menu or select the task and click Edit at the top of
the pane to invoke the Edit Task dialog.
2 Edit the parameters of the task.
3Click OK.
Remove a Task
To remove a task, select the task in the Applications: Task page and click Remove.
N
OTE When the Command entry requires specific 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 “View, Add, and
Remove User Accounts” on page 45.