[Linux-HA] pingd with multiple networks

Christian Charles christian.charles at credativ.de
Fri Jan 23 06:42:35 MST 2009


Hello,

i used the guide at http://www.linux-ha.org/PingdWithMultipleNetworks to 
monitor connectivity to 2 different nets and it works.

I don't like that i have to create copies of /usr/lib/heartbeat/pingd 
though, since it means i have to remember to update these copies 
manually, when i update heartbeat.

Is there an alternative way?

I have tried so far without success:
1) Symlinking:
cd /usr/lib/heartbeat
ln -s pingd pingdnet1
ln -s pingd pingdnet2

2) Using just one copy of pingd and configuring ha.cf like this:
respawn root /usr/lib/heartbeat/pingd -a pingdnet1 -m 100 -d 5s -p 
/var/run/pingdnet1.pid -h a.a.a.a -h b.b.b.b -h c.c.c.c
respawn root /usr/lib/heartbeat/pingd -a pingdnet2 -m 100 -d 5s -p 
/var/run/pingdnet1.pid -h x.x.x.x -h y.y.y.y -h z.z.z.z

OS: debian/etch
heartbeat version: 2.1.3 (specifically the backport 2.1.3-6~bpo40+2 from 
backports.org)

Thanks in advance
Christian Charles


More information about the Linux-HA mailing list