[Ultramonkey-l7-users 292] Re: fallback設定について

Back to archive index

Kohei TANUMA tanum****@nttco*****
2010年 2月 2日 (火) 11:40:08 JST


稲垣さま

田沼と申します。

LVS についてはあまりわからないのですが、
ldirectord の動作を確認したところ fallback 行で
forward 設定を省略すると gate として設定されるようです。
ldirectord.cf の fallback を以下のように変更してみてください。

fallback=127.0.0.1:81 masq

以上です。


2010/02/02 10:50, 稲垣 wrote:
> お世話になっております。
> 稲垣です。
> 
> ipvsadmコマンドで全リアルサーバ(HTTP)をメンテナンス状態にし、
> fallbackサーバを表示させたいのですが、
> /etc/ha.d/ldirectord.cfに記載したfallbackサーバが表示されません。
> 
> ipvsadm -lの状態はfallbackサーバを表示しております。
> 
> /etc/ha.d/ldirectord.cfの設定はHTTPのリアル設定をコメントしております。
> /etc/httpd/conf/httpd.confのListenは81になっており、直にたたくと問題なく
> 表示されます。
> 
> 
> # ipvsadm -l
> IP Virtual Server version 1.2.1 (size=4096)
> Prot LocalAddress:Port Scheduler Flags
> -> RemoteAddress:Port Forward Weight ActiveConn InActConn
> TCP 172.31.207.10:http rr
> -> LB01:http Local 1 0 0
> 
> # cat /etc/ha.d/ldirectord.cf
> 
> # Global Directives
> checktimeout=3
> checkinterval=1
> fallback=127.0.0.1:81
> autoreload=no
> logfile="/var/log/ldirectord.log"
> #logfile="local0"
> #emailalert="admin****@x*****"
> #emailalertfreq=3600
> #emailalertstatus=all
> quiescent=no
> 
> # Sample for an http virtual service
> virtual=172.31.207.10:80
> # real=172.31.206.1:80 masq 1
> # real=172.31.206.2:80 masq 1
> service=http
> request="index.html"
> # receive="Test Page"
> scheduler=rr
> # persistent=600
> # netmask=255.255.255.255
> # protocol=tcp
> checktype=negotiate
> 
> 何か設定不備等ありますか?
> 以上、ご教授の程宜しくお願いします。





Ultramonkey-l7-users メーリングリストの案内
Back to archive index