Viewing Cluster Failover Statistics

Description

This command shows the cluster failover statistics on the Cluster Member:

  • Number of failovers that happened

  • Failover reason

  • The time of the last failover event

Syntax to show the statistics

Shell

Command

Gaia Clish

show cluster failover

Expert mode

cphaprob [-l <number>] show_failover

Syntax to reset the statistics

Shell

Command

Gaia Clish

show cluster failover reset {count | history}

Expert mode

cphaprob -reset {-c | -h} show_failover

Parameters

Parameter

Description

-l <number>

Specifies how many of last failover events to show (between 1 and 50)

count

-c

Resets the counter of failover events

history

-h

Resets the history of failover events

Example

[Expert@Member1:0]# cphaprob show_failover
 
Last cluster failover event:
   Transition to new ACTIVE:   Member 2 -> Member 1
   Reason:                     ADMIN_DOWN PNOTE
   Event time:                 Sun Sep  8 18:21:44 2019
 
Cluster failover count:
   Failover counter:           1
   Time of counter reset:      Sun Sep  8 16:08:34 2019 (reboot)
 
 
Cluster failover history (last 20 failovers since reboot/reset on Sun Sep  8 16:08:34 2019):
 
 No. Time:                     Transition:           CPU:  Reason:
 - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
 1   Sun Sep  8 18:21:44 2019  Member 2 -> Member 1  01    ADMIN_DOWN PNOTE
 
[Expert@Member1:0]#