External program is configured to monitor real servers. <br />
<br />
In lvs.cf<br />
send_program = "/root/chknanny.sh %h"<br />
expect = "SERVER_OK" <br />
load_monitor = none<br />
scheduler = wlc<br />
protocol = tcp<br />
timeout = 10<br />
reentry = 10<br />
<br />
Contents of chknanny.sh<br />
lynx -dump "<a href="http://$1/TestServer.ashx"">http://$1/TestServer.ashx"</a> [<a href="http://$1/TestServer.ashx"" target="_blank">^</a>]<br />
<br />
When script times out, ipvsadm does not remove real server from pool.<br />
<br />
Messages logfile only reports this:<br />
Nov 26 01:34:13 dell-LB1 nanny[2753]: Ran the external sending program to (10.0.1.108:80) but didn't get anything back
↧