5.0

Table Of Contents
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