Ask Your Question

Pranshu's profile - activity

2017-12-06 04:34:20 -0600 received badge  Famous Question (source)
2016-12-15 06:30:36 -0600 commented answer What is the expected behaviour during non-live migration for VMs bind by affinity rule?

Hi Volenbovsky, By migration i was referring to non-live migration, stating the target compute host. The question is, If two VMs are bond by affinity rule, and we will try to migrate one VM to another host, what should be the expected behaviour?Will migration fail as we are migrating only one VM?

2016-12-15 06:23:19 -0600 received badge  Notable Question (source)
2016-12-15 06:18:12 -0600 commented question Adding more than one server groups in scheduler_hints

Hi Sharmistha,

Thanks for testing.

BR, Pranshu

2016-12-15 06:16:43 -0600 received badge  Famous Question (source)
2016-12-15 03:12:33 -0600 received badge  Popular Question (source)
2016-12-14 06:49:24 -0600 asked a question What is the expected behaviour during non-live migration for VMs bind by affinity rule?

Hi,

Scenario:

Two VMs , suppose VM1 and VM2 are present on same host, bind by affinity rule. Non-live mirgation is planned for VM1 but not for VM2.

Question:

Will migration operation fail, if it is executed only for VM1? Or, Will migration of VM2 automatically happen as affinity rule is set?

Please let me know the expected behaviour.

Thanks in advance!

BR, Pranshu

2016-12-07 23:25:57 -0600 received badge  Notable Question (source)
2016-12-07 06:58:51 -0600 received badge  Popular Question (source)
2016-11-22 04:07:51 -0600 commented answer Adding more than one server groups in scheduler_hints

Hi Sharmistha,

Thanks a lot for confirming .

BR, Pranshu

2016-11-18 09:53:54 -0600 asked a question Adding more than one server groups in scheduler_hints

Hi, Could someone please help me to understand if we can add two server groups in scheduler_hints for a resource in heat template.

Is it valid to add it as below?

scheduler_hints: group:group1,group2

Below is my scenario,

I have 4 VMs, suppose A,B,C,D.

A & C should be on same host(affinity).

B & D should be on same host(affinity).

A & B should not be on same host(anti-affinity).

C & D should not be on same host(anti-affinity).

I was thinking to create total 3 server groups.

gr1 - affinity - A & C.

gr2 - affinity - B & D.

gr3 - anti-affinity - A & B ( this will assure that C & D will also not be on same host).

So , VM A & B will belong to 2 server groups.

I want to know if it is possible to add two server groups in scheduler_hints in the heat template.

Please also let me know, if there is any better way to do this.

Note: I only want to impact heat template to achieve this behaviour.

BR, Pranshu