What is EFI firmware option in vSphere5?

Purpose: EFI firmware option in vSphere5?

 

In vSphere 5 you can choose your traditional BIOS option or new EFI firmware. New EFI firmware doesn’t allow working with – A) Windows B) Any kind of n/w boot.
New EFI firmware allows working with:
  1. Allows you to MAC OS (ESXi host running on an apple flat form.
  2. Offers build in drivers for H/W and Shell.
Now in vSphere 5 ESXi servers can be booted on the systems that are using EFI firmware and can be booted from CR-ROM drive, USB Drive, Hard Drives.

 

Go to VM Edit setting – Option tab – boot option – Choose EFI firmware and check on next time the VM boot force entry into the EFI firmware startup screen.

 

How to configure EVC mode?

Purpose: How to configure EVC mode?

 

Answer:

Go to cluster -> right click on it and select edit settings -> Vmware EVC Option which will prompt you a window :-

O EVC Disabled.

O EVC Enabled for AMD hosts.

O EVC Enabled for Intel hosts.

This is for CPU compatibility , if in case your CPU is from different CPU family or from different manufacturer then we have to enable EVC mode accordingly as per the manufacturer and family for CPU compatibility validation success.

 

How vMotion migration works?

Purpose: How vMotion migration works?

 

Answer:

First for migrating our virtual machines from over utilized source host to underutilized destination host we have to check whether both the hosts have the access to the shared datastore holding the VM’s files.

vMotion migration consists the following steps:

  1. VM’s memory state is copied over the vMotion network from the source to target host while during this users continuously access the VM’s and keep updating pages in the memory. The list of modified pages in memory is kept in a memory bitmap on the source host.
  2. After most of the VM’s memory is copied from the source to target host, the virtual memory is quiesced. No additional activity is occurred on the VM. In the quisced period vMotion transfers the virtual machine device

State and memory bitmap to the destination host.

  1. Immediately after the VM is quiesced on the source host ,the VM is initialized and starts running on the target host. A Reverse Address Resolution protocol (RARP) request notifies the subnet the virtual machines A’s MAC address is now on a new switch port.
  2. Users access the VM on the target host instead of source host no.

The memory pages that the VM was using on the source host are marked as free.

How to perform svMotion migration?

Purpose:  How to perform svMotion migration?

 

Answer:

Go to VM -> right click on VM and select Migrate VM. This will prompt you a window:-

  1. Select Migration Type: O Change Host .

O Change Datastore.

O Change Both  Host and Datastore.

(But for this change both Datastore and Host , VM must be powered off)

Here we select change Datastore option as this is svMotion migration only and not a host migration.

  1. Storage: Select Disk format from drop down menu :-
    • Same format as source.
    • Flat Disk
    • Thick provision(Lazy Zero or Eager Zero)
    • Thin provision

Then select the destination LUN from available list of LUNs as per the maximum space available.

You can separate Configuration file with the other disk files by clicking on Advanced button and browse the configuration datastore location. Before migration we need to check whether the Compatibility Validation: Succeeded, if the compatibility isn’t validated successfully then this will cause an error and we should not perform that vMotion to that host  because it may have compatibility issues.

  1. vMotion Priority: O High priority.

O Standard priority.

Here we select High priority to make sure that this migration is performed with high priority.

4.  Ready to complete.

 

SVMotion Requirements:

  • VSphere licensing Enterprise plus or enterprise.
  • Now vSphere 5 moving a powered ON VM with snapshots is supported.
  • Move large MVDK can take a long time depending upon your n/w connection.
  • When you migrate storage you have to option to change from –
  1. Thin to Thick provision
  2. Thick to Think provision

Migrating VMs with snapshots now in new vSphere:

Now in vSphere 5 we have this feature of migrating storage vMotion with snapshots but it was not there in the earlier version of vSphere 4.x we had to remove the snapshots before migrating VMs into another datastore.

How to perform vMotion migration?

Purpose: How to perform vMotion migration?

 

Answer:

Go to VM -> right click on VM and select Migrate VM. This will prompt you a window:-

  1. Select Migration Type: O Change Host .

O Change Datastore.

O Change Both  Host and Datastore.

(But for this change both Datastore and Host , VM must be powered off)

Here we select change host option as this is host migration only and not a storage migration (svMotion).

  1. Destination: You will have to select the host that is having shared storage to move the VM. You need to check whether the Compatibility Validation: Succeeded, if the compatibility isn’t validated successfully then this will cause an error and we should not perform that vMotion to that host because it may have compatibility issues.
  2. vMotion Priority: O High priority.

O Standard priority.

Here we select High priority to make sure that this migration is performed with high priority.

  1. Ready to complete.

 

Note:

In the earlier versions of vSphere 5.x it is not allowed to use multiple NICs concurrently  and only use a single NIC to decrease the amount of time taken to migrate a VM using vMotion but now in the versions of vSphere 5.x and above allows to use multi NIC for vMotion .

The number of Nics supported for vMotion are as given below:

1GBE (Gigabyte Ethernet)-> 16 NICs supported

16GBE (Gigabyte Ethernet)-> 4 NICs supported