5.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 SRM Database
- About the vSphere Replication Management Database
- Install the SRM Server
- Upgrading SRM
- Install Storage Replication Adapters
- Install the SRM Client Plug-In
- Connect the Sites
- Revert to a Previous Release
- Repair or Modify the Installation of a Site Recovery Manager Server
- Install the SRM License Key
- Establishing Inventory Mappings and Placeholder Datastores
- Configuring Array-Based Protection
- Installing vSphere Replication Servers
- Creating Protection Groups and Replicating Virtual Machines
- Limitations to Protection and Recovery of Virtual Machines
- Create Array-Based Protection Groups
- Create vSphere Replication Protection Groups
- Configure Replication for a Single Virtual Machine
- Configure Replication for Multiple Virtual Machines
- Replicate Virtual Machines Using Physical Couriering
- Move a Virtual Machine to a New vSphere Replication Server
- Apply Inventory Mappings to All Members of a Protection Group
- Recovery Plans and Reprotection
- Customizing Site Recovery Manager
- Customizing a Recovery Plan
- Configure Protection for a Virtual Machine or Template
- Configure Resource Mappings for a Virtual Machine
- Configure SRM Alarms
- Working with Advanced Settings
- Troubleshooting SRM
- Index
Customize IP Properties for Multiple Virtual Machines
Use the dr-ip-customizer.exe tool on a computer with access to vCenter Servers in your environment to
specify IP properties for any or all of the virtual machines in a recovery plan by editing a file that the tool
generates. Configure IP settings for both protected and recovery sites so failback operations are easier to
configure.
Procedure
1 Open a command shell on the SRM server host.
2 Change directory to C:\Program Files (x86)\VMware\VMware vCenter Site Recovery Manager\bin.
3 Run the dr-ip-customizer.exe command.
The following is an example of how you might run the tool.
dr-ip-customizer.exe --cfg ..\config\vmware-dr.xml --cmd generate --out
"C:\MassIPCustCSVs\MassIPCust-generate-output.csv --vc vc04.eng.example.com
4 Edit the generated file that was created at C:\MassIPCustCSVs\MassIPCust-generate-output.csv to
customize IP properties for the virtual machines in the recovery plan.
5 Run dr-ip-customizer.exe to apply the customized IP properties.
For example, to apply settings from a CSV file, run the following command.
dr-ip-customizer.exe --cfg ..\config\vmware-dr.xml --cmd apply --csv
"C:\MassIPCustCSVs\MassIPCust-ipv6.csv --vc vc04.eng.example.com
You can include a --verbose option on any dr-ip-customizer.exe command line to log additional
diagnostic messages. Always use the same vCenter Server for apply and drop commands as the one used
to generate the CSV. Virtual machine IDs for protected virtual machines are different at each site, so the
CSV generated at one site should not be applied at a different site.
The specified customizations are applied to all of the virtual machines named in the csv file during a recovery.
(You do not need to manually configure IP settings for these machines when you edit their recovery plan
properties.)
Make sure to consistently use the same --vc setting. You can work with either protected or recovery vCenter
Server, but use the same one for both the generate and apply operations.
Dr Ip Customizer Reference
The dr-ip-customizer.exe tool includes several options. Whenever you use the DR IP Customizer, you must
specify the location of the SRM server configuration XML file and the action to take.
DR IP Customizer Tool Syntax
The syntax of the DR IP Customizer is as follows:
dr-ip-customizer.exe --cfg <DR server configuration XML> --cmd <apply/drop/generate> [--csv
<existing CSV File>] [--out <New CSV file to be generated>] [--vc <VC Server Address>] [--ignore-
thumbprint] [--extra-dns-columns] [--verbose]
The options available with DR IP Customizer are:
n
-h [ --help ] Display usage info.
n
--cfg path Path to application XML configuration file.
Chapter 8 Customizing Site Recovery Manager
VMware, Inc. 83