• <ruby id="5koa6"></ruby>
    <ruby id="5koa6"><option id="5koa6"><thead id="5koa6"></thead></option></ruby>

    <progress id="5koa6"></progress>

  • <strong id="5koa6"></strong>
  • LVS 服務監控程序Ldirectord 配置

    發表于:2007-07-04來源:作者:點擊數: 標簽:
    個人感覺在HA+LVS里面,用ldirectord來監控realserver的服務,要比mon好使的多??赡芤驗槲也欢畃erl吧??? ## Ldirectord will periodically connect to each real server# and request a known URL. If the data returned by the server# does not contain t
    個人感覺在HA+LVS里面,用ldirectord來監控realserver的服務,要比mon好使的多??赡芤驗槲也欢畃erl吧???

    ## Ldirectord will periodically connect to each real server# and request a known URL. If the data returned by the server# does not contain the the expected response then the# test fails and the real server will be taken out of the available# pool. The real server will be added back into the pool once the# test su<STRONG><A href="http://www.kjueaiud.com/ceshi/ceshijishu/rjcsgj/rational/<STRONG><A href="http://www.kjueaiud.com/ceshi/ceshijishu/rjcsgj/rational/clearcase/" target="_blank" >clearcase</A></STRONG>/" target="_blank" >cc</A></STRONG>eeds. If all real servers are removed from the pool then# localhost is added to the pool as a fallback measure.## Based on the sample ldirectord.cf provided with ldirectord## Prepared: March 2003## Global Directiveschecktimeout=10checkinterval=2#fallback=127.0.0.1:80autoreload=no#logfile=&quot;/var/log/ldirectord.log&quot;logfile=&quot;local0&quot;quiescent=yes# Virtual Server for HTTPvirtual=10.1.3.61:80 fallback=127.0.0.1:80 real=192.168.6.4:80 masq real=192.168.6.5:80 masq service=http request=&quot;index.html&quot; receive=&quot;Test Page&quot; scheduler=rr #persistent=600 protocol=tcpchecktype=negotiate# Virtual Service for HTTPSvirtual=10.1.3.61:443 fallback=127.0.0.1:443 real=192.168.6.4:443 masq real=192.168.6.5:443 masq service=https request=&quot;index.html&quot; receive=&quot;Test Page&quot; scheduler=rr #persistent=600 protocol=tcpchecktype=negotiate# Virtual Service for FTP# Note that peresistancy needs to be turned on for FTP when# used with LVS-TUN (ipip) or LVS-DR (gate), but not with LVS-NAT (masq).virtual=10.1.3.61:21 fallback=127.0.0.1:21 real=192.168.6.4:21 masq real=192.168.6.5:21 masq service=ftp request=&quot;welcome.msg&quot; receive=&quot;Welcome&quot; login=&quot;anonymous&quot; passwd=&quot;anon@anon.anon&quot; scheduler=rr #persistent=600 protocol=tcpchecktype=negotiate## Virtual Service for IMAP#virtual=10.1.3.61:143# fallback=127.0.0.1:143# real=192.168.6.4:143 masq# real=192.168.6.5:143 masq# service=imap# #login=&quot;test&quot;# #passwd=&quot;test&quot;# scheduler=rr# #persistent=600# protocol=tcp# checktype=negotiate### Virtual Service for POP#virtual=10.1.3.61:110# fallback=127.0.0.1:110# real=192.168.6.4:110 masq# real=192.168.6.5:110 masq# service=pop# #login=&quot;test&quot;# #passwd=&quot;test&quot;# scheduler=rr# #persistent=600# protocol=tcp### Virtual Service for SMTP#virtual=10.1.3.61:25# fallback=127.0.0.1:25# real=192.168.6.4:25 masq# real=192.168.6.5:25 masq# service=smtp# scheduler=rr# #persistent=600# protocol=tcp### Virtual Service for LDAP#virtual=10.1.3.61:389# fallback=127.0.0.1:389# real=192.168.6.4:389 masq# real=192.168.6.5:389 masq# service=ldap# scheduler=rr# #persistent=600# protocol=tcp#只需要由HA啟動ldirectord時讀入該配置文件。就可以正確檢測后臺服務進程,踢掉DOWN了的節點,提供高可用服務了。

    原文轉自:http://www.kjueaiud.com

    老湿亚洲永久精品ww47香蕉图片_日韩欧美中文字幕北美法律_国产AV永久无码天堂影院_久久婷婷综合色丁香五月

  • <ruby id="5koa6"></ruby>
    <ruby id="5koa6"><option id="5koa6"><thead id="5koa6"></thead></option></ruby>

    <progress id="5koa6"></progress>

  • <strong id="5koa6"></strong>