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

HomeSupportSwitchesH3C S9500 Series SwitchesReference GuidesCommand ReferencesH3C S9500 Command Manual-Release1648[v1.24]-08 System Volume
04-HA Commands
Title Size Download
04-HA Commands 27.54 KB

Chapter 1  HA Configuration Commands

1.1  HA Configuration Commands

1.1.1  debugging ha

Syntax

debugging ha { all | event | message | state }

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

View

User view

Parameters

all: All HA debugging.

event: HA batch backup or smooth event debugging.

message: Debugging for messages received or sent by HA.

state: HA state machine state information debugging.

Description

Use the debugging ha command to enable HA debugging.

Use the undo debugging ha command to disable HA debugging.

By default, HA debugging is disabled.

Examples

# Enable all the HA debugging.

<H3C> debugging ha all

1.1.2  display switchover state

Syntax

display switchover state [ slot-id ]

View

Any view

Parameters

slot-id: Slot number of master or slave board.

Description

Use the display switchover state command to view the switchover state of master or slave board.

This command is used to display the switchover state of master or slave board according to the specified slot number. If slot-id is not specified, the status of SRPU will be displayed.

Examples

# Display the switchover state of master board.

<H3C> display switchover state

HA FSM State(master): Slave is absent.

1.1.3  display xbar

Syntax

display xbar

View

System view

Parameters

None

Description

Use the display xbar command to view the load mode of master and slave boards, which includes the configured system Xbar load mode and the active system Xbar load mode.

Note that the configured system Xbar load mode is not always the same as the active system Xbar load mode. Only when the slave board is in position or is started, can the system operate in the configured load mode.

Examples

# Display the load mode of the master/slave board.

<H3C> system-view

[H3C] display xbar

The configured system HA Xbar Load Mode is BALANCE

The active system HA Xbar Load Mode is SINGLE

1.1.4  slave restart

Syntax

slave restart

View

User view

Parameters

None

Description

Use the slave restart command to restart slave board.

When the slave system works abnormally, and needs to be reloaded, you can use this command to restart the slave board.

Examples

# Implement the restart of the slave system.

<H3C> slave restart

The slave will reset! Continue?[Y/N]:y

1.1.5  slave switchover

Syntax

slave switchover

View

User view

Parameters

None

Description

Use the slave switchover command to start 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.

Examples

# Enable master-slave switchover manually.

<H3C> slave switchover

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

Continue?[Y/N]?y

Starting.....

RAM Line....OK

1.1.6  slave update configuration

Syntax

slave update configuration

View

User view

Parameters

None

Description

Use the slave update configuration command to manually synchronize the configuration file on the master board to the slave board.

Related commands: slave auto-update config.

Examples

# Synchronize the configuration file on the master board to the slave board.

<H3C> slave update configuration

1.1.7  xbar

Syntax

xbar [ load-balance | load-single ]

View

System view

Parameters

load-balance: Sets Xbar load balance mode.

load-single: Sets Xbar load single mode.

Description

Use the xbar command to configure the load mode of the master/slave board.

By default, the master and slave boards are both in load single mode.

 

  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.

 

Examples

# Configure the system Xbar load mode.

<H3C> system-view

[H3C] xbar load-balance

  • 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 Policy & Program
  • Global Learning
  • Partner Sales Resources
  • Partner Business Management
  • Service Business
All Partners
  • Profile
  • News & Events
  • Online Exhibition Center
  • Contact Us
All About Us
新华三官网