Changing LACP timeout: Difference between revisions
From Lsdf
Jump to navigationJump to search
No edit summary |
No edit summary |
||
(6 intermediate revisions by 2 users not shown) | |||
Line 5: | Line 5: | ||
With this change now all-HPSS Hosts have the same timeout setting as the SCC-Switches. |
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 |
Changes done by Jonathan Hermann (IBM) on 5.11.2014. |
||
<pre> |
<pre> |
||
1. Backup ifcfg-bond0 file |
1. Backup ifcfg-bond0 file |
||
ssh_all "cp /etc/sysconfig/network-scripts/ifcfg-bond0 /etc/sysconfig/network-scripts/ifcfg-bond0.20141105" |
ssh_all "cp /etc/sysconfig/network-scripts/ifcfg-bond0 /etc/sysconfig/network-scripts/ifcfg-bond0.20141105" |
||
2. set lacp_rate=0 |
2. set lacp_rate=0 |
||
Line 17: | Line 16: | ||
ssh_all "sed -i 's/lacp_rate=1/lacp_rate=0/' /etc/sysconfig/network-scripts/ifcfg-bond0" |
ssh_all "sed -i 's/lacp_rate=1/lacp_rate=0/' /etc/sysconfig/network-scripts/ifcfg-bond0" |
||
3. restart network |
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: |
|||
ssh_all "ip l s dev bond0 down" |
|||
ssh_all "ip l s dev bond0 up" |
|||
[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