Changing LACP timeout: Difference between revisions
From Lsdf
Jump to navigationJump to search
No edit summary |
No edit summary |
||
(10 intermediate revisions by 2 users not shown) | |||
Line 1: | Line 1: | ||
How to change the LACP Timeout? |
How to change the LACP Timeout? |
||
Here are Steps how to change the the LACP timeout from 3 sec to 30 sec as requested by the NET department at KIT-SCC. |
|||
With this change now all-HPSS Hosts have the same timeout setting as the SCC-Switches. |
|||
Changes done by Jonathan Hermann (IBM) on 5.11.2014. |
|||
<pre> |
<pre> |
||
1. Backup ifcfg-bond0 file |
|||
1. [root@hpssmvr04 ]# cd /etc/sysconfig/network-scripts/ |
|||
ssh_all "cp /etc/sysconfig/network-scripts/ifcfg-bond0 /etc/sysconfig/network-scripts/ifcfg-bond0.20141105" |
|||
⚫ | |||
2. [root@hpssmvr04 network-scripts]# grep -i lacp ifcfg-bond0 |
|||
BONDING_OPTS="mode=802.3ad xmit_hash_policy=layer3+4 lacp_rate=1 miimon=100 |
|||
ssh_all "sed -i 's/lacp_rate=1/lacp_rate=0/' /etc/sysconfig/network-scripts/ifcfg-bond0" |
|||
⚫ | |||
3. restart all network interfaces used in the bonding |
|||
4. Restart Netzwerk-Interface. |
|||
Since the interfaces used for the bond0 are different on cores and movers, be careful using ssh_all commands! |
|||
Example from hpssmvr04: |
|||
[root@hpssmvr04 ~]# cat /proc/net/bonding/bond0 |grep 'Slave Interface' |
|||
Slave Interface: eth0 |
|||
Slave Interface: eth1 |
|||
Slave Interface: eth6 |
|||
Slave Interface: eth7 |
|||
So on hpssmvr04, issue the following commands: |
|||
ifdown bond0 |
|||
ifdown eth0 |
|||
ifdown eth1 |
|||
ifdown eth6 |
|||
ifdown eth7 |
|||
ifup eth0 |
|||
ifup eth1 |
|||
ifup eth6 |
|||
ifup eth7 |
|||
ifup bond0 |
|||
Only then the change in LACP rate will become active. |
|||
4. check the results |
|||
[root@hpssmvr04 ~]# cat /proc/net/bonding/bond0 |grep LACP |
|||
</pre> |
</pre> |
||
----[[ hidden:HPSS|<small>back to HPPS main page</small>]] |
Latest revision as of 16:56, 24 August 2016
How to change the LACP Timeout?
Here are Steps how to change the the LACP timeout from 3 sec to 30 sec as requested by the NET department at KIT-SCC.
With this change now all-HPSS Hosts have the same timeout setting as the SCC-Switches.
Changes done by Jonathan Hermann (IBM) on 5.11.2014.
1. Backup ifcfg-bond0 file ssh_all "cp /etc/sysconfig/network-scripts/ifcfg-bond0 /etc/sysconfig/network-scripts/ifcfg-bond0.20141105" 2. set lacp_rate=0 ssh_all "sed -i 's/lacp_rate=1/lacp_rate=0/' /etc/sysconfig/network-scripts/ifcfg-bond0" 3. restart all network interfaces used in the bonding Since the interfaces used for the bond0 are different on cores and movers, be careful using ssh_all commands! Example from hpssmvr04: [root@hpssmvr04 ~]# cat /proc/net/bonding/bond0 |grep 'Slave Interface' Slave Interface: eth0 Slave Interface: eth1 Slave Interface: eth6 Slave Interface: eth7 So on hpssmvr04, issue the following commands: ifdown bond0 ifdown eth0 ifdown eth1 ifdown eth6 ifdown eth7 ifup eth0 ifup eth1 ifup eth6 ifup eth7 ifup bond0 Only then the change in LACP rate will become active. 4. check the results [root@hpssmvr04 ~]# cat /proc/net/bonding/bond0 |grep LACP