
23 Sep
2013
23 Sep
'13
11:41 a.m.
------=_Part_186583_54263086.1379936476704 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable OK. Maybe I'm asking for something irrelevant, but to answer Ren=C3=A9's qu= estion; The use case is that there are two separate physical networks for g= eneral IP and storage IP, and Engine seems to require to be able to reach t= he NFS server to validate the connection when configuring mapping. So to be= able to configure a NFS server, the Engine needs to be connected also to t= he storage network.=20 It worked fine after manually tweaking the sysconfig/network-scripts, but t= his config was then shortly overridden by Engine discovering and trying to = use the second NIC for bonding with ovirtmgmt.=20 ----- Ursprungligt meddelande ----- Fr=C3=A5n: "Michael Pasternak" <mpastern@redhat.com>=20 Till: "Rickard Kristiansson" <rickard@sanuksystems.com>, users@ovirt.org, "= Oved Ourfalli" <ovedo@redhat.com>=20 Kopia: "Ohad Levy" <olevy@redhat.com>=20 Skickat: m=C3=A5ndag, 23 sep 2013 13:35:40=20 =C3=84mne: Re: [Users] Multiple network interfaces on engine?=20 On 09/23/2013 02:23 PM, Rickard Kristiansson wrote:=20 > Hmm.. yes, I do have the storage network configured in DC and Cluster, an= d also attached to all my hypervisors.=20 > The question is just how I also attach it to the Engine server, as this i= sn't visible as a node in the GUI?=20 i think this could be done with puppet, afaik some work for integrating it = to=20 oVirt been done lately, though not sure if it's already available,=20 oved?=20 >=20 >=20 > -------------------------------------------------------------------------= ---------------------------------------------------------------------------= ------------------------=20 > *Fr=C3=A5n: *"Michael Pasternak" <mpastern@redhat.com>=20 > *Till: *"Rickard Kristiansson" <rickard@sanuksystems.com>=20 > *Kopia: *users@ovirt.org, "\"Ren=C3=A9 \"Koch (ovido)\"\"" <r.koch@ovido.= at>=20 > *Skickat: *m=C3=A5ndag, 23 sep 2013 13:20:06=20 > *=C3=84mne: *Re: [Users] Multiple network interfaces on engine?=20 >=20 > On 09/23/2013 01:50 PM, Rickard Kristiansson wrote:=20 >> Thanks Michael,=20 >>=20 >> I'm still trying to get my head around this, but I can't see how I confi= gure the networks on the engine?=20 >> For nodes and AOI it's OK, but in my case I am running the engine as a s= eparate server which is not a node and does not show up as a Host in the GU= I.=20 >> Or do I need to add the engine as a host in the GUI as well, to be able = to configure it?=20 >=20 > IIUC your question, you have various options:=20 >=20 > 1. GUI=20 > 2. SDKs=20 > 3. CLI=20 >=20 > you need to create network in DC, attach it to cluster, attach to host NI= C/s (if you want it to be=20 > atomic operation, i.e you expect connectivity loss during the operation/s= , setupnetworks should be used,=20 > otherwise you can use attach-network dialogues in UI)=20 >=20 >>=20 >>=20 >> ------------------------------------------------------------------------= ---------------------------------------------------------------------------= -------------------------=20 >> *Fr=C3=A5n: *"Michael Pasternak" <mpastern@redhat.com>=20 >> *Till: *"Rickard Kristiansson" <rickard@sanuksystems.com>=20 >> *Kopia: *users@ovirt.org=20 >> *Skickat: *m=C3=A5ndag, 23 sep 2013 12:21:40=20 >> *=C3=84mne: *Re: [Users] Multiple network interfaces on engine?=20 >>=20 >> On 09/23/2013 12:54 PM, Rickard Kristiansson wrote:=20 >>> Hi,=20 >>>=20 >>> I want to use two network interfaces connected to different networks in= Engine (3.3), where one is for ovirtmgmt and one is for a separate storage= network.=20 >>> It works fine for a minute or so after rebooting Engine, but then the c= onfiguration is changed by Engine, connecting both interfaces to bond0 and = losing connectivity (as=20 >>> obviously you can't bond those two interfaces when they are connected t= o separate physical networks..).=20 >>> What is the mechanism doing this,=20 >>=20 >> please see this [1].=20 >>=20 >> [1] http://www.ovirt.org/Features/Design/Network/SetupNetworks=20 >>=20 >>> and it is possible to disable this automatic network bonding on the eng= ine so that we can use separate networks on the network interfaces..?=20 >>=20 >> attaching logs would help, but i guess it happen cause you did not saved= =20 >> your host network config, i.e when host got rebooted, it performs roll-b= ack=20 >> to old config, this is actually disaster recovery mechanism.=20 >>=20 >>>=20 >>> Rickard=20 >>>=20 >>> **=20 >>>=20 >>>=20 >>> _______________________________________________=20 >>> Users mailing list=20 >>> Users@ovirt.org=20 >>> http://lists.ovirt.org/mailman/listinfo/users=20 >>>=20 >>=20 >>=20 >> --=20 >>=20 >> Michael Pasternak=20 >> RedHat, ENG-Virtualization R&D=20 >>=20 >=20 >=20 > --=20 >=20 > Michael Pasternak=20 > RedHat, ENG-Virtualization R&D=20 >=20 --=20 Michael Pasternak=20 RedHat, ENG-Virtualization R&D=20 ------=_Part_186583_54263086.1379936476704 Content-Type: text/html; charset=utf-8 Content-Transfer-Encoding: quoted-printable <html><body><div style=3D"font-family: Arial, Helvetica, sans-serif; font-s= ize: 12pt; color: #000000"><div>OK. Maybe I'm asking for something irreleva= nt, but to answer Ren=C3=A9's question; The use case is that there are two = separate physical networks for general IP and storage IP, and Engine seems = to require to be able to reach the NFS server to validate the connection wh= en configuring mapping. So to be able to configure a NFS server, the Engine= needs to be connected also to the storage network.<br></div><div>It worked= fine after manually tweaking the sysconfig/network-scripts, but this confi= g was then shortly overridden by Engine discovering and trying to use the s= econd NIC for bonding with ovirtmgmt. <br></div><div><br></div><hr id=3D"zw= chr"><div style=3D"color:#000;font-weight:normal;font-style:normal;text-dec= oration:none;font-family:Helvetica,Arial,sans-serif;font-size:12pt;" data-m= ce-style=3D"color: #000; font-weight: normal; font-style: normal; text-deco= ration: none; font-family: Helvetica,Arial,sans-serif; font-size: 12pt;"><b= >Fr=C3=A5n: </b>"Michael Pasternak" <mpastern@redhat.com><br><b>Till:= </b>"Rickard Kristiansson" <rickard@sanuksystems.com>, users@ovirt.o= rg, "Oved Ourfalli" <ovedo@redhat.com><br><b>Kopia: </b>"Ohad Levy" &= lt;olevy@redhat.com><br><b>Skickat: </b>m=C3=A5ndag, 23 sep 2013 13:35:4= 0<br><b>=C3=84mne: </b>Re: [Users] Multiple network interfaces on engine?<b= r><div><br></div>On 09/23/2013 02:23 PM, Rickard Kristiansson wrote:<br>>= ; Hmm.. yes, I do have the storage network configured in DC and Cluster, an= d also attached to all my hypervisors.<br>> The question is just how I a= lso attach it to the Engine server, as this isn't visible as a node in the = GUI?<br><div><br></div>i think this could be done with puppet, afaik some w= ork for integrating it to<br>oVirt been done lately, though not sure if it'= s already available,<br><div><br></div>oved?<br><div><br></div>> <br>>= ; <br>> ----------------------------------------------------------------= ---------------------------------------------------------------------------= ---------------------------------<br>> *Fr=C3=A5n: *"Michael Pasternak" = <mpastern@redhat.com><br>> *Till: *"Rickard Kristiansson" <rick= ard@sanuksystems.com><br>> *Kopia: *users@ovirt.org, "\"Ren=C3=A9 \"K= och (ovido)\"\"" <r.koch@ovido.at><br>> *Skickat: *m=C3=A5ndag, 23= sep 2013 13:20:06<br>> *=C3=84mne: *Re: [Users] Multiple network interf= aces on engine?<br>> <br>> On 09/23/2013 01:50 PM, Rickard Kristianss= on wrote:<br>>> Thanks Michael,<br>>><br>>> I'm still try= ing to get my head around this, but I can't see how I configure the network= s on the engine?<br>>> For nodes and AOI it's OK, but in my case I am= running the engine as a separate server which is not a node and does not s= how up as a Host in the GUI.<br>>> Or do I need to add the engine as = a host in the GUI as well, to be able to configure it?<br>> <br>> IIU= C your question, you have various options:<br>> <br>> 1. GUI<br>> = 2. SDKs<br>> 3. CLI<br>> <br>> you need to create network in DC, a= ttach it to cluster, attach to host NIC/s (if you want it to be<br>> ato= mic operation, i.e you expect connectivity loss during the operation/s, set= upnetworks should be used,<br>> otherwise you can use attach-network dia= logues in UI)<br>> <br>>><br>>><br>>> ----------------= ---------------------------------------------------------------------------= ---------------------------------------------------------------------------= ------<br>>> *Fr=C3=A5n: *"Michael Pasternak" <mpastern@redhat.com= ><br>>> *Till: *"Rickard Kristiansson" <rickard@sanuksystems.co= m><br>>> *Kopia: *users@ovirt.org<br>>> *Skickat: *m=C3=A5nd= ag, 23 sep 2013 12:21:40<br>>> *=C3=84mne: *Re: [Users] Multiple netw= ork interfaces on engine?<br>>><br>>> On 09/23/2013 12:54 PM, R= ickard Kristiansson wrote:<br>>>> Hi,<br>>>><br>>>&= gt; I want to use two network interfaces connected to different networks in= Engine (3.3), where one is for ovirtmgmt and one is for a separate storage= network.<br>>>> It works fine for a minute or so after rebooting = Engine, but then the configuration is changed by Engine, connecting both in= terfaces to bond0 and losing connectivity (as<br>>>> obviously you= can't bond those two interfaces when they are connected to separate physic= al networks..).<br>>>> What is the mechanism doing this,<br>>&g= t;<br>>> please see this [1].<br>>><br>>> [1] http://www.= ovirt.org/Features/Design/Network/SetupNetworks<br>>><br>>>>= and it is possible to disable this automatic network bonding on the engine= so that we can use separate networks on the network interfaces..?<br>>&= gt;<br>>> attaching logs would help, but i guess it happen cause you = did not saved<br>>> your host network config, i.e when host got reboo= ted, it performs roll-back<br>>> to old config, this is actually disa= ster recovery mechanism.<br>>><br>>>><br>>>> Rickar= d<br>>>><br>>>> **<br>>>><br>>>><br>>= ;>> _______________________________________________<br>>>> U= sers mailing list<br>>>> Users@ovirt.org<br>>>> http://li= sts.ovirt.org/mailman/listinfo/users<br>>>><br>>><br>>>= ;<br>>> --<br>>><br>>> Michael Pasternak<br>>> RedH= at, ENG-Virtualization R&D<br>>><br>> <br>> <br>> -- <br= >> <br>> Michael Pasternak<br>> RedHat, ENG-Virtualization R&D= <br>> <br><div><br></div><br>-- <br><div><br></div>Michael Pasternak<br>= RedHat, ENG-Virtualization R&D<br></div><div><br></div></div></body></h= tml> ------=_Part_186583_54263086.1379936476704--