Discussion:
[xcat-user] configbond script
Christian Caruthers
2017-05-03 04:20:51 UTC
Permalink
I have the following setup:

nodels gss1 nics
gss1: nics.nicips: bond0!10.100.10.20
gss1: nics.nicextraparams: bond0!MTU=9000
gss1: nics.nicsadapter: bond0!MTU=9000
gss1: nics.nichostnamesuffixes: bond0!-10g
gss1: nics.nicdevices: bond0!enp134s0,enp134s0d1,enp27s0,enp27s0d1,enp32s0,enp32s0d1
gss1: nics.node: gss1
gss1: nics.niccustomscripts: bond0!configbond bond0 ***@enp134s0d1@***@enp27s0d1@enp32s0@
enp32s0d1 miimon=***@mode=***@xmit_hash_policy=1
gss1: nics.nicnetworks: bond0!10G
gss1: nics.nictypes: bond0!Ethernet

Despite this, the MTU setting isn't being placed in the ifcfg-bond script.

Looking at the nics manpage, it's not really clear which setting does which:

nicextraparams
Comma-separated list of extra parameters that will be used for each NIC configuration.
nicsadapter
Comma-separated list of extra parameters that will be used for each NIC configuration.

Regards,
Christian Caruthers
Lenovo Professional Services
Mobile: 757-289-9872
Yuan Y Bai
2017-05-04 01:58:11 UTC
Permalink
Hi Christian,

Currently, configbond does not support nicextraparams, it is on our
backlog, but may not be high priority.
If you want to change MTU value, you can add "MTU=9000" before line 200 in
configbond to work around your work, like the following example:

BONDING_OPTS="${array_bond_opts[*]}"
MTU=9000
EOF

Best Regards
--------------------------------------------------
Yuan Bai (°×æÂ)

CSTL HPC System Management Development
Tel:86-10-82451401
E-mail: ***@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: Christian Caruthers <***@lenovo.com>
To: "xCAT Users Mailing list (xcat-***@lists.sourceforge.net)"
<xcat-***@lists.sourceforge.net>
Date: 05/03/2017 12:25 PM
Subject: [xcat-user] configbond script



I have the following setup:

nodels gss1 nics
gss1: nics.nicips: bond0!10.100.10.20
gss1: nics.nicextraparams: bond0!MTU=9000
gss1: nics.nicsadapter: bond0!MTU=9000
gss1: nics.nichostnamesuffixes: bond0!-10g
gss1: nics.nicdevices:
bond0!enp134s0,enp134s0d1,enp27s0,enp27s0d1,enp32s0,enp32s0d1
gss1: nics.node: gss1
gss1: nics.niccustomscripts: bond0!configbond bond0
***@enp134s0d1@***@enp27s0d1@enp32s0@
enp32s0d1 miimon=***@mode=***@xmit_hash_policy=1
gss1: nics.nicnetworks: bond0!10G
gss1: nics.nictypes: bond0!Ethernet

Despite this, the MTU setting isn't being placed in the ifcfg-bond script.

Looking at the nics manpage, it's not really clear which setting does
which:
nicextraparams
nicextraparams
Comma-separated list of extra parameters that will be used
for each NIC configuration.
nicsadapter
Comma-separated list of extra parameters that will be used
for each NIC configuration.

Regards,
Christian Caruthers
Lenovo Professional Services
Mobile: 757-289-9872

------------------------------------------------------------------------------

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-***@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/xcat-user
Yuan Y Bai
2017-05-04 02:08:15 UTC
Permalink
Christian,

You can also insert "MTU=9000" before line 212 in configbond to configure
slaves MTU.

Best Regards
--------------------------------------------------
Yuan Bai (°×æÂ)

CSTL HPC System Management Development
Tel:86-10-82451401
E-mail: ***@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
To: xCAT Users Mailing list <xcat-***@lists.sourceforge.net>
Date: 05/04/2017 09:58 AM
Subject: Re: [xcat-user] configbond script


Hi Christian,

Currently, configbond does not support nicextraparams, it is on our
backlog, but may not be high priority.
If you want to change MTU value, you can add "MTU=9000" before line 200 in
configbond to work around your work, like the following example:

BONDING_OPTS="${array_bond_opts[*]}"
MTU=9000
EOF

Best Regards
--------------------------------------------------
Yuan Bai (°×æÂ)

CSTL HPC System Management Development
Tel:86-10-82451401
E-mail: ***@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: Christian Caruthers <***@lenovo.com>
To: "xCAT Users Mailing list (xcat-***@lists.sourceforge.net)"
<xcat-***@lists.sourceforge.net>
Date: 05/03/2017 12:25 PM
Subject: [xcat-user] configbond script



I have the following setup:

nodels gss1 nics
gss1: nics.nicips: bond0!10.100.10.20
gss1: nics.nicextraparams: bond0!MTU=9000
gss1: nics.nicsadapter: bond0!MTU=9000
gss1: nics.nichostnamesuffixes: bond0!-10g
gss1: nics.nicdevices:
bond0!enp134s0,enp134s0d1,enp27s0,enp27s0d1,enp32s0,enp32s0d1
gss1: nics.node: gss1
gss1: nics.niccustomscripts: bond0!configbond bond0
***@enp134s0d1@***@enp27s0d1@enp32s0@
enp32s0d1 miimon=***@mode=***@xmit_hash_policy=1
gss1: nics.nicnetworks: bond0!10G
gss1: nics.nictypes: bond0!Ethernet

Despite this, the MTU setting isn't being placed in the ifcfg-bond script.

Looking at the nics manpage, it's not really clear which setting does
which:
nicextraparams
nicextraparams
Comma-separated list of extra parameters that will be used
for each NIC configuration.
nicsadapter
Comma-separated list of extra parameters that will be used
for each NIC configuration.

Regards,
Christian Caruthers
Lenovo Professional Services
Mobile: 757-289-9872

------------------------------------------------------------------------------

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-***@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/xcat-user

Loading...