[Pacemaker] Upgrade of Pacemaker on CentOS 6.4 to 1.1.10 - Delay RA missing ...

Robert H. pacemaker at elconas.de
Fri Nov 8 12:09:20 UTC 2013


> 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




More information about the Pacemaker mailing list