Re: [ClusterLabs] Interleaving clones with different number of instances per node

2024-10-17 Thread Jochen
Thanks very much for the info and the help. For my problem I have decided to use systemd and its dependency management to create an "instance" service for each clone instance, that then starts the "main" service on a node if any instance service is started. Hopefully works without any coding re

Re: [ClusterLabs] Interleaving clones with different number of instances per node

2024-10-17 Thread Ken Gaillot
On Thu, 2024-10-17 at 17:51 +0200, Jochen wrote: > Thanks very much for the info and the help. > > For my problem I have decided to use systemd and its dependency > management to create an "instance" service for each clone instance, > that then starts the "main" service on a node if any instance s

Re: [ClusterLabs] Interleaving clones with different number of instances per node

2024-10-17 Thread Jochen
Thanks for the help! Before I break out my editor and start writing custom resource agents, one question: Is there a way to use a cloned ocf:pacemaker:attribute resource to set a clone-specific attribute on a node? I.e. attribute "started-0=1" and "started-1=1", depending on the clone ID? For t

Re: [ClusterLabs] Interleaving clones with different number of instances per node

2024-10-17 Thread Ken Gaillot
On Thu, 2024-10-17 at 16:34 +0200, Jochen wrote: > Thanks for the help! > > Before I break out my editor and start writing custom resource > agents, one question: Is there a way to use a cloned > ocf:pacemaker:attribute resource to set a clone-specific attribute on > a node? I.e. attribute "starte