- Table of Contents
-
- 12-High Availability Configuration Guide
- 00-Preface
- 01-High Availability Overview
- 02-Active and Standby Switchover Configuration
- 03-Ethernet OAM Configuration
- 04-CFD Configuration
- 05-DLDP Configuration
- 06-RPR Configuration
- 07-RRPP Configuration
- 08-Smart Link Configuration
- 09-Monitor Link Configuration
- 10-VRRP Configuration
- 11-BFD Configuration
- 12-Track Configuration
- Related Documents
-
Title | Size | Download |
---|---|---|
02-Active and Standby Switchover Configuration | 76.41 KB |
Configuring active and standby switchover
Active and standby switchover overview··
Active and standby switchover configuration task list
Ignoring version check of the standby MPU
Manually configuring active and standby switchover
Displaying and maintaining active and standby switchover
|
NOTE: · The switch operates in IRF or standalone (the default) mode. For more information about the IRF mode, see IRF Configuration Guide. · When the switch works in standalone mode, you can use the features and functions in this manual to restart the standby main processing unit (MPU) to perform an active and standby switchover, implementing redundant backup between the active MPU and the standby MPU. When the switch works in IRF mode, you can only use the display switchover state command to view the backup state of the main boards, and other functions and commands do not take effect. |
Active and standby switchover overview
If a switch has two main boards, the main board that forwards and processes packets is called the active MPU, and the main board that is in the standby state is called the standby MPU. The system uses the main board with a smaller slot number as the active MPU, and the other main board as the standby MPU. The standby MPU keeps its configuration the same as the active MPU through the synchronization function. When the active MPU fails, the standby MPU becomes the active MPU to process services to ensure the normal operation of the switch. This switchover process is called an active and standby switchover.
Active and standby switchover functions in the following ways:
· Automatic active and standby switchover. If the active MPU fails or is unplugged, the system automatically performs an active and standby switchover to enable the standby MPU to function as the active MPU.
· Manual active and standby switchover, which is an active and standby switchover performed at the command line interface. For example, when you upgrade a switch, you can upgrade the standby MPU first, and then perform an active and standby switchover to upgrade the active MPU, to upgrade the entire switch. This greatly reduces the interruption time of services.
When you upgrade the switch by performing an active and standby switchover, the current software version must be gracefully upgraded (the differences between the new version and the current version are relatively small.); otherwise, the standby MPU may not be started. To upgrade a switch by performing an active and standby switchover:
1. Download the newest software version to the active MPU and standby MPU.
2. Specify the boot file to be used at the next startup of the active MPU and standby MPU as the newest software version.
3. Ignore version check for the standby MPU.
4. Manually restart the standby MPU to upgrade the standby MPU.
5. Manually perform an active and standby switchover. Then the standby MPU becomes the active MPU to take over the original active MPU, and the original active MPU automatically restarts by using the new version to upgrade the switch.
|
CAUTION: You cannot execute any command on the standby MPU, and you need to perform configurations at the command line interface on the active MPU, which will synchronize the configurations to the standby MPU. |
Active and standby switchover configuration task list
Task |
Remarks |
Optional |
|
Optional |
|
Optional |
Ignoring version check of the standby MPU
When the standby MPU is started, the system checks the versions of the active MPU and standby MPU. If the versions of the active MPU and standby MPU are not consistent, the standby MPU cannot be started.
To disable the system from checking the version of the standby MPU:
Step |
Command |
Remarks |
1. Enter system view. |
system-view |
N/A |
2. Ignore version check of the standby MPU. |
ha slave-ignore-version-check |
Enabled by default |
Restarting the standby MPU
If the standby MPU fails, or is to be upgraded, you can restart the standby MPU to validate the newest version or configuration. Before restarting, check the consistency of the versions of the active MPU and standby MPU. If they are not consistent, configure the system to ignore version check of the standby MPU.
Step |
Command |
1. Enter system view. |
system-view |
2. Manually restart the standby MPU. |
slave restart |
|
NOTE: When the standby MPU is restarted, the active MPU performs initial synchronization on the standby MPU. During this process, the system does not respond to your input. When the initial synchronization is completed, you can execute any configuration commands on the active MPU, and the active MPU and standby MPU keep a real-time synchronization process, meaning your configuration on the active MPU will be copied to the standby MPU to ensure the consistency of the current configuration of the active MPU and standby MPU. |
Manually configuring active and standby switchover
To upgrade the active MPU, restart the active MPU. To avoid service interruption, perform a manual active and standby switchover to enable the standby MPU to take over the active MPU.
Step |
Command |
Remarks |
1. Enter system view. |
system-view |
N/A |
2. Enable manual active and standby switchover. |
slave switchover { disable | enable } |
Optional. Enabled by default. |
3. Manually perform active and standby switchover. |
slave switchover |
N/A |
|
CAUTION: The original active MPU is restarted when an active MPU and standby MPU switchover is performed. Make sure of the consistency of the software version of the active MPU and standby MPU before performing active MPU and standby MPU switchover. If their software versions are not consistent, configure to ignore version check of the standby MPU first. |
Displaying and maintaining active and standby switchover
Task |
Command |
Remarks |
Display the switchover state of the specified main board (in standalone mode)N/A |
display switchover state [ slot slot-number ] [ | { begin | exclude | include } regular-expression ] |
Available in any view |
Display the switchover state of the specified main board (in IRF mode). |
display switchover state [ chassis chassis-number slot slot-number ] [ | { begin | exclude | include } regular-expression ] |
Available in any view |