<

Celebrate National IT Professionals Day with 3 months of free Premium Membership. Use Code ITDAY17

x

HOW TO: Select the right answer to "I Moved It" or "I Copied It" in VMware vSphere (ESXi)

Published on
56,808 Points
21,708 Views
11 Endorsements
Last Modified:
Andrew Hancock (VMware vExpert / EE MVE^2)
MVE^2, Expert of the Year 2016-2011, Scribe 2016-2012, Author of the Year 2016,2013-2012 VMware vExpert 2016-2011 27 years of experience.
Many Expert Exchange questions relating to this common question appear in the VMware and Visualization zones,
I've moved or copied a virtual machine, and now when I start it, the question is raised - Do I select Moved it? or Do I select Copied It?
I've selected Copied, and now all My IP addresses have changed! Why?

In this article we will discuss, which selection should be chosen, and I'll answer the question above...

If you have followed this previous Experts Exchange Article, HOW TO: Clone or Copy a virtual machine in VMware vSphere Hypervisor ESX/ESXi 4.x or ESXi 5.0, or copied or moved a Virtual Machine (VM) between datastores hosted on VMware vSphere Hypervisor, VMware vSphere or VMware ESXi (manually), you may have noticed that when you power on the virtual machine using the VMware vSphere Client, the virtual machine reaches approx 56%, and a "yellow exclamation mark information bubble" appears next to the virtual machine
"yellow exclamation mark information bubble" appears next to the virtual machineOn selection of the virtual machine reveals the following yellow dialogue box
Virtual Machine MessageThe virtual machine messages reads "This virtual machine might have been moved or copied. In order to configure certain management and networking features, VMware ESX needs to know if this virtual machine was moved or copied. If you don't know, answer "button.uuid.copiedTheVM".

There is and error in the message in the above VMware vSphere Client 5.5, and the last part should read  If you don't know, answer "I Copied It" This could also appear as "I _moved it" or "I _copied it" depending upon version of VMware vSphere Client used.


1. What is this Virtual Machine UUID thing?

Before continuing this article we need to understand what this UUID thing is, and what it is. The Universally Unique IDentifier (UUID) is a 128-bit integer which is automatically generated and assigned to a virtual machine at power-up, this is stored in the SMBIOS system information. Standard software packages which can scan for the SMBIOS string can extract this information, two software packages are SiSoftware Sandra or Belarc Advisor. This UUID is used in system management, and the same UUID exists on a physical computer. This UUID is unique and the virtual machines digital fingerprint.

An example of a UUID for the virtual machine is

56 4d eb df dc d4 b5 c1-84 5c 07 81 1c 3f 76 82

The UUID is based on the physical path location of the virtual machines configuration file (VMX) and virtual machines identifier. This UUID 128-bit interger value is stored in two places, it's stored in the VMX - virtual machine configuration file, and the virtual machines BIOS.
uuid.bios and uuid.location in the VMX configuration file.When you move or copy the virtual machine, the location of the VMX (virtual machine configuration file) changes, it no longer matches the value stored in the VMX file or BIOS. When you then attempt to power up the virtual machine, you will be offered the choice of creating a new UUID (I Copied It) or keeping the old UUID. (I Moved It). It's important to understand the changes that are made to the virtual machine, by selecting either of these options.

The virtual machines UUID is used to generate other values in the virtual machine, one of these values is the Media Access Control address, or commonly refereed to as the MAC address. The MAC Address is a unique network identifier which is programmed in to all network communication devices. All network devices on a network, need to have a unique MAC address, e.g. every network devices will have a different MAC address, if you have duplicate MAC addresses, you will experience communication issues. If the UUID changes the MAC Address will change. If the MAC Address changes, and you are using DHCP, it's likely you will also receive a different IP Address, because the DHCP server, will detect this network device, as a new device, and assign a new and different IP Address.


2. I Moved It

If you select I Moved It, you have changed the datastore location, this changes the uuid.location setting in the virtual machine configuration file (VMX). The uuid.bios and the current MAC address will remain the same.
uuid.location before "I Moved It"see before and after comparisons of the virtual machine configuration file (VMX).
uuid.location before and afterIn the above comparison screenshot, the RED highlighted uuid.location is the original "before" and the GREEN highlighted uuid.location is "after". As you can see the uuid.location has changed, but the uuid.bios and MAC Address - ethernet0.generatedAddress are exactly the same.


3. I Copied It

(I like to  think, that copying a virtual machine, may be a CLONE operation, and  used on the network at the same time as the original virtual machine.)

If you select I Copied It the uuid.bios and uuid.location value are changed, this forces the ethernet0.generatedAddress to also change. see before and after comparisons of the virtual machine configuration file (VMX).
uuid.location and uuid.bios before and after, when I Copied ItIn the above comparison screenshot, the RED highlighted uuid.location is the original "before" and the GREEN highlighted uuid.location is "after". As you can see the uuid.location has changed, and the uuid.bios and MAC Address - ethernet0.generatedAddress have also changed.


4. Final Summary

I Moved It - should be used only, when you are manually moving a virtual machine between datastores, which includes moving to a new host and different datastore.

I Copied It - should be used when you want to COPY or CLONE a virtual machine, and used on the network at the same time as the original virtual machine.

Now that you have read, and hopefully understand the difference between "I Moved It" or "I Copied It" selections, I'll answer the question raised at the beginning

I've selected Copied, and now all My IP addresses have changed! Why?

As we've seen above, selecting "I Copied It" changes the uuid.bios and uuid.location values, which will force and generate a new MAC address. If you have been using DHCP (Dynamic Host Configuration Protocol) to supply IP Addresses to your computers on your LAN, your virtual machine will receive a new IP Address, after this change.

I hope this article helps you to understand the difference between "I Moved It" or "I Copied It" when you have moved or copied a virtual machine.

****************************************************************************
Thank you for reading my article, please leave valuable feedback. If you liked my VMware article and would like to see more Articles from me, please click the Yes button near the: Was this article helpful? at the bottom of this article just below and to the right of this information. Thank You. Do not forget if you have a question about this article or another VMware, Virtualisation, Windows Server 2012 question, why not post a Question for me and the other Experts Exchange Experts in the VMware, Virtualisation, Windows 2008, Windows 2012 Zones. I look forward to hearing from you. - Andy :- twitter @einsteinagogo
****************************************************************************
11
Comment
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 2
4 Comments
 
LVL 1

Expert Comment

by:CHI-LTD
So what if VMs are on local storage and i upgrade the local host (not copying or moving the VMs...?)?
0
 
LVL 123

Author Comment

by:Andrew Hancock (VMware vExpert / EE MVE^2)
That's a question, please post to the VMware Topic Area.
0
 

Expert Comment

by:Member_2_7970234
I have problem with the multiple copies of a running linked clone. When I resume them, only one of them is able to connect to the internet, I know that it's about the duplicated mac issue, I fixed it by changing  the uuid in the vmx file, but that's only work after a reboot. Is there a way to solve this duplication problem without shutting it down? I'm running an extremely critical application that can not be closed. It can be suspended but not shutting down. Any idea how to fix this?
0
 
LVL 123

Author Comment

by:Andrew Hancock (VMware vExpert / EE MVE^2)
Please post  question to the VMware topic area.
0

Featured Post

Industry Leaders: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Join & Write a Comment

Teach the user how to install log collectors and how to configure ESXi 5.5 for remote logging Open console session and mount vCenter Server installer: Install vSphere Core Dump Collector: Install vSphere Syslog Collector: Open vSphere Client: Config…
This tutorial will walk an individual through the steps necessary to enable the VMware\Hyper-V licensed feature of Backup Exec 2012. In addition, how to add a VMware server and configure a backup job. The first step is to acquire the necessary licen…

Keep in touch with Experts Exchange

Tech news and trends delivered to your inbox every month