----- Original Message ----- > From: "Markus Stockhausen" <[email protected]> > To: "Trey Dockendorf" <[email protected]>, "Arman Khalatyan" > <[email protected]> > Cc: "users" <[email protected]> > Sent: Sunday, October 19, 2014 9:05:33 PM > Subject: Re: [ovirt-users] How to add custom lines in to host interface? > > > Von: [email protected] [[email protected]]" im Auftrag von > > "Trey Dockendorf [[email protected]] > > 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" <[email protected]> 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 > > [email protected] > > http://lists.ovirt.org/mailman/listinfo/users > > > > > > > > > > _______________________________________________ > Users mailing list > [email protected] > http://lists.ovirt.org/mailman/listinfo/users > _______________________________________________ Users mailing list [email protected] http://lists.ovirt.org/mailman/listinfo/users

