[Linux-ha-dev] Pacemaker-Python-GUI(hb_gui) not working on latest Heartbeat and Pacemaker

Dejan Muhamedagic dejanmm at fastmail.fm
Mon Feb 18 07:57:15 MST 2008


Hi,

On Mon, Feb 18, 2008 at 02:13:27PM +0900, DAIKI MATSUDA wrote:
> Hi, all.
> 
> 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.

What fails? Compilation? Heartbeat should be aware of the mgmtd
only insofar as to manage the process (the respawn directive).
Since having mgmtd around when it's not used is not such a
biggie, perhaps we should just drop the '#ifdef MGMT_ENABLED'
from heartbeat/config.c.

> So, do you have a good idea for
> resolving it?

Not now. Those changes were done by Andrew and I'm not familiar
with that work. I guess that he should have removed references to
mgmtd completely from the Heartbeat since it has been moved in
with the gui. BTW, the gui does use mgmt, but perhaps there are
going to be more clients. Perhaps the package should be named
mgmt.

Thanks,

Dejan

> Regards
> MATSUDA, Daiki
> _______________________________________________________
> Linux-HA-Dev: Linux-HA-Dev at lists.linux-ha.org
> http://lists.linux-ha.org/mailman/listinfo/linux-ha-dev
> Home Page: http://linux-ha.org/


More information about the Linux-HA-Dev mailing list