Re: [ClusterLabs] Can't have 2 nodes as master with galera resource agent

2020-12-11 Thread Raphael Laguerre
> Try it like this: > pcs resource create r_galera ocf:heartbeat:galera enable_creation=true > wsrep_cluster_address="gcomm://192.168.0.1,192.168.0.2" > cluster_host_map="node-01:192.168.0.1;node-02:192.168.0.2" promotable > master-max=2 promoted-max=2 > i.e. drop "meta" after "promotable" Yes, i

Re: [ClusterLabs] Can't have 2 nodes as master with galera resource agent

2020-12-11 Thread Raphael Laguerre
You are right. Thank you very much! I was confused because, as mentionned in this issue report https://github.com/ClusterLabs/resource-agents/issues/1482, the example given in the doc of the agent doesn't work because it use --master and max-master when my version of pcs must use promotable a

Re: [ClusterLabs] Can't have 2 nodes as master with galera resource agent

2020-12-11 Thread Tomas Jelinek
Dne 11. 12. 20 v 15:10 Andrei Borzenkov napsal(a): 11.12.2020 16:13, Raphael Laguerre пишет: Hello, I'm trying to setup a 2 nodes cluster with 2 galera instances. I use the ocf:heartbeat:galera resource agent, however, after I create the resource, only one node appears to be in master role, t

Re: [ClusterLabs] Can't have 2 nodes as master with galera resource agent

2020-12-11 Thread Andrei Borzenkov
11.12.2020 16:13, Raphael Laguerre пишет: > Hello, > > I'm trying to setup a 2 nodes cluster with 2 galera instances. I use the > ocf:heartbeat:galera resource agent, however, after I create the resource, > only one node appears to be in master role, the other one can't be promoted > and stays