LinuxQuestions.org
Help answer threads with 0 replies.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Server
User Name
Password
Linux - Server This forum is for the discussion of Linux Software used in a server related context.

Notices


Reply
  Search this Thread
Old 04-07-2011, 04:59 PM   #1
saiyen2002
Member
 
Registered: Dec 2006
Location: London, UK
Distribution: Centos, Fedora
Posts: 53

Rep: Reputation: 0
how to achieve high availability website


I have 2 web servers running apache hosted at 2 data centres on 2 different IP ranges.

The 2 servers are an exact clone of each other hosting www.example.com.

What I am trying to achieve automatic failover. Say my first data centre gets wiped out, how would customers reach my website on my second server in the second data centre by still typing www.example.com?

The aim is for the customer not to notice any difference.
 
Old 04-07-2011, 05:10 PM   #2
paulsm4
LQ Guru
 
Registered: Mar 2004
Distribution: SusE 8.2
Posts: 5,863
Blog Entries: 1

Rep: Reputation: Disabled
Hi -

Sounds like a fairly pricey service - and it sounds like you're either already paying for it, or you're a very likely potential customer - so the BEST thing you can do is to ASK your vendor(s).

If you want to Google for background information, the best "buzzwords" are:

* colocation (your "two centers" are also "colo facilities", aka "remote data center")

* IP failover (this is how you'd achieve failover between two distributed facilities)
 
Old 04-08-2011, 06:36 PM   #3
saiyen2002
Member
 
Registered: Dec 2006
Location: London, UK
Distribution: Centos, Fedora
Posts: 53

Original Poster
Rep: Reputation: 0
We are LIR, so have a /20 ip address range associated with us.

In One site we are advertising a /23 from our /20 block, and in the other we are advertising different /23 from our /20 block.

We have BGP peering on each site. I am guessing we have the means to accomplish the high availability that I am aiming for without going through a third party??
 
Old 04-11-2011, 10:21 AM   #4
okcomputer44
Member
 
Registered: Jun 2008
Location: /home/laz
Distribution: CentOS/Debian
Posts: 246

Rep: Reputation: 53
Quote:
Originally Posted by saiyen2002 View Post
We are LIR, so have a /20 ip address range associated with us.

In One site we are advertising a /23 from our /20 block, and in the other we are advertising different /23 from our /20 block.

We have BGP peering on each site. I am guessing we have the means to accomplish the high availability that I am aiming for without going through a third party??
Take a look this site: http://www.howtoforge.com/efficient-...routing-method it's about load-ballancing and high-available server setup.

You can find on "howtoforge" automatic file replication server setup as well. (but rsync can do file replication trick in many cases)
Anyway this service came from RedHat meaning 100% reliable.

But if you have your own BGP peering I guess you can do the same thing with Cisco load ballancing.
And the apache servers in the background can be rsynced to serve the same websites.
The hard part is not the apache rather than the database server.

To sync Mysql or any live database on a website, that has to be planned at the first place otherwise it won't work properly.
There is a mysql cluster install on debian: http://www.howtoforge.com/loadbalanc...cluster_debian just for a hints.

I hope it helped somehow.

Laz
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
High Availability ++nick++ Linux - Enterprise 7 02-07-2010 11:53 AM
[SOLVED] Linux high performance and high availability clustering Blue_Ice Linux - Software 2 03-27-2009 04:49 AM
how to achieve high speed rate in file transfer bzlaskar Linux - Networking 6 04-23-2007 09:56 AM
LXer: Small and Midsize Businesses Achieve Enterprise-Level Availability and Performance with Oracle(R) Database 10g Standard Edition One on Linux LXer Syndicated Linux News 0 12-20-2005 03:01 AM
High availability itziar2 Linux - General 5 12-02-2005 07:40 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Server

All times are GMT -5. The time now is 05:01 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration