Passing colocation/anti colocation hints through BOSH for OpenStack


Animesh Singh
 

Does OpenStack CPI has mechanisms to pass collocation / anti collation hints for VMs e.g if I am deploying two Cloud Controllers, can I specify how to make sure they land on different hosts. if yes, please provide the manifest sample


Ronak Banka
 

Hi Animesh ,

You can specify different availability_zone property with two different
resource pool and deploy cc's to these resource pool.

Thanks
Ronak

On Oct 15, 2015 05:19, "Animesh Singh" <singhan(a)us.ibm.com> wrote:

Does OpenStack CPI has mechanisms to pass collocation / anti collation
hints for VMs e.g if I am deploying two Cloud Controllers, can I specify
how to make sure they land on different hosts. if yes, please provide the
manifest sample


Joshua McKenty <jmckenty@...>
 

Ferdy and I looked at supporting antiaffinity groups years ago, but it's not trivial because BOSH makes a separate API call for each VM. I believe this story is still iceboxed, but Dmitriy would know for sure.

Sent from my iPhone

On Oct 14, 2015, at 2:59 PM, ronak banka <ronakbanka.cse(a)gmail.com> wrote:

Hi Animesh ,

You can specify different availability_zone property with two different resource pool and deploy cc's to these resource pool.

Thanks
Ronak

On Oct 15, 2015 05:19, "Animesh Singh" <singhan(a)us.ibm.com> wrote:
Does OpenStack CPI has mechanisms to pass collocation / anti collation hints for VMs e.g if I am deploying two Cloud Controllers, can I specify how to make sure they land on different hosts. if yes, please provide the manifest sample


Marco Voelz
 

Supposedly something like this should work: http://bosh.io/docs/vm-anti-affinity.html#openstack

This involves in configuring server groups with anti-affinity enabled on Openstack before actually deploying.

Let us know if that works out for you.

On 14/10/15 15:13, "Joshua McKenty" <jmckenty(a)pivotal.io<mailto:jmckenty(a)pivotal.io>> wrote:

Ferdy and I looked at supporting antiaffinity groups years ago, but it's not trivial because BOSH makes a separate API call for each VM. I believe this story is still iceboxed, but Dmitriy would know for sure.

Sent from my iPhone

On Oct 14, 2015, at 2:59 PM, ronak banka <ronakbanka.cse(a)gmail.com<mailto:ronakbanka.cse(a)gmail.com>> wrote:


Hi Animesh ,

You can specify different availability_zone property with two different resource pool and deploy cc's to these resource pool.

Thanks
Ronak

On Oct 15, 2015 05:19, "Animesh Singh" <singhan(a)us.ibm.com<mailto:singhan(a)us.ibm.com>> wrote:
Does OpenStack CPI has mechanisms to pass collocation / anti collation hints for VMs e.g if I am deploying two Cloud Controllers, can I specify how to make sure they land on different hosts. if yes, please provide the manifest sample