The cluster preempt command enables the preemption function of a cluster business group.
The undo cluster preempt command disables the function.
By default, the function is enabled.
Usage Scenario
After the function is enabled, the original business master preempts the master state after recovering from a fault. After the function is disabled, the original business master preempts the master state only when its health is higher than that of the current business master. In specific scenarios, for example, if you want the network to be stable and do not want frequent traffic switching, you can disable preemption function.
Business Group Information |
Elected Business Master (Preemption Enabled) |
Elected Business Master (Preemption Disabled) |
|---|---|---|
Normal business group information
|
Device A |
Device A |
Business group information when device A fails
|
Device B |
Device B |
Business group information when device A recovers
|
Device A |
Device B |
Precautions
Even if the preemption function of a business group is disabled, the status of the devices in the business group will be ranked again if a new device is added to the cluster or the priorities of devices are changed.
Disabling the preemption function and then enabling it do not trigger the change of the business master.