VMware Cloud Community
josyularajan_vm
Contributor
Contributor

Do we need to have DRS enable when you have FT enable vm?

I need to enable FT for a particular VM. In this case do we need to have DRS enable at the Cluster level?

Regards,

Nagarajan.

4 Replies
vTagion
Enthusiast
Enthusiast

hi Josyularajan,

the vSphere 5 documentation states the following:

vSphere Documentation Center

Using Fault Tolerance with DRS

You can use vSphere Fault Tolerance with vSphere Distributed Resource Scheduler (DRS) when the Enhanced vMotion Compatibility (EVC) feature is enabled. This process allows fault tolerant virtual machines to benefit from better initial placement and also to be included in the cluster's load balancing calculations.

When a cluster has EVC enabled, DRS makes the initial placement recommendations for fault tolerant virtual machines, moves them during cluster load rebalancing, and allows you to assign a DRS automation level to Primary VMs (the Secondary VM always assumes the same setting as its associated Primary VM.)

DRS does not place more than a fixed number of Primary or Secondary VMs on a host during initial placement or load balancing. This limit is controlled by the advanced option das.maxftvmsperhost. The default value for this option is 4. However if you set this option to 0, DRS ignores this restriction.

When vSphere Fault Tolerance is used for virtual machines in a cluster that has EVC disabled, the fault tolerant virtual machines are given DRS automation levels of "disabled". In such a cluster, each Primary VM is powered on only on its registered host, its Secondary VM is automatically placed, and neither fault tolerant virtual machine is moved for load balancing purposes.

If you use affinity rules with a pair of fault tolerant virtual machines, a VM-VM affinity rule applies to the Primary VM only, while a VM-Host affinity rule applies to both the Primary VM and its Secondary VM. If a VM-VM affinity rule is set for a Primary VM, DRS attempts to correct any violations that occur after a failover (that is, after the Primary VM effectively moves to a new host).

long story short, you CAN, but you don't have to..

If you felt my comment was helpful or solved your problem, please return the favor of marking my answer as solved. Thanks! | http://www.vTagion.com
josyularajan_vm
Contributor
Contributor

Hi vTagion,

I got that which you said. That was really nice.

Thank you for your helpful reply. But I just want to know that, Can we enable FT without DRS enable?


Regards,

Nagarajan.

0 Kudos
vThinkBeyondVM
VMware Employee
VMware Employee

Yes, Nagarajan, You can enable FT without DRS. However, you could leverage DRS for FT as "vTagion" has specified.


-FT can be enabled on the VM which is in compute cluster and HA should be enabled on that cluster.

-DRS is not mandatory.


For more details on FT requirements : Ref- http://pubs.vmware.com/vsphere-51/topic/com.vmware.ICbase/PDF/vsphere-esxi-vcenter-server-51-availab...

Section: Fault Tolerance Checklist.




P.S.: Plz award points if it is useful.


----------------------------------------------------------------
Thanks & Regards
Vikas, VCP70, MCTS on AD, SCJP6.0, VCF, vSphere with Tanzu specialist.
https://vThinkBeyondVM.com/about
-----------------------------------------------------------------
Disclaimer: Any views or opinions expressed here are strictly my own. I am solely responsible for all content published here. Content published here is not read, reviewed or approved in advance by VMware and does not necessarily represent or reflect the views or opinions of VMware.

0 Kudos
RoyAbhijit
Contributor
Contributor

Thanks a lot VTagion ....very much useful and detailed information

.

0 Kudos