[ClusterLabs] Best way to create a floating identity file

Tony Stocker akostocker at gmail.com
Tue Dec 15 09:10:18 EST 2020


On Tue, Dec 15, 2020 at 9:02 AM Andrei Borzenkov <arvidjaar at gmail.com> wrote:
>
> On Tue, Dec 15, 2020 at 4:58 PM Tony Stocker <akostocker at gmail.com> wrote:
> >
>
> You could simply query whether a specific resource (group) is active
> on the node where your script runs. I used a similar approach in two
> node cluster (in this case I simply needed to make sure only one node
> runs cron job so I checked for CB master).
>
Can you give me the syntax for how you did that? Thanks!


More information about the Users mailing list