[ovirt-users] Recommended Ovirt Implementation on Active-Active Datacenters (Site 1 and Site2) - Same Cluster
Ondra Machacek
omachace at redhat.com
Thu Nov 24 18:47:31 UTC 2016
There are examples of how to work with affinity labels in Python SDK
version 4, if you are interested:
-
https://github.com/oVirt/ovirt-engine-sdk/blob/master/sdk/examples/add_affinity_label.py
-
https://github.com/oVirt/ovirt-engine-sdk/blob/master/sdk/examples/assign_affinity_label_to_vm.py
-
https://github.com/oVirt/ovirt-engine-sdk/blob/master/sdk/examples/list_affinity_labels.py
On 11/24/2016 07:28 PM, Rogério Ceni Coelho wrote:
> Thanks Roy. I will try.
>
> Em qui, 24 de nov de 2016 às 13:01, Roy Golan <rgolan at redhat.com
> <mailto:rgolan at redhat.com>> escreveu:
>
> Affinity labels [1] will allow you to label the hosts and vms to
> site1 and site2 and that should be it.
>
> - create label per site
> - add the redpective label to each vm and host
>
> Unfortunately there is no UI for that but with SDK or rest it's easy
>
> [1] https://www.ovirt.org/blog/2016/07/affinity-labels/
>
>
> On Nov 24, 2016 3:12 PM, "Rogério Ceni Coelho"
> <rogeriocenicoelho at gmail.com <mailto:rogeriocenicoelho at gmail.com>>
> wrote:
>
> Hi Ovirt Jedi´s !!!
>
> First of all, congrats about the product !!! I love Ovirt !!!
>
> I am using Ovirt 4.0.4 with 10 hosts and 58 virtual machines on
> two Active-Active Datacenters using two EMC Vplex + two EMC
> VNX5500 + eight Dell Blades + 8 Dell PowerEdge M610 and two M620
> Servers.
>
> Half servers are on Site 1 and Half servers on Site 2. The same
> with VMs. All Sites work as one and have redundant network,
> storage, power, etc etc etc ...
>
> I want to know what is the best way to set that VM number 1 runs
> on Site 1 and VM number 2 runs on Site 2 ?
>
> On Vmware 5.1 we use DRS Group Manager and on Hyper-V we use
> Custom Properties on hosts and on VMs. What we use on oVirt
> without segregate on two different Datacenters or two different
> clusters ?
>
> Thanks in advance.
>
> _______________________________________________
> Users mailing list
> Users at ovirt.org <mailto:Users at ovirt.org>
> http://lists.ovirt.org/mailman/listinfo/users
>
>
>
> _______________________________________________
> Users mailing list
> Users at ovirt.org
> http://lists.ovirt.org/mailman/listinfo/users
>
More information about the Users
mailing list