Print Download PDF Send Feedback

Previous

Next

Monitoring Cluster Failover Statistics

Description

This command lets you see the cluster failover statistics on the Cluster Member - number of failovers that happened, reason, and 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@Member2:0]# cphaprob show_failover

 

Last cluster failover event:

Transition to new ACTIVE: Member 2 -> Member 1

Reason: Available on member 2

Event time: Mon Apr 23 14:38:44 2018

 

Cluster failover count:

Failover counter: 2

Time of counter reset: Mon Apr 23 13:14:41 2018 (reboot)

 

[Expert@Member2:0]#

[Expert@Member2:0]# clusterXL_admin down

Setting member to administratively down state ...

Member current state is Down

[Expert@Member2:0]#

[Expert@Member2:0]# cphaprob show_failover

 

Last cluster failover event:

Transition to new ACTIVE: Member 1 -> Member 2

Reason: ADMIN_DOWN PNOTE

Event time: Mon Apr 23 16:20:23 2018

 

Cluster failover count:

Failover counter: 3

Time of counter reset: Mon Apr 23 13:14:41 2018 (reboot)

 

[Expert@Member2:0]#