H3C S9500 Operation Manual-Release1648[v1.24]-08 System Volume

HomeSupportSwitchesH3C S9500 Series SwitchesConfigure & DeployConfiguration GuidesH3C S9500 Operation Manual-Release1648[v1.24]-08 System Volume
04-HA Configuration
Title Size Download
04-HA Configuration 45.19 KB

Chapter 1  HA Configuration

When configuring HA, go to these sections for information you are interested in:

l           Introduction to HA

l           Configuring HA

l           Displaying and Debugging HA Configuration

l           HA Configuration Example

1.1  Introduction to HA

High Availability (HA) is to achieve a high availability of the system and to recover the system as soon as possible in the event of SRPU failures so as to shorten the Mean Time Between Failure (MTBF) of the system.

The functions of HA are mainly implemented by the application running on master and slave boards. The two boards are working in the master-slave mode: one board works in master mode, the other work in slave mode. If the master-slave system detects a fault in the master board, a hot master-slave switchover will be performed automatically. The slave board will try to connect and control the system bus while the original master board will try to disconnect from the bus. Thus, the master-slave switchover of the active system is completed, and at the same time the original master board is reset to recover as soon as possible and then function as the slave board. Even if the master board fails, the slave board can also take its role to ensure the normal operation, and the system can recover as soon as possible.

S9500 series support hot swap of master and slave boards. The hot swap of master boards will cause master-slave switchover. S9500 series support manual master-slave switchover. You can change the current board state manually by executing command.

The configuration file of slave is copied from master board at the same time. This can ensure that the slave system continues to operate in the same configuration as that of the original active system after the slave system has taken place of the active system. S9500 series support automatic synchronization. The active system stores its configuration file and backs up the configuration file to the slave system simultaneously when the master's configuration file is modified, ensuring the consistency of the configurations of the active system and slave system.

Besides, the system can monitor the power supply and the working environment of the system and give timely alarms to avoid the escalation of failures and ensure safe operations of the system.

 

  Caution:

The S9500 master and slave boards must both be in position and run the same version of program. Otherwise, the switch cannot operate normally.

 

1.2  Configuring HA

The following sections describe the HA configuration tasks:

l           Restarting the Slave System Manually

l           Starting the Master-Slave Switchover Manually

l           Synchronizing the Configuration File Manually

l           Configuring the Load Mode of the Master and Slave Boards

1.2.1  Restarting the Slave System Manually

In the environment in which the slave system is available, the user can restart the slave system manually.

Follow the step below to restart the slave system manually:

To do…

Use the command…

Remarks

Restart the slave system manually

slave restart

Available in user view

 

1.2.2  Starting the Master-Slave Switchover Manually

In the environment in which the slave board is available and master in real-time backup state, the user can inform the slave board of a master-slave switchover by using a command if he expects the slave board to operate in place of the master board. After the switchover, the slave board will control the system and the original master board will be forced to reset.

Follow the step below to start the master-slave switchover manually:

To do…

Use the command…

Remarks

Start the master-slave switchover manually

slave switchover

Available in user view

 

The switchover manually will be ineffective if the user sets the system to forbid master-slave switchover manually.

1.2.3  Synchronizing the Configuration File Manually

Although the system can perform the synchronization automatically, the synchronization can occur only when the master board saves its configuration file. If the user expects to determine the backup of the configuration file by himself, he can do it manually to backup the configuration file saved in the master board.

Follow the step below to synchronize the configuration file manually:

To do…

Use the command…

Remarks

Synchronize the configuration file manually

slave update configuration

Available in user view

 

This operation can backup the configuration file to the slave board only if a slave system is available. The configuration file will be fully copied once at every time the operation is executed.

1.2.4  Configuring the Load Mode of the Master and Slave Boards

S9500 series support two kinds of load modes (balance and single) between the master and slave boards. You can use the xbar command to configure XBar (cross bar) load mode.

Follow the step below to configure the XBar load mode:

To do…

Use the command…

Remarks

Configure the load mode of the master and slave boards

xbar [ load-balance | load-single ]

Available in system view

 

By default, the load mode of the master and slave boards is load-single.

 

  Caution:

When a single SRPU is in position, the load-balance mode is not effective and the SRPU changes to the load-single mode automatically.

 

1.3  Displaying and Debugging HA Configuration

To do…

Use the command…

Remarks

Display the status of the master and slave boards

display switchover state [ slot-id ]

Available in any view

Display the load mode of the master and slave boards

display xbar

Available in system view

Enable the debugging of the HA module

debugging ha { all | event | message | state }

Available in user view

Disable the debugging of the HA module

undo debugging ha { all | event | message | state }

Available in user view

 

1.4  HA Configuration Example

I. Network requirements

Remove the master board and make the slave board take over the work of the master board. It is required that the operation be normal during the master-slave switchover.

II. Configuration procedure

# Synchronize the configuration file manually.

<H3C> slave update configuration

# Display the switchover state.

<H3C> display switchover state

# Start the master-slave switchover manually after you confirm and press <Enter>.

<H3C> slave switchover

Caution!!! Confirm the conversion of the Slave Fabric to the Master Fabric.

Continue?[Y/N]?y

 

  • Cloud & AI
  • InterConnect
  • Intelligent Computing
  • Security
  • SMB Products
  • Intelligent Terminal Products
  • Product Support Services
  • Technical Service Solutions
All Services
  • Resource Center
  • Policy
  • Online Help
All Support
  • Become a Partner
  • Partner Resources
  • Partner Business Management
All Partners
  • Profile
  • News & Events
  • Online Exhibition Center
  • Contact Us
All About Us
新华三官网