1.0
Table Of Contents
- Administration Guide
- Contents
- About This Book
- Overview of Site Recovery Manager
- System Requirements
- Installing or Updating Site Recovery Manager
- Managing SRM
- Protected Site Configuration
- Recovery Site Configuration
- Failback
- Alerting and Monitoring
- Protected and Recovery Site Changes
- Preinstallation Checklist
- Failback Checklist
- Use the srm-config command to repair an SRM server connection
- Avoiding Replication of Paging Files and Other Transient Data
- Glossary
- Index
VMware, Inc. 53
Chapter 5 Protected Site Configuration
Whenyouaddbatchfilesorcommandstoarecoveryplan,beawareofthefollowing
requirements:
ScriptsmustresideonthehostwheretheSRMserverisinstalled.
SRMcalloutstobatchfilesorcommandsrunasthelocaladministratoroftheSRM
serverhost,andnotastheuserloggedintotheVIClient.
BatchfilesorcommandsthatproduceoutputthatcontainscharacterswithASCII
valuesgreaterthan127mustdosousingUTF‐8encoding.
Onlythelast4KBofscriptoutputiscapturedinlogfilesandrecoveryhistory.
Scriptsthatproducemoreoutputcanredirecttheiroutputtoafile,ratherthan
sendingittothestandardoutputtobelogged.
Arecoveryterminatesifacommandorscriptexitswithanon‐zerostatus.Some
commandsexitwithanon‐zerostatusevenwhentheyaresuccessful.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.
Youmaywanttoincreasethetime‐outvalueifyourscriptstypicallyrunlonger .
To changethecommandlinetime‐out,editthevmware-dr.xmlconfigurationfileand
changethevalueofthe calloutCommandLineTimeoutparametertospecifya
new
time‐outvalueinseconds.
Changing the SRM Power State Time-Out
Bydefault,SRMreportsanerrorifarequesttochangethepowerstateofavirtual
machine(powerdown,forexample)doesnotcompletewithin120seconds.Tochange
thepowerstatetime‐out,editthevmware-dr.xmlconfigurationfileandchangethe
valueofthe powerStateChangeTimeoutparametertospecifya
newtime‐outvaluein
seconds.
IP Address Mapping
TheSRMIPaddressmapreportergeneratesanXMLdocumentdescribingthenetwork
structureoftheprotectedandrecoverysites.Itgivesnetworkadministratorsaviewof
howthenetworksatthetwositesrelatetoeachotherandisusedtodeterminewhich
networksandIPaddressesareavailablefor
usebyvirtualmachi nesattherecoverysite.