Re: CloudStack Anti-Affinity

2016-10-06 Thread Yiping Zhang
Starting a VM instance will end in error if there is no host suitable for it. We normally limit number of VM in an affinity group to be one less than the number of hosts in the cluster. Let’s say I have 5 instances for my app, and I have 5 hosts in my cluster. I will only put 4 instances in

Re: CloudStack Anti-Affinity

2016-10-04 Thread Marc-Aurèle Brothier
Hi, It would deny it if you're a normal user. As an admin you can force to overrule an anti-affinity by specifying the destination host. On Wed, Oct 5, 2016 at 1:58 AM, Sergey Levitskiy < sergey.levits...@autodesk.com> wrote: > Hi Ilya, > We tried it once. If I am not mistaken it is strict. The j

Re: CloudStack Anti-Affinity

2016-10-04 Thread Sergey Levitskiy
Hi Ilya, We tried it once. If I am not mistaken it is strict. The job will be accepted but end up in error. Thanks, Sergey On 10/4/16, 3:43 PM, "ilya" wrote: I'm curious if anyone uses Anti-Affinity and how restrictive is it? Meaning what happens if there are no nodes to satisfy the a

CloudStack Anti-Affinity

2016-10-04 Thread ilya
I'm curious if anyone uses Anti-Affinity and how restrictive is it? Meaning what happens if there are no nodes to satisfy the anti-affinity rule? Would it still place it or deny and throw 530? Any help is appreciated Thanks, ilya