Congratulations!  This is the first valid sounding use of Delay I've
ever heard :)

:)

You should file a bug.

Opened: https://bugzilla.redhat.com/show_bug.cgi?id=1028421

You're on CentOS, so it may not carry much weight for now, but it
does provide a place for other people to "pile on".

I'd suggest the wget option for now.

Did something like this, works (somehow).

- I created a new resource agent provider (local fork) (mkdir -p /usr/lib/ocf/resource.d/custom/) - Downloaded the upstream agent to this directory (wget -O /usr/lib/ocf/resource.d/custom/Delay https://github.com/ClusterLabs/resource-agents/raw/master/heartbeat/Delay && chmod 755 /usr/lib/ocf/resource.d/custom/Delay) - Modified my CIB to use this resource type (ocf:heartbeat:Delay -> ocf:custom:Delay)

However everyone reading this be warned: doing a "crm configure edit" and changing the resource agent type from ocf:heartbeat:Delay -> ocf:custom:Delay caused by pacemaker to disconnect and do crazy stuff (shutdown not possible etc.). So test first !!!

It would be better to do:

- enable maintenance mode (crm configure property set maintenance-mode=true)
  - do the modification
- disable maintenance mode (crm configure property set maintenance-mode=false)

However I did not test this, so test for yourself on your test environment :)

Robert

--
--
Robert

_______________________________________________
Pacemaker mailing list: Pacemaker@oss.clusterlabs.org
http://oss.clusterlabs.org/mailman/listinfo/pacemaker

Project Home: http://www.clusterlabs.org
Getting started: http://www.clusterlabs.org/doc/Cluster_from_Scratch.pdf
Bugs: http://bugs.clusterlabs.org

Reply via email to