Skip to main content
dum0785
Explorer
September 11, 2023
Solved

HA uptime and system uptime different things?

  • September 11, 2023
  • 1 reply
  • 10303 views

Hi,

I'm currently testing HA switching.

Please tell me, are HA uptime and system uptime two different things?

Also, is there a command to check HA uptime?

Best answer by srajeswaran

Can you check the individual node uptime using "diagnose sys ha dump-by group" as suggested in https://community.fortinet.com/t5/FortiGate/Technical-Tip-How-to-verify-HA-cluster-members-individual-uptime/ta-p/194857

1 reply

srajeswaran
Staff
Staff
September 11, 2023

HA uptime is the time since a monitored interface failed or is disconnected. Age is also reset when a cluster unit starts (boots up). So, when all cluster units start up at about the same time, they all have the same age. Age does not affect primary unit selection when all cluster units start up at the same time.

If a link failure of a monitored interface occurs, the age value for the cluster unit that experiences the link failure is reset. So, the cluster unit that experienced the link failure also has a lower age value than the other cluster units.

System uptime is the time since the device booted up, link failures don't influence this value.

You can check HA uptime using "get system ha status" look for "cluster uptime"

Master (global) # get system ha status
HA Health Status: OK
Model: FortiGate-VM64
Mode: HA A-P
Group: 100
Debug: 0
Cluster Uptime: 0 days 0:39:28

Ref: https://community.fortinet.com/t5/FortiGate/Technical-Tip-How-to-verify-HA-cluster-members-individual-uptime/ta-p/194857

System uptime can be seen under "get system performance status"

# get system performance status

CPU states: 0% user 0% system 0% nice 100% idle 0% iowait 0% irq 0% softirq

Virus caught: 0 total in 1 minute
IPS attacks blocked: 0 total in 1 minute
Uptime: 0 days, 0 hours, 23 minutes

dum0785
dum0785Author
Explorer
September 11, 2023

Hi,
srajeswaran

 

Thank you for your reply.
What I don't understand is that even after I run the "diagnose sys ha reset-uptime" command and check "get system ha status", there is no change in Cluster Uptime.
After I type the "diagnose sys ha reset-uptime" command, what do I see to know that Uptime has been reset?

 

Regards,

srajeswaran
Staff
Staff
September 11, 2023

Can you check the individual node uptime using "diagnose sys ha dump-by group" as suggested in https://community.fortinet.com/t5/FortiGate/Technical-Tip-How-to-verify-HA-cluster-members-individual-uptime/ta-p/194857