9
Description
Use the
display
switchover
state
command to display the master/slave switchover state in the IRF virtual
device.
Examples
# Display the master/slave switchover states of the master.
<Sysname> display switchover state
Master HA State to slot 2: Realtime backup to slave.
Master HA State to slot 3: Slave is absent.
Master HA State to slot 4: Waiting batch backup request from slave.
The output shows that the slave switches 3 is absent, or not in use, the master is waiting for the batch
backup request from slave 4, and the slave switches 2 is performing real-time backup.
Table 6
display switchover state command output description for the master
Field Description
Master HA State to slot
slot-number
Indicates that this output information is generated by
the master.
Describes the master/slave switchover state between
the master and the slave whose
slot-number
represents
its member ID.
Data smooth
The slave switch is transitioning to the master role.
# Display the master/slave switchover state of slave 3.
<Sysname> display switchover state slot 3
Slave HA State: Receiving realtime data.
The output shows that slave 3 is receiving real time backup data.
Table 7
display switchover state command output description for a slave
Field Description
Slave HA State
Indicates that this output information is generated by a slave.
Describes the master/slave switchover state of the slave.
Waiting
The slave is ready, and is waiting to enter the batch backup state.
irf auto-update enable
Syntax
irf auto-update enable
undo irf auto-update enable
View
System view
Default level
3: Manage level