hosted by liquidweb


Go Back   Web Hosting Talk : Web Hosting Main Forums : Web Hosting : WebSite with redundancy
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

WebSite with redundancy

Reply Post New Thread In Web Hosting Subscription
 
Send news tip View All Posts Thread Tools Search this Thread Display Modes
  #1  
Old 08-12-2011, 10:35 AM
Formas Formas is offline
Junior Guru
 
Join Date: Sep 2007
Posts: 195

WebSite with redundancy


Hello Guys,

I dont know if all knows about outage in Colo4Dallas few days ago.

After outage, i start to plan to have real redundancy in some og my clients websites.

So I would like to change information here about that. Someone already implement website with real redundancy? Wha strategy was used?

My idea is to have 2 server:

Server 01 with static site (scripts, html, etc...) and MySQL

Server 02 as mirror of static site of server 01, calling MySQL of server 01. If server 01 fail, so I start MySQl on server 2 manually.

The question is: how implement this??? Maybe using 4 DNSs for my domains in my registrar like the following:

1st DNS: ns1.domain.com (server01)
2nd DNS: ns3.domain.com (server02)
3° DNS: ns2.domain.com (server01)
4° DNS: ns4.domain.com (server02)

I am correct?? With DNS configuration above this will worked fine???

Any comments or sugestion about that or reference to articles is welcome.

Thanks

Reply With Quote


Sponsored Links
  #2  
Old 08-12-2011, 10:42 AM
gate2vn gate2vn is offline
Web Hosting Master
 
Join Date: Oct 2003
Location: Hanoi
Posts: 4,284
Static site will be easy to sync, but sync'ing 2 database servers will be a different story. You have just paid attention to dns only.

Also, if server02 and 01 are in 2 different datacenters, you will see slowness when connecting from 02 to 01.

__________________
Clustered CloudLinux Hosting | WordPress Hosting | Advanced Antispam | Managed Xen VPS
in US West coast and Asia datacenters with Asia-Pacific friendly networks

Free migration to our servers. Contact us now on Twitter @vietnap

Reply With Quote
  #3  
Old 08-12-2011, 10:54 AM
Formas Formas is offline
Junior Guru
 
Join Date: Sep 2007
Posts: 195
Idea is take MySQL only in 1 server.

So if Static page is load on server 1 or 2 MySQL ever load on server 1. But if server 1 fail, so I will manually configure MySQl to load on server 2.

The slowness that you are saing is when server 2 connection with server 1 to get MySQL datas, correct?

Reply With Quote
Sponsored Links
  #4  
Old 08-12-2011, 11:13 AM
Formas Formas is offline
Junior Guru
 
Join Date: Sep 2007
Posts: 195
My great doubh is about static site sync, I will try explain my doubth:

The hypothesis is:

1. I have 2 servers both with the same static site running as said previous;

2. I configure nameservers for my domains in registrar as:

ns1.domain.com point to server 01
ns2.domain.com point to server 02
ns3.domain.com point to server 01
ns4.domain.com point to server 02

Well here the doubts:

1. when both servers running fine, and I type my domains in my browser, where my browser will load the site? Ever In server 01? Or sometimes server 01 and sometimes server 02??? (I think that the reply is server 1, but I am not sure)

2. If server 01 fail, my browser will load the site automatically in server 02?



Reply With Quote
  #5  
Old 08-12-2011, 11:51 AM
KMyers KMyers is online now
Technical Nutcase
 
Join Date: Mar 2009
Location: Miami, Florida
Posts: 18,350
Quote:
Originally Posted by Formas View Post
My great doubh is about static site sync, I will try explain my doubth:

The hypothesis is:

1. I have 2 servers both with the same static site running as said previous;

2. I configure nameservers for my domains in registrar as:

ns1.domain.com point to server 01
ns2.domain.com point to server 02
ns3.domain.com point to server 01
ns4.domain.com point to server 02

Well here the doubts:

1. when both servers running fine, and I type my domains in my browser, where my browser will load the site? Ever In server 01? Or sometimes server 01 and sometimes server 02??? (I think that the reply is server 1, but I am not sure)

2. If server 01 fail, my browser will load the site automatically in server 02?


Hello,
Setting these nameservers are not going to make a difference, you will actually need to look for a "Failover DNS" or a "Failover Load Balancer"

__________________
Keith M.. - CTO
Shared & Reseller Hosting | VPS | Cloud Servers | Dedicated Servers | Colocation
99.999% Uptime | US & UK Locations | 24x7x365 Friendly Support | Satisfaction Guarantee
Big Brain Global Networks - Your Managed Provider | A Division of Big Brain, LLC

Reply With Quote
  #6  
Old 08-12-2011, 12:49 PM
Formas Formas is offline
Junior Guru
 
Join Date: Sep 2007
Posts: 195
Quote:
Originally Posted by KDisk View Post
Hello,
Setting these nameservers are not going to make a difference, you will actually need to look for a "Failover DNS" or a "Failover Load Balancer"

Nice information Kdisk,

I did a quick read about 2 options. Seems that "Failover Load Balancer" is a solutions to be used with 2 servers in the same data center, that is not the case. Maybe "Failover DNS" can to be the best option.

I will try learn more about that.

Thansk

Reply With Quote
  #7  
Old 08-12-2011, 01:23 PM
layer0 layer0 is offline
Performance Specialist
 
Join Date: Dec 2004
Location: New York, NY
Posts: 10,339
Nameservers are not meant to function in the way you described above. That would be an invalid DNS configuration.

Instead, you should use a company like www.dnsmadeeasy.com to manage your DNS and your A records configured to failover between servers.

Reply With Quote
  #8  
Old 08-12-2011, 03:04 PM
barbus barbus is offline
Aspiring Evangelist
 
Join Date: Aug 2010
Location: Prague, Czech Republic
Posts: 403
You can sync static files between both server. MySQL can be replicated in master-slave mode. If master fails, you will have to switch slave to master mode and domains in DNS to point to the slave.

__________________
Supportex.Net server management, full range of services. EU-based outsourced company. Since 1998.
Outstanding quality for high performance projects; clustering and high-availability solutions, DDoS protection.
Cisco/Juniper network management & deployment assistance. Network design and monitoring.

Reply With Quote
Reply

Similar Threads
Thread Thread Starter Forum Replies Last Post
Is there any website redundancy service (dns based) yello Dedicated Server 6 10-05-2009 11:56 PM
website redundancy numerix Web Hosting 11 09-20-2008 10:00 PM
Website Redundancy (Hosted in multiple datacentres?) luke_a Web Hosting 4 08-25-2008 07:38 AM
Website redundancy Lirath Web Hosting 9 05-30-2004 09:02 AM
Website Redundancy RJS666 Web Hosting 4 05-23-2003 02:12 AM

Related posts from TheWhir.com
Title Type Date Posted
Deutsche Telekom to Launch Multi-Cloud Management Services Web Hosting News 2013-03-18 17:01:30
Webair Launches Geographically Redundant Hosted Email Service, ProtoMail Web Hosting News 2012-12-11 18:04:09
Web Host Webair Improves Cloud Hosting Disk Speeds with Fusion-io Web Hosting News 2012-02-22 11:27:07
Cloud Host Storm On Demand New West Coast Region Goes Live Web Hosting News 2012-02-01 13:33:59
DotNetNuke Web Host PowerDNN Launches PowerGrid Global Cloud Solution Web Hosting News 2011-11-11 17:35:53


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?