Take the 2-minute tour ×
Server Fault is a question and answer site for professional system and network administrators. It's 100% free, no registration required.

I have two dedicated servers in two different locations. One at USA (Based on CentOS), another at Asia (Based on Debian). Need to implement High Availability HTTP Clustering.

The main complexity is different OS. Will heartbeat be better or other?

share|improve this question
    
Why do you need HA? What do you expect from it? –  Nils Sep 8 '12 at 21:17
    
@Nils, Yes I need High Availability (HA) –  Mahbubur R Aaman Sep 9 '12 at 13:28
add comment

closed as not a real question by SvW, Nils, rnxrx, Michael Hampton, Ward Sep 19 '12 at 18:40

It's difficult to tell what is being asked here. This question is ambiguous, vague, incomplete, overly broad, or rhetorical and cannot be reasonably answered in its current form. For help clarifying this question so that it can be reopened, visit the help center.If this question can be reworded to fit the rules in the help center, please edit the question.

2 Answers

up vote 1 down vote accepted

The best clustering solution is a solution at application level, that replicates sessions to all involved servers. If you have that in place you need a DB below that, that replicates the data to both locations.

Having that in place you are ready for load-balancing and have an active-active-cluster with no need for a failover mechanism.

OS should not matter much (could be even Linux and W2K8R2). The only case where you have to think about is the re-join of a node that was down before. The application should not start up until the DB is in sync again.

share|improve this answer
add comment

You do not need or want high-availability clustering, even if you can implement it cheaply using different operating systems thousands of miles apart.

Look at global load balancing, which one or both of your hosting companies may offer. Your URL resolves to a device which then redirects to whichever of your two servers is active (if you regard one as your main site and the other as a disaster recovery site) or to whichever is nearest the end user (as long as both sites are running).

share|improve this answer
    
We can't take hosting companies offer, rather we need to build them. Please refer any service or resource from which we can take help –  Mahbubur R Aaman Sep 8 '12 at 11:42
    
Search for global load balancing dns. –  ramruma Sep 8 '12 at 12:17
    
load balancing dns resolves the issue of domain. But i need when a developer uploaded a file to one server then it will be copied to another one. When some changes to one database made, then it will be copied to another one. –  Mahbubur R Aaman Sep 8 '12 at 12:23
    
Many databases (e.g., mysql, postgresql, oracle) implement replication technologies that will let you keep two instances of a database in sync. Similarly, there are a number of solutions for file synchronization; the best solution will depend on your requirements. You might want to open a new question specifically about this issue. –  larsks Sep 8 '12 at 13:25
    
Modern storage arrays can synchronise files across WANs. It may be cheaper and easier to write a two-line batch file for your developer to upload the file to both systems at once. –  ramruma Sep 9 '12 at 8:20
add comment

Not the answer you're looking for? Browse other questions tagged or ask your own question.