[ClusterLabs] Q: automaticlly remove expired location constraints

Ken Gaillot kgaillot at redhat.com
Thu Aug 23 14:51:42 UTC 2018


On Thu, 2018-08-23 at 12:27 +0200, Ulrich Windl wrote:
> Hi!
> 
> I have a non-trivial question: How can I remove expired manual
> migration requests, like the following?:
> location cli-standby-rsc rsc rule -inf: #uname eq host and date lt
> "2013-06-12 13:47:26Z"
> 
> One problem is that the date value is not a constant, and it had to
> be compared against the current date&time.
> 
> Regards,
> Ulrich

crm_resource --clear -r RSC will clear all cli-* constraints
-- 
Ken Gaillot <kgaillot at redhat.com>


More information about the Users mailing list