Hi,
In ldirectord's (1.77.2.87) ldirectord.cf i have specified the option
'autoreload=yes' so all changes to this file will be implemented immediately
in the lvs table. The file had only 1 realserver and i wanted to add more.
However when i added the other realservers i got a nice emailreport (sent by
ldirectord) but it didn't work out the way i hoped. See this piece of log:
Dec 13 12:56:28 rpzlvs05 ldirectord[1196]: Configuration file
'/etc/ha.d/ldirectord.cf' has changed on disk
Dec 13 12:56:28 rpzlvs05 ldirectord[1196]: - reread new configuration
Dec 13 12:56:29 rpzlvs05 ldirectord[1196]: system(/sbin/ipvsadm -e
192.168.14.200:23 -r 192.168.14.13:23 -w ) failed:
Dec 13 12:56:29 rpzlvs05 ldirectord[1196]: Restored real server:
192.168.14.13:23 (192.168.14.200:23) (Weight set to )
Dec 13 12:56:29 rpzlvs05 ldirectord[1196]: emailalert: [rpzlvs05] Restored
real server: 192.168.14.13:23 (192.168.14.200:23) (Weight set to )
It does this for all the realservers, and despite what it says in the log, i
most definately have specified a weight (1). `ipvsadm -l` lists just the one
realserver that i had, the other ones aren't being listed.
Help, anyone?
kind regards,
Sebastian
|