By default, when you configure a virtual machine for replication to cloud, its NICs and MAC addresses are copied automatically to the target site as part of the provisioning of the placeholder virtual machine.

About this task

If the test network is not isolated from the production network and these networks have common routing, a test recovery of a replicated virtual machine might result in duplicate MAC addresses in your virtual data center.

To avoid duplicate MAC addresses in your data center, you can disable the automatic copying of network configurations from the source site to cloud sites.

Note:

Disabling the automatic copying of network configurations does not delete the configurations that are already replicated to the target site. See http://kb.vmware.com/kb/2086292 .

Procedure

  1. Use the vSphere Web Client on the source site to locate the HMS virtual machine and log in as the root user.
  2. Navigate to folder /opt/vmware/hms/conf/.
  3. Run the vi hms-configuration.xml command to open the hms-configuration.xml file for editing.
  4. Locate the <hms-dr2c-export-mac-address> parameter, and modify the value to false:

    <hms-dr2c-export-mac-address>false</hms-dr2c-export-mac-address>

  5. Run the :wq command to save the change, and run the following command to restart the HMS service.

    # service hms restart

Results

The automatic copying of network configurations to target cloud sites is disabled for all newly configured replications.