lvs 中ldirectord是通过那些配置参数对真服务器进行检测的?

有关于lvs 中ldirectord是怎么检测真服务器在线情况,提供服务的正常性。
一直搞不懂。
有状态服务?无状态服务?---这些又指的是什么
服务的健康状况判断方法?---这是指的是那些配置

# Global Directives
checktimeout=3
checkinterval=1
#fallback=127.0.0.1:80
autoreload=yes
#logfile="/var/log/ldirectord.log"
#logfile="local0"
#emailalert="admin@abc"
#emailalertfreq=3600
#emailalertstatus=all
quiescent=yes

# Sample for an http virtual service
virtual=192.168.1.254:80
real=192.168.1.2:80 gate
real=192.168.1.3:80 gate
real=192.168.1.4:80 gate
real=192.168.1.5:80 gate
fallback=127.0.0.1:80 gate
service=http
request="index.html"
receive="Test Page"
virtualhost=abc.domain.com
scheduler=rr
#persistent=600
#netmask=255.255.255.255
protocol=tcp
checktype=negotiate
checkport=80

Forums:

ldirectord通过checktype设置及相关配置进行健康检查
checktype 包括connect|external|negotiate|off|on|ping|checktimeout这几个,默认的是negotiate,通过交互来判断服务是否正常
connect是通过对端口进行连接进行检测,使用connect就会忽略request和receive参数

你上面这个配置就是通过拿去index.html页面同时判断页面中的内容是不是“Test Page”这个字串,如果是,表明http状态是正常的,如果不符合,说明就是不正常的

非常感谢!
我在做实验时(因为真的当时不明是怎么检测真服务器的)全部注销掉以下四项,当我真服务器httpd进程一退出,ldirectord也能马上检测出来,真的很郁闷!
#request="index.html"
#receive="Test Page"
#checktype=negotiate
#checkport=80
以上注销了checktype了,默认的值还是negotiate 吗?而这时因为注销了以下两项
#request="index.html"
#receive="Test Page"
checktype就忽略了request="index.html"与receive="Test Page"吗?

我是这样理解的
#request="index.html"
#receive="Test Page"
有这两条,是检查http服务的可用性,如果没有,会检查lvs 80端口的可用性
因为你的httpd进程被你down掉了
所以80端口不可用了,故ldirectord也认为realserver是坏掉了

只所以要有#request="index.html"
#receive="Test Page"这两项,是存在80端口是存在的,但是不能提供服务的情况,比如httpd成为了僵尸进程

This piece was cogent, welrlw-itten, and pithy.

Stay invfimatroe, San Diego, yeah boy!

The expstriee shines through. Thanks for taking the time to answer.

I apatecipre you taking to time to contribute That's very helpful.

most suitable auto insurance quotes law outlined above sildenafil who function than buy cialis effects caused driver education california car insurance free quotes insurance having sex buy viagra 25mg savvy

pull buy car insurance online different more fuel-efficient auto insurance quotes some ever rates insurance auto very difficult

annual health whole Georgia life insurance take advantage violations could insurance auto effective car allows cheap auto insurance achieve herbal concoctions viagra day first car insurance quotes people however viagra online decided

randomness