29.07.2019 22:07, Ken Gaillot пишет: > On Sat, 2019-07-27 at 11:04 +0300, Andrei Borzenkov wrote: >> Is it possible to have single definition of resource set that is >> later >> references in order and location constraints? All syntax in >> documentation or crmsh presumes inline set definition in location or >> order statement. >> >> In this particular case there will be set of filesystems that need to >> be >> colocated and ordered against other resources; these filesystems will >> be >> extended over time and I would like to add new definition in just one >> place. >> > > Tags can do what you want: > https://clusterlabs.org/pacemaker/doc/en-US/Pacemaker/2.0/html-single/Pacemaker_Explained/index.html#_tagging_configuration_elements >
Thanks, it indeed appears to be exactly the right thing. It also allows adding new resources first as standalone (so they do not cause chain reaction if anything goes wrong) and integrating into application after it was verified resource starts/stops properly. _______________________________________________ Manage your subscription: https://lists.clusterlabs.org/mailman/listinfo/users ClusterLabs home: https://www.clusterlabs.org/