<div dir="ltr">I have created a separate network for 10G network and made central server part of it. After that configured the OVN controller using vdsm-tool<div><br></div><div>vdsm-tool ovn-config <OVN central server IP> <local IP used for OVN tunneling></div><div><br></div><div>Then added OVN provider to oVirt as an external network provider and created a new network based on OVS. Now the new VM's we create use this new network. <br></div><div class="gmail_extra"><div><div class="gmail_signature" data-smartmail="gmail_signature"><div dir="ltr"><div dir="ltr"><div style="background-color:rgb(255,255,255)"><div><br></div><div>Thanks for your help!</div></div></div></div></div></div>
<br><div class="gmail_quote">On Fri, Apr 21, 2017 at 5:39 AM, Charles Tassell <span dir="ltr"><<a href="mailto:ctassell@gmail.com" target="_blank">ctassell@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div text="#000000" bgcolor="#FFFFFF">
<div class="m_-2403169513370103285moz-cite-prefix">Hmm, so you have 2 10G ports on each
host. 1 port is currently in use with oVirt, and the other
isn't? Then I think you just add a new network in the Networks
tab called OVNLink, then go into the Hosts tab, click on each host
and then on the Network Interfaces tab in the bottom of the window
and assign the unused 10G network device to that link.<br>
<br>
I haven't used OVN with oVirt, but that would work with regular
networking so I think it should work with OVN.<br>
<br>
If the link is already in use, you should be able to do the same
thing only when you add the new network set it up with a VLAN ID.
If you are going through a switch then the switch will have to be
setup to handle the VLANs.<div><div class="h5"><br>
<br>
<br>
On 2017-04-20 10:07 PM, Linov Suresh wrote:<br>
</div></div></div><div><div class="h5">
<blockquote type="cite">
<div dir="ltr">Hi Charles,
<div><br>
</div>
<div>
<div>We use an Ethernet cable to connect between the hosts
through 10G port. </div>
<div><br>
</div>
<div>We want to use the guest VM's hosted on different hosts
10G network. oVirt already supports SR-IOV. So we should
guest 10G speed for our VM's. </div>
<div><br>
</div>
<div>In KVM we can create a second bridge and add the 10G
interface to the bridge would do the trick. </div>
<div><br>
</div>
<div>But in oVirt how do we do this? We want to use our OVs
network, which was created using OVN Provider. </div>
</div>
<div class="gmail_extra"><br clear="all">
<div>
<div class="m_-2403169513370103285gmail_signature" data-smartmail="gmail_signature">
<div dir="ltr">
<div dir="ltr">
<div style="background-color:rgb(255,255,255)">
<ul>
<div style="color:rgb(34,34,34);font-family:arial,sans-serif;font-size:13px;line-height:normal">Linov
Suresh</div>
<div style="color:rgb(34,34,34);font-family:arial,sans-serif;font-size:13px;line-height:normal"><br>
</div>
</ul>
</div>
</div>
</div>
</div>
</div>
<br>
<div class="gmail_quote">On Thu, Apr 20, 2017 at 6:59 PM,
Charles Tassell <span dir="ltr"><<a href="mailto:ctassell@gmail.com" target="_blank">ctassell@gmail.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Hi
Suresh,<br>
<br>
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.<br>
<br>
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.<br>
<br>
On 2017-04-20 07:33 PM, <a href="mailto:users-request@ovirt.org" target="_blank">users-request@ovirt.org</a>
wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
Date: Thu, 20 Apr 2017 14:43:26 -0400<br>
From: Linov Suresh <<a href="mailto:linov.suresh@gmail.com" target="_blank">linov.suresh@gmail.com</a>><br>
To: <a href="mailto:users@ovirt.org" target="_blank">users@ovirt.org</a><br>
Subject: [ovirt-users] Communicate between the guest
vm's hosted on<br>
different hosts on different data centres using
OVS<br>
Message-ID:<br>
<CALdvvBP6MwbKa-P=q-UeZHMayZ3Y<wbr>PRpjersL0u=2srG=<a href="mailto:pcCnkQ@mail.gmail.com" target="_blank">pcCnkQ@mail.gm<wbr>ail.com</a>><br>
Content-Type: text/plain; charset="utf-8"<br>
<br>
Hello,<br>
<br>
I have configured OVS network on oVirt 4.1.1, following
the document<br>
<a href="https://www.ovirt.org/blog/2016/11/ovirt-provider-ovn/" rel="noreferrer" target="_blank">https://www.ovirt.org/blog/201<wbr>6/11/ovirt-provider-ovn/</a><br>
<br>
I have created OVN Provider, and created new Logical
Network for OVS using<br>
OVN Provider. I have synced the network also selected
OVS when I created<br>
the cluster.<br>
<br>
I have two data centres and each data centre has one
host each.<br>
<br>
Now I have created VM's selecting OVS network (not
ovirtmgmt). VM's in the<br>
same data centre can talk to each other.<br>
<br>
How do i make the VM's hosted on different data centre
can talk to each<br>
other?<br>
<br>
Appreciate your help in advance,<br>
<br>
Sincerely,<br>
<br>
Suresh.<br>
</blockquote>
<br>
</blockquote>
</div>
<br>
</div>
</div>
</blockquote>
<p><br>
</p>
</div></div></div>
</blockquote></div><br></div></div>