Using Anti-Affinity rules in vCD, can it be done?

Short answer = NO.
Long answer = YES.

I was working with a customer a couple of weeks ago and they asked the question, how do we configure the Anti-Affinity rules within VMware vCloud Director.  Another guy asked the question, why would you want to use these?

Think of a use case where within a vApp you have two or three web servers (for resilience).  You would not want these to be on the same host, in-case of an outage.  Yes HA would restart the VMs on a different host, but of course there is an outage time for that.  This is where the anti-affinity rules have always been used within DRS to ensure the VMs are separated.  If you were not concerned about the outage, you would simply have one web server.

So going back to the title can it be done?  Yes, but unfortunately not through the GUI of vCD.  To enable the Anti-Affinity rules you need to apply these in the standard way through vCenter and the DRS Cluster settings.

It would be interesting to see if people thought this is something they would actually use within vCD, and what they think about it.

, , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , ,

2 Responses to Using Anti-Affinity rules in vCD, can it be done?

  1. Jacques Talbot January 7, 2011 at 9:16 am #

    This brings to the more general issue of vCD versus WAN level distribution.
    In another post, (VMware vCloud Director – Q&A – Part 2) Dave says: A.You should keep everything local to a datacenter (site) in v1.0.

    But what is the ultimae architectural model ?
    For example, a vApp lives in one and only one vDC.
    For Disaster Recovery reasons, with strong RTO objectives,you may want to use anti-affinity rules to spray your clustered instances on two sites.

    But can a vDC be distributed on the WAN in several pDCs? This is unclear from the various Vcloud directors presentations I have seen.
    What’s your view?

Trackbacks/Pingbacks

  1. Tweets that mention Using Anti-Affinity rules in vCD, can it be done? : virtual-blog -- Topsy.com - November 17, 2010

    […] This post was mentioned on Twitter by David Hill and Xinity Bot, David Hill. David Hill said: New Article :: Using Anti-Affinity rules in vCD, can it be done? :: http://bit.ly/a6O9iZ […]

Leave a Reply

This site uses Akismet to reduce spam. Learn how your comment data is processed.

Copyright David Hill

Powered by WordPress. Designed by Woo Themes

%d bloggers like this: