[ClusterLabs] Reusing resource set in multiple constraints

Ken Gaillot kgaillot at redhat.com
Mon Jul 29 15:07:47 EDT 2019


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

-- 
Ken Gaillot <kgaillot at redhat.com>



More information about the Users mailing list