6.3

Table Of Contents
VMware, Inc. 45
Chapter 5 Application Protection
Applications: Tasks
Tasksareageneralizationandextensionofstart,stop,andmonitorscripts.Tasktypesaredeterminedbywhen
thetasksrun,andincludethefollowing:
NetworkConfigurationThisisthefirsttypeoftaskthatrunswhenapplicationsstartandisintended
tolaunchdnscmdorDNSUpdate.Thetaskcanlaunchabatchscriptcontainingmultiplednscmd
commands.NetworkConfigurationtasksaretheonlytypesoftaskthatcanvarybetweenPrimaryand
Secondaryservers.
PeriodicThesetasksarerunaspecificconfigurableintervals.
Pre/PostStartThesetasksrunbeforeandafterservicesstartontheactiveserver.
Pre/PostStopThesetasksrunbeforeandafterservicesstopontheactiveserver.
Pre/PostShadowThesetasksrunbeforeandafterDataRollbackModulecreatesashadowcopyonthe
activeserver(Notavailableinthisrelease).
RuleActionConfigurethesetaskstoruninresponsetoatriggeredruleorwhenaservicefailsitscheck.
Youcandefineandimplementtasksatthecommandline,suchaslaunchingabatchscript.Examplesof
builtintasksincludemonitoringaprotectedservicestateontheactive
andpassiveservers.
vCenterServerHeartbeatcanusepluginstodefineandimplementtasks.Anexampleofaplugindefined
taskisthediscoveryofprotecteddataandservicesforaparticularapplication.
ClickApplications:TaskstoopentheTaskspage.
Adding a Task
To add a task
1ClickAddtoinvoketheAddTaskdialog.Assignanametothetask.
2 Selectthetasktypefromthedropdownlist.
3 Selecttheidentityoftheserverthetaskrunson(PrimaryorSecondary).
4IntheCommandtextbox,typeinthepathorbrowsetothescript,.batfile,orcommandforthetaskto
perform.
5ClickOK.
Editing a Task
Youcanedittheintervalofataskordisableatask.
To edit a task
1RightclickonanexistingtaskandselectEditfromthemenuorselectthetaskandclickEditatthetopof
thepanetoinvoketheEditTaskdialog.
2Edittheparametersofthetask.
3ClickOK.
Remove a Task
Toremoveatask,selectthetaskintheApplications:TaskpageandclickRemove.
N
OTEWhentheCommandentryrequiresspecificusercredentials,youmustselectthatuserfromtheRun
Asdropdownlist.Toaddauseraccount,clickUserAccounts(nearthetopofthepane).See“View,Add,and
RemoveUserAccounts”onpage 46.