[ClusterLabs] Can't have 2 nodes as master with galera resource agent
Raphael Laguerre
raphaellaguerre at protonmail.com
Fri Dec 11 11:40:37 EST 2020
> 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, it works, thank you !
> I guess Raphael is using pcs-0.10.x which brings a new syntax. There is
> no --master in pcs-0.10.x.
Indeed. the issue is mentionned here https://github.com/ClusterLabs/resource-agents/pull/1565.
Best Regards,
Raphaël
More information about the Users
mailing list