On Thu, Sep 15, 2011 at 01:47:33AM +0800, 4070421 wrote:
> Hi,all
>      I am program with heartbeat3.0.4, I have install it for three node,
> now I want to use heartbeat local IPC and cluster IPC to communicate with 
> other node .
>        And my question is  how to compile, it always say that can't find 
> hb_api.h ...hb_api_core.h...... how to wirte the makefile ?
>         And  how tu use local IPC and cluster IPC api  to communicate ?
> one node want send message to other node , i have to code a  CLI and a 
> Daemon,  daemon get Command from CLI from local IPC, and send message (the 
> command from CLI) to other node via cluster IPC,  HOW  to do it

Since the project is no longer one monolithic source repo.
you need the "cluster-glue" sources/libraries/headers as well.
(http://hg.linux-ha.org/glue)

In the heartbeat source tree, there are
 lib/hbclient/api_test.c
 membership/ccm/ccm_testclient.c

which may help you get going.

I'm curious, what is your project about?

If you stay with heartbeat, I strongly recommend to use latest mercurial
(which is one changeset beyond 3.0.5).  http://hg.linux-ha.org/dev/shortlog

3.0.4 to 3.0.5 contains only a handful of changesets.
But they fix very bad behaviour in case you should ever
have to deal with packet loss, for whatever reason.

Have you considered using corosync instead?
I'm not trying to push you either way, 
I'd just like to know what alternatives have been considered,
and what you based your decision for heartbeat on.

Cheers,

-- 
: Lars Ellenberg
: LINBIT | Your Way to High Availability
: DRBD/HA support and consulting http://www.linbit.com
_______________________________________________
Linux-HA mailing list
[email protected]
http://lists.linux-ha.org/mailman/listinfo/linux-ha
See also: http://linux-ha.org/ReportingProblems

Reply via email to