Create a Post
cancel
Showing results for 
Search instead for 
Did you mean: 
Machine_Head
Advisor
Advisor

ClusterXL Forced Failover command

Hi Team,

Found recently this command:

 

Configuring Duration of Forced Failover in High Availability Mode

Description

In the ClusterXL High Availability mode, you can force the current Active cluster member to fail over to the specified cluster member for the specified number of minutes.

After the specified duration ends, or after you manually disable the forced failover, the cluster recovers based on the mode you configured in the cluster object:

  • Primary Up - The cluster fails over to the cluster member that is configured as primary (if it is not currently Active).

  • Active Up - The current Active cluster member remains Active.

Syntax

ShellCommand

Gaia Clish 

set cluster force_failover member_id <ID> {time <Minutes> on | off}

Expert mode

cphaconf force_failover member_id <ID> {time <Minutes> on | off}

 

 

  • Could you elaborate on how does it work and what it was thought for?
    • Any specific use cases?
  • What are the differences with admin down?
  • Can you force a fail-over  if the member you are failing to is down?*



    * For example recently, after patching R81.20 92 > 118, patched member went down because non patched member was monitoring 3 vlans on a trunk, as opposite to 2 on the patched member. Going down for Interface mismatch IAC pnote.
    So i was in need to force a failover and was wondering if this was the command.


    Thanks!

4 Replies
the_rock
MVP Gold
MVP Gold

I believe that clish command is same as clusterXL admin down, as far as I know. Can you force failover of member if you are failing to is down? To me, I cant logically see how that would be possible, if its already down.

Best,
Andy
0 Kudos
Machine_Head
Advisor
Advisor

True, but in some cases you still want to failover to a "down" member.

To continue with the example, that member is only down because of a difference in code and thus clusterXL monitoring different interfaces/vlans on the two versions, not because there is a "real" reason for it to be down.

There might be other cases where you still want to failover to a down member, CoreXL differences come to mind..

In my case what i did to force the failover, (and so i could patch that member)  was cphastop, but was just wondering if there was a more "elegant" way of doing it.

 

MH 

0 Kudos
the_rock
MVP Gold
MVP Gold

In all my years of dealing with CP, I never had to do something like that when patching the member.

Best,
Andy
0 Kudos
emmap
MVP Gold CHKP MVP Gold CHKP
MVP Gold CHKP

I haven't tried this so I don't actually know if it will let you do it to a down member. It may, but if it does it will fail back once your time expires, because that cluster member has a problem.

Leaderboard

Epsum factorial non deposit quid pro quo hic escorol.

Upcoming Events

    CheckMates Events