Posts Tagged ‘ESX’

VMware ESX “I moved it” or “I copied it” – What’s the difference?

VMware

When you copy or move the data store location of an existing VM you will be presented with a message box (as seen below) in the vCenter Client asking if your VM has either been ‘moved’ or ‘copied’.  As you can see the message box also mentions “msg.uuid.altered: This virtual machine may have been moved or copied”, but what does this actually mean?

VMware ESX msd.uuid.altered

Figure 1. Has the VM been moved or copied?

What is a VM’s UUID?

Firstly, it is important to have an understanding of what a ‘UUID’ (universally unique identifier) is.  As the name suggests the UUID is a ‘identifier’ (128 bit integer) which is ‘unique’ to that VM, and effectively gives it a digital fingerprint to differentiate it from other VMs.

The UUID is automatically generated when a VM is first powered on or moved, with the UUID value being based on the physical host’s identifier and also the path to the VM’s configuration (vmx) file.  Within this configuration file the UUID value is stored in two places:

  • uuid.bios
  • uuid.location (hash based on the current path of the VM)

For example: uuid.bios = "56 4d 5e 58 66 f5 2d 04-03 31 0a bd 6f a7 19 88"

The UUID is also stored in the SMBIOS system information (ie: the BIOS of the VM) descriptor.  When the VM is started or moved the location UUID (ie: uuid.location) which is hashed from the VM’s data store path is compared to the UUID location hash which already exists in the configuration file.  At this point if the new and existing location UUID value differs then ESX knows that the VM is now running from a different data store location and will present the ‘Virtual Machine Message’ in figure 1 above.

But why do we care if the VM has the same or a new UUID? 

We saw in the message above provided by ESX informing that the UUID has in someway been altered but why does this really matter?  The answer to this you’ll be pleased to know is quite The vmx file contains important VMware ESX UUID informationsimple.  A VM’s unique UUID is used to generate other unique values used by the VM such as the unique MAC (media access control) address of the network card(s).  For example if you had multiple copies of the same VM/Guest OS running in your vSphere environment all with the same (ie: non-unique) network MAC address you will likely receive duplicate MAC address error messages within the guest OS which can cause a number of issues.

Another potential point to be mindful of is that some software licensing can be linked to a MAC address of a guest OS’s network card.  This includes software such as Microsoft Windows where changing the MAC address and some other key hardware components (eg: moving from an Intel based ESX host to a AMD based ESX host) can mean you have to re-activate the software again.  The changing of a VM’s MAC address will occur when you select “I copied it”, the next couple of sections will go into more detail on what exactly is altered.

 

Should I Select “I Moved It” or “I Copied It”?

So what is the difference between selecting “I_moved it” or “I_copied it”?  The easiest way to demonstrate the differences is by viewing the configuration file (vmx) for the VM before and after the two different options have been selected.

 

“I Moved It”

By indicating that you had moved the VM (instead of copying it) the only UUID change that is made to the configuration file is to the ‘uuid.location’ setting, which as you’d expect indicates a change of location for the VM. The ‘uuid.bios’ and the existing generated network MAC address remains that same.

You will also notice that the CPUID settings have also changed which is also the case for when you indicate that the VM was copied.

The “I Moved It” option should be used when ‘moving’ the location of where a VM resides and a copy of the VM has not been made.

VMware ESX I Moved It

 

“I Copied It”

When you select that the VM has been copied then there a few more changes that are made to the VM’s configuration file when compared to just moving it.  These changes are to the ‘uuid.bios’, ‘uuid.location’ and as a result of these changes a newly generated network MAC address (ethernet.generatedaddress).

The “I Copied It” option should be used when you’ve made, and intend to run, more than one copy of the VM in your vSphere environment.

VMware ESX I Copied It

 

To summarise, here is a table which outlines the changes that are made when either the “I Moved It” or “I Copied It” are selected

  “I Moved It” (change?) “I Copied It” (change?)
uuid.bios uuid.bios uuid.bios
uuid.location uuid.location uuid.location
ethernet.generatedaddress ethernet.generatedaddress ethernet.generatedaddress
guestCPUID.x guestCPUID guestCPUID
hostCPUID.x hostCPUID hostCPUID
userCPUID.x userCPUID userCPUID

 

As you can see it is worth spending the time to understand the changes which will be made when presented with the “I moved it” or “I copied it” options as it can impact (eg: software re-activation) the guest OS of the VM.

I hope this helps clarify this small aspect of vSphere administration which can sometimes be an area of confusion.

 

Call for Information! Compiling details on VMware ESX compatibility with HP Proliant ML110 and Ml115′s models.

VMware

Hi all,

I am looking at compiling information on, and presenting via the site, peoples experiences with running VMware ESX (versions 3.0-v3.5, including v3i) on HP Proliant ML110 and Ml115 servers.  I get quite a few queries regarding what is compatible and what isn’t so thought it be a good idea to compile this information, including workarounds, gotchas and hot deals in an easy to follow format.

These are great little, cost effective servers that make an ideal ESX test environment.

HP_ML110_G5

If you can let me know what you have found to work for you, were any tweaks/workarounds required along with any other information you think may be useful to others.

I can confirm that the ML110 onboard storage controller and onboard NIC’s work just fine under v3.5.  See my previous blog article here for more information.

Here’s a rough outline of information to give a basic example.  This will be a work in progress and a fresh blog article created to house this information.

UPDATE: Check out my blog article here on installing VMware ESX 3i 3.5 on an ML110 G5.

Make/Model: Disk Controller: NIC: Work Around?
ML110 G4 SC44Ge NC320i N/A
ML110 G5   NC105i  
ML115   NC320i  
ML115 G5   NC105i  

Useful Additional Information:

VMWare ESX v3.5 I/O Compatibility Guide

List of unsupported servers that work with ESX v3.5 or v3i

 

Technorati Tags: ,,,,,,

VMware ESX Hyperthreading is Inactive.

VMware

An area of confusion that seems to arise quite often is that around that of the Hyperthreading (HT) feature within ESX Virtual Infrastructure Client (VIC) being displayed as being ‘Inactive’.

VMware ESX Hyperthreading is disabled

Here is a link to Wikipedia that outlines what Hyperthreading is about and how it works.  This is another article with easy to follow information on the different CPU architectures.

If you see Hyperthreading within the VIC set to ‘Inactive’ you’re probably thinking “Hey, what’s going on here?  I’ve got a modern processor that can do this sorta stuff.”

Well, the answer is.. it depends.

VMware ESX Hyperthreading is disabledIf you have a single core processor and it is a Pentium 4 or early’ish (vague technical term :) ) Xeon then if it likely that you have Hyperthreading on the CPU’s die.  Sometimes it must be enabled in the BIOS first.  This article tells you what to look for.  Also, this list from Intel outlines which Intel processors and chipsets support Hyperthreading technology.

Hyperthreading disappeared from the Intel range of CPU’s with the introduction of the Merom, Conroe, and Woodcrest range of multi-core processors.

So if you are using a semi-recent PC/Server to run ESX then chances are you don’t have Hyperthreading technology on your CPU(s) and hence it is showing up as ‘Inactive’ within the Virtual Infrastructure Client.

VMWare ESX – Creating a Windows XP VM and getting error: "Setup did not find any hard disk drives installed in your computer."

VMware

Trying to install Windows XP within VMWare ESX and getting the following error message?

"Setup did not find any hard disk drives installed in your computer."

ESX,XP,Drivers

If so not to worry – all that the Windows XP installation process is telling you, as the error message explains, is that it can’t see any available hard disks on which to install XP.

The reason for this is that the necessary hard disk controller drivers have not been installed.

Within ESX there are two types of SCSI controller types available.  These are ‘BusLogic’ or ‘LSI Logic’.

ESX XP Driver

When installing Windows XP the ESX VM will assign the ‘BusLogic’ SCSI controller type as the default.  The Windows XP installation media doesn’t contain the drivers for either of these controllers so unless they are provided via floppy disk at the start of the installation process then XP will not know about any of the disks attached to the controller (which it doesn’t have drivers for).

Using an LSI Logic SCSI controller type has been shown to provide faster performance over that of a BusLogic controller type.

Although only relating to ESX v2.1.1 and Windows Server 2000/2003 this article highlights the performance difference with running a Windows Server OS using a LSI Logic controller under the VM as opposed to BUSLogic.  Ok, I know it doesn’t mention XP but apparently XP also benefits with increased performance (as with W2K3) when using the LSI Logic controller type.

To provide Windows XP with the correct drivers during the installation process following the steps outlined below.

All you have to do to resolve this issue is:

- Download the flp (floppy disk) image for either LSI Logic or BUSLogic from the links below:

*Update Note (March 09): A few people have reported that the newer LSI Logic XP driver doesn’t work.  I would recommend trying the older version first and failing that try the newer version. Thanks to ‘cubeconn’ in pointing out a useful VMware Forum post around this.

LSI Logic XP Driver (Older Version)

LSI Logic XP Driver (Newer Version)

Bus Logic XP Driver

- Upload the flp file(s) to your data/ISO store used by your ESX server.

- From within the XP installations Virtual Machine settings, edit the floppy disk settings and select the flp file containing the SCSI Controller driver you wish to use during the installation process.  Though don’t tick/check the ‘Connect at power on’ box.  Otherwise XP when you go to start the installation will try to boot from the floppy disk and will fail. 
 ESX XP Driver

- Start the installation of the guest OS, in this case Windows XP after creating the VM.

- When prompted to add ‘Additional SCSI Drivers’, press F6 (Function 6 button).

- Connect your floppy disk ISO (flp file) of the SCSI controller driver you wish to use.

- Then press the ‘S’ key to specify an additional device.  The XP installation process should now read this ISO file and will detect the controller drivers.  Press the ‘Enter’ key to continue.

ESX XP Driver

- The XP installation should now detect the disk created for this guess OS and proceed as normal.

- Install VMTools!

Good Luck!

Technorati Tags: ,,,,,,,,,,,

Linksys SLM2008 – A good Gigabit network switch for a VMware ESX test lab.

VMware

Looking for a fully featured but reasonably priced network switch for your ESX test lab?

Check out the Linksys SLM2008.  This 8 port Gigabit ‘Smart’ switch is an ideal candidate for small ESX test labs and contains a number of features found in larger, more expensive switches on the market.

SLM2008 These features include:

- 8 x 1Gb Auto sensing Ports 
-Web management interface.

- Port Based VLAN Tagging.
- Can run off of Power Over   Ethernet (PoE).
- IEEE 802.1Q VLANs
- EEE 802.1X port authentication.
- Support of IGMP Snooping.

The most applicable feature for an ESX test lab is that of using the Port based VLAN functionality to separate the COS, VM OS and VMotion networks.

Below are some screen shots of the main web based management interface and the 2 pages associated with configuring the VLAN tagging.

1. Main Web Based Management Page:

SLM2008_Main

2. VLAN Configuration Page 1:

SLM2008_VLAN1

3. VLAN Configuration  Page 2:

SLM2008_VLAN2

 

Here in the UK the switch retails for approximately £60.  Which when you consider the features and the 8 Gigabit ports this equates to good value for money.

Click here for more information on this great little switch.

Also, the User Guide and Data Sheet

AppAssure
Veeam #1
Trilead
StarWind Software
TrainSignal - vSphere Pro
VMware vSphere Recommended Reads
TechHead Needs You - Top 25 Blog Sites