JDMils_Interact
Enthusiast
Enthusiast

vCD:The following IP/MAC addresses have already been used by running virtual machines...

We have a virtual server with IP address 192.168.0.10 in vCD. I would like to clone this server so that I can run tests on it without affecting the original server.

I tried copying the vm to a new vApp but when I try to start it from vCD I get the error:

[ 995199e4-30a5-4aae-b948-9c589d654021 ] Unable to start vApp "vApp_MyTestServer". - The following IP/MAC addresses have already been used by running virtual machines: MAC addresses: IP addresses: 192.168.0.10 Use the Fence vApp option to use same MAC/IP. Fencing allows identical virtual machines in different vApps to be powered on without conflict, by isolating the MAC and IP addresses of the virtual machines.

Is this not the correct way to clone a VM in vCD?

Labels (2)
0 Kudos
3 Replies
Sreec
VMware Employee
VMware Employee

You will need a fence network, in this case,  please note that fence networks are not supported in VCD+NSX-T  ( you have duplicate IP and MAC). So you must reset IP and MAC in the cloned instance and then power on the VAPP.

Cheers,
Sree | VCIX-4X| VCAP-4X| VExpert 6x|Cisco Certified Specialist
Please KUDO helpful posts and mark the thread as solved if answered
0 Kudos
JDMils_Interact
Enthusiast
Enthusiast

I found that this process works for me and for some reason does not give me the duplicate IP/MAC error:

Power off the original server. Create a new vApp called Cloned_AD_vAPP. Add the network assigned to the original server to the vApp.

Click Virtual Machines.
Click vApp Source_vAPP | Actions | Copy To
Select destination vApp Cloned_AD_vAPP
Enter name of cloned server CLONED_SERVER
Storage Policy acs_t0
Network Adatper Type: VMXNET3
Network: Network_Name
IP Mode: Static IP- Manual
IP Address: 192.168.0.10
Click Done

 

I can then power on the cloned server with no errors!

0 Kudos
Sreec
VMware Employee
VMware Employee

That is right, If you power off the original server there will be no issues. However, you can't have both instances with the same IP/MAC in a powered-on state.

Cheers,
Sree | VCIX-4X| VCAP-4X| VExpert 6x|Cisco Certified Specialist
Please KUDO helpful posts and mark the thread as solved if answered
0 Kudos