hosted by liquidweb


Go Back   Web Hosting Talk : Web Hosting Main Forums : Web Hosting : Remote Datacenter Wordpress Failover Solution
Reply

Web Hosting Discussions on all aspects of web hosting including past experiences (both negative and positive), choosing a host, questions and answers, and other related subjects. If your service is unavailable, please click here.
Forum Jump

Remote Datacenter Wordpress Failover Solution

Reply Post New Thread In Web Hosting Subscription
 
Send news tip View All Posts Thread Tools Search this Thread Display Modes
  #1  
Old 07-13-2009, 03:33 AM
thewpfan thewpfan is offline
Newbie
 
Join Date: Jul 2009
Posts: 15

Remote Datacenter Wordpress Failover Solution


I am trying to setup a wordpress blog network with 99.9% uptime. My experience with hosting companies is that there are hardware and network failures that can cause significant amount of downtime. So I was thinking of creating a remote failover solution. Is it possible?

I have been searching for a remote (vps in Japan and US) datacenter wordpress (application and mysql database) failover solution, but cannot find anything on the web. Ideally, the solution should be syncing both datacenters at the same time. If server A goes down, then server B will startup. Once server A is up again, server B will send its updates to server A and server A will resume. Since this will probably taxing on server A, server B might have to be 4-8 hours delayed. It is not ideal, but I have not found a solution to keep them in sync constantly.

I have searched under failover, clustering, replication, mirroring, syncing, and high availability over search engines and forums, but have not found a robust solution. I have read about dns failovers, but many have recommended that it is not a good solution.

If you have experience with a remote datacenter wordpress failover solution, please share.

Thank you.

Reply With Quote


Sponsored Links
  #2  
Old 07-13-2009, 07:54 AM
falconinternet falconinternet is offline
Junior Guru Wannabe
 
Join Date: Jul 2008
Location: Greensboro, NC
Posts: 99
For one site like this I would rsync the files every 5 or so minutes. You could also use LFTP to mirror the files if you don't have that type of access.

For the MYSQL data, if the database is small you could just dump the data every 3-4 hours and then copy it over to the server. Or, you can run a MySQL slave (if you have root access to both servers). I've always had trouble running MySQL slaves, but you may have better luck.

Keep your DNS hosted at a 3rd party and set the TTL values of your A records to a low number like 300 (5 minutes) and then switch if there's a problem.

__________________
__________________
Marc / Falcon Internet

Reply With Quote
  #3  
Old 07-13-2009, 12:27 PM
thewpfan thewpfan is offline
Newbie
 
Join Date: Jul 2009
Posts: 15
@FalconInternet
Is it possible to setup a MySQL master & slave for remote datacenters? Wouldn't latency affect synchronization?

In regards to DNS, were you thinking of a dns failover system like dnsmadeeasy?

Reply With Quote
Sponsored Links
  #4  
Old 07-13-2009, 12:38 PM
falconinternet falconinternet is offline
Junior Guru Wannabe
 
Join Date: Jul 2008
Location: Greensboro, NC
Posts: 99
#1: you can do a slave setup between 2 data centers. It's pretty fast. Unless you have just 1000s of insert queries, it shouldn't be an issue.

#2 DNS, yes, there's several DNS services like that one. Or you can do it manually (which I prefer), because you don't want to to revert back to the master if it comes back up, it doesn't sync the data both ways.

Another option is to update 2 databases at one time, the remote and the slave although that would require a lot of word-press customization.

__________________
__________________
Marc / Falcon Internet

Reply With Quote
  #5  
Old 07-13-2009, 12:39 PM
MikeDVB MikeDVB is offline
Web Host Extraordinaire!!!
 
Join Date: Dec 2007
Location: Indianapolis, Indiana USA
Posts: 14,319
You would really need to have some way to replicate the database information - replicating the files alone won't do you any good with a WordPress installation.

If it is that important to you that you keep your blog online you may want to look into failover web hosting otherwise going with a reputable and trusted provider you should be able to get 99.9% uptime in most cases.

__________________
Michael Denney - MDDHosting, LLC - Professional Hosting Solutions
LiteSpeed Powered - Shared, Reseller, Semi-Dedicated, and VPS
For high-end shared accounts ideal for business, check out our Semi-Dedicated offerings!
http://www.mddhosting.com/ - Providing Quality Services since 2007

Reply With Quote
  #6  
Old 07-13-2009, 01:23 PM
thewpfan thewpfan is offline
Newbie
 
Join Date: Jul 2009
Posts: 15
@FalconInternet
Thank you

@MikeDVB
I have actually searched for cross datacenter failover VPS solutions and there are few. I am currently communicating with unixy.net. I will update everybody on WHT if I go with their services. I have been with some reputable providers, but all of them have had hardware problems, network downtime, upgrades downtime, etc. Am I the only one? I would like to emulate 99.9% uptime and I think a cross datacenter solution might be the best. I am setting up a blog network for professionals. I would like to be professional too by providing a service that is redundant.

Reply With Quote
  #7  
Old 07-13-2009, 01:26 PM
dotHostel dotHostel is offline
Web Hosting Master
 
Join Date: Jun 2005
Posts: 2,532
When you are used to shared hosting after some time one might believe frequent downtime is a fact of live in the hosting industry. For some extent this may also be true when you buy a VPS from inexperienced providers as you don't have full control and is subject to unscheduled server reboots and others service outaqes. The fact is, if you have a VPS or dedicated server with a top-notch provider hardly you have frequent outages -- your server uptime is likely to be counted in years and if uptime is critical you need a disaster recovery plan instead a DNS failover.

I think for your case you could deploy a couple of front-end cheap VPS (US,JP) running Squid as reverse proxy, or Nginx forwarding dynamic queries, and back-end server(s) running WP and the DBMS with frequent off-site backups. You could use DNS failover (as DNSMadeEasy) for the front-end servers.

Note: 100% uptime may be achievable "inside" the data center but rarely in the real world. If network providers who own the last-mile can't ensure quality bandwidth to their customers, how can a service (including CDNs) that is relying on these networks do this?


Last edited by dotHostel; 07-13-2009 at 01:38 PM.
Reply With Quote
  #8  
Old 07-13-2009, 01:27 PM
MikeDVB MikeDVB is offline
Web Host Extraordinaire!!!
 
Join Date: Dec 2007
Location: Indianapolis, Indiana USA
Posts: 14,319
I'm not against what you're trying to do, I'm just saying to to do it *right* is not going to be cheap.

__________________
Michael Denney - MDDHosting, LLC - Professional Hosting Solutions
LiteSpeed Powered - Shared, Reseller, Semi-Dedicated, and VPS
For high-end shared accounts ideal for business, check out our Semi-Dedicated offerings!
http://www.mddhosting.com/ - Providing Quality Services since 2007

Reply With Quote
  #9  
Old 07-13-2009, 01:33 PM
dotHostel dotHostel is offline
Web Hosting Master
 
Join Date: Jun 2005
Posts: 2,532
Quote:
Originally Posted by MikeDVB View Post
I'm not against what you're trying to do, I'm just saying to to do it *right* is not going to be cheap.
Agreed.

Reply With Quote
  #10  
Old 07-13-2009, 01:50 PM
cartika-andrew cartika-andrew is online now
Web Hosting Master
 
Join Date: Oct 2003
Posts: 6,053
Quote:
Originally Posted by thewpfan View Post
I am trying to setup a wordpress blog network with 99.9% uptime.
Just find a provider that can actually deliver 99.9%.. honestly, over the long term, this is a very attainable metric, even for shared hosting ...

How much traffic are you actually pushing a month?

Reply With Quote
  #11  
Old 07-13-2009, 01:52 PM
cartika-andrew cartika-andrew is online now
Web Hosting Master
 
Join Date: Oct 2003
Posts: 6,053
Quote:
Originally Posted by MikeDVB View Post
I'm not against what you're trying to do, I'm just saying to to do it *right* is not going to be cheap.
exactly Mike..

to the OP - if you want to setup the type of HA setup you are talking about, it should be because your uptime objective is significantly higher then 99.9% - and as Mike said, you should have a significant budget to accomplish this. If you are just looking for 99.9% - a good provider can meet that. Sure,there will be times with network upgrades or problems that may cause you to miss that objective occassionally, but, having a 99.9%+ uptime average over years of hosting is certainly not unheard of..

Reply With Quote
  #12  
Old 07-13-2009, 01:54 PM
MikeDVB MikeDVB is offline
Web Host Extraordinaire!!!
 
Join Date: Dec 2007
Location: Indianapolis, Indiana USA
Posts: 14,319
Quote:
Originally Posted by cartika-andrew View Post
exactly Mike..

to the OP - if you want to setup the type of HA setup you are talking about, it should be because your uptime objective is significantly higher then 99.9% - and as Mike said, you should have a significant budget to accomplish this. If you are just looking for 99.9% - a good provider can meet that. Sure,there will be times with network upgrades or problems that may cause you to miss that objective occassionally, but, having a 99.9%+ uptime average over years of hosting is certainly not unheard of..
This is definitely what I was trying to say above I just didn't use quite as many words.

If you go with a reliable provider you shouldn't have a problem with 99.9% - if you really want failover/highly available you're going to end up paying significantly for it.

Reply With Quote
  #13  
Old 07-13-2009, 01:57 PM
Jacob Wall Jacob Wall is offline
Think big, and discover! :)
 
Join Date: Sep 2008
Location: Dallas, TX
Posts: 4,519
Quote:
Originally Posted by cartika-andrew View Post
Just find a provider that can actually deliver 99.9%.. honestly, over the long term, this is a very attainable metric, even for shared hosting ...

How much traffic are you actually pushing a month?
edit: I fail at math


Last edited by Jacob Wall; 07-13-2009 at 02:08 PM.
Reply With Quote
  #14  
Old 07-13-2009, 01:58 PM
cartika-andrew cartika-andrew is online now
Web Hosting Master
 
Join Date: Oct 2003
Posts: 6,053
Quote:
Originally Posted by Jacob Wall View Post
To achieve 99.9% uptime you can have 7.2 hours of downtime a month. :wow:
I believe 99.9% is 42 mins a month of downtime if I am not mistaken..

Reply With Quote
  #15  
Old 07-13-2009, 02:01 PM
Jacob Wall Jacob Wall is offline
Think big, and discover! :)
 
Join Date: Sep 2008
Location: Dallas, TX
Posts: 4,519
Quote:
Originally Posted by cartika-andrew View Post
I believe 99.9% is 42 mins a month of downtime if I am not mistaken..
edit: i fail at math


Last edited by Jacob Wall; 07-13-2009 at 02:08 PM.
Reply With Quote
Reply

Similar Threads
Thread Thread Starter Forum Replies Last Post
Cross Datacenter cPanel VPS Failover. Solved! UNIXy VPS Hosting Offers 3 05-22-2009 01:13 AM
Cross-Datacenter Highly Available Dedicated Server Bundle (failover) UNIXy Dedicated Hosting Offers 1 02-02-2009 11:24 AM
DNS Failover the right solution? handstands Dedicated Server 1 04-03-2007 02:12 PM
Failover Solution slpc Hosting Security and Technology 2 02-03-2006 06:31 PM
temporary Failover solution dosfromclare Web Hosting 1 04-09-2004 10:09 AM

Related posts from TheWhir.com
Title Type Date Posted
Cloud Host Client Intellect Launches WordPress Cloud Hosting Service Web Hosting News 2012-04-03 13:38:49
Web Host Nexcess Launches UK WordPress Hosting Web Hosting News 2012-01-16 11:27:19
Blogging Platform Wordpress.com Adds .ME Domain Extensions Web Hosting News 2011-10-21 14:25:28
Christopher Samson Discusses Microsoft's Dynamic Data Center for Cloud Web Hosting News 2011-08-09 22:44:30
WordPress Forces Password Reset After Suspicious Activity on Plugins Detected Web Hosting News 2011-06-22 14:56:47


Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes
Postbit Selector

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

Forum Jump
Login:
Log in with your username and password
Username:
Password:



Forgot Password?
Advertisement:
Web Hosting News:



 

X

Welcome to WebHostingTalk.com

Create your username to jump into the discussion!

WebHostingTalk.com is the largest, most influentual web hosting community on the Internet. Join us by filling in the form below.


(4 digit year)

Already a member?