Friday, February 26, 2021

[ INTERVIEW QUESTION ] Affinity vs Anti-Affinity rules.

Impressive Answers! What is the difference between Affinity and Anti-Affinity rules and from where we create them? The interviewer wants to understand your vCenter & DRS skills . You can say... Affinitty rule means that the VMs will stick to the same host always. These VMs cannot be separated either by a vMotion or Automated DRS. On the other hand, Anti-Affinity rule means that the VMs will stay on separate ESXi hosts. They will never be together except in HA if the number of hosts in cluster are less.

The Interviewers will be impressed if you also mention. Note: If the VM is a windows clustered VM with RDM’s then in this case what is the purpose of creating anti-afinity rule when that VM with RDM can not be vMotioned so DRS has no chance of moving it. Also, If the DRS is running in fully automated mode and the 2 VM’s for which you just created an affinity rule, are running on different host, then DRS will bring them together.

No comments:

Post a Comment

What option on VMware vSphere will help you avoid morning boot storm VMs, storage related issues?

(Choose one) Comment Your Suggested Answer! A. Configure vCenter HR ad DRS B. Cluster/ESXi Storage DRS C. Enable Storage I/O Control D. VMFS...