NSE4 · Question #36
Which of the following statements are correct about the HA command diagnose sys ha reset- uptime? (Choose two.)
The correct answer is A. The device this command is executed on is likely to switch from master to slave status if override D. This command resets the uptime variable used in the HA algorithm so it may cause a new master. The diagnose sys ha reset-uptime command resets a FortiGate's uptime, potentially causing it to switch from master to slave status if override is enabled and a peer has a higher priority, or if override is disabled and a peer gains an uptime advantage.
Question
Which of the following statements are correct about the HA command diagnose sys ha reset- uptime? (Choose two.)
Options
- AThe device this command is executed on is likely to switch from master to slave status if override
- BThe device this command is executed on is likely to switch from master to slave status if override
- CThis command has no impact on the HA algorithm.
- DThis command resets the uptime variable used in the HA algorithm so it may cause a new master
How the community answered
(57 responses)- A95% (54)
- B4% (2)
- C2% (1)
Why each option
The `diagnose sys ha reset-uptime` command resets a FortiGate's uptime, potentially causing it to switch from master to slave status if override is enabled and a peer has a higher priority, or if override is disabled and a peer gains an uptime advantage.
If override is enabled and unit priorities are equal, uptime acts as a tie-breaker; resetting uptime on the master would likely cause the peer to become master if its uptime is now longer.
If override is disabled, uptime is a critical factor; resetting uptime on a master makes it *less* likely to be master, causing it to switch to slave if a peer has a longer uptime.
The command directly modifies a key metric (uptime) in the HA algorithm, therefore it absolutely has an impact on the master election process.
This command directly manipulates the uptime variable used in the HA master election algorithm, which is a significant factor, especially when override is disabled or when other criteria like unit priority are equal, thus potentially triggering a master role change.
Concept tested: FortiGate HA master election, uptime reset
Source: https://docs.fortinet.com/document/fortigate/7.4.0/administration-guide/181512/master-unit-selection
Topics
Community Discussion
No community discussion yet for this question.