Re: [xcat-user] Setting MTU
Hi Christopher, In my example, "confignics -s" can configure MTU=9000 correctly: postscripts]# lsdef bybc0607 -i ip,nicextraparams.eth0,nicnetworks.eth0,nictypes.eth0 Object name: bybc0607 ip=10.5.106.7 nicextraparams.eth0=MTU=9000 nicnetworks.eth0=10_0_0_0-255_0_0_0 nictypes.eth0=Ethernet Currently, confignics use nicextraparams to configure MTU value. The MTU in network table is used in ip from DHCP. Best Regards -- Yuan Bai (白媛) CSTL HPC System Management Development Tel:86-10-82451401 E-mail: by...@cn.ibm.com Address: IBM ZGC Campus. Ring Building 28, ZhongGuanCun Software Park,No.8 Dong Bei Wang West Road, Haidian District, Beijing P.R.China 100193 IBM环宇大厦 北京市海淀区东北旺西路8号,中关村软件园28号楼 邮编:100193 From: Yuan Y Bai/China/IBM@IBMCN To: xCAT Users Mailing list <xcat-user@lists.sourceforge.net> Date: 02/22/2017 01:39 PM Subject: Re: [xcat-user] Setting MTU Hi Christopher, "nicextraparams.ens1f0=MTU=9000" and set the MTU of 9000 in the networks table, then DHCP now correctly sets the MTU to be 9000; MTU in the networks table can configure network from DHCP. If you want to set MTU as static, you should use nicextraparams.ens1f0=MTU=9000 in nics table; Currently, confignics use nicextraparams to configure static attribute in ifcfg-*; Best Regards -- Yuan Bai (白媛) CSTL HPC System Management Development Tel:86-10-82451401 E-mail: by...@cn.ibm.com Address: IBM ZGC Campus. Ring Building 28, ZhongGuanCun Software Park,No.8 Dong Bei Wang West Road, Haidian District, Beijing P.R.China 100193 IBM环宇大厦 北京市海淀区东北旺西路8号,中关村软件园28号楼 邮编:100193 Inactive hide details for "Christopher J. Walker" ---02/21/2017 07:30:55 PM---I'm trying to configure the MTU to be 9000 for Ce"Christopher J. Walker" ---02/21/2017 07:30:55 PM---I'm trying to configure the MTU to be 9000 for Centos 7 hosts on our internal network. I'm using xC From: "Christopher J. Walker" <c.j.wal...@qmul.ac.uk> To: "xcat-user@lists.sourceforge.net" <xcat-user@lists.sourceforge.net> Date: 02/21/2017 07:30 PM Subject: [xcat-user] Setting MTU I'm trying to configure the MTU to be 9000 for Centos 7 hosts on our internal network. I'm using xCAT 2.12.4 A way that works is to set the MTU explicitly on a network card basis - so I do: nicextraparams.ens1f0=MTU=9000 and add "confignics -s" to the postscripts for the node. However we have a number of different hardware types - and the internal network card name therefore changes. It seems cleaner to set the MTU in the MTU column of the networks table, instead of explicitly listing each network card type. For testing, I've removed the "nicextraparams.ens1f0=MTU=9000" and set the MTU of 9000 in the networks table. DHCP now correctly sets the MTU to be 9000, but this is then removed by "confignics -s" - resulting in the default of 1500 after install. Is this an oversight on my part, or a bug in confignics, or configeth Chris -- Dr Christopher J. Walker ITS Research Queen Mary University of London, E1 4NS -- Check out the vibrant tech community on one of the world's most engaging tech sites, SlashDot.org! http://sdm.link/slashdot ___ xCAT-user mailing list xCAT-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/xcat-user -- Check out the vibrant tech community on one of the world's most engaging tech sites, SlashDot.org! http://sdm.link/slashdot ___ xCAT-user mailing list xCAT-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/xcat-user -- Check out the vibrant tech community on one of the world's most engaging tech sites, SlashDot.org! http://sdm.link/slashdot___ xCAT-user mailing list xCAT-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/xcat-user
Re: [xcat-user] Setting MTU
Hi Christopher, "nicextraparams.ens1f0=MTU=9000" and set the MTU of 9000 in the networks table, then DHCP now correctly sets the MTU to be 9000; MTU in the networks table can configure network from DHCP. If you want to set MTU as static, you should use nicextraparams.ens1f0=MTU=9000 in nics table; Currently, confignics use nicextraparams to configure static attribute in ifcfg-*; Best Regards -- Yuan Bai (白媛) CSTL HPC System Management Development Tel:86-10-82451401 E-mail: by...@cn.ibm.com Address: IBM ZGC Campus. Ring Building 28, ZhongGuanCun Software Park,No.8 Dong Bei Wang West Road, Haidian District, Beijing P.R.China 100193 IBM环宇大厦 北京市海淀区东北旺西路8号,中关村软件园28号楼 邮编:100193 From: "Christopher J. Walker" <c.j.wal...@qmul.ac.uk> To: "xcat-user@lists.sourceforge.net" <xcat-user@lists.sourceforge.net> Date: 02/21/2017 07:30 PM Subject:[xcat-user] Setting MTU I'm trying to configure the MTU to be 9000 for Centos 7 hosts on our internal network. I'm using xCAT 2.12.4 A way that works is to set the MTU explicitly on a network card basis - so I do: nicextraparams.ens1f0=MTU=9000 and add "confignics -s" to the postscripts for the node. However we have a number of different hardware types - and the internal network card name therefore changes. It seems cleaner to set the MTU in the MTU column of the networks table, instead of explicitly listing each network card type. For testing, I've removed the "nicextraparams.ens1f0=MTU=9000" and set the MTU of 9000 in the networks table. DHCP now correctly sets the MTU to be 9000, but this is then removed by "confignics -s" - resulting in the default of 1500 after install. Is this an oversight on my part, or a bug in confignics, or configeth Chris -- Dr Christopher J. Walker ITS Research Queen Mary University of London, E1 4NS -- Check out the vibrant tech community on one of the world's most engaging tech sites, SlashDot.org! http://sdm.link/slashdot ___ xCAT-user mailing list xCAT-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/xcat-user -- Check out the vibrant tech community on one of the world's most engaging tech sites, SlashDot.org! http://sdm.link/slashdot___ xCAT-user mailing list xCAT-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/xcat-user
Re: [xcat-user] Setting MTU
Chris, can you open a issue in GitHub regarding this and we can trace it there. If you prefer, let me know and I'll open it. Thanks, Victor - Original message -From: "Christopher J. Walker" <c.j.wal...@qmul.ac.uk>To: xCAT Users Mailing list <xcat-user@lists.sourceforge.net>Cc:Subject: Re: [xcat-user] Setting MTUDate: Tue, Feb 21, 2017 9:30 AM We are on 2.12.4.I think my problem is that it performs as documented and works for DHCP."confignics -s" however doesn't then grab the MTU.ChrisOn 21/02/17 13:36, Victor Hu wrote:> Hi Chris,>> We had a contribution from the community that added support for this> late last year to add support for MTU on the networks table.> https://github.com/xcat2/xcat-core/pull/1933 Looks like it was> integrated in the 2.12.4 release or newer.>> I'm not sure which version of xCAT you are currently on, but you can> take a look at that pull request and see if it satisfies your requirements.>> Thanks,> Victor>>>> - Original message -> From: "Christopher J. Walker" <c.j.wal...@qmul.ac.uk>> To: "xcat-user@lists.sourceforge.net" <xcat-user@lists.sourceforge.net>> Cc:> Subject: [xcat-user] Setting MTU> Date: Tue, Feb 21, 2017 6:30 AM>> I'm trying to configure the MTU to be 9000 for Centos 7 hosts on our> internal network. I'm using xCAT 2.12.4>>> A way that works is to set the MTU explicitly on a network card basis -> so I do:>> nicextraparams.ens1f0=MTU=9000> and add> "confignics -s"> to the postscripts for the node.>> However we have a number of different hardware types - and the internal> network card name therefore changes.>> It seems cleaner to set the MTU in the MTU column of the networks table,> instead of explicitly listing each network card type. For testing, I've> removed the "nicextraparams.ens1f0=MTU=9000" and set the MTU of 9000 in> the networks table. DHCP now correctly sets the MTU to be 9000, but this> is then removed by "confignics -s" - resulting in the default of 1500> after install.>> Is this an oversight on my part, or a bug in confignics, or configeth>> Chris> --> Dr Christopher J. Walker> ITS Research> Queen Mary University of London, E1 4NS>> --> Check out the vibrant tech community on one of the world's most> engaging tech sites, SlashDot.org! http://sdm.link/slashdot> ___> xCAT-user mailing list> xCAT-user@lists.sourceforge.net> https://lists.sourceforge.net/lists/listinfo/xcat-user>>>>>>> --> Check out the vibrant tech community on one of the world's most> engaging tech sites, SlashDot.org! http://sdm.link/slashdot>>>> ___> xCAT-user mailing list> xCAT-user@lists.sourceforge.net> https://lists.sourceforge.net/lists/listinfo/xcat-user>--Dr Christopher J. WalkerITS ResearchQueen Mary University of London, E1 4NS+44 20 7882 5969--Check out the vibrant tech community on one of the world's mostengaging tech sites, SlashDot.org! http://sdm.link/slashdot___xCAT-user mailing listxCAT-user@lists.sourceforge.nethttps://lists.sourceforge.net/lists/listinfo/xcat-user -- Check out the vibrant tech community on one of the world's most engaging tech sites, SlashDot.org! http://sdm.link/slashdot___ xCAT-user mailing list xCAT-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/xcat-user
Re: [xcat-user] Setting MTU
We are on 2.12.4. I think my problem is that it performs as documented and works for DHCP. "confignics -s" however doesn't then grab the MTU. Chris On 21/02/17 13:36, Victor Hu wrote: > Hi Chris, > > We had a contribution from the community that added support for this > late last year to add support for MTU on the networks table. > https://github.com/xcat2/xcat-core/pull/1933 Looks like it was > integrated in the 2.12.4 release or newer. > > I'm not sure which version of xCAT you are currently on, but you can > take a look at that pull request and see if it satisfies your requirements. > > Thanks, > Victor > > > > - Original message - > From: "Christopher J. Walker" <c.j.wal...@qmul.ac.uk> > To: "xcat-user@lists.sourceforge.net" <xcat-user@lists.sourceforge.net> > Cc: > Subject: [xcat-user] Setting MTU > Date: Tue, Feb 21, 2017 6:30 AM > > I'm trying to configure the MTU to be 9000 for Centos 7 hosts on our > internal network. I'm using xCAT 2.12.4 > > > A way that works is to set the MTU explicitly on a network card basis - > so I do: > > nicextraparams.ens1f0=MTU=9000 > and add >"confignics -s" > to the postscripts for the node. > > However we have a number of different hardware types - and the internal > network card name therefore changes. > > It seems cleaner to set the MTU in the MTU column of the networks table, > instead of explicitly listing each network card type. For testing, I've > removed the "nicextraparams.ens1f0=MTU=9000" and set the MTU of 9000 in > the networks table. DHCP now correctly sets the MTU to be 9000, but this > is then removed by "confignics -s" - resulting in the default of 1500 > after install. > > Is this an oversight on my part, or a bug in confignics, or configeth > > Chris > -- > Dr Christopher J. Walker > ITS Research > Queen Mary University of London, E1 4NS > > > -- > Check out the vibrant tech community on one of the world's most > engaging tech sites, SlashDot.org! http://sdm.link/slashdot > ___ > xCAT-user mailing list > xCAT-user@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/xcat-user > > > > > > > -- > Check out the vibrant tech community on one of the world's most > engaging tech sites, SlashDot.org! http://sdm.link/slashdot > > > > ___ > xCAT-user mailing list > xCAT-user@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/xcat-user > -- Dr Christopher J. Walker ITS Research Queen Mary University of London, E1 4NS +44 20 7882 5969 -- Check out the vibrant tech community on one of the world's most engaging tech sites, SlashDot.org! http://sdm.link/slashdot ___ xCAT-user mailing list xCAT-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/xcat-user
Re: [xcat-user] Setting MTU
Hi Chris, We had a contribution from the community that added support for this late last year to add support for MTU on the networks table. https://github.com/xcat2/xcat-core/pull/1933 Looks like it was integrated in the 2.12.4 release or newer. I'm not sure which version of xCAT you are currently on, but you can take a look at that pull request and see if it satisfies your requirements. Thanks, Victor - Original message -From: "Christopher J. Walker"To: "xcat-user@lists.sourceforge.net" Cc:Subject: [xcat-user] Setting MTUDate: Tue, Feb 21, 2017 6:30 AM I'm trying to configure the MTU to be 9000 for Centos 7 hosts on ourinternal network. I'm using xCAT 2.12.4A way that works is to set the MTU explicitly on a network card basis -so I do: nicextraparams.ens1f0=MTU=9000and add "confignics -s"to the postscripts for the node.However we have a number of different hardware types - and the internalnetwork card name therefore changes.It seems cleaner to set the MTU in the MTU column of the networks table,instead of explicitly listing each network card type. For testing, I'veremoved the "nicextraparams.ens1f0=MTU=9000" and set the MTU of 9000 inthe networks table. DHCP now correctly sets the MTU to be 9000, but thisis then removed by "confignics -s" - resulting in the default of 1500after install.Is this an oversight on my part, or a bug in confignics, or configethChris--Dr Christopher J. WalkerITS ResearchQueen Mary University of London, E1 4NS--Check out the vibrant tech community on one of the world's mostengaging tech sites, SlashDot.org! http://sdm.link/slashdot___xCAT-user mailing listxCAT-user@lists.sourceforge.nethttps://lists.sourceforge.net/lists/listinfo/xcat-user -- Check out the vibrant tech community on one of the world's most engaging tech sites, SlashDot.org! http://sdm.link/slashdot___ xCAT-user mailing list xCAT-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/xcat-user
[xcat-user] Setting MTU
I'm trying to configure the MTU to be 9000 for Centos 7 hosts on our internal network. I'm using xCAT 2.12.4 A way that works is to set the MTU explicitly on a network card basis - so I do: nicextraparams.ens1f0=MTU=9000 and add "confignics -s" to the postscripts for the node. However we have a number of different hardware types - and the internal network card name therefore changes. It seems cleaner to set the MTU in the MTU column of the networks table, instead of explicitly listing each network card type. For testing, I've removed the "nicextraparams.ens1f0=MTU=9000" and set the MTU of 9000 in the networks table. DHCP now correctly sets the MTU to be 9000, but this is then removed by "confignics -s" - resulting in the default of 1500 after install. Is this an oversight on my part, or a bug in confignics, or configeth Chris -- Dr Christopher J. Walker ITS Research Queen Mary University of London, E1 4NS -- Check out the vibrant tech community on one of the world's most engaging tech sites, SlashDot.org! http://sdm.link/slashdot ___ xCAT-user mailing list xCAT-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/xcat-user