HP
HP
When you use IRF to group multiple Comware switches into 1 logical device, it is generally recommended to
enable some split brain detection (split brain happens when all the stacking links are down).
For the MAD LACP method, only Comware switch could be used so far, now the Provision switches firmware has
been updated, so an LACP link between a Provision and Comware IRF can be used for the MAD LACP.
Background
The split brain detection mechanism, which is known as Multiple Active Detection (MAD), is available through
LACP, BFD, ARP and ND. I personally only use the LACP and BFD methods.
The LACP method is easy, since you can use an existing link-aggregation to a peer switch for the MAD detection.
However, this uses an extended LACP PDU, using an additional TLV in the LACP packet. The TLV contains the
active master ID of the IRF system.
When the peer LACP device receives this information, it should proxy this information back to the original IRF
system over all the other ports of the link-aggregation.
As a result, the IRF system will receives its own ID information back on the other ports of the link-aggregation.
When the ID is the same, everything is OK. When the IDs are different however, it means there is a split brain.
Provision support
So far, only Comware devices could be used as the peer detection device, since any other vendor LACP
implementation would not proxy the the additional TLV back over the other link-aggregation ports.
Now the Provision firmware has received an update and Provision switches can be used to provide the MAD LACP
support.
This is good news for any mixed Provision-Comware networks, where MAD BFD may not have been possible for
whatever reason.
Example configuration
Example is using a 3500 with K.15.16.0004 , so all 5400/3500/3800/2920 switches have support for it. The 2620
can also be used with current firmware (check release notes).
The Comware IRF is based on a 3600, a 100Mbit Comware switch (ports used are Ex/0/x, as opposed to Gx/0/x
for a Gigabit switch)
The example assumes an IRF system is running already, so it shows only the steps to enable MAD LACP between
the Comware IRF and Provision switch.
Steps:
https://abouthpnetworking.com/2014/11/08/provision-support-for-irf-mad-lacp-split-b... 2017-08-31
Provision support for IRF MAD LACP Split brain detection | About HPE Networking Page 2 of 7
https://abouthpnetworking.com/2014/11/08/provision-support-for-irf-mad-lacp-split-b... 2017-08-31
Provision support for IRF MAD LACP Split brain detection | About HPE Networking Page 3 of 7
LACP
HP-3500-24(config)#
Trunk-Group LACP-MAD-PASSTHROUGH
------------ ---------------------
Trk1 Enabled
https://abouthpnetworking.com/2014/11/08/provision-support-for-irf-mad-lacp-split-b... 2017-08-31
Provision support for IRF MAD LACP Split brain detection | About HPE Networking Page 4 of 7
Validation
The setup validated by shutting down the IRF links, to force a split brain. The commands are executed on the IRF
member 2 console, which will shutdown its ports as a result of the detection.
# Console is logged out, since new Master is selected for this partition
<switch-irf>
#Jan 1 00:39:15:197 2010 switch-irf SHELL/4/LOGIN:
Trap 1.3.6.1.4.1.25506.2.2.1.1.3.0.1: login from Console
%Jan 1 00:39:15:353 2010 switch-irf SHELL/5/SHELL_LOGIN: Console logged in from aux1.
# Initial ENTER commands need to wait for the Management to become available again
System is busy in recovering configuration, please wait a moment...
System is busy in recovering configuration, please wait a moment...
# No console messages have been seen, since the console was not active yet
# so review the log file
<switch-irf> dis logbuffer reverse
Logging buffer configuration and contents:enabled
Allowed max buffer size : 1024
Actual buffer size : 512
Channel number : 4 , Channel name : logbuffer
Dropped messages : 0
Overwritten messages : 0
Current messages : 10
%Jan 1 00:39:30:497 2010 switch-irf SHELL/6/SHELL_CMD: -Task=au1-IPAddr=**-User=**; Command is dis logbuffer reverse
%Jan 1 00:39:15:513 2010 switch-irf SHELL/5/SHELL_LOGIN: Console logged in from aux1.
%Jan 1 00:39:14:878 2010 switch-irf IFNET/3/LINK_UPDOWN: Bridge-Aggregation24 link status is DOWN.
%Jan 1 00:39:14:863 2010 switch-irf LAGG/5/LAGG_INACTIVE_PHYSTATE: Member port Ethernet2/0/24 of aggregation group BAGG24 becomes INACTIVE
%Jan 1 00:39:14:862 2010 switch-irf LAGG/5/LAGG_INACTIVE_CONFIGURATION: Member port Ethernet1/0/24 of aggregation group BAGG24 becomes INAC
%Jan 1 00:39:14:862 2010 switch-irf IFNET/3/LINK_UPDOWN: Ethernet2/0/24 link status is DOWN.
%Jan 1 00:39:14:862 2010 switch-irf MAD/1/MAD_COLLISION_DETECTED: Multi-active devices detected, please fix it.
%Jan 1 00:39:14:607 2010 switch-irf STM/3/STM_LINK_STATUS_DOWN:
IRF port 2 is down.
%Jan 1 00:39:14:607 2010 switch-irf HA/5/HA_SLAVE_TO_MASTER: Slave board in slot 2 changes to master.
%Jan 1 00:00:33:320 2010 switch-irf IC/6/SYS_RESTART: -Slot=1; System restarted --
HP Platform Software.
<switch-irf>
https://abouthpnetworking.com/2014/11/08/provision-support-for-irf-mad-lacp-split-b... 2017-08-31
Provision support for IRF MAD LACP Split brain detection | About HPE Networking Page 5 of 7
<switch-irf>
On the Provision side, verify that the link-aggregation has only 1 active port remaining:
LACP
Supplemental validation
Run another split-brain check, to see the console output. This can be forced using the mad restore command.
The original mad restore command is intended to be used in this rare occasion:
https://abouthpnetworking.com/2014/11/08/provision-support-for-irf-mad-lacp-split-b... 2017-08-31
Provision support for IRF MAD LACP Split brain detection | About HPE Networking Page 6 of 7
You can abuse this functionality to run multiple split brain tests without having to do a full reboot of the switches,
this is what is done in this example.
Since the mad restore will be done on member2, the interfaces will come UP, MAD LACP will detect the split brain
again, and all interfaces will be SHUTDOWN again. But this time you can follow the process on the console log
output as well.
Conclusion
This example shows how a Provision LACP link-aggregation can be used to assist a Comware IRF system for the
split brain detection.
Like
One blogger likes this.
Related
Comware7 IRF MAD LACP : New selection Comware5 ISSU: Unknown (manual Comware7: MAD BFD support on
method ! procedure) Management Ethernet port
This entry was posted in Comware5, Comware7, IRF, Provision and tagged bridgeaggregation, comware5, comware7, irf, lacp, linkaggregation, mad. Bookmark the permalink.
4 Responses to Provision support for IRF MAD LACP Split brain detection
jonathan says:
August 6, 2016 at 20:34
Hello quick question about enabling LACP MAD on a bridge aggregation link if prompts you for the domain id which i leave
as the ID of the IRF pair i am on but why does it prompt for this and in what scenarios would you chose a different domain
ID to the switch you are on ?
Reply
jonathan says:
August 6, 2016 at 22:31
https://abouthpnetworking.com/2014/11/08/provision-support-for-irf-mad-lacp-split-b... 2017-08-31
Provision support for IRF MAD LACP Split brain detection | About HPE Networking Page 7 of 7
ok figured it out thought i was setting a domain per bridge-aggregation interface but it seems to change the whole switches irf
domain
Reply
Rob says:
November 29, 2016 at 21:59
Hi Rob,
1. the MAD information is part of the LACP packet exchange, so if LACP is ok, MAD is ok. In fact, from a link-agg
point of view, there is no difference between a BAGG with LACP and RAGG with LACP. This is only a switch local
config difference with regards to routing/switching over the link-aggregation, so it has no impact on the MAD
LACP process.
2. Both ends must understand the MAD LACP extensions. Comware switches understand these LACP extensions
by default, no config required except for enabling LACP (so target does not need to be an IRF, just a Comware
device). When you have a non-Comware device, such as the ArubaOS-switch (Provision), you need to enable
support for the MAD LACP extensions manually.
Reply
https://abouthpnetworking.com/2014/11/08/provision-support-for-irf-mad-lacp-split-b... 2017-08-31