Hi Suresh,
You would need to connect the two OVN instances somehow. If it's just two single hosts, I think the easiest way would be to create a VPN connection between the two hosts with OpenVPN or the like and then add the tun/tap interfaces into the OVN on each box. You might run into problems if you start adding more hosts though, as if the host with the VPN goes down it would disconnect the two datacenters.
If the two datacenters are on the same physical network (ie, you just mean oVirt datacenter and not different colocation providers) then adding a VLAN to the NICs connected to the OVN interface would work. You would probably have to setup some sort of channel bonding/LACP as you add more hosts, but OVN should be able to handle that simply enough.
On 2017-04-20 07:33 PM, users-request@ovirt.org wrote:
Date: Thu, 20 Apr 2017 14:43:26 -0400
From: Linov Suresh <linov.suresh@gmail.com>
To: users@ovirt.org
Subject: [ovirt-users] Communicate between the guest vm's hosted on
different hosts on different data centres using OVS
Message-ID:
<CALdvvBP6MwbKa-P=q-UeZHMayZ3YPRpjersL0u=2srG=pcCnkQ@mail. gmail.com >
Content-Type: text/plain; charset="utf-8"
Hello,
I have configured OVS network on oVirt 4.1.1, following the document
https://www.ovirt.org/blog/2016/11/ovirt-provider-ovn/
I have created OVN Provider, and created new Logical Network for OVS using
OVN Provider. I have synced the network also selected OVS when I created
the cluster.
I have two data centres and each data centre has one host each.
Now I have created VM's selecting OVS network (not ovirtmgmt). VM's in the
same data centre can talk to each other.
How do i make the VM's hosted on different data centre can talk to each
other?
Appreciate your help in advance,
Sincerely,
Suresh.