1.0

Table Of Contents
VMware, Inc. 53
Chapter 5 Protected Site Configuration
Whenyouaddbatchfilesorcommandstoarecoveryplan,beawareofthefollowing
requirements:
ScriptsmustresideonthehostwheretheSRMserverisinstalled.
SRMcalloutstobatchfilesorcommandsrunasthelocaladministratoroftheSRM
serverhost,andnotastheuserloggedintotheVIClient.
BatchfilesorcommandsthatproduceoutputthatcontainscharacterswithASCII
valuesgreaterthan127mustdosousingUTF8encoding.
Onlythelast4KBofscriptoutputiscapturedinlogfilesandrecoveryhistory.
Scriptsthatproducemoreoutputcanredirecttheiroutputtoafile,ratherthan
sendingittothestandardoutputtobelogged.
Arecoveryterminatesifacommandorscriptexitswithanonzerostatus.Some
commandsexitwithanonzerostatusevenwhentheyaresuccessful.Toforcea
commandtoexitwithastatusof0,append|| exit 0 toit,asinthisexample:
c:\windows\system32\cmd.exe /C chkdsk || exit 0
Change the Command-Line Time-Out on ESX Hosts
Bydefault,SRMterminatescalloutscriptsthattakemorethan300secondstocomplete.
Youmaywanttoincreasethetimeoutvalueifyourscriptstypicallyrunlonger .
To changethecommandlinetimeout,editthevmware-dr.xmlconfigurationfileand
changethevalueofthe calloutCommandLineTimeoutparametertospecifya
new
timeoutvalueinseconds.
Changing the SRM Power State Time-Out
Bydefault,SRMreportsanerrorifarequesttochangethepowerstateofavirtual
machine(powerdown,forexample)doesnotcompletewithin120seconds.Tochange
thepowerstatetimeout,editthevmware-dr.xmlconfigurationfileandchangethe
valueofthe powerStateChangeTimeoutparametertospecifya
newtimeoutvaluein
seconds.
IP Address Mapping
TheSRMIPaddressmapreportergeneratesanXMLdocumentdescribingthenetwork
structureoftheprotectedandrecoverysites.Itgivesnetworkadministratorsaviewof
howthenetworksatthetwositesrelatetoeachotherandisusedtodeterminewhich
networksandIPaddressesareavailablefor
usebyvirtualmachi nesattherecoverysite.