I'm a little confused about the election of a new commander.
The following output shows the stacking information.
Member 1 goes down. Which switch becomes the commander and why.
Regarding to the guides:
The switches with the highest Stack Revision are discovered.
The switch with the highest configured priority is selected as the Commander.
If there are switches with the same “highest” priority, the switch that was the previous Commander is selected.
If no switches were previous commanders, the switch that was the previous Standby is selected.
If none of the above conditions apply, the switch with the lowest MAC Address is selected as the Commander.
BUT, what is the stack revision? Do i see the revision in this output?
For me, it could be that member 2 becomes commander because its standby and highest ID, but member 3 has the highest prio.. Can someone help me?
@Doelsner wrote: BUT, what is the stack revision? Do i see the revision in this output?
i could be wrong...but I think that with "Stack Revision" they wanted to say really "Software revision"...so on a Stack the most updated Switch and the one with the highest configured Priority will win the election (in the most simple case).
In this scenario, when member 1 (Commander) goes down, member 2 (Standby) will become the new Commander. (The Standby will always assume the Commander role during a failover.)
Where priority comes into play is when multiple members (or the entire stack) are rebooted or powered up after an outage — the member with the highest priority becomes Commander, and the second highest priority becomes Standby. If there is a tie (multiple members have the same priority), rules 3 through 5 are applied as tiebreakers until there is one Commander and one Standby.
As for the Stack Revision — I believe this is referring to the version of the stacking protocol running on each switch (which is an internal value not visible in any switch 'show' command), and is associated with the version of switch software running on that switch.
If the stack is booting for the first time with stacking modules installed and cables connected, the switch with the highest stacking protocol version is chosen as the initial Commander, and all other members are automatically updated using the Commander's software image, if possible. (In some cases, if a switch is running a software version one or more major releases behind the version running on the Commander, it will not be automatically updated and will need to be updated manually before it is able to join the stack.)
Thank you very much! I think, the confusing thing for me was, not to read the first step clearly. It says "The highest stack revision IS DISCOVERED" not the highest stack revision is used in THIS scenario.
So Switch 3 would only become commander, if the whole stack has been rebooted?
That is correct, though you may also be able to make member 3 the Commander by performing a couple of manual failovers (using the redundancy switchover command), rather than rebooting the entire stack — member 3 should assume the Standby role after the first failover, then once member 1 rejoins the stack after rebooting, a second failover would result in member 3 becoming the new Commander.
That said, the stack will operate essentially identically regardless of which member is the Commander, with the only significant exceptions being console port and OoBM behavior — the former will redirect serial console access from a non-Commander member to the Commander across the stacking plane, which may cause terminal sizing issues (as the switch cannot properly detect the size of the terminal window when redirected, as it can for a direct serial connection). Assigning a global OoBM IP addresses the latter, so that the same OoBM address can be used no matter which member is the Commander.
At Aruba, we believe that the most dynamic customer experiences happen at the Edge. Our mission is to deliver innovative solutions that harness data at the Edge to drive powerful business outcomes.
© Copyright 2021 Hewlett Packard Enterprise Development LPAll Rights Reserved.