Hello,

I have a very simple two-node cluster setup not using crm. My goal is to use 
the API to pass messages between the two nodes. I think I've got a decent 
understanding of how to set things up using the API as I have looked at the 
ipfail.c and api_test.c files as examples.

After having looked through things, I decided to try to run api_test. When I 
run it, I get a "failed authorization." Here's the output from the log file:
<snip>
Oct 30 15:54:54 az5ki01 /usr/lib/heartbeat/api_test: [16387]: info: PID=16387
Oct 30 15:54:54 az5ki01 /usr/lib/heartbeat/api_test: [16387]: info: Signing in 
with heartbeat
Oct 30 15:54:54 az5ki01 heartbeat: [15557]: WARN: Client [ping] pid 16387 
failed authorization [client failed authorization]
Oct 30 15:54:54 az5ki01 heartbeat: [15557]: ERROR: 
api_process_registration_msg: cannot add client(ping)
<snip>

Here's my ha.cf file (right now, I am only using the serial connection):
logfacility     local0
keepalive 2
deadtime 30
warntime 10
initdead 120
baud    19200
serial  /dev/ttyS0      # Linux
auto_failback off
node az5ki01
node az5ki02
crm no


I began looking into the code (hb_api.c, etc), but I thought "I must be missing 
something obvious" ;-)

Any help is greatly appreciated!

TIA,

Scott Mann
Sr Software Engineer
Aztek Networks

_______________________________________________
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