[Ultramonkey-users 104] LVS-DR:FTPについて

Back to archive index

関口高広 sekig****@gofie*****
2004年 12月 7日 (火) 14:49:55 JST


お世話になります。
関口です。

LVS-DR構成でFTPを負荷分散させようとしておりますが、
FTPのみipvsadmコマンドにて表示されず、受付もされておりません。
ご助言頂ければ幸いでございます。

[root @ lvs1 ha.d]# ipvsadm -L -n
IP Virtual Server version 1.0.10 (size=65536)
Prot LocalAddress:Port Scheduler Flags
  -> RemoteAddress:Port           Forward Weight ActiveConn InActConn
TCP  192.168.2.40:21 sh
TCP  192.168.2.40:80 sh
  -> 192.168.2.41:80              Route   100    0          0
  -> 192.168.2.42:80              Route   100    0          0
TCP  192.168.2.40:443 sh
  -> 192.168.2.41:443             Route   100    0          0
  -> 192.168.2.42:443             Route   100    0          0


/var/log/ldirectord.logには以下のようなエラーが出力されております。

Tue Dec  7 14:46:01 2004|ldirectord.cf] ldirectord for
/etc/ha.d/ldirectord.cf is already running with pid: 385
[Tue Dec  7 14:46:01 2004|ldirectord.cf] Exiting with exit_status 1:
Initialisation Error
[Tue Dec  7 14:46:01 2004|ldirectord.cf] ldirectord for
/etc/ha.d/ldirectord.cf is already running with pid: 385
[Tue Dec  7 14:46:01 2004|ldirectord.cf] Exiting with exit_status 1:
Initialisation Error


######## ldirectord.cf ######
# Global Directives
checktimeout=10
checkinterval=60
autoreload=yes
logfile="/var/log/ldirectord.log"
quiescent=yes

# Virtual Service for FTP
virtual=192.168.2.40:21
        real=192.168.2.41:21 gate 100
        real=192.168.2.42:21 gate 100
        service=ftp
        scheduler=rr
        #persistent=600
        protocol=tcp
        checktype=negotiate

# Virtual Server for HTTP
virtual=192.168.2.40:80
        #fallback=127.0.0.1:80
        real=192.168.2.41:80 gate 100
        real=192.168.2.42:80 gate 100
        service=http
        scheduler=sh
        #persistent=600
        protocol=tcp
        checktype=negotiate

# Virtual Service for HTTPS
virtual=192.168.2.40:443
        #fallback=127.0.0.1:443
        real=192.168.2.41:443 gate 100
        real=192.168.2.42:443 gate 100
        service=https
        scheduler=sh
        #persistent=600
        protocol=tcp


-- 
-------------------------------------------------------
Takahiro Sekiguchi (関口 高広) sekig****@gofie*****
-------------------------------------------------------







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