ClusterLabs/PAF

Collect statistics before transferring a role

Anton-PG opened this issue · 1 comments

Good day! I would like to collect statistics before proceeding to move the master role. Is there a way to do this? I use the SQL command to collect statistics

Hello,

I don't understand what you mean by "collect statistics". Furthermore, how would you collect anything using SQL on a failing node?

But whatever you have in mind, maybe you could have a look at alert scripts in Pacemaker:

You can then write a script complying with this specs and that execute what you need based on the environment variables passed to your script.