Linksys SLM248G4S (G5) manual Stack Units Startup Process, Master Discovery, Master Election

Page 58

Appendix B

About Switch Stacking

Stack Units Startup Process

Whenever a unit in stack mode is initialized (powered up or rebooted) it goes through the same exact process, consisting of the following three steps:

1.Master Discovery/Election.

2.Unit ID allocation by the Master (including duplicate Unit ID conflict resolution)

3.Unit/port configuration by the Master

Master Discovery

Whenever a unit in stack mode initializes, its behavior will depend on its Unit ID (if any).

If the unit does not have a current Unit ID (that is, the unit is in factory default mode).

If there is a master, the unit performs Unit ID Allocation (refer to section “Unit ID Allocation and Duplicate Unit ID Conflict Resolution”), where it will get a number from the master. If there is no master, then it will participate in Master-election, and may even end up as the new master or backup master.

If the unit’s current Unit ID is 1 or 2 (previously allocated, perhaps even in a different stack), then the unit will participate in the Master election.

If the unit has a current Unit ID (previously allocated, perhaps even in a different stack), it will try to use this number in the new stack. If the unit’s current Unit ID is 3-6 (3-4 for SLM248G4S), then it will try and connect to the running stack Master, and will not proceed to the next stage until contact with the Master is made. In particular, such units will NOT participate in the Master election process, and if no Master is present, the units will be effectively shut down.

Both the master and all other stack units carry out a continuous process of master discovery by frequently exchanging stack control messages. This allows them to discover whenever a unit fails or becomes unreachable.

Master Election

Whenever a unit (or more than one) in stack mode comes up, one of the units is elected to be the stack Master. The unit selected as Stack Master is chosen as follows:

1.If a unit in the stack was set to “Force Master” by the system administrator, that unit will be the stack Master. Only master enabled stack units, i.e. unit ID=1 or unit ID=2 can be selected as “Force Master”.

2.Otherwise, if the stack contains units whose unique Unit ID is either 1 or 2, then one of these two units will be the stack Master. It does not matter if the Unit

ID was originally assigned automatically or manually. (Such units are called Master-enabled units).

If there is only one such unit, it will be selected as the stack Master (even if its Unit ID=2).

If there are two such units, the two units will decide which of them is the Master by checking:

Which one has been running for a longer time (in increments of 10 minutes). The unit running for a longer time will be the stack Master.

If they have been running for the same amount of time, Unit ID=1 will be the stack Master.

If both units have been running for the same amount of time and both units have the same Unit ID, the unit with a lower MAC address will be selected as stack Master.

3.Otherwise, if the stack contains one or more units without a current Unit ID (that is to say in factory default state), then the stack Master will be one of these units. The unit selected to be the Master will be the one running for the longest time (in increments of 10 minutes) or, if all units are running for the same amount of time, the one with the lowest MAC address.

The end result of Master Election is that the stack has a stack Master. The Stack master has unit ID=1 and the Backup Master, if it exists, unit ID=2. Alternatively, the Stack master has unit ID=2 and the Backup Master, if it exists, unit ID=1.

If a Master-enabled (Unit ID=1 or 2) unit is added to a stack and turned on, then when it comes up, it will invoke master-election, even though the rest of the stack already has an elected master. Because it is new, it will lose the election and join as a member or backup master.

Unit ID Allocation and Duplicate Unit ID Conflict Resolution

Once a stack Master is elected, it will allocate Unit IDs to units that do not have a currently assigned Unit ID (that is, units in factory default mode).

In addition, the stack Master will try to resolve all cases of units with duplicate Unit IDs. This is done by changing the Unit IDs of offending units that have a duplicate current Unit ID, provided that there are available, unused Unit IDs.

In the case of a merged stack scenario, units that were initially in the sub-group of the Master that remained as Master will have the same unit IDs as they had before. Members of the other sub-group will be renumbered.

If the conflict occurs after the units reboot then the following will take place:

24/48-Port 10/100 + 4-Port Gigabit Resilient Clustering Smart Switch with 2 Combo SFPs

52

Image 58
Contents Port or 48-Port 10/100 + Icon Descriptions About This GuideAbout This Guide Online ResourcesTable of Contents Snmp Appendix C Glossary Appendix B About Switch StackingGigabit Ethernet Fiber Optic Cabling Appendix F Regulatory Information Appendix D SpecificationsAppendix E Warranty Information Appendix G Contact InformationChapter IntroductionFront Panel Chapter Product OverviewProduct Overview Back PanelSLM248G4S Pre-Installation Considerations Chapter InstallationInstallation Placement OptionsDesktop Placement Hardware InstallationRack-Mount Placement Uplinking the Switch Configuring Stacking ModeConnect port G1 on Unit 2 to port G2 on Unit Replacing a Stacked SwitchConnect port G1 on Unit 3 to port G2 on Unit Using telnet Chapter Configuration Using Console InterfaceUsing the HyperTerminal Application Login screen appears. Proceed to the Login section belowSwitch Main Menu How to Use the Console InterfaceLogin System Configuration MenuUser & Password Settings Management SettingsSystem Information Security Settings IP ConfigurationNetwork Configuration File ManagementReboot System Restore System Default SettingsStack Configuration Port Status Port ConfigurationSystem Mode HelpSetup Summary Chapter Configuration Using Web-based UtilitySetup Device InformationDefault Gateway The IP address default 0.0.0.0 Setup ZoomSetup Network Settings DNS Server The IP address of your ISP’s server thatLocal Time Setup TimeIdentification Daylight SavingPort Management Setup Stack ManagementPort Management Port Settings Sntp ServersPort Configuration LAG Configuration Port Management Link AggregationGlobal Parameter Lacp screen contains fields for configuring Lacp LAGsPort Management Lacp Port PriorityVlan Management Create Vlan Vlan Management Port SettingsVlan Management Lacp Port TableVlan Management Vlan to Port Vlan Management Port to VlanJoin Vlan to Port Statistics Statistics Rmon StatisticsLog Table Statistics Rmon HistoryRmon History Rmon History TableStatistics Rmon Alarms Add AlarmStatistics Rmon Events Statistics Port UtilizationStatistics Interface Statistics Interface Security 802.1x SettingsSecurity Ethernet-likeSetting Timer Security Port SecuritySecurity Management Access List Web IP FilteringSecurity Radius Security Storm ControlBroadcast Only Counts only Broadcast traffic CoS Default QoS CoS SettingsCoS Settings CoS Settings screen is used to enable or disable CoSQoS Dscp Settings QoS Queue SettingsQoS Bandwidth Spanning Tree QoS Basic ModeSpanning Tree STP Status Bridge Settings Spanning Tree STP Port SettingsGlobal Setting Spanning Tree Global STPMulticast Igmp Snooping Vlan Igmp SettingsMulticast Igmp GlobalMulticast Bridge Multicast Multicast Bridge Multicast Forward AllSnmp Global Parameters Snmp ViewsSnmp Group Membership Snmp Group ProfileUser Name Provides a user-defined local user list Snmp Communities Base Table Snmp Notification FilterSnmp Notification Recipient Advanced TableUser Authentication AdminAdmin User Authentication Local User EditSecure The entry is defined for locked ports Admin Static AddressAdmin Dynamic Address Clear Table If selected, this clears the MAC Address tableAdmin Cable Test Admin Port MirroringQuery Admin Save Configuration Admin Reboot Admin Firmware UpgradeAdmin Factory Default Admin Server Logs Admin LoggingAdmin Memory Logs Admin Flash Logs LogoutGigabit Ethernet Appendix aAppendix a About Gigabit Ethernet Fiber Optic Cabling Fiber Optic CablingAppendix B Appendix B About Switch StackingAbout Switch Stacking Stack Building Quick StartUnit IDs Advanced StackingStack Resiliency Unit ID AllocationMaster Discovery Stack Units Startup ProcessMaster Election Stacking Examples Unit and Port ConfigurationUser Controls Replacing a Failed Stack Member in a Running StackStack Master Failure and Replacement Subgroup Contains Both Master Unit and Backup Master Unit Splitting a StackMerging Two Stacks Both Stacks Kept Running During InsertionStacking Cable Failure Inserting Too Many UnitsAppendix C Glossary Appendix CGlossary Glossary Packet a unit of data sent over a network Mail protocol on the InternetAppendix C Specifications Appendix D SpecificationsAppendix D 802.3 10BASE-T Ethernet DimensionsUnit Weight SLM224G4S 1,927 kg 802.3z Gigabit EthernetObtaining Warranty Service Warranty InformationLimited Warranty Appendix EWarranty Information Technical SupportAppendix F Regulatory InformationRegulatory Information Appendix F Norsk Norwegian Miljøinformasjon for kunder i EU Appendix F Appendix G Contact Information8012510A-AI