#1 (permalink)  
Old 01-05-2005, 10:40 AM
Banned
 
Join Date: Dec 2004
Posts: 105
cz1179 is on a distinguished road
DNS failover / redundancy

Simple question. I have my domain's dns zone on a server (original shared hosting server) but it points to my new dedicated server (used for CPU resources). So the dns zone uses ns1/ns2 (again on shared server pointing to #2 server).

How do I set up the domain so that if server #1 (shared) goes down, my site stays up? I was thinking adding ns/ns0 to the nameservers of that domain (ns/ns0 is located on server #2 of course). So if I apply the ns/ns0 IP's and add ns/ns0 to nameserver summary would that be considered at least a workable method for dns failover for that domain?
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #2 (permalink)  
Old 01-05-2005, 10:46 AM
Registered User
 
Join Date: Aug 2003
Posts: 78
lost
Quote:
Originally Posted by cz1179
Simple question. I have my domain's dns zone on a server (original shared hosting server) but it points to my new dedicated server (used for CPU resources). So the dns zone uses ns1/ns2 (again on shared server pointing to #2 server).

How do I set up the domain so that if server #1 (shared) goes down, my site stays up? I was thinking adding ns/ns0 to the nameservers of that domain (ns/ns0 is located on server #2 of course). So if I apply the ns/ns0 IP's and add ns/ns0 to nameserver summary would that be considered at least a workable method for dns failover for that domain?
the easiest and best thing to do is 'outsource ' your dns.
take a look here: http://www.dnsmadeeasy.com/u/19258

inexpensive, works well with ttl set as low as 5 sec.

L
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #3 (permalink)  
Old 01-05-2005, 10:51 AM
Banned
 
Join Date: Dec 2004
Posts: 105
cz1179 is on a distinguished road
I can't do that honestly, (if I understand correctly). I already have ns1/ns2 setup on the shared server for many clients and don't want any downtime whatsoever. Perhaps I'm not understanding how the outsourcing works so forgive me
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #4 (permalink)  
Old 01-05-2005, 11:38 AM
cPanel Partner NOC
cPanel Partner NOC Badge
 
Join Date: Oct 2003
Posts: 1,764
dalem is on a distinguished road
cluster server 1 and 2 together

from reading your post I am asuming your are keepping both servers (correct me if i am wrong)
use an ip from server 1 for ns1 and use a ip from server 2 fro ns2 that way is server 1 goes down the dns on server 2 will still resolve loading the site

if you not keeping server one just dns cluster the two servers together and change the ip's to ips on server 2 down time 0
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #5 (permalink)  
Old 01-16-2005, 02:36 PM
Registered User
 
Join Date: Nov 2004
Location: The Third Rock from The Sun!
Posts: 67
jdonoso is on a distinguished road
Question

One question and sorry if this sounds newbie, but wanted to be sure.

Once the dns clustering is done, for it to work correctly, you MUST have the same accounts you have on server 1 in server 2. Correct?

Please advise.

Best regards,
__________________
Juan Carlos Donoso
Vice-Manager TechDream.Net
http.//www.techdream.net/
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #6 (permalink)  
Old 01-17-2005, 11:39 AM
cPanel Partner NOC
cPanel Partner NOC Badge
 
Join Date: Oct 2003
Posts: 1,764
dalem is on a distinguished road
just the DNS and it will automaticly sync to the zone files
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #7 (permalink)  
Old 01-19-2005, 07:01 PM
Registered User
 
Join Date: Nov 2004
Location: The Third Rock from The Sun!
Posts: 67
jdonoso is on a distinguished road
Thanks dalem,

So, if I understood correctly, on server 1 I have hosted 40 accounts, and on server 2 nothing. If I set sync dns, if server 1 fails, it automatically starts serving web pages using dns supplied in server 2? But this also applies as long as the server 1 is running and the failure only applies to its dns service, right?

Is that correct?


Best regards,
__________________
Juan Carlos Donoso
Vice-Manager TechDream.Net
http.//www.techdream.net/
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #8 (permalink)  
Old 01-20-2005, 01:26 AM
cPanel Partner NOC
cPanel Partner NOC Badge
 
Join Date: Oct 2003
Posts: 1,764
dalem is on a distinguished road
yes as long as at least one of the IP's is on server 2

it will not serve the webpages only the domains will resolve its clutered DNS not a clustered webserver
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #9 (permalink)  
Old 01-20-2005, 01:35 AM
Registered User
 
Join Date: Nov 2001
Posts: 435
electric is on a distinguished road
Couple of questions:

1) I've heard that the cPanel DNS clustering system is really bad. Can you tell me if this is true? Does it work well? (Easy to use, and is VERY reliable.)

2) Does DNS clustering add a lot of extra server processing to each server?

Thanks!
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #10 (permalink)  
Old 01-20-2005, 02:46 AM
cPanel Partner NOC
cPanel Partner NOC Badge
 
Join Date: Oct 2003
Posts: 1,764
dalem is on a distinguished road
I have used it ever since it was an option for cPanel I do not notice any extra server loads it has worked with no troubles

they do however cPnel only recomends not running to many servers clustered (how many is to many I do not know) I have had up to 4 servers clustered with no problems

curently have 3 clustered now
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #11 (permalink)  
Old 01-27-2005, 12:31 AM
Registered User
 
Join Date: Jun 2003
Location: Perth Western Australia
Posts: 51
mr2jzgte
True clustering where one or more server goes down and sites remain up.. Then speak to me... but it's not cheap.. You need a minimum of 5-6 servers to do it properly.. it can be done with 3-4 (for simple load balancing with minimal fail over)

DNS Clustering - Meh. Its crude and I've been using it for a while. Simple rsync scripts between 4 servers which are updated every hour. Basically syncronises named.conf and /var/named on all 4 machines. restarts named and off it goes serving requests...

never had a problem with cpu load and we have 3000 clients + umpteen amount of domains.

It would be possible using heartbeat + ldirectord, + 2 servers in diff locations.

scenario

Machine 1 - Main CPanel Machine
Machine 2 - DNS / Secondary MX.

Assumes that:
Each domain name hosted has the following ns records
ns1.domain.com
ns2.domain.com
And mx records
mx1.domain.com
mx2.domain.com

Using ldirectord and heartbeat you can determine when a server goes down. This restarts named with a different config than what it would normally start with (this can be setup with a template so that any requests get the same results ) i.e someone requests the records for a domain. Your server knows that the other server is down and has restarted the named server with a blanket config so anyone requesting records gets the ip/cname of ns2.domain.com

this points to a webpage which says system maint or system unavailable.
likewise for the mx records...

I can explain in more detail if anyones interested but that would be the simplist and cheapest "fail over" solution available.

james@austdomains.com.au
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #12 (permalink)  
Old 02-05-2005, 09:25 AM
Registered User
 
Join Date: Oct 2003
Posts: 11
CPspider
From Whm?

Hello and thanks in advance for helpful input

The Question
Is there any way to setup an actual domain name system with WHM-only access to multiple accounts?

The Details
I was admiring the intentional (designed?) DNS problem (primary.DNSMachine = secondary.sameDNSMachine) and was trying to manually correct the issue using the WHM on two different reseller accounts. I thought it was going well when the "Add a DNS Zone" page asked for "IP" and "Domain" (thinking it would take the SOA IP and go fetch the records), but -- as I'm sure you guys already knew -- it just setup another primary zone.

So, is there any non-duel-zone-headache-causing-synchronization way to actually have a real live on-a-different-network (or at LEAST on a different machine) secondary if you only have WHM access? Is there a "Create Secondary" option that's not enabled on mine?

Thanks again.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Reply

Thread Tools
Display Modes

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 On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



All times are GMT -5. The time now is 01:02 PM.


Powered by vBulletin® Version 3.8.2
Copyright ©2000 - 2010, Jelsoft Enterprises Ltd.
© cPanel Inc