LinuxQuestions.org
Help answer threads with 0 replies.
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 06-21-2011, 09:57 AM   #1
takayama
Member
 
Registered: Sep 2009
Posts: 97

Rep: Reputation: 0
Cluster question


Hello
I have some service (web for example), that i want to cluster (active/passive). I have two esx in two different location on two different datastore. I want to set up a apache cluster between two linux machines (centos) on different datastore.
 
Old 06-21-2011, 10:28 AM   #2
acid_kewpie
Moderator
 
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,417

Rep: Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985
this is not clustering, just HA. two different locations would suggest different subnets, therefore you'd need to be looking at changing your DNS entries for this, not actually anything on the machines themselves. DNS HA is generally pretty sucky. You could look at mechanisms to use http proxies (which themselves could be apache) to do failover to the servers behind, and those two proxies would then both be the target of DNS A records, however if one of those proxies fail you're still no better off...
 
Old 06-21-2011, 10:36 AM   #3
takayama
Member
 
Registered: Sep 2009
Posts: 97

Original Poster
Rep: Reputation: 0
Hmm, i mean i was looking into different types of hearbeat solution.
 
Old 06-21-2011, 03:01 PM   #4
acid_kewpie
Moderator
 
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,417

Rep: Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985
Well if you think that is the solution you may want to provide some useful information about the environment you're working with.
 
Old 06-21-2011, 07:34 PM   #5
ComputerErik
Member
 
Registered: Apr 2005
Location: NYC
Distribution: Debian, RHEL
Posts: 269

Rep: Reputation: 54
As acid_kewpie already mentioned you most likely can't do anything with clustering. Since you mentioned having these servers in two different physical locations this most likely means different IPs (unless you have a reliable means of transit between the two sites). As already mentioned you will then run into problems with DNS. I think the best you could hope for is using something to do regular server checks, and initiate a DNS change if the primary server is down.

Now the problem you can have with this is the time it will take for DNS changes to replicate through the world, and users hitting the down server until you update.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
[SOLVED] Cluster question bino25 Linux - Software 2 02-04-2011 07:49 AM
debian cluster-question nbn792 Debian 5 12-01-2009 06:42 PM
HA cluster question illNino Linux - Software 3 04-17-2009 04:32 PM
Cluster question: Is it possible to make a bulletproof cluster? ValidiusMaximus Linux - Software 1 09-06-2005 02:07 PM
Linux cluster question maenho Linux - Software 5 06-15-2005 08:51 PM

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

All times are GMT -5. The time now is 04:36 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