Hello, On 01/08/18 13:46 +0100, lejeczek wrote: > is it possible to tell the cluster to exclude or ban resources to > run on a node which I'd like to add the cluster? (as one command?) > > (or any other way that would assure that no resources would be moved to that > node, in case cluster would decide for some reason that was a good idea)
With pacemaker 1.1.17+, your best bet is to start pacemakerd on that particular node in standby mode, which can be achieved with either: - running pacemakerd with "-s" (--standby) switch - modifying /etc/(default|sysconfig)/pacemaker (or another file like this per conventions in your OS/distribution) so that it effectively declares "PCMK_node_start_state=standby" (i.e. such line must not be commented out) Note that the second option is more handy (and likely your only choice) when you are using higher-level management tool (crm/pcs). Of course, this needs to be done ahead of time at each such node to be added. It may also be wise to comment that line again once those nodes are ready to start serving right away with subsequent starts incl. upon reboots. -- Nazdar, Jan (Poki)
pgpyLa5YId1Vf.pgp
Description: PGP signature
_______________________________________________ Users mailing list: Users@clusterlabs.org https://lists.clusterlabs.org/mailman/listinfo/users Project Home: http://www.clusterlabs.org Getting started: http://www.clusterlabs.org/doc/Cluster_from_Scratch.pdf Bugs: http://bugs.clusterlabs.org