Requirement:
The switches with redundant management modules or two management modules have the capability to roll-over onto second management module for non-stop switching.
In any event, the active card fails the standby will come up and take over and assume the role of the active one this is the end result of the configuration. We will be able to achieve this with Chassis based switches.
Requirements to achieve the set up :
> Switches with Dual Management Module cards
Models that have this feature are 5400R series and the 8200 series, under each model series there 2 variants :
a. six module variant: 5406R and 8206
b. twelve module variant: 5412R and 8212.
> the chassis must have two management module cards.
Solution:The solution for enabling the Redundancy on the switches with dual Management modules, as mentioned this can be configured on the switches more specifically the models listed below :
> 5412R
> 5406R
> 8206
> 8212
This set up has two modes.
Modes involved :
Warm standby and Non-stop switching.
Warm standby :
In this mode, the standby management module will not synchronize and match up configuration files, firmware few other files are not synced, and in this mode for the roll-over to take place would need to have the device rebooted, and at the time of the reboot only some of the files are synced, not all this at times may require the user to configure the missing bits.
This mode is enabled by default on the switches.
And in this, the transition between the active to standby is not seamless or immediate in this mode.
Non-stop Switching mode :
In this mode, active syncing takes place between active one and the standby one, this makes sure all files are present on both modules. And in this mode in an event of a roll-over, the transition is seamless and does not require a reboot, unlike in the previous mode.
Configuration:This will Steps/commands to configure :
1 Warm standby mode :
As mentioned as this mode is enabled by default here is the output of show redundancy :
HP-8212zl(config)# show redundancy
Configured Mode: Warm Standby
Current Mode: Warm Standby
Rapid Switchover Stale Timer : (Not available)
Failover: 1
Last Failover: Tue Mar 13 17:11:04 2018
Slot Module Description State SW Version Boot Image
---- ---------------------------------------- -------- ------------- ----------
MM1 HP J9092A Management Module 8200zl Standby K.15.18.0016 Primary
MM2 HP J9092A Management Module 8200zl Active K.15.18.0016 Primary
FM1 HP J9093A Fabric Module 8200zl Enabled
FM2 HP J9093A Fabric Module 8200zl Enabled
as mentioned, the mode is set by default.
2. Non-Stop Switching :
To configure this mode below command is used :
(config)# redundancy management-module nonstop-switching
After configuration below is the output that will be shown :
HP-8212zl(config)# show redundancy
Configured Mode: Nonstop Switching
Current Mode: Warm Standby
Rapid Switchover Stale Timer : 90
Failover: 0
Last Failover:
Slot Module Description State SW Version Boot Image
---- ---------------------------------------- -------- ------------- ----------
MM1 HP J9092A Management Module 8200zl Standby K.15.18.0016 Primary
MM2 HP J9092A Management Module 8200zl Active K.15.18.0016 Primary
FM1 HP J9093A Fabric Module 8200zl Enabled
FM2 HP J9093A Fabric Module 8200zl Enabled
You will observe the mode is changed.
And when we are trying to configure the mode following is the prompt that you receive. :
HP-8212zl(config)# redundancy management-module nonstop-switching
All configuration files and software images on the off-line management module will be overwritten with the data from the current active management module. During initial syncing from active to standby management module configuration changes are disallowed. Do you want to continue [y/n]? y
HP-8212zl(config)#
And this Command if given even when the redundancy settings is enabled, will ensure the synchronization of files between active and standby management module.
To configure the rapid switch-over timer :
HP-8212zl(config)# redundancy rapid-switchover
<0-2147483647> Enter a number.
HP-8212zl(config)# redundancy rapid-switchover 60
The time is in seconds, and by default, it is 90 seconds but can change it to a different value required value.
And for testing purposes, to force a switch-over via the console or telnet or ssh access on the switch. In other words, to have a user-initiated switch-over the command :
HP-8212#redundancy swtchover
This command will cause a switch-over from active to standby. On the switch-over command's execution, there will a prompt please go through carefully while proceeding forward.
To try the command, having a Maintenance window is recommended in case the switches are in production.
VerificationTo verify we use the following command :
Show redundancy
output to be seen in the two modes :
1. Warm standby :
HP-8212zl(config)# show redundancy
Configured Mode: Warm Standby
Current Mode: Warm Standby
Rapid Switchover Stale Timer : (Not available)
Failover: 0
Last Failover:
Slot Module Description State SW Version Boot Image
---- ---------------------------------------- -------- ------------- ----------
MM1 HP J9092A Management Module 8200zl Standby K.15.18.0016 Primary
MM2 HP J9092A Management Module 8200zl Active K.15.18.0016 Primary
FM1 HP J9093A Fabric Module 8200zl Enabled
FM2 HP J9093A Fabric Module 8200zl Enabled
2. in the case of non-stop switching :
HP-8212zl(config)# show redundancy
Configured Mode: Nonstop Switching
Current Mode: Warm Standby
Rapid Switchover Stale Timer : 90
Failover: 0
Last Failover:
Slot Module Description State SW Version Boot Image
---- ---------------------------------------- -------- ------------- ----------
MM1 HP J9092A Management Module 8200zl Standby K.15.18.0016 Primary
MM2 HP J9092A Management Module 8200zl Active K.15.18.0016 Primary
FM1 HP J9093A Fabric Module 8200zl Enabled
FM2 HP J9093A Fabric Module 8200zl Enabled
And to check the details of the switch-overs :
show redundancy detail
This command is used to check since when the switch-over happened, time details of the switch-over and also includes the states of each module.
This will also give failover log, which will include the reason for the switch-over as well.