Bulk IP Customization in SRM 5

Posted on Updated on

For small numbers of VMs requiring IP customisation (under 10) the recovery plan IP customisation GUI is recommended. The GUI can also be used to verify the successful importation of IP details using the Bulk IP customisation tool.

This tool provides the ability to easily update the network property information for all the virtual machines. It’s a command line utility and it is harder t0 make mistakes. The tools can be used to configure protected and recovery sites.

The IP customisation tool is found in:

 C:\program files (x86)\vmware\vmware vcenter site recovery manager\bin

Execute “dr-ip-customizer.exe -h” to review the command line arguments and options. It is important to understand that you must use these commands – always – on the same side.

SRM-02

Here is the summary of the steps:

1. We need to create a .csv file with a list of our protected VMs in it. In order to generate of all the virtual machines under SRM, execute the utility with the “generate” option as such:

dr-ip-customizer.exe –cfg c:\Program Files\VMware\VMware vCenter Site Recovery Manager\config\vmware-dr-xml  –o c:\sampleSRM.csv –cmd generate –vc FQDN_of_The_Local_vCenter

2. You will now have a .CSV file that you can work with – c:\exampleSRM.csv in this case.  You should use Excel to work on it.

3. Re-load the .csv into the SRM server to apply the changes as such:

dr-ip-customizer.exe –cfg c:\Program Files\VMware\VMware vCenter Site Recovery Manager\config\vmware-dr-xml –csv c:\sampleSRM.csv –cmd apply –vc FQDN_of_The_Local_vCenter

4. Verify changes by examining the VM’s configuration settings in SRM from Virtual Center

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s