Modify Settings to Run Large Site
Recovery Manager Environments
Site
Recovery Manager
EnvironmentsIf you use
Site
Recovery Manager
to test or recover a large number of virtual machines, you might need to modify the default Site
Recovery Manager
settings to achieve the best possible recovery times in your environment or to avoid timeouts. In large environments,
Site
Recovery Manager
might simultaneously power on or power off large numbers of virtual machines. Simultaneously powering on or powering off large numbers of virtual machines can create a heavy load on the virtual infrastructure, which might lead to timeouts. You can modify certain Site
Recovery Manager
settings to avoid timeouts, either by limiting the number of power on or power off operations that Site
Recovery Manager
performs concurrently, or by increasing the timeout periods. The limits that you set on power on or power off operations depend on how many concurrent power on or power off operations your infrastructure can handle.
You modify certain options in the
Advanced Settings
menus
in the vSphere
Client
or in the
Site
Recovery Manager
client plug-in. To modify other settings, you
edit the vmware-dr.xml
configuration file on the Site
Recovery Manager Server
or on the Site
Recovery Manager Virtual Appliance
. Always modify settings by using the client menus when such
option exists. If you modify settings, you must make the same modifications on the
Site
Recovery Manager
and the vCenter Server
instances on both the protected and recovery sites. For descriptions of the settings that you can change, see Settings for Large Site Recovery Manager Environments.
- In thevSphere Client, select a cluster.
- On theConfiguretab, select .
- ClickEdit.
- InAdvanced Options, set thesrmMaxBootShutdownOpssetting.OptionDescriptionOptiontext boxEntersrmMaxBootShutdownOps.Valuetext boxEnter the maximum number of concurrent startup and shutdown operations. If you set the value to 32, for example, this means that VMs 1 to 32 start up or shut down together, and that VM 33 starts up or shuts down as soon as one of the first-batch VMs has finished. VM 34 starts up when the second VM of the first batch has finished, and so on.
- To save your changes, clickOK.
- Log in to theSite Recovery Manager Serverhost.
- Open thevmware-dr.xmlfile in a text editor.Thevmware-dr.xmlfile is located in the/opt/vmware/srm/conf/directory.
- Change thedefaultMaxBootAndShutdownOpsPerClusteranddefaultMaxBootAndShutdownOpsPerHostsettings in thevmware-dr.xmlfile:<config> ... <defaultMaxBootAndShutdownOpsPerCluster>24</defaultMaxBootAndShutdownOpsPerCluster> <defaultMaxBootAndShutdownOpsPerHost>4</defaultMaxBootAndShutdownOpsPerHost> ... </config>If these elements do not already exist in thevmware-dr.xmlfile, you can add them anywhere in the<config>section.If you set the<defaultMaxBootAndShutdownOpsPerCluster>value to 24, the next guest starts up or shuts down as soon as one of the first batch of 24 has finished. This means that VMs 1 to 24 all start together, then VM 25 starts once one of the first-batch VMs has finished. VM 26 starts when the second VM of the first batch has finished, and so on.
- To apply the new settings, restartSite Recovery Manager Server.
- In thevSphere Client, click .
- On theSite Recoveryhome tab, select a site pair, and clickView Details.
- In the left pane, clickand increase thevrReplication.synchronizationTimeoutandvrReplication.reverseReplicationTimeoutsettings.The default value is 7200 and corresponds to a working synchronization timeout period of 14400 seconds.
- Select, select a site, and increase thestorage.commandTimeoutsetting.The default value is 300 seconds.
- To save your changes, clickOK.