How to add custom lines in to host interface?

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.

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" <arm2arm@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

This is a multi-part message in MIME format. ------=_NextPartTM-000-c181621f-52d3-48f3-ac5c-aeeaa3952783 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable
Von: users-bounces@ovirt.org [users-bounces@ovirt.org]" im Auftrag von "T= rey Dockendorf [treydock@gmail.com]=0A= Gesendet: Sonntag, 19. Oktober 2014 20:43=0A= An: Arman Khalatyan=0A= Cc: users=0A= Betreff: Re: [ovirt-users] How to add custom lines in to host interface?= =0A= =0A= I'd be interested in this too. I currently set CONNECTED_MODE =0A= outside of ovirt using Puppet, and have no tried this with 3.5 as =0A= yet to upgrade. Having full 65K MTU is key on my IB fabric and =0A= using iSER benefits from maintaining that value.=0A= =0A= IIRC vdsm controls all interfaces starting from 3.5 (unified persistence). = =0A= So a hook in /usr/libexec/vdsm/hooks/before_vdsm_start might be the =0A= best choice. An educated guess would be:=0A= =0A= #!/bin/sh=0A= echo connected > /sys/class/net/ib0/mode=0A= echo connected > /sys/class/net/ib1/mode=0A= =0A= Markus=0A= =0A= - Trey=0A= =0A= On Oct 19, 2014 10:11 AM, "Arman Khalatyan" <arm2arm@gmail.com> wrote:=0A= =0A= =0A= Hi,=0A= =0A= =0A= I need to add following line in the hosts ifcfg-ib0 interface:=0A= =0A= ---------------------------------------=0A= CONNECTED_MODE=3Dyes=0A= =0A= MTU=3D65520=0A= =0A= IPV6INIT=3Dno=0A= =0A= ---------------------------------------=0A= From the web Interface I can change only custom MTU.=0A= =0A= IB interface supports big MTUs only if it is in the "connected mode".=0A= =0A= =0A= Are there way to set it during the deployment/upgrade process? =0A= Thanks,=0A= Arman.=0A= =0A= =0A= =0A= =0A= =0A= =0A= _______________________________________________=0A= =0A= Users mailing list=0A= =0A= Users@ovirt.org=0A= =0A= http://lists.ovirt.org/mailman/listinfo/users=0A= =0A= =0A= =0A= =0A= =0A= =0A= =0A= =0A= ------=_NextPartTM-000-c181621f-52d3-48f3-ac5c-aeeaa3952783 Content-Type: text/plain; name="InterScan_Disclaimer.txt" Content-Transfer-Encoding: 7bit Content-Disposition: attachment; filename="InterScan_Disclaimer.txt"
**************************************************************************** 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 **************************************************************************** ------=_NextPartTM-000-c181621f-52d3-48f3-ac5c-aeeaa3952783--

----- Original Message -----
From: "Markus Stockhausen" <stockhausen@collogia.de> To: "Trey Dockendorf" <treydock@gmail.com>, "Arman Khalatyan" <arm2arm@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-bounces@ovirt.org [users-bounces@ovirt.org]" im Auftrag von "Trey Dockendorf [treydock@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" <arm2arm@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
participants (4)
-
Antoni Segura Puimedon
-
Arman Khalatyan
-
Markus Stockhausen
-
Trey Dockendorf