26.06.2018 19:36, Ken Gaillot пишет: > > One problem is that you are creating the VM, and then later adding > constraints about what the cluster can do with it. Therefore there is a > time in between where the cluster can start it without any constraint. > The solution is to make your changes all at once. Both pcs and crm have > a way to do this; with pcs, it's: > > pcs cluster cib <filename> > pcs -f <filename> ...whatever command you want... > ...repeat... > pcs cluster cib-push --config <filename> >
Alternative is to initially create resources with target-role=Stopped and then remove it after having added suitable constraints. _______________________________________________ Users mailing list: [email protected] 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
