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

Markus Stockhausen stockhausen at collogia.de
Sun Oct 19 19:05:33 UTC 2014


> Von: users-bounces at ovirt.org [users-bounces at ovirt.org]" im Auftrag von "Trey Dockendorf [treydock at 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" <arm2arm at 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 at ovirt.org

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








-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: InterScan_Disclaimer.txt
URL: <http://lists.ovirt.org/pipermail/users/attachments/20141019/a75cc26e/attachment-0001.txt>


More information about the Users mailing list