[Linux-ha-dev] Pacemaker-Python-GUI(hb_gui) not working on
latest Heartbeat and Pacemaker
Lars Marowsky-Bree
lmb at suse.de
Mon Feb 18 04:22:07 MST 2008
On 2008-02-18T14:13:27, DAIKI MATSUDA <d.matuda at gmail.com> wrote:
> I recently testing the development tree of Heartbeat and Pacemaker.
> And I found they are alomost working well, but hb_gui on mgmtd
> provided Pacemaker-Python-GUI does not work. Because, as errased the
> part for mgmt from Heartbeat the configure command of Heartbeat does
> not manage for '--enable-mgmt'. Especially, in heartbeat/config.c
> MGMT_ENABLED is not defined.
> So, I defined MGMT_ENABLED on the top of heartbeat/config.c and built.
> Its binary file manages the mgmtd and hb_gui works.
>
> But there is a problem. In the environment not installed mgmtd, the
> heartbeat failes at the first. So, do you have a good idea for
> resolving it?
I think we need a new approach to starting services here.
We have several options:
- have heartbeat silently ignore starting processes where the executable
is not present;
- have the add-on packages such as Pacemaker or the GUI drop-in config
snippets in /etc/ha.d/conf.d/ (similar to how cron handles this)
saying what should be started.
I like the second approach best, as it moves the knowledge to the
subpackages themselves.
Regards,
Lars
--
Teamlead Kernel, SuSE Labs, Research and Development
SUSE LINUX Products GmbH, GF: Markus Rex, HRB 16746 (AG Nürnberg)
"Experience is the name everyone gives to their mistakes." -- Oscar Wilde
More information about the Linux-HA-Dev
mailing list