Results 1 to 10 of 10
-
11-18-2009, 10:32 AM #1Junior Guru Wannabe
- Join Date
- Nov 2009
- Posts
- 33
A tip: always have two servers at two different locations
I always have two servers at two different locations. One server is active, the other server acts like a mirror, set-up exactly the same way as the main server. Right now I have one in Munich and one in Texas.
If server one goes down, I direct my DNS to the back-up server. This can take up to one day, maybe it's possible to do it quicker working with DNS zones or whatever but I don't know anything about it. But one day downtime is better than 2 days or longer.
I move files from server 1 to server 2 by first tarring on server 1 and then use wget in Putty from server 2. It should be possible to automate this but this is another thing I don't know much about.
Anyway... having two servers like this is cheaper than having one server with 24/7 server plan. Another advantage is that you can always move to another provider without any risk of downtime.
Just a tip. Also, I am new on this forum and I am shocked to see how many problems there are with so many hosting providers. It seems that the internet is today's Wild West, there's bullets flying around everywhere!
-
11-18-2009, 10:35 AM #2WHT Addict
- Join Date
- Oct 2009
- Posts
- 116
1. Well you could set a low TTL which wouldn't take as long to switch?
2. Maybe you could have the backup server take over the master server's ip when it goes down. -- not all host will let you do this though, unless your host owns both data centers then maybe u could use the IP in both of them.
-
11-18-2009, 11:35 AM #3Web Hosting Master
- Join Date
- Apr 2007
- Posts
- 3,531
Set a lower TTL or even use round robin DNS servers so both are in use all the time.
BotWars.io - Code the AI of your Battle Bot!
-
11-18-2009, 11:38 AM #4WHT Addict
- Join Date
- Oct 2009
- Posts
- 116
-
11-18-2009, 12:12 PM #5Web Hosting Master
- Join Date
- Mar 2009
- Posts
- 2,222
-
11-18-2009, 12:14 PM #6Junior Guru
- Join Date
- Dec 2003
- Posts
- 249
If this is *nix servers why not setup rsync and set it up on a cronjob?
-
11-18-2009, 12:22 PM #7Newbie
- Join Date
- Aug 2009
- Location
- Zurich - Switzerland
- Posts
- 28
Maybe you can find a provider using IGP anycast for disaster recovery and load distribution across different DC.
Last edited by EngineNetworks; 11-18-2009 at 12:22 PM. Reason: misstyping
-
11-18-2009, 12:59 PM #8Junior Guru Wannabe
- Join Date
- Aug 2009
- Location
- Chicago, IL
- Posts
- 87
That is an interesting method you're using. I'm glad it has proven successful for you! Have you had any confusion with having two separate servers? Has the cost of having two been worth not having to deal with problems with downtime? I'm just curious
Whitney Godard - Account Manager
SingleHop Inc. - www.singlehop.com Exclusive Specials - www.singlehop.com/jeremymiller
Phone: 1-866-817-2811 ext. 107
-
11-18-2009, 02:05 PM #9Keep rockin' in the free world
- Join Date
- May 2002
- Location
- Kingston, Ontario
- Posts
- 1,588
Good luck rsyncing databases, that can often lead to issues. If your site is static it's no biggie but if you have a large application then it gets ugly.
-
11-18-2009, 02:15 PM #10Corporate Member
- Join Date
- Feb 2008
- Location
- Houston, Texas, USA
- Posts
- 3,262
I can't agree more with OP. No single facility has ever achieved 100% uptime. So it's best to have a sound strategy in place. However, manual failover is definitely not the best route I would take. There are failover offerings on this forum that might benefit you. It will probably save you a good deal on that second dedi.
Regards
JoeUNIXy - Fully Managed Servers and Clusters - Established in 2006
Server Management - Unlimited Servers. Unlimited Requests. One Plan!
cPanel Varnish Plugin -- Seamless SSL Caching (Let's Encrypt, AutoSSL, etc)
Slow Site or Server? Unable to handle traffic? Same day performance fix: joe@unixy
Similar Threads
-
Looking for servers in specific locations
By IPv6 in forum Dedicated ServerReplies: 4Last Post: 09-19-2008, 11:10 PM -
Looking for VPS servers in various locations
By Trix in forum VPS HostingReplies: 3Last Post: 03-16-2008, 03:31 AM -
need tip for low end servers
By WebEnzyme in forum Dedicated ServerReplies: 3Last Post: 07-14-2006, 03:31 PM -
Servers in all locations
By Bloodfeud in forum Dedicated ServerReplies: 12Last Post: 02-28-2005, 07:23 PM -
2 servers,different locations, mirroring
By mwright in forum Dedicated ServerReplies: 5Last Post: 05-16-2003, 08:18 AM