[ClusterLabs] Custom resource agent

Sim simvirus at gmail.com
Mon Jul 13 04:08:39 EDT 2020


Hi,
I need to create a cluster with these characteristics:

NODE1 (Master)
NODE2 (Slave)

Example sequence to moving the role from NODE1 to NODE2:

- NODE1: stopped a process with "systemctl stop"
- NODE1: executed a script with parameter "slave"
- NODE1: executed again the process with "systemctl start"
- NODE2: stopped a process with "systemctl stop"
- NODE2: executed a script "master"
- NODE2: executed again the process with "systemctl start"

I only found ocf_heartbeat_anything but I don't know if it's right for me.
Any suggestions?

Regards
Sim
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.clusterlabs.org/pipermail/users/attachments/20200713/ba7fb0fd/attachment.htm>


More information about the Users mailing list