Andrew Beekhof schrieb:
On 8/30/07, Dominik Klein <[EMAIL PROTECTED]> wrote:
And again I have to reply to myself. Sorry.
I can see both processes running and I can see both ping groups being
pinged (using tcpdump). So it's not that the processes are not run, just
that the attribute is not (cannot?) be set.
the nodes will be pinged regardless of whether pingd runs or not -
pingd gets the information from heartbeat.
there are two problems:
1) both pingd processes are using the same name to connect to HA, so
only the first one is able to connect
(http://old.linux-foundation.org/developer_bugzilla/show_bug.cgi?id=1701)
Thanks for that hint.
Here's a workaround:
I edited tools/pingd.c and changed crm_system_name to pingd17216,
compiled it, copied it to /usr/lib/heartbeat/pingd17216, edited ha.cf to
respawn pingd17216 with the corresponding ping_group and the original
pingd with its own ping_group.
After a first try I found out that some kind of authorization is needed
for this new process.
Log:
Aug 31 08:49:24 XEN-01 heartbeat: [29083]: WARN: Client [pingd17216] pid
29120 failed authorization [no default client auth]
I grepped my way around and found heartbeat/config.c and added
, {"apiauth", "pingd17216 uid=root"}
right after the same line with just "pingd"
Recompile, Restart.
Works fine so far.
Regards
Dominik
_______________________________________________
Linux-HA mailing list
[email protected]
http://lists.linux-ha.org/mailman/listinfo/linux-ha
See also: http://linux-ha.org/ReportingProblems