how to make two virtual ip work in LVS+HA?

Jiang <[email protected]>
Newsgroups gmane.linux.highavailability.ultramonkey
Message-ID <[email protected]>
Hi,

We are going to run two services in LVS, but each service will be
assigned one VIP. And the problem right now is I don't know how to
configure ldirectord.cf and haresource to just make them work. Please
help!

my ldiretord.cf is:

*********************************************************************
checktimeout=3
checkinterval=1
autoreload=yes
logfile="/var/log/ldirectord.log"
quiescent=yes

virtual=10.226.193.250:80
        real=10.226.193.189:80 gate
        real=10.226.193.190:80 gate
        #fallback=127.0.0.1:80 gate
        service=http
        request="ldirector.html"
        receive="lb"
        virtualhost=some.domain.com.au
        scheduler=rr
        #persistent=600
        #netmask=255.255.255.255
        protocol=tcp

virtual=10.226.193.230:8070
        real=10.226.193.189:8070 gate
        real=10.226.193.190:8070 gate
        #fallback=127.0.0.1 gate
        checktype=connect
        service=none
        scheduler=rr
        #persistent=600
        #netmask=255.255.255.255
        #checkcount=3
        protocol=tcp
*********************************************************************

But how can I configure two different VIPs in haresource file?

Thanks!

-- 
Regards,
Jiang Lei


-- 
Ultra Monkey - http://www.ultramonkey.org/
To UNSUBSCRIBE, email to [email protected], with a body:
unsubscribe ultramonkey-users [email protected]
where "[email protected]" is YOUR email address.
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.