Re: [ovirt-users] How to add custom lines in to host interface?

2014-10-22 Thread Antoni Segura Puimedon


- Original Message -
 From: Markus Stockhausen stockhau...@collogia.de
 To: Trey Dockendorf treyd...@gmail.com, Arman Khalatyan 
 arm2...@gmail.com
 Cc: users users@ovirt.org
 Sent: Sunday, October 19, 2014 9:05:33 PM
 Subject: Re: [ovirt-users] How to add custom lines in to host interface?
 
  Von: users-boun...@ovirt.org [users-boun...@ovirt.org] im Auftrag von
  Trey Dockendorf [treyd...@gmail.com]
  Gesendet: Sonntag, 19. Oktober 2014 20:43
  An: Arman Khalatyan
  Cc: users
  Betreff: Re: [ovirt-users] How to add custom lines in to host interface?
  
  I'd be interested in this too.  I currently set CONNECTED_MODE
  outside of ovirt using Puppet, and have no tried this with 3.5 as
  yet to upgrade.  Having full 65K MTU is key on my IB fabric and
   using iSER benefits from maintaining that value.
 
 IIRC vdsm controls all interfaces starting from 3.5 (unified persistence).

All the interfaces that were configured via the oVirt engine or vdsm (those will
have a '#generated by vdsm' kind of header. So writing to them is pointless
due to reboots.

 So a hook in /usr/libexec/vdsm/hooks/before_vdsm_start might be the
 best choice. An educated guess would be:

Yes, that's a good choice of hooking point. If you are configuring them with
oVirt, you could also make a after_network_setup hook that did as below.

 
 #!/bin/sh
 echo connected  /sys/class/net/ib0/mode
 echo connected  /sys/class/net/ib1/mode
 
 Markus
 
  - Trey
  
  On Oct 19, 2014 10:11 AM, Arman Khalatyan arm2...@gmail.com wrote:
  
  
  Hi,
  
  
  I need to add following line in the hosts ifcfg-ib0 interface:
  
  ---
  CONNECTED_MODE=yes
  
  MTU=65520
  
  IPV6INIT=no
  
  ---
  From the web Interface I can change only custom  MTU.
  
  IB interface supports big MTUs only if it is in the connected mode.
  
  
  Are there way to set it during the deployment/upgrade process?
  Thanks,
  Arman.
 
 
 
 
 
 
 ___
 
 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
 
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


[ovirt-users] How to add custom lines in to host interface?

2014-10-19 Thread Arman Khalatyan
Hi,
I need to add following line in the hosts ifcfg-ib0 interface:
---
CONNECTED_MODE=yes
MTU=65520
IPV6INIT=no
---
From the web Interface I can change only custom  MTU.
IB interface supports big MTUs only if it is in the connected mode.

Are there way to set it during the deployment/upgrade process?
Thanks,
Arman.
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


Re: [ovirt-users] How to add custom lines in to host interface?

2014-10-19 Thread Trey Dockendorf
I'd be interested in this too.  I currently set CONNECTED_MODE outside of
ovirt using Puppet, and have no tried this with 3.5 as yet to upgrade.
Having full 65K MTU is key on my IB fabric and using iSER benefits from
maintaining that value.

- Trey
On Oct 19, 2014 10:11 AM, Arman Khalatyan arm2...@gmail.com wrote:

 Hi,
 I need to add following line in the hosts ifcfg-ib0 interface:
 ---
 CONNECTED_MODE=yes
 MTU=65520
 IPV6INIT=no
 ---
 From the web Interface I can change only custom  MTU.
 IB interface supports big MTUs only if it is in the connected mode.

 Are there way to set it during the deployment/upgrade process?
 Thanks,
 Arman.


 ___
 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: [ovirt-users] How to add custom lines in to host interface?

2014-10-19 Thread Markus Stockhausen
 Von: users-boun...@ovirt.org [users-boun...@ovirt.org] im Auftrag von Trey 
 Dockendorf [treyd...@gmail.com]
 Gesendet: Sonntag, 19. Oktober 2014 20:43
 An: Arman Khalatyan
 Cc: users
 Betreff: Re: [ovirt-users] How to add custom lines in to host interface?
 
 I'd be interested in this too.  I currently set CONNECTED_MODE 
 outside of ovirt using Puppet, and have no tried this with 3.5 as 
 yet to upgrade.  Having full 65K MTU is key on my IB fabric and 
  using iSER benefits from maintaining that value.

IIRC vdsm controls all interfaces starting from 3.5 (unified persistence). 
So a hook in /usr/libexec/vdsm/hooks/before_vdsm_start might be the 
best choice. An educated guess would be:

#!/bin/sh
echo connected  /sys/class/net/ib0/mode
echo connected  /sys/class/net/ib1/mode

Markus

 - Trey
 
 On Oct 19, 2014 10:11 AM, Arman Khalatyan arm2...@gmail.com wrote:
 
 
 Hi,
 
 
 I need to add following line in the hosts ifcfg-ib0 interface:
 
 ---
 CONNECTED_MODE=yes
 
 MTU=65520
 
 IPV6INIT=no
 
 ---
 From the web Interface I can change only custom  MTU.
 
 IB interface supports big MTUs only if it is in the connected mode.
 
 
 Are there way to set it during the deployment/upgrade process? 
 Thanks,
 Arman.






___

Users mailing list

Users@ovirt.org

http://lists.ovirt.org/mailman/listinfo/users









Diese E-Mail enthält vertrauliche und/oder rechtlich geschützte
Informationen. Wenn Sie nicht der richtige Adressat sind oder diese E-Mail
irrtümlich erhalten haben, informieren Sie bitte sofort den Absender und
vernichten Sie diese Mail. Das unerlaubte Kopieren sowie die unbefugte
Weitergabe dieser Mail ist nicht gestattet.

Über das Internet versandte E-Mails können unter fremden Namen erstellt oder
manipuliert werden. Deshalb ist diese als E-Mail verschickte Nachricht keine
rechtsverbindliche Willenserklärung.

Collogia
Unternehmensberatung AG
Ubierring 11
D-50678 Köln

Vorstand:
Kadir Akin
Dr. Michael Höhnerbach

Vorsitzender des Aufsichtsrates:
Hans Kristian Langva

Registergericht: Amtsgericht Köln
Registernummer: HRB 52 497

This e-mail may contain confidential and/or privileged information. If you
are not the intended recipient (or have received this e-mail in error)
please notify the sender immediately and destroy this e-mail. Any
unauthorized copying, disclosure or distribution of the material in this
e-mail is strictly forbidden.

e-mails sent over the internet may have been written under a wrong name or
been manipulated. That is why this message sent as an e-mail is not a
legally binding declaration of intention.

Collogia
Unternehmensberatung AG
Ubierring 11
D-50678 Köln

executive board:
Kadir Akin
Dr. Michael Höhnerbach

President of the supervisory board:
Hans Kristian Langva

Registry office: district court Cologne
Register number: HRB 52 497


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