[Users] Multiple network interfaces on engine?

<div>It works fine for a minute or so after rebooting Engine, but then the= configuration is changed by Engine, connecting both interfaces to bond0 an= d losing connectivity (as obviously you can't bond those two interfaces whe= n they are connected to separate physical networks..).<br></div><div>What i= s the mechanism doing this, and it is possible to disable this automatic ne= twork bonding on the engine so that we can use separate networks on the net= work interfaces..?</div><div> <br></div><div>Rickard<br></div><div><br></di= v><div><span name=3D"x"></span><div><strong></strong><span style=3D"font-si= ze: small;" data-mce-style=3D"font-size: small;" size=3D"2"><span style=3D"= font-size: small;" data-mce-style=3D"font-size: small;" size=3D"2"><span st= yle=3D"font-weight: bold;" data-mce-style=3D"font-weight: bold;"></span></s=
------=_Part_185106_980955163.1379930065055 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit Hi, 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. It works fine for a minute or so after rebooting Engine, but then the configuration is changed by Engine, connecting both interfaces to bond0 and losing connectivity (as obviously you can't bond those two interfaces when they are connected to separate physical networks..). What is the mechanism doing this, and it is possible to disable this automatic network bonding on the engine so that we can use separate networks on the network interfaces..? Rickard ------=_Part_185106_980955163.1379930065055 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>Hi,</div><div><br></div><div>I want to use = two network interfaces connected to different networks in Engine (3.3), whe= re one is for ovirtmgmt and one is for a separate storage network.<br></div= pan></span><br></div></div></div></body></html> ------=_Part_185106_980955163.1379930065055--

On 09/23/2013 12:54 PM, Rickard Kristiansson wrote:
Hi,
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. It works fine for a minute or so after rebooting Engine, but then the configuration is changed by Engine, connecting both interfaces to bond0 and losing connectivity (as obviously you can't bond those two interfaces when they are connected to separate physical networks..). What is the mechanism doing this,
please see this [1]. [1] http://www.ovirt.org/Features/Design/Network/SetupNetworks
and it is possible to disable this automatic network bonding on the engine so that we can use separate networks on the network interfaces..?
attaching logs would help, but i guess it happen cause you did not saved your host network config, i.e when host got rebooted, it performs roll-back to old config, this is actually disaster recovery mechanism.
Rickard
**
_______________________________________________ Users mailing list Users@ovirt.org http://lists.ovirt.org/mailman/listinfo/users
-- Michael Pasternak RedHat, ENG-Virtualization R&D

------=_Part_186006_1191647089.1379933423659 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Thanks Michael,=20 I'm still trying to get my head around this, but I can't see how I configur= e the networks on the engine?=20 For nodes and AOI it's OK, but in my case I am running the engine as a sepa= rate server which is not a node and does not show up as a Host in the GUI.= =20 Or do I need to add the engine as a host in the GUI as well, to be able to = configure it?=20 ----- Ursprungligt meddelande ----- 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 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 E= ngine (3.3), where one is for ovirtmgmt and one is for a separate storage n= etwork.=20 It works fine for a minute or so after rebooting Engine, but then the con= figuration is changed by Engine, connecting both interfaces to bond0 and lo= sing connectivity (as=20 obviously you can't bond those two interfaces when they are connected to = separate physical networks..).=20 What is the mechanism doing this,=20
please see this [1].=20 [1] http://www.ovirt.org/Features/Design/Network/SetupNetworks=20
and it is possible to disable this automatic network bonding on the engin= e so that we can use separate networks on the network interfaces..?=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-back= =20 to old config, this is actually disaster recovery mechanism.=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
<div><br></div>> and it is possible to disable this automatic network b= onding on the engine so that we can use separate networks on the network in= terfaces..?<br><div><br></div>attaching logs would help, but i guess it hap=
--=20 Michael Pasternak=20 RedHat, ENG-Virtualization R&D=20 ------=_Part_186006_1191647089.1379933423659 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>Thanks Michael,<br></div><div><br></div><di= v>I'm still trying to get my head around this, but I can't see how I config= ure the networks on the engine?</div><div>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 a= nd does not show up as a Host in the GUI.<br></div><div>Or do I need to add= the engine as a host in the GUI as well, to be able to configure it?<br></= div><div><br></div><div><br></div><hr id=3D"zwchr"><div style=3D"color:#000= ;font-weight:normal;font-style:normal;text-decoration:none;font-family:Helv= etica,Arial,sans-serif;font-size:12pt;" data-mce-style=3D"color: #000; font= -weight: normal; font-style: normal; text-decoration: none; font-family: He= lvetica,Arial,sans-serif; font-size: 12pt;"><b>Fr=C3=A5n: </b>"Michael Past= ernak" <mpastern@redhat.com><br><b>Till: </b>"Rickard Kristiansson" &= lt;rickard@sanuksystems.com><br><b>Kopia: </b>users@ovirt.org<br><b>Skic= kat: </b>m=C3=A5ndag, 23 sep 2013 12:21:40<br><b>=C3=84mne: </b>Re: [Users]= Multiple network interfaces on engine?<br><div><br></div>On 09/23/2013 12:= 54 PM, Rickard Kristiansson wrote:<br>> Hi,<br>> <br>> I want to u= se 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>&g= t; It works fine for a minute or so after rebooting Engine, but then the co= nfiguration is changed by Engine, connecting both interfaces to bond0 and l= osing connectivity (as<br>> obviously you can't bond those two interface= s when they are connected to separate physical networks..).<br>> What is= the mechanism doing this, <br><div><br></div>please see this [1].<br><div>= <br></div>[1] http://www.ovirt.org/Features/Design/Network/SetupNetworks<br= pen cause you did not saved<br>your host network config, i.e when host got = rebooted, it performs roll-back<br>to old config, this is actually disaster= recovery mechanism.<br><div><br></div>> <br>> Rickard<br>> <br>&g= t; **<br>> <br>> <br>> ___________________________________________= ____<br>> Users mailing list<br>> Users@ovirt.org<br>> http://list= s.ovirt.org/mailman/listinfo/users<br>> <br><div><br></div><br>-- <br><d= iv><br></div>Michael Pasternak<br>RedHat, ENG-Virtualization R&D<br></d= iv><div><br></div></div></body></html> ------=_Part_186006_1191647089.1379933423659--

On Mon, 2013-09-23 at 12:50 +0200, Rickard Kristiansson wrote:
Thanks Michael,
I'm still trying to get my head around this, but I can't see how I configure the networks on the engine? 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 show up as a Host in the GUI.
Does your engine really need access to the storage? ovirtmgmt network should be sufficient in most cases. You can configure the network of engine using your favorite editor and edit/create /etc/sysconfig/network-scripts/ifcfg-* files... Regards, René
Or do I need to add the engine as a host in the GUI as well, to be able to configure it?
______________________________________________________________________ Från: "Michael Pasternak" <mpastern@redhat.com> Till: "Rickard Kristiansson" <rickard@sanuksystems.com> Kopia: users@ovirt.org Skickat: måndag, 23 sep 2013 12:21:40 Ämne: Re: [Users] Multiple network interfaces on engine?
Hi,
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. It works fine for a minute or so after rebooting Engine, but then
On 09/23/2013 12:54 PM, Rickard Kristiansson wrote: the configuration is changed by Engine, connecting both interfaces to bond0 and losing connectivity (as
obviously you can't bond those two interfaces when they are connected to separate physical networks..). What is the mechanism doing this,
please see this [1].
[1] http://www.ovirt.org/Features/Design/Network/SetupNetworks
and it is possible to disable this automatic network bonding on the engine so that we can use separate networks on the network interfaces..?
attaching logs would help, but i guess it happen cause you did not saved your host network config, i.e when host got rebooted, it performs roll-back to old config, this is actually disaster recovery mechanism.
Rickard
**
_______________________________________________ Users mailing list Users@ovirt.org http://lists.ovirt.org/mailman/listinfo/users
--
Michael Pasternak RedHat, ENG-Virtualization R&D
_______________________________________________ Users mailing list Users@ovirt.org http://lists.ovirt.org/mailman/listinfo/users

On 09/23/2013 01:53 PM, René Koch (ovido) wrote:
On Mon, 2013-09-23 at 12:50 +0200, Rickard Kristiansson wrote:
Thanks Michael,
I'm still trying to get my head around this, but I can't see how I configure the networks on the engine? 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 show up as a Host in the GUI.
Does your engine really need access to the storage? ovirtmgmt network should be sufficient in most cases.
You can configure the network of engine using your favorite editor and edit/create /etc/sysconfig/network-scripts/ifcfg-* files...
I'd avoid doing this, changing network config behind the engine's back is not supported and may cause re-config on reboot on which Rickard originally complained.
Regards, René
Or do I need to add the engine as a host in the GUI as well, to be able to configure it?
______________________________________________________________________ Från: "Michael Pasternak" <mpastern@redhat.com> Till: "Rickard Kristiansson" <rickard@sanuksystems.com> Kopia: users@ovirt.org Skickat: måndag, 23 sep 2013 12:21:40 Ämne: Re: [Users] Multiple network interfaces on engine?
Hi,
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. It works fine for a minute or so after rebooting Engine, but then
On 09/23/2013 12:54 PM, Rickard Kristiansson wrote: the configuration is changed by Engine, connecting both interfaces to bond0 and losing connectivity (as
obviously you can't bond those two interfaces when they are connected to separate physical networks..). What is the mechanism doing this,
please see this [1].
[1] http://www.ovirt.org/Features/Design/Network/SetupNetworks
and it is possible to disable this automatic network bonding on the engine so that we can use separate networks on the network interfaces..?
attaching logs would help, but i guess it happen cause you did not saved your host network config, i.e when host got rebooted, it performs roll-back to old config, this is actually disaster recovery mechanism.
Rickard
**
_______________________________________________ Users mailing list Users@ovirt.org http://lists.ovirt.org/mailman/listinfo/users
--
Michael Pasternak RedHat, ENG-Virtualization R&D
_______________________________________________ Users mailing list Users@ovirt.org http://lists.ovirt.org/mailman/listinfo/users
-- Michael Pasternak RedHat, ENG-Virtualization R&D

On Mon, 2013-09-23 at 14:14 +0300, Michael Pasternak wrote:
On 09/23/2013 01:53 PM, René Koch (ovido) wrote:
On Mon, 2013-09-23 at 12:50 +0200, Rickard Kristiansson wrote:
Thanks Michael,
I'm still trying to get my head around this, but I can't see how I configure the networks on the engine? 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 show up as a Host in the GUI.
Does your engine really need access to the storage? ovirtmgmt network should be sufficient in most cases.
You can configure the network of engine using your favorite editor and edit/create /etc/sysconfig/network-scripts/ifcfg-* files...
I'd avoid doing this, changing network config behind the engine's back is not supported and may cause re-config on reboot on which Rickard originally complained.
I totally agree that configuring the network directly on the hosts should be avoided. I think I misunderstood the issue of Rickard - I thought he has issues configuring network for the engine itself. But (after reading your last email with your suggestions) the question is how to define logical networks in engine and deploy config on hosts (if this is the case please don't do any configuration manually with an editor.)
Regards, René
Or do I need to add the engine as a host in the GUI as well, to be able to configure it?
______________________________________________________________________ Från: "Michael Pasternak" <mpastern@redhat.com> Till: "Rickard Kristiansson" <rickard@sanuksystems.com> Kopia: users@ovirt.org Skickat: måndag, 23 sep 2013 12:21:40 Ämne: Re: [Users] Multiple network interfaces on engine?
Hi,
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. It works fine for a minute or so after rebooting Engine, but then
On 09/23/2013 12:54 PM, Rickard Kristiansson wrote: the configuration is changed by Engine, connecting both interfaces to bond0 and losing connectivity (as
obviously you can't bond those two interfaces when they are connected to separate physical networks..). What is the mechanism doing this,
please see this [1].
[1] http://www.ovirt.org/Features/Design/Network/SetupNetworks
and it is possible to disable this automatic network bonding on the engine so that we can use separate networks on the network interfaces..?
attaching logs would help, but i guess it happen cause you did not saved your host network config, i.e when host got rebooted, it performs roll-back to old config, this is actually disaster recovery mechanism.
Rickard
**
_______________________________________________ Users mailing list Users@ovirt.org http://lists.ovirt.org/mailman/listinfo/users
--
Michael Pasternak RedHat, ENG-Virtualization R&D
_______________________________________________ Users mailing list Users@ovirt.org http://lists.ovirt.org/mailman/listinfo/users

On 09/23/2013 02:24 PM, René Koch (ovido) wrote:
On Mon, 2013-09-23 at 14:14 +0300, Michael Pasternak wrote:
On 09/23/2013 01:53 PM, René Koch (ovido) wrote:
On Mon, 2013-09-23 at 12:50 +0200, Rickard Kristiansson wrote:
Thanks Michael,
I'm still trying to get my head around this, but I can't see how I configure the networks on the engine? 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 show up as a Host in the GUI.
Does your engine really need access to the storage? ovirtmgmt network should be sufficient in most cases.
You can configure the network of engine using your favorite editor and edit/create /etc/sysconfig/network-scripts/ifcfg-* files...
I'd avoid doing this, changing network config behind the engine's back is not supported and may cause re-config on reboot on which Rickard originally complained.
I totally agree that configuring the network directly on the hosts should be avoided.
I think I misunderstood the issue of Rickard - I thought he has issues configuring network for the engine itself.
i'm afraid that i'm the one who misunderstood his question :)
But (after reading your last email with your suggestions) the question is how to define logical networks in engine and deploy config on hosts (if this is the case please don't do any configuration manually with an editor.)
Regards, René
Or do I need to add the engine as a host in the GUI as well, to be able to configure it?
______________________________________________________________________ Från: "Michael Pasternak" <mpastern@redhat.com> Till: "Rickard Kristiansson" <rickard@sanuksystems.com> Kopia: users@ovirt.org Skickat: måndag, 23 sep 2013 12:21:40 Ämne: Re: [Users] Multiple network interfaces on engine?
Hi,
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. It works fine for a minute or so after rebooting Engine, but then
On 09/23/2013 12:54 PM, Rickard Kristiansson wrote: the configuration is changed by Engine, connecting both interfaces to bond0 and losing connectivity (as
obviously you can't bond those two interfaces when they are connected to separate physical networks..). What is the mechanism doing this,
please see this [1].
[1] http://www.ovirt.org/Features/Design/Network/SetupNetworks
and it is possible to disable this automatic network bonding on the engine so that we can use separate networks on the network interfaces..?
attaching logs would help, but i guess it happen cause you did not saved your host network config, i.e when host got rebooted, it performs roll-back to old config, this is actually disaster recovery mechanism.
Rickard
**
_______________________________________________ Users mailing list Users@ovirt.org http://lists.ovirt.org/mailman/listinfo/users
--
Michael Pasternak RedHat, ENG-Virtualization R&D
_______________________________________________ Users mailing list Users@ovirt.org http://lists.ovirt.org/mailman/listinfo/users
-- Michael Pasternak RedHat, ENG-Virtualization R&D

On 09/23/2013 01:50 PM, Rickard Kristiansson wrote:
Thanks Michael,
I'm still trying to get my head around this, but I can't see how I configure the networks on the engine? 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 show up as a Host in the GUI. Or do I need to add the engine as a host in the GUI as well, to be able to configure it?
IIUC your question, you have various options: 1. GUI 2. SDKs 3. CLI you need to create network in DC, attach it to cluster, attach to host NIC/s (if you want it to be atomic operation, i.e you expect connectivity loss during the operation/s, setupnetworks should be used, otherwise you can use attach-network dialogues in UI)
---------------------------------------------------------------------------------------------------------------------------------------------------------------------------- *Från: *"Michael Pasternak" <mpastern@redhat.com> *Till: *"Rickard Kristiansson" <rickard@sanuksystems.com> *Kopia: *users@ovirt.org *Skickat: *måndag, 23 sep 2013 12:21:40 *Ämne: *Re: [Users] Multiple network interfaces on engine?
On 09/23/2013 12:54 PM, Rickard Kristiansson wrote:
Hi,
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. It works fine for a minute or so after rebooting Engine, but then the configuration is changed by Engine, connecting both interfaces to bond0 and losing connectivity (as obviously you can't bond those two interfaces when they are connected to separate physical networks..). What is the mechanism doing this,
please see this [1].
[1] http://www.ovirt.org/Features/Design/Network/SetupNetworks
and it is possible to disable this automatic network bonding on the engine so that we can use separate networks on the network interfaces..?
attaching logs would help, but i guess it happen cause you did not saved your host network config, i.e when host got rebooted, it performs roll-back to old config, this is actually disaster recovery mechanism.
Rickard
**
_______________________________________________ Users mailing list Users@ovirt.org http://lists.ovirt.org/mailman/listinfo/users
--
Michael Pasternak RedHat, ENG-Virtualization R&D
-- Michael Pasternak RedHat, ENG-Virtualization R&D
participants (3)
-
Michael Pasternak
-
René Koch (ovido)
-
Rickard Kristiansson