[Linux-HA] pingd authentification
Jaroslav Libák
jarol1 at seznam.cz
Mon Nov 27 14:42:45 MST 2006
I run pingd like this (from ha.cf):
respawn hacluster /usr/lib/heartbeat/pingd -m 1 -d 5s -a pingd_result
but then i get cant authentification error in log.
if I add this line
apiauth pingd uid=hacluster
to ha.cf I cant start heartbeat at all, as it complains about duplicate apiauth for pingd (no other auth for pingd exists so it seems there is a default one)
I have to comment out apiauth line and run pingd as root
respawn root /usr/lib/heartbeat/pingd -m 1 -d 5s -a pingd_result
I don't want the clone solution as then I have to write my own OCF script which is not provided for pingd.
Heartbeat is 2.0.7.
How do I get pingd running under hacluster?
What will pingd_result be if pingd isn't getting anything back? Will it be N/A or 0? This is not mentioned in the pingd tutorial as is very important.
thanks
More information about the Linux-HA
mailing list