[Pacemaker] Upstart resources

Ante Karamatic ivoks at ubuntu.com
Wed Feb 22 12:55:16 EST 2012


On 16.02.2012 05:23, Vladislav Bogdanov wrote:

> Newer versions of pacemaker and lrmd are able to deal with upstart
> resources via dbus.
> However I do not like this way, so please find resource-agent attached,
> which is able to manage arbitrary upstart job (just like Anything but
> for upstart resources). It already saved me much time and nerves
> managing libvirtd (with my own upstart job) which you probably already
> know always wants to SIGABRT (btw I even know the main reason for that
> and now testing patch which I will hopefully send to libvirt ml).

But, you use 'initctl' in your OCF which also relies on dbus (libdbus,
to be correct; in both cases running dbus is not a requirement). Reason
why we didn't use initctl, grep, awk and company, when we developed the
upstart RAexec, was cause doing it that way was slower. And ugly :)

I guess I'm just interested what do you find wrong or bad with how
current upstart RAexec is done?

Thanks




More information about the Pacemaker mailing list