Re: [Users] Multiple network interfaces on engine?

2013-09-23 Thread Rickard Kristiansson
OK, thanks. Then I'm happy with the explanations that it is supposed to work 
the way I initially expected.. 
That all operations are actually carried out on the nodes is good news, and 
should solve all worries. 

I'll go back and see what is actually going wrong on the engine and try to fix 
it. 
I'd love to reinstall the engine, but as I can't find any documentation on how 
to reliably move configs from one engine to another, and I was brave enough to 
already put ovirt into production with a number of hypervisors, I'm somewhat 
limited to what I can/dare to do. 


- Ursprungligt meddelande -



I have also more than one interface in my Engine but never had this problem, I 
don't have a ovirtmgmt network on my Engine hosts thats not needed. I can 
understand the need for the engine server to have a nic/ip in the managment 
network AND a nic/ip in the storage network. I also have a separate 
access/public network and ilo network. 
It looks like you have a bond defined somewhere and it looks like you have vdsm 
running on your engine server. 

Just looking at my two engine servers and none has more than one ip. The one in 
the test setup doesn't even have storage assigned and doesn't need it. It sends 
mount commands to the hosts which DO have a separate storage network. My engine 
hosts don't host the iso/export domains so don't need to be in the storage 
network. 

If you have the possibility, go back to a bare machine with NetworkManager 
turned off and network turned on. Make sure networking is working as expected, 
eth0=ip in managment, eth1= ip in storage. Install/setup ovirt-engine-setup, 
don't install vdsm (gets installed if you do allinone!) and things should 
'just' work. 

Regards, 

Joop 


___ 
Users mailing list 
Users@ovirt.org 
http://lists.ovirt.org/mailman/listinfo/users 

___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


Re: [Users] Multiple network interfaces on engine?

2013-09-23 Thread Michael Pasternak

is it possible that you have all-in-one installed and have both the engine
and host on a same machine?

On 09/23/2013 04:05 PM, Itamar Heim wrote:
> On 09/23/2013 02:41 PM, Rickard Kristiansson wrote:
>> OK. Maybe I'm asking for something irrelevant, but to answer René'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 when configuring
>> mapping. So to be able to configure a NFS server, the Engine needs to be
>> connected also to the storage network.
> 
> engine does not need to be connected to storage network. it does all storage 
> access via the hosts.
> 
>> It worked fine after manually tweaking the sysconfig/network-scripts,
>> but this config was then shortly overridden by Engine discovering and
>> trying to use the second NIC for bonding with ovirtmgmt.
> 
> the engine isn't trying to bond by itself. have you bonded the interfaces on 
> the host setup-network dialog?
> 
>>
>> 
>> *Från: *"Michael Pasternak" 
>> *Till: *"Rickard Kristiansson" ,
>> users@ovirt.org, "Oved Ourfalli" 
>> *Kopia: *"Ohad Levy" 
>> *Skickat: *måndag, 23 sep 2013 13:35:40
>> *Ämne: *Re: [Users] Multiple network interfaces on engine?
>>
>> On 09/23/2013 02:23 PM, Rickard Kristiansson wrote:
>>  > Hmm.. yes, I do have the storage network configured in DC and
>> Cluster, and also attached to all my hypervisors.
>>  > The question is just how I also attach it to the Engine server, as
>> this isn't visible as a node in the GUI?
>>
>> i think this could be done with puppet, afaik some work for integrating
>> it to
>> oVirt been done lately, though not sure if it's already available,
>>
>> oved?
>>
>>  >
>>  >
>>  >
>> --------------------
>>  > *Från: *"Michael Pasternak" 
>>  > *Till: *"Rickard Kristiansson" 
>>  > *Kopia: *users@ovirt.org, "\"René \"Koch (ovido)\"\"" 
>>  > *Skickat: *måndag, 23 sep 2013 13:20:06
>>  > *Ämne: *Re: [Users] Multiple network interfaces on engine?
>>  >
>>  > 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" 
>>  >> *Till: *"Rickard Kristiansson" 
>>  >> *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 netwo

Re: [Users] Multiple network interfaces on engine?

2013-09-23 Thread Joop

Rickard Kristiansson wrote:
OK. Maybe I'm asking for something irrelevant, but to answer René'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 when 
configuring mapping. So to be able to configure a NFS server, the 
Engine needs to be connected also to the storage network.
It worked fine after manually tweaking the sysconfig/network-scripts, 
but this config was then shortly overridden by Engine discovering and 
trying to use the second NIC for bonding with ovirtmgmt.
I have also more than one interface in my Engine but never had this 
problem, I don't have a ovirtmgmt network on my Engine hosts thats not 
needed. I can understand the need for the engine server to have a nic/ip 
in the managment network AND a nic/ip in the storage network. I also 
have a separate access/public network and ilo network.
It looks like you have a bond defined somewhere and it looks like you 
have vdsm running on your engine server.


Just looking at my two engine servers and none has more than one ip. The 
one in the test setup doesn't even have storage assigned and doesn't 
need it. It sends mount commands to the hosts which DO have a separate 
storage network. My engine hosts don't host the iso/export domains so 
don't need to be in the storage network.


If you have the possibility, go back to a bare machine with 
NetworkManager turned off and network turned on. Make sure networking is 
working as expected, eth0=ip in managment, eth1= ip in storage. 
Install/setup ovirt-engine-setup, don't install vdsm (gets installed if 
you do allinone!) and things should 'just' work.


Regards,

Joop

___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


Re: [Users] Multiple network interfaces on engine?

2013-09-23 Thread Itamar Heim

On 09/23/2013 02:41 PM, Rickard Kristiansson wrote:

OK. Maybe I'm asking for something irrelevant, but to answer René'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 when configuring
mapping. So to be able to configure a NFS server, the Engine needs to be
connected also to the storage network.


engine does not need to be connected to storage network. it does all 
storage access via the hosts.



It worked fine after manually tweaking the sysconfig/network-scripts,
but this config was then shortly overridden by Engine discovering and
trying to use the second NIC for bonding with ovirtmgmt.


the engine isn't trying to bond by itself. have you bonded the 
interfaces on the host setup-network dialog?





*Från: *"Michael Pasternak" 
*Till: *"Rickard Kristiansson" ,
users@ovirt.org, "Oved Ourfalli" 
*Kopia: *"Ohad Levy" 
*Skickat: *måndag, 23 sep 2013 13:35:40
*Ämne: *Re: [Users] Multiple network interfaces on engine?

On 09/23/2013 02:23 PM, Rickard Kristiansson wrote:
 > Hmm.. yes, I do have the storage network configured in DC and
Cluster, and also attached to all my hypervisors.
 > The question is just how I also attach it to the Engine server, as
this isn't visible as a node in the GUI?

i think this could be done with puppet, afaik some work for integrating
it to
oVirt been done lately, though not sure if it's already available,

oved?

 >
 >
 >

 > *Från: *"Michael Pasternak" 
 > *Till: *"Rickard Kristiansson" 
 > *Kopia: *users@ovirt.org, "\"René \"Koch (ovido)\"\"" 
 > *Skickat: *måndag, 23 sep 2013 13:20:06
 > *Ämne: *Re: [Users] Multiple network interfaces on engine?
 >
 > 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" 
 >> *Till: *"Rickard Kristiansson" 
 >> *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
 >


--

Michael Pasternak
RedHat, ENG-Virtualization R&D



___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users



___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


Re: [Users] Multiple network interfaces on engine?

2013-09-23 Thread Oved Ourfalli


- Original Message -
> From: "Michael Pasternak" 
> To: "Rickard Kristiansson" , users@ovirt.org, "Oved 
> Ourfalli" 
> Cc: "Ohad Levy" 
> Sent: Monday, September 23, 2013 2:35:40 PM
> Subject: Re: [Users] Multiple network interfaces on engine?
> 
> On 09/23/2013 02:23 PM, Rickard Kristiansson wrote:
> > Hmm.. yes, I do have the storage network configured in DC and Cluster, and
> > also attached to all my hypervisors.
> > The question is just how I also attach it to the Engine server, as this
> > isn't visible as a node in the GUI?
> 
> i think this could be done with puppet, afaik some work for integrating it to
> oVirt been done lately, though not sure if it's already available,
> 
> oved?
> 

Not sure I understand the use-case, but currently the integration doesn't allow 
provisioning of any kind on hosts.

Oved

> > 
> > 
> > 
> > *Från: *"Michael Pasternak" 
> > *Till: *"Rickard Kristiansson" 
> > *Kopia: *users@ovirt.org, "\"René \"Koch (ovido)\"\"" 
> > *Skickat: *måndag, 23 sep 2013 13:20:06
> > *Ämne: *Re: [Users] Multiple network interfaces on engine?
> > 
> > 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" 
> >> *Till: *"Rickard Kristiansson" 
> >> *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
> > 
> 
> 
> --
> 
> Michael Pasternak
> RedHat, ENG-Virtualization R&D
> ___
> Users mailing list
> Users@ovirt.org
> http://lists.ovirt.org/mailman/listinfo/users
> 
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


Re: [Users] Multiple network interfaces on engine?

2013-09-23 Thread Rickard Kristiansson
OK. Maybe I'm asking for something irrelevant, but to answer René'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 when configuring mapping. So to be able to configure 
a NFS server, the Engine needs to be connected also to the storage network. 
It worked fine after manually tweaking the sysconfig/network-scripts, but this 
config was then shortly overridden by Engine discovering and trying to use the 
second NIC for bonding with ovirtmgmt. 

- Ursprungligt meddelande -

Från: "Michael Pasternak"  
Till: "Rickard Kristiansson" , users@ovirt.org, "Oved 
Ourfalli"  
Kopia: "Ohad Levy"  
Skickat: måndag, 23 sep 2013 13:35:40 
Ämne: Re: [Users] Multiple network interfaces on engine? 

On 09/23/2013 02:23 PM, Rickard Kristiansson wrote: 
> Hmm.. yes, I do have the storage network configured in DC and Cluster, and 
> also attached to all my hypervisors. 
> The question is just how I also attach it to the Engine server, as this isn't 
> visible as a node in the GUI? 

i think this could be done with puppet, afaik some work for integrating it to 
oVirt been done lately, though not sure if it's already available, 

oved? 

> 
> 
> 
>  
> *Från: *"Michael Pasternak"  
> *Till: *"Rickard Kristiansson"  
> *Kopia: *users@ovirt.org, "\"René \"Koch (ovido)\"\""  
> *Skickat: *måndag, 23 sep 2013 13:20:06 
> *Ämne: *Re: [Users] Multiple network interfaces on engine? 
> 
> 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"  
>> *Till: *"Rickard Kristiansson"  
>> *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 
> 


-- 

Michael Pasternak 
RedHat, ENG-Virtualization R&D 

___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


Re: [Users] Multiple network interfaces on engine?

2013-09-23 Thread Michael Pasternak
On 09/23/2013 02:23 PM, Rickard Kristiansson wrote:
> Hmm.. yes, I do have the storage network configured in DC and Cluster, and 
> also attached to all my hypervisors.
> The question is just how I also attach it to the Engine server, as this isn't 
> visible as a node in the GUI?

i think this could be done with puppet, afaik some work for integrating it to
oVirt been done lately, though not sure if it's already available,

oved?

> 
> 
> 
> *Från: *"Michael Pasternak" 
> *Till: *"Rickard Kristiansson" 
> *Kopia: *users@ovirt.org, "\"René \"Koch (ovido)\"\"" 
> *Skickat: *måndag, 23 sep 2013 13:20:06
> *Ämne: *Re: [Users] Multiple network interfaces on engine?
> 
> 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" 
>> *Till: *"Rickard Kristiansson" 
>> *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
> 


-- 

Michael Pasternak
RedHat, ENG-Virtualization R&D
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


Re: [Users] Multiple network interfaces on engine?

2013-09-23 Thread Michael Pasternak
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" 
>>>> Till: "Rickard Kristiansson" 
>>>> 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
>>>>
>>>>
>>>>
>>>> ___
>>>> 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


Re: [Users] Multiple network interfaces on engine?

2013-09-23 Thread Koch (ovido)

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" 
> >> Till: "Rickard Kristiansson" 
> >> 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
> >>
> >>
> >>
> >> ___
> >> Users mailing list
> >> Users@ovirt.org
> >> http://lists.ovirt.org/mailman/listinfo/users
> > 
> 
> 

___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


Re: [Users] Multiple network interfaces on engine?

2013-09-23 Thread Michael Pasternak
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" 
> *Till: *"Rickard Kristiansson" 
> *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
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


Re: [Users] Multiple network interfaces on engine?

2013-09-23 Thread Michael Pasternak
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" 
>> Till: "Rickard Kristiansson" 
>> 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
>>
>>
>>
>> ___
>> 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


Re: [Users] Multiple network interfaces on engine?

2013-09-23 Thread Koch (ovido)

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" 
> Till: "Rickard Kristiansson" 
> 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
> 
> 
> 
> ___
> Users mailing list
> Users@ovirt.org
> http://lists.ovirt.org/mailman/listinfo/users

___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


Re: [Users] Multiple network interfaces on engine?

2013-09-23 Thread Rickard Kristiansson
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? 


- Ursprungligt meddelande -

Från: "Michael Pasternak"  
Till: "Rickard Kristiansson"  
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 

___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


Re: [Users] Multiple network interfaces on engine?

2013-09-23 Thread Michael Pasternak
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
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


[Users] Multiple network interfaces on engine?

2013-09-23 Thread Rickard Kristiansson
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 


___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users