keepalived for two web servers
I have two questions:
1. How do I get www1 to respond using the new public ip? I created a virtual ethernet for it but it will doesn't respond to any requests. I also tried taking down the main IP and replacing it with the new one but it doesn't work. Any ideas?
2. Can anyone give me article links (or just some tips) on setting up keepalived for public IPs between two servers? I'm a bit confused how it all works. I'm using HAproxy to load balance, btw.
Thanks!!
5 Replies
I never knew about the "ip address …" command.
Out of curiosity, is the only way to do DC failover through DNS?
@haha326:
Out of curiosity, is the only way to do DC failover through DNS?
I believe so, since there's no IP failover.
@obs:
@haha326:Out of curiosity, is the only way to do DC failover through DNS?
I believe so, since there's no IP failover.
Without using some form of global load balancing solutions, DNS is the only surefire way I can think of off the top of my head. And in theory, GLB just hacks up DNS to work in a way that provides the redundancy.