2011/11/1 Senthil Naidu <[email protected]>: > hi, > > we need to have a setup as follows > > > > site 1 site 2 > > LB (ip 1) LB (ip 2) > | | > | | > srv1 srv2 srv1 srv2 > > site 1 is primary and site 2 is backup in case of site 1 LB's failure or > failure of all the servers in site1 the website should work from backup > location servers.
Unless you have your own routing, if you want no downtime for nobody you have to imagine a more complex scenario. Has said below the only way to switch for a datacenter to an other is to use dns. So you have to find a solution for waiting dns propagation to be complete. I'll do something like : 1) if lb1 fail - change dns - srv1-1 become a lb for himself and srv2-1 2) if srv1-1 and srv2-1 fail - change dns - ld1 forward requests for lb2 (maybe slow but better than nothing). and so one ... Joris > > Regards > > On Tue, Nov 1, 2011 at 10:31 PM, Gene J <[email protected]> wrote: >> >> Please provide more detail about what you are hosting and what you want to >> achieve with multiple sites. >> >> -Eugene >> >> On Nov 1, 2011, at 9:58, Senthil Naidu <[email protected]> wrote: >> >> Hi, >> >> thanks for the reply, if the same needs to be done with dns do we need >> any external dns services our we can use our own ns1 and ns2 for the same. >> >> Regards >> >> >> On Tue, Nov 1, 2011 at 9:06 PM, Baptiste <[email protected]> wrote: >>> >>> Hi, >>> >>> Do you want to failover the Frontend or the Backend? >>> If this is the frontend, you can do it through DNS or RHI (but you >>> need your own AS). >>> If this is the backend, you have nothing to do: adding your servers in >>> the conf in a separated backend, using some ACL to take failover >>> decision and you're done. >>> >>> cheers >>> >>> >>> On Tue, Nov 1, 2011 at 2:25 PM, Senthil Naidu <[email protected]> >>> wrote: >>> > Hi, >>> > >>> > Is it possible to use haproxy in a active/passive failover scenario >>> > between >>> > multiple datacenters. >>> > >>> > Regards >>> > >>> > >>> > >>> > >> > >

