----- Original Message -----
From: "Markus Stockhausen" <stockhausen(a)collogia.de>
To: "Trey Dockendorf" <treydock(a)gmail.com>, "Arman Khalatyan"
<arm2arm(a)gmail.com>
Cc: "users" <users(a)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(a)ovirt.org [users-bounces(a)ovirt.org]" im Auftrag von
> "Trey Dockendorf [treydock(a)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(a)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(a)ovirt.org
http://lists.ovirt.org/mailman/listinfo/users
_______________________________________________
Users mailing list
Users(a)ovirt.org
http://lists.ovirt.org/mailman/listinfo/users