[Users] Force certain VMs to be on different hosts

This message is in MIME format. --=_6jyb8zehjukgok Content-Type: text/plain; charset=ISO-8859-1; DelSp="Yes"; format="flowed" Content-Disposition: inline Content-Transfer-Encoding: 7bit Is there a way to have certain VMs to be on different hosts? (assuming there are enough hosts) IE. I have a db cluster of 3 VMs. I would like each one to always be on different hosts. That way if a host goes down my db cluster is still happy while migration happens. Or if migration fails I am still good. Thanks Scott --=_6jyb8zehjukgok Content-Type: application/pgp-keys Content-Description: PGP Public Key Content-Disposition: inline Content-Transfer-Encoding: 7bit -----BEGIN PGP PUBLIC KEY BLOCK----- Version: GnuPG v1.2.6 (GNU/Linux) mQGiBEbfI1QRBADVdW9cuyAvTnC21nOF5PN1orkrvE8kGf6I37YY9k4KHzrho+aH K/MACOhgOw2vuluAmxnx3aI82CQdXn0DSi15etvapSE/fqoBypeUfnU1hhq8kZlL N6Gc9584avtlO6+vfKrP8f6pirimmTExvA3mJITlboZDg64yY1rbV8DOwwCgz8/k pVhao/WMco0f5MmZO9CPqG0D/jAjmsR3KoodewzwKF+LXU9G3a/ubtpUn7ktt4s0 xbHjySI/DroJyVJbRfGDIif6Uoor9fJM0t6U2jqJEs+tmvEfMnkU2m3Zp1dFZbXk Qg9mkcXNd0vMQL+YQiNosE6AJhv07vgLCFwybEV/+u1UXvL2IKVGQvrQxrYN2BPu OM9xBACNeTE1b8TOk4xU/0UEAZp8XO1D9YEVizQTxZZVhcoooJAFu4uZIdhXagKK lsNWk6jkjsrb288PsEnMgKTsGkViJ+fbn7VF7rSkVjD52PZey7bFfw+joPpFJ8X5 uLP1P1YPuDfbZxqL4n8IV8Baw5NDEZVJuy/I+8ZeWfdzEeTx3bQiU2NvdHQgT2Nr ZW4gPHNjb3R0QGluZm9idW5rZXIuY29tPohbBBMRAgAbBQJG3yNUBgsJCAcDAgMV AgMDFgIBAh4BAheAAAoJEH7YIuikyNydli0An2mZ8ADawZmzfVM3SqSsgSgNaAs7 AKDH5i/dIc+LQS8LjsOFPCx5U7R817kBDQRG3yNVEAQAzorJIFPmVP46r02Y4IfM NH2f0BAYvOAt3iGXFBf1VfbeztihJZ8SdM2fjK6SX3tstuzohCes7+1+xCiaHlgF BCnQiw7zMC0GDQIhuHI+/41pbjTdSdw11DRUnZchaid3f8ImjidTAdhv2stNJxPl FufmkfgtUCqnDqYnDOdg9WMAAwYD/RvqX2+Bm/vEJIN8RDYfBI3Y3xPwfNL1wECS wHaJvxHTCKasnSRquA7k5GpS8+L1pjyxI/q/jbzVNdgOW1i3p6UZEL05dQhinREt sZMf5SbbCZADOqyekGubiHUDxjgz0cD9echtaUq4pr9thXtRD9ONfOM8SaAhXbH6 Uftb/kSLiEYEGBECAAYFAkbfI1UACgkQftgi6KTI3J0eaACdF3LUjihrLwIdU66u 81MDfuHnsr8AoMFYRGoZ99RHzb7FOpULHCASRRd7 =Hyro -----END PGP PUBLIC KEY BLOCK----- --=_6jyb8zehjukgok--

Hi Scott, Click on a vm Edit Show Advanced Options Host "Start Running on" ----- Original Message -----
From: "Scott Ocken" <scott@infobunker.com> To: Users@ovirt.org Sent: Tuesday, March 18, 2014 5:08:24 PM Subject: [Users] Force certain VMs to be on different hosts
Is there a way to have certain VMs to be on different hosts? (assuming there are enough hosts)
IE. I have a db cluster of 3 VMs. I would like each one to always be on different hosts. That way if a host goes down my db cluster is still happy while migration happens. Or if migration fails I am still good.
Thanks Scott
_______________________________________________ Users mailing list Users@ovirt.org http://lists.ovirt.org/mailman/listinfo/users

While this should work, it is very static. I think there is a feature planned which lets you assign tags to any number of vms and then you can say: run vms tagged "db-servers" on host "b", isn't it? If not I would be happy to file an RFE :) Am 18.03.2014 16:54, schrieb Meital Bourvine:
Hi Scott,
Click on a vm Edit Show Advanced Options Host "Start Running on"
-- Mit freundlichen Grüßen / Regards Sven Kieske Systemadministrator Mittwald CM Service GmbH & Co. KG Königsberger Straße 6 32339 Espelkamp T: +49-5772-293-100 F: +49-5772-293-333 https://www.mittwald.de Geschäftsführer: Robert Meyer St.Nr.: 331/5721/1033, USt-IdNr.: DE814773217, HRA 6640, AG Bad Oeynhausen Komplementärin: Robert Meyer Verwaltungs GmbH, HRB 13260, AG Bad Oeynhausen

This message is in MIME format. --=_au874q75khcs Content-Type: text/plain; charset=UTF-8; DelSp="Yes"; format="flowed" Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Sven, If I tag the VMs as db-servers can I then say run on different hosts. On the static "Start running on", if that host goes down, it will =20 migrate, yes? Scott Quoting Sven Kieske <S.Kieske@mittwald.de>:
While this should work, it is very static.
I think there is a feature planned which lets you assign tags to any number of vms and then you can say: run vms tagged "db-servers" on host "b", isn't it?
If not I would be happy to file an RFE :)
Am 18.03.2014 16:54, schrieb Meital Bourvine:
Hi Scott,
Click on a vm Edit Show Advanced Options Host "Start Running on"
-- Mit freundlichen Gr=C3=BC=C3=9Fen / Regards
Sven Kieske
Systemadministrator Mittwald CM Service GmbH & Co. KG K=C3=B6nigsberger Stra=C3=9Fe 6 32339 Espelkamp T: +49-5772-293-100 F: +49-5772-293-333 https://www.mittwald.de Gesch=C3=A4ftsf=C3=BChrer: Robert Meyer St.Nr.: 331/5721/1033, USt-IdNr.: DE814773217, HRA 6640, AG Bad Oeynhause= n Komplement=C3=A4rin: Robert Meyer Verwaltungs GmbH, HRB 13260, AG Bad Oey= nhausen _______________________________________________ Users mailing list Users@ovirt.org http://lists.ovirt.org/mailman/listinfo/users
--=_au874q75khcs Content-Type: application/pgp-keys Content-Description: PGP Public Key Content-Disposition: inline Content-Transfer-Encoding: 7bit -----BEGIN PGP PUBLIC KEY BLOCK----- Version: GnuPG v1.2.6 (GNU/Linux) mQGiBEbfI1QRBADVdW9cuyAvTnC21nOF5PN1orkrvE8kGf6I37YY9k4KHzrho+aH K/MACOhgOw2vuluAmxnx3aI82CQdXn0DSi15etvapSE/fqoBypeUfnU1hhq8kZlL N6Gc9584avtlO6+vfKrP8f6pirimmTExvA3mJITlboZDg64yY1rbV8DOwwCgz8/k pVhao/WMco0f5MmZO9CPqG0D/jAjmsR3KoodewzwKF+LXU9G3a/ubtpUn7ktt4s0 xbHjySI/DroJyVJbRfGDIif6Uoor9fJM0t6U2jqJEs+tmvEfMnkU2m3Zp1dFZbXk Qg9mkcXNd0vMQL+YQiNosE6AJhv07vgLCFwybEV/+u1UXvL2IKVGQvrQxrYN2BPu OM9xBACNeTE1b8TOk4xU/0UEAZp8XO1D9YEVizQTxZZVhcoooJAFu4uZIdhXagKK lsNWk6jkjsrb288PsEnMgKTsGkViJ+fbn7VF7rSkVjD52PZey7bFfw+joPpFJ8X5 uLP1P1YPuDfbZxqL4n8IV8Baw5NDEZVJuy/I+8ZeWfdzEeTx3bQiU2NvdHQgT2Nr ZW4gPHNjb3R0QGluZm9idW5rZXIuY29tPohbBBMRAgAbBQJG3yNUBgsJCAcDAgMV AgMDFgIBAh4BAheAAAoJEH7YIuikyNydli0An2mZ8ADawZmzfVM3SqSsgSgNaAs7 AKDH5i/dIc+LQS8LjsOFPCx5U7R817kBDQRG3yNVEAQAzorJIFPmVP46r02Y4IfM NH2f0BAYvOAt3iGXFBf1VfbeztihJZ8SdM2fjK6SX3tstuzohCes7+1+xCiaHlgF BCnQiw7zMC0GDQIhuHI+/41pbjTdSdw11DRUnZchaid3f8ImjidTAdhv2stNJxPl FufmkfgtUCqnDqYnDOdg9WMAAwYD/RvqX2+Bm/vEJIN8RDYfBI3Y3xPwfNL1wECS wHaJvxHTCKasnSRquA7k5GpS8+L1pjyxI/q/jbzVNdgOW1i3p6UZEL05dQhinREt sZMf5SbbCZADOqyekGubiHUDxjgz0cD9echtaUq4pr9thXtRD9ONfOM8SaAhXbH6 Uftb/kSLiEYEGBECAAYFAkbfI1UACgkQftgi6KTI3J0eaACdF3LUjihrLwIdU66u 81MDfuHnsr8AoMFYRGoZ99RHzb7FOpULHCASRRd7 =Hyro -----END PGP PUBLIC KEY BLOCK----- --=_au874q75khcs--

Well I don't think so, the feature I described is still in development, I guess. Am 18.03.2014 17:31, schrieb Scott Ocken:
Sven,
If I tag the VMs as db-servers can I then say run on different hosts.
On the static "Start running on", if that host goes down, it will migrate, yes?
-- Mit freundlichen Grüßen / Regards Sven Kieske Systemadministrator Mittwald CM Service GmbH & Co. KG Königsberger Straße 6 32339 Espelkamp T: +49-5772-293-100 F: +49-5772-293-333 https://www.mittwald.de Geschäftsführer: Robert Meyer St.Nr.: 331/5721/1033, USt-IdNr.: DE814773217, HRA 6640, AG Bad Oeynhausen Komplementärin: Robert Meyer Verwaltungs GmbH, HRB 13260, AG Bad Oeynhausen

I think what the OP is asking for a designation as a "redundant group 1". He may have 10 hosts and 3 VMs in "redundant group 1". He doesn't care which hosts they run on, as long as they are three separate hosts. I can see this as being fairly widely applicable. If you have multiple web servers for load sharing, you don't want them all running on the same host, because VM load is going to peak on them at the same times. oVirt has no way of knowing that unless you give oVirt a hint to spread things around. The web group might also want to split up the server that spreads the jobs around, and a database server used by all the web hosts. I can see easily ending up with a group of 5 machines (3 web servers, a load sharing controller, and a database server) that you want spread across any 5 of the 15 servers in a cluster, because their loads are all going to spike together. You don't want oVirt having to try to migrate some of them during a load spike, because oVirt noticed that a host with 3 of the 5 is overloaded. Not my situation, but one I can see the usefulness of. Ted Miller Elkhart, IN, USA On 3/18/2014 11:54 AM, Meital Bourvine wrote:
Hi Scott,
Click on a vm Edit Show Advanced Options Host "Start Running on"
----- Original Message -----
From: "Scott Ocken" <scott@infobunker.com> To: Users@ovirt.org Sent: Tuesday, March 18, 2014 5:08:24 PM Subject: [Users] Force certain VMs to be on different hosts
Is there a way to have certain VMs to be on different hosts? (assuming there are enough hosts)
IE. I have a db cluster of 3 VMs. I would like each one to always be on different hosts. That way if a host goes down my db cluster is still happy while migration happens. Or if migration fails I am still good.
Thanks Scott
_______________________________________________ Users mailing list Users@ovirt.org http://lists.ovirt.org/mailman/listinfo/users
_______________________________________________ Users mailing list Users@ovirt.org http://lists.ovirt.org/mailman/listinfo/users
-- "He is no fool who gives what he cannot keep, to gain what he cannot lose." - - Jim Elliot For more information about Jim Elliot and his unusual life, see http://www.christianliteratureandliving.com/march2003/carolyn.html. Ted Miller Design Engineer HCJB Global Technology Center, a ministry of Reach Beyond 2830 South 17th St Elkhart, IN 46517 574--970-4272 my desk 574--970-4252 receptionist

This message is in MIME format. --=_4q6m9yk3fn4 Content-Type: text/plain; charset=ISO-8859-1; DelSp="Yes"; format="flowed" Content-Disposition: inline Content-Transfer-Encoding: 7bit Ted, Yes! This is exactly what I was looking for. I think you described it better than I did. This feature would be really nice. Thanks Scott Quoting Ted Miller <tmiller@hcjb.org>:
I think what the OP is asking for a designation as a "redundant group 1". He may have 10 hosts and 3 VMs in "redundant group 1". He doesn't care which hosts they run on, as long as they are three separate hosts.
I can see this as being fairly widely applicable. If you have multiple web servers for load sharing, you don't want them all running on the same host, because VM load is going to peak on them at the same times. oVirt has no way of knowing that unless you give oVirt a hint to spread things around. The web group might also want to split up the server that spreads the jobs around, and a database server used by all the web hosts. I can see easily ending up with a group of 5 machines (3 web servers, a load sharing controller, and a database server) that you want spread across any 5 of the 15 servers in a cluster, because their loads are all going to spike together. You don't want oVirt having to try to migrate some of them during a load spike, because oVirt noticed that a host with 3 of the 5 is overloaded.
Not my situation, but one I can see the usefulness of. Ted Miller Elkhart, IN, USA
On 3/18/2014 11:54 AM, Meital Bourvine wrote:
Hi Scott,
Click on a vm Edit Show Advanced Options Host "Start Running on"
----- Original Message -----
From: "Scott Ocken" <scott@infobunker.com> To: Users@ovirt.org Sent: Tuesday, March 18, 2014 5:08:24 PM Subject: [Users] Force certain VMs to be on different hosts
Is there a way to have certain VMs to be on different hosts? (assuming there are enough hosts)
IE. I have a db cluster of 3 VMs. I would like each one to always be on different hosts. That way if a host goes down my db cluster is still happy while migration happens. Or if migration fails I am still good.
Thanks Scott
_______________________________________________ Users mailing list Users@ovirt.org http://lists.ovirt.org/mailman/listinfo/users
_______________________________________________ Users mailing list Users@ovirt.org http://lists.ovirt.org/mailman/listinfo/users
-- "He is no fool who gives what he cannot keep, to gain what he cannot lose." - - Jim Elliot For more information about Jim Elliot and his unusual life, see http://www.christianliteratureandliving.com/march2003/carolyn.html.
Ted Miller Design Engineer HCJB Global Technology Center, a ministry of Reach Beyond 2830 South 17th St Elkhart, IN 46517 574--970-4272 my desk 574--970-4252 receptionist
_______________________________________________ Users mailing list Users@ovirt.org http://lists.ovirt.org/mailman/listinfo/users
--=_4q6m9yk3fn4 Content-Type: application/pgp-keys Content-Description: PGP Public Key Content-Disposition: inline Content-Transfer-Encoding: 7bit -----BEGIN PGP PUBLIC KEY BLOCK----- Version: GnuPG v1.2.6 (GNU/Linux) mQGiBEbfI1QRBADVdW9cuyAvTnC21nOF5PN1orkrvE8kGf6I37YY9k4KHzrho+aH K/MACOhgOw2vuluAmxnx3aI82CQdXn0DSi15etvapSE/fqoBypeUfnU1hhq8kZlL N6Gc9584avtlO6+vfKrP8f6pirimmTExvA3mJITlboZDg64yY1rbV8DOwwCgz8/k pVhao/WMco0f5MmZO9CPqG0D/jAjmsR3KoodewzwKF+LXU9G3a/ubtpUn7ktt4s0 xbHjySI/DroJyVJbRfGDIif6Uoor9fJM0t6U2jqJEs+tmvEfMnkU2m3Zp1dFZbXk Qg9mkcXNd0vMQL+YQiNosE6AJhv07vgLCFwybEV/+u1UXvL2IKVGQvrQxrYN2BPu OM9xBACNeTE1b8TOk4xU/0UEAZp8XO1D9YEVizQTxZZVhcoooJAFu4uZIdhXagKK lsNWk6jkjsrb288PsEnMgKTsGkViJ+fbn7VF7rSkVjD52PZey7bFfw+joPpFJ8X5 uLP1P1YPuDfbZxqL4n8IV8Baw5NDEZVJuy/I+8ZeWfdzEeTx3bQiU2NvdHQgT2Nr ZW4gPHNjb3R0QGluZm9idW5rZXIuY29tPohbBBMRAgAbBQJG3yNUBgsJCAcDAgMV AgMDFgIBAh4BAheAAAoJEH7YIuikyNydli0An2mZ8ADawZmzfVM3SqSsgSgNaAs7 AKDH5i/dIc+LQS8LjsOFPCx5U7R817kBDQRG3yNVEAQAzorJIFPmVP46r02Y4IfM NH2f0BAYvOAt3iGXFBf1VfbeztihJZ8SdM2fjK6SX3tstuzohCes7+1+xCiaHlgF BCnQiw7zMC0GDQIhuHI+/41pbjTdSdw11DRUnZchaid3f8ImjidTAdhv2stNJxPl FufmkfgtUCqnDqYnDOdg9WMAAwYD/RvqX2+Bm/vEJIN8RDYfBI3Y3xPwfNL1wECS wHaJvxHTCKasnSRquA7k5GpS8+L1pjyxI/q/jbzVNdgOW1i3p6UZEL05dQhinREt sZMf5SbbCZADOqyekGubiHUDxjgz0cD9echtaUq4pr9thXtRD9ONfOM8SaAhXbH6 Uftb/kSLiEYEGBECAAYFAkbfI1UACgkQftgi6KTI3J0eaACdF3LUjihrLwIdU66u 81MDfuHnsr8AoMFYRGoZ99RHzb7FOpULHCASRRd7 =Hyro -----END PGP PUBLIC KEY BLOCK----- --=_4q6m9yk3fn4--

Ted,
Yes! This is exactly what I was looking for. I think you described it better than I did. This feature would be really nice.
Thanks Scott
Quoting Ted Miller <tmiller@hcjb.org>:
I think what the OP is asking for a designation as a "redundant group 1". He may have 10 hosts and 3 VMs in "redundant group 1". He doesn't care which hosts they run on, as long as they are three separate hosts.
I can see this as being fairly widely applicable. If you have multiple web servers for load sharing, you don't want them all running on the same host, because VM load is going to peak on them at the same times. oVirt has no way of knowing that unless you give oVirt a hint to spread things around. The web group might also want to split up the server that spreads the jobs around, and a database server used by all the web hosts. I can see easily ending up with a group of 5 machines (3 web servers, a load sharing controller, and a database server) that you want spread across any 5 of the 15 servers in a cluster, because their loads are all going to spike together. You don't want oVirt having to try to migrate some of them during a load spike, because oVirt noticed that a host with 3 of the 5 is overloaded.
Not my situation, but one I can see the usefulness of. Ted Miller Elkhart, IN, USA
On 3/18/2014 11:54 AM, Meital Bourvine wrote:
Hi Scott,
Click on a vm Edit Show Advanced Options Host "Start Running on"
----- Original Message -----
From: "Scott Ocken" <scott@infobunker.com> To: Users@ovirt.org Sent: Tuesday, March 18, 2014 5:08:24 PM Subject: [Users] Force certain VMs to be on different hosts
Is there a way to have certain VMs to be on different hosts? (assuming there are enough hosts)
IE. I have a db cluster of 3 VMs. I would like each one to always be on different hosts. That way if a host goes down my db cluster is still happy while migration happens. Or if migration fails I am still good.
Thanks Scott
Ted Miller It looks like the Negative Affinity/Anti-Affinity feature that Itamar Hein
Scott On 3/19/2014 10:30 AM, Scott Ocken wrote: pointed out in his email, with a feature page at http://www.ovirt.org/Features/VM-Affinity includes what you are trying to do. This is in 3.4, which in the QA process now. Ted Miller Elkhart, IN, USA

----- Original Message -----
From: "Ted Miller" <tmiller@hcjb.org> To: users@ovirt.org Sent: Monday, March 24, 2014 8:27:31 PM Subject: Re: [Users] Force certain VMs to be on different hosts
Scott
Ted,
Yes! This is exactly what I was looking for. I think you described it better than I did. This feature would be really nice.
Thanks Scott
Quoting Ted Miller <tmiller@hcjb.org>:
I think what the OP is asking for a designation as a "redundant group 1". He may have 10 hosts and 3 VMs in "redundant group 1". He doesn't care which hosts they run on, as long as they are three separate hosts.
I can see this as being fairly widely applicable. If you have multiple web servers for load sharing, you don't want them all running on the same host, because VM load is going to peak on them at the same times. oVirt has no way of knowing that unless you give oVirt a hint to spread things around. The web group might also want to split up the server that spreads the jobs around, and a database server used by all the web hosts. I can see easily ending up with a group of 5 machines (3 web servers, a load sharing controller, and a database server) that you want spread across any 5 of the 15 servers in a cluster, because their loads are all going to spike together. You don't want oVirt having to try to migrate some of them during a load spike, because oVirt noticed that a host with 3 of the 5 is overloaded.
Not my situation, but one I can see the usefulness of. Ted Miller Elkhart, IN, USA
On 3/18/2014 11:54 AM, Meital Bourvine wrote:
Hi Scott,
Click on a vm Edit Show Advanced Options Host "Start Running on"
----- Original Message -----
From: "Scott Ocken" <scott@infobunker.com> To: Users@ovirt.org Sent: Tuesday, March 18, 2014 5:08:24 PM Subject: [Users] Force certain VMs to be on different hosts
Is there a way to have certain VMs to be on different hosts? (assuming there are enough hosts)
IE. I have a db cluster of 3 VMs. I would like each one to always be on different hosts. That way if a host goes down my db cluster is still happy while migration happens. Or if migration fails I am still good.
Thanks Scott
Ted Miller It looks like the Negative Affinity/Anti-Affinity feature that Itamar Hein
On 3/19/2014 10:30 AM, Scott Ocken wrote: pointed out in his email, with a feature page at http://www.ovirt.org/Features/VM-Affinity includes what you are trying to do.
+1 :-)
This is in 3.4, which in the QA process now.
As far as I know this feature is fully tested and verified for version 3.4. I'd love for feedback! and would like to assist in anything :)
Ted Miller Elkhart, IN, USA
_______________________________________________ Users mailing list Users@ovirt.org http://lists.ovirt.org/mailman/listinfo/users

On 25-3-2014 13:47, Gilad Chaplik wrote:
----- Original Message ----- As far as I know this feature is fully tested and verified for version 3.4. I'd love for feedback! and would like to assist in anything :) I tried it and was suprised about the following: made an positive affinity group with two vms in it, then tried to migrate one vm and got a rather surprising and not quite helpful message. I expected that the second vm would be migrated after the first was done but the message is about something on the receiving host not being in working order. Sorry my memory is a bit vague about it. Will try later to day and reproduce if needed.
Is what I describe possible/planned? Regards, Joop

Hi Joop, You've created a positive enforcing affinity group -> means that VMs should stay on the same host, no migration allowed while more than one VM is up. What you're requesting is a useful RFE, some-kind of a 'follow me' positive affinity group. I'm +1 on that :-) can you please open a formal request/RFE for it? https://bugzilla.redhat.com/enter_bug.cgi?product=oVirt Thanks, Gilad. ----- Original Message -----
From: "noc" <noc@nieuwland.nl> To: users@ovirt.org Sent: Monday, March 31, 2014 3:31:45 PM Subject: Re: [Users] Force certain VMs to be on different hosts
On 25-3-2014 13:47, Gilad Chaplik wrote:
----- Original Message ----- As far as I know this feature is fully tested and verified for version 3.4. I'd love for feedback! and would like to assist in anything :) I tried it and was suprised about the following: made an positive affinity group with two vms in it, then tried to migrate one vm and got a rather surprising and not quite helpful message. I expected that the second vm would be migrated after the first was done but the message is about something on the receiving host not being in working order. Sorry my memory is a bit vague about it. Will try later to day and reproduce if needed.
Is what I describe possible/planned?
Regards,
Joop
_______________________________________________ Users mailing list Users@ovirt.org http://lists.ovirt.org/mailman/listinfo/users

Gilad Chaplik wrote:
Hi Joop,
You've created a positive enforcing affinity group -> means that VMs should stay on the same host, no migration allowed while more than one VM is up. What you're requesting is a useful RFE, some-kind of a 'follow me' positive affinity group. I'm +1 on that :-) can you please open a formal request/RFE for it? https://bugzilla.redhat.com/enter_bug.cgi?product=oVirt
BZ opened: https://bugzilla.redhat.com/show_bug.cgi?id=1084518 Have read somewhere on the list that it should be possible to tag such a request as a FutureFeature but couldn't find it when creating the entry. Please feel free to move it and educate me! Regards, Joop

----- Original Message -----
From: "Joop" <jvdwege@xs4all.nl> To: "Gilad Chaplik" <gchaplik@redhat.com> Cc: users@ovirt.org Sent: Friday, April 4, 2014 5:44:11 PM Subject: Re: [Users] Force certain VMs to be on different hosts
Gilad Chaplik wrote:
Hi Joop,
You've created a positive enforcing affinity group -> means that VMs should stay on the same host, no migration allowed while more than one VM is up. What you're requesting is a useful RFE, some-kind of a 'follow me' positive affinity group. I'm +1 on that :-) can you please open a formal request/RFE for it? https://bugzilla.redhat.com/enter_bug.cgi?product=oVirt
BZ opened: https://bugzilla.redhat.com/show_bug.cgi?id=1084518
Have read somewhere on the list that it should be possible to tag such a request as a FutureFeature but couldn't find it when creating the entry. Please feel free to move it and educate me!
np :-), check out the bug (thanks Itamar).
Regards,
Joop

Hi Scott, Don't want to get in deep into the thread... Does Affinity Groups feature what you're after (sounds like negative affinity) ? http://www.ovirt.org/Features/VM-Affinity Thanks, Gilad. ----- Original Message -----
From: "Scott Ocken" <scott@infobunker.com> To: Users@ovirt.org Sent: Tuesday, March 18, 2014 5:08:24 PM Subject: [Users] Force certain VMs to be on different hosts
Is there a way to have certain VMs to be on different hosts? (assuming there are enough hosts)
IE. I have a db cluster of 3 VMs. I would like each one to always be on different hosts. That way if a host goes down my db cluster is still happy while migration happens. Or if migration fails I am still good.
Thanks Scott
_______________________________________________ Users mailing list Users@ovirt.org http://lists.ovirt.org/mailman/listinfo/users

On 03/23/2014 11:16 AM, Gilad Chaplik wrote:
Hi Scott,
Don't want to get in deep into the thread... Does Affinity Groups feature what you're after (sounds like negative affinity) ?
(worth mentioning this is available in 3.4)
Thanks, Gilad.
----- Original Message -----
From: "Scott Ocken" <scott@infobunker.com> To: Users@ovirt.org Sent: Tuesday, March 18, 2014 5:08:24 PM Subject: [Users] Force certain VMs to be on different hosts
Is there a way to have certain VMs to be on different hosts? (assuming there are enough hosts)
IE. I have a db cluster of 3 VMs. I would like each one to always be on different hosts. That way if a host goes down my db cluster is still happy while migration happens. Or if migration fails I am still good.
Thanks Scott
_______________________________________________ Users mailing list Users@ovirt.org http://lists.ovirt.org/mailman/listinfo/users
_______________________________________________ Users mailing list Users@ovirt.org http://lists.ovirt.org/mailman/listinfo/users
participants (8)
-
Gilad Chaplik
-
Itamar Heim
-
Joop
-
Meital Bourvine
-
noc
-
Scott Ocken
-
Sven Kieske
-
Ted Miller