On Wed, 2022-03-30 at 10:56 +0200, Ulrich Windl wrote: > Hi! > > I have a question on rsc_defaults: > As I understand it, the rsc_defaults are _added_ to the metadata > definitions of _all_ the resources. > So I wonder, could I have multiple rcs_defaults (or a comparable > mechnism) to apply to different sets of resources? > (The "one size fits all" does not always work) > > Regards, > Ulrich >
Yes, as of 2.0.5 you can use rules to limit a rsc_defaults or op_defaults block to particular agent classes/providers/types: https://clusterlabs.org/pacemaker/doc/2.1/Pacemaker_Explained/singlehtml/index.html#resource-expressions -- Ken Gaillot <[email protected]> _______________________________________________ Manage your subscription: https://lists.clusterlabs.org/mailman/listinfo/users ClusterLabs home: https://www.clusterlabs.org/
