4.0
Table Of Contents
- Site Recovery Manager Administration Guide
- Contents
- About This Book
- Administering VMware vCenter Site Recovery Manager
- Installing and Updating Site Recovery Manager
- Configuring the Protected and Recovery Sites
- Test Recovery, Recovery, and Failback
- Customizing Site Recovery Manager
- Assign Roles and Permissions
- Customizing a Recovery Plan
- Configure Protection for a Virtual Machine or Template
- Configure SRM Alarms
- Working with Advanced Settings
- Avoiding Replication of Paging Files and Other Transient Data
- Troubleshooting SRM
- Index
Table 5-1. Environment Variables Available to All Command Steps
Name Value Example
VMware_RecoveryName Name of the recovery plan that is
executing
"Plan A"
VMware_RecoveryMode Recovery mode "test" or "recovery"
VMware_VC_Host Host name of the vCenter host at the
recovery site
"vc_hostname.example.com"
VMware_VC_Port Network port used to contact the
vCenter host
"443"
The environment variables listed in Table 5-2 are also set if the command step is executing on a recovered
virtual machine.
Table 5-2. Environment Variables Available to Command Steps Running on Recovered Virtual Machines
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 virtual machine in recovery site
inventory
"[datastore-123] jquser-vm2/jquser-
vm2.vmdk"
Customize Recovery Plan Steps
You can customize many recovery plan steps to extend the basic functions provided by a default recovery plan.
To customize recovery plan steps, open the Recovery Steps page of a recovery plan.
Procedure
1 Open a vSphere Client and connect to the vCenter server at the recovery site.
Log in as a vSphere administrator.
2 On the vSphere Client Home page, click the Site Recovery icon.
3 In the Site Recovery tree view, navigate to Recovery Plans, and click the plan that you want to customize.
4 In the recovery plan window, click the Recovery Steps tab.
5 Right-click the step that you want to modify and select an option from the menu.
To export the entire plan as an HTML document for your reference, right-click any step and then click
Export. To edit the properties of the plan, right-click any step and then click Edit Recovery Plan.
Chapter 5 Customizing Site Recovery Manager
VMware, Inc. 49