6.1

Table Of Contents
Table 71. Environment Variables Available to All Command Steps
Name Value Example
VMware_RecoveryName Name of the recovery plan that is
running.
Plan A
VMware_RecoveryMode Recovery mode. Test or recovery
VMware_VC_Host Host name of the vCenter Server at
the recovery site.
vc_hostname.example.com
VMware_VC_Port Network port used to contact
vCenter Server.
443
Site Recovery Manager makes additional environment variables available for per-virtual machine command
steps that run either on Site Recovery Manager Server or on the recovered virtual machine.
Table 72. Environment Variables Available to Per-Virtual Machine Command Steps
Name Value Example
VMware_VM_Uuid UUID used by vCenter to uniquely identify
this virtual machine.
4212145a-eeae-a02c-e525-ebba70b0d4f3
VMware_VM_Name Name of this virtual machine, as set at the
protected site.
My New Virtual Machine
VMware_VM_Ref Managed object ID of the virtual machine. vm-1199
VMware_VM_GuestName Name of the guest OS as defined by the VIM
API.
otherGuest
VMware_VM_GuestIp IP address of the virtual machine, if known. 192.168.0.103
VMware_VM_Path Path to this VMDK of this virtual machine.
[datastore-123] jquser-vm2/jquser-
vm2.vmdk
Suspend Virtual Machines When a Recovery Plan Runs
Site Recovery Manager can suspend virtual machines on the recovery site during a recovery and a test
recovery.
Suspending virtual machines on the recovery site is useful in active-active datacenter environments and
where non-critical workloads run on recovery sites. By suspending any virtual machines that host non-
critical workloads on the recovery site, Site Recovery Manager frees capacity for the recovered virtual
machines. Site Recovery Manager resumes virtual machines that are suspended during a failover operation
when the failover runs in the opposite direction.
You can only add virtual machines to suspend at the recovery site.
Procedure
1 In the vSphere Web Client, select Site Recovery > Recovery Plans, and select a recovery plan.
2 In the Monitor tab, click Recovery Steps.
3 Right-click Suspend Non-critical VMs at Recovery Site and select Add Non-Critical VM.
4 Select virtual machines on the recovery site to suspend during a recovery.
5 Click OK.
Site Recovery Manager suspends the virtual machines on the recovery site when the recovery plan runs.
Chapter 7 Configuring a Recovery Plan
VMware, Inc. 87