VMware: Enable fault tolerance on nested VM

Reference: http://boerlowie.wordpress.com/2011/12/16/building-the-ultimate-vsphere-lab-part-11-vmotion-fault-tolerance/

Introduction
I have built a vmware lab environment entirely with vmware workstation 9.0, this post document the process on enabling fault tolerance (FT) in nested VM. The nested VM was created with vcenter which is another vm created by vmware workstation.

Limitation of fault tolerance
1. The VM has to remove CD/DVD, because CD/DVD is not supported by FT.
2. The VM has to remove USB and sound devices because FT is not compatible with these.

For a full list of incompatibilities use google to look for this document vsp_41_availability.pdf, the above 2 points should be removed from your VM that requires FT enabled.

Extra parameters for nested vm
You need to set three parameters before enabling FT:
replay.supported = true
replay.allowBTOnly = true
replay.allowFT = true
These parameters were not available on your VM settings, you need to add them yourself.

After you have created a VM and installed the OS, shutdown the VM and right click the VM.

Right click the vm and select Edit Settings.

Right click the vm and select Edit Settings.

Virtual Machine Properties appears, click on Option tab, then select General, the click on Configuration Parameters. Look at the red colour boxes which I have drawn.

Virtual Machine Properties appears, click on Option tab, then select General, the click on Configuration Parameters. Look at the red colour boxes which I have drawn.

By the default the listed parameters do not exist you need to add row and put them yourself, click on Add Row.

By the default the listed parameters do not exist you need to add row and put them yourself, click on Add Row.

Add the parameters in and set them to true.

Add the parameters in and set them to true.

Enable fault tolerance on vm
You need to enable the vm that you want to protect with FT.

Right click, choose Fault Tolerance and select Turn on Fault Tolerance.

Right click, choose Fault Tolerance and select Turn on Fault Tolerance.

Click Yes.

Click Yes.

The process will replicate the vm on both VMware host, so that both hosts will contain an identical VM each.

The process will replicate the vm on both VMware host, so that both hosts will contain an identical VM each.

There would be a short moment you saw two VMs appear.

There would be a short moment you saw two VMs appear.

Once the replication was successful your VM will turn from light blue to dark blue.
VCENTER-2013-04-29-01-03-41
VCENTER-2013-04-29-01-04-05

At any one time only one VM is active, the secondary VM will get the same state as the primary VM, the VM on the esx2 host will remain as secondary until esx1 host fails.

Advertisements
This entry was posted in VMware and tagged , , . Bookmark the permalink.

One Response to VMware: Enable fault tolerance on nested VM

  1. Thanks for Detailed explain artical good one ..

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s