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

"D. Dante Lorenso" <[email protected]>
Newsgroups gmane.linux.highavailability.ultramonkey
Message-ID <[email protected]>
Jiang wrote:
> But how can I configure two different VIPs in haresource file?

I do something like this... but with real IPs

---------- 8< -------------------- 8< ----------
[server]/etc/ha.d> cat haresources
# 10.10.10.1 = outbound gateway
# 20 = ip 1
# 30 = ip 2
# 40 = ip 3
# 50 = ip 4
gate01.domain.com \
        10.10.10.1 \
        192.168.0.20 \
        192.168.0.30 \
        192.168.0.40 \
        192.168.0.50 \
        ldirectord::/etc/ha.d/ldirectord.cf

---------- 8< -------------------- 8< ----------

Dante


-- 
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.