Create a Post
cancel
Showing results for 
Search instead for 
Did you mean: 
Pedro_Boavida
Contributor
Contributor

How to invoke a script upon failover

Hi Mates!

In a traditional distributed cluster environment I need to perform a specific action when a node goes from standby to active.

I've searched documentation, secureknownledge and community resources but found no out-of-the-box way to accomplish this. The alerts scripts possibility (sk25941) are ran on the management side, so it doesn't suit.

Given this I developed a small script that periodically looks into messages file searching for the most recent string "Local machine state changed to ACTIVE" and if that happens in the last 5 second then it performs the desired action.

It works fine and I was able to solve the problem, but not sure if this is the most clear way. Does anyone knows if there are any other means for this?

Best regards,

Pedro Boavida 

0 Kudos
1 Reply
G_W_Albrecht
Legend
Legend

Find the answer in sk65923 How to configure the cluster to send SNMP Trap upon failover !

CCSE CCTE CCSM SMB Specialist
0 Kudos

Leaderboard

Epsum factorial non deposit quid pro quo hic escorol.

Upcoming Events

    Thu 25 Apr 2024 @ 11:00 AM (SGT)

    APAC: CPX 2024 Recap

    Tue 30 Apr 2024 @ 03:00 PM (CDT)

    EMEA: CPX 2024 Recap

    Wed 01 May 2024 @ 02:00 PM (EDT)

    South US: HTTPS Inspection Best Practices

    Thu 02 May 2024 @ 11:00 AM (SGT)

    APAC: What's new in R82

    Thu 25 Apr 2024 @ 11:00 AM (SGT)

    APAC: CPX 2024 Recap

    Tue 30 Apr 2024 @ 03:00 PM (CDT)

    EMEA: CPX 2024 Recap

    Wed 01 May 2024 @ 02:00 PM (EDT)

    South US: HTTPS Inspection Best Practices

    Thu 02 May 2024 @ 11:00 AM (SGT)

    APAC: What's new in R82
    CheckMates Events