|
backup mail and backup web
03-14-2009, 08:24 AM
|
backup mail and backup web
|
Posts: 116
Name: Paul
Location: South Africa
|
I have a server a home and I host a website from it myself, i also host my own mail and all that is working well, now what I am concerned about is this what if I have a power cut or a fire or anything that stops my website or even worse kills it completly well I have an offsite backup that I do once a week so great I can get it back after I have bought a new computer and set it up, but there is still downtime, is there a way for me to create an exact duplicate on another machine of the entire website and a complete backup of the mail server that takes over if the other one is down without me doing anything, I could be at work and have a powercut could it auto switch over to the backup mail and webserver.
__________________
This was my latest holiday in Please login or register to view this content. Registration is FREE South Africa.
This was my favorite adventure holiday in Please login or register to view this content. Registration is FREE
|
|
|
|
03-14-2009, 08:29 AM
|
Re: backup mail and backup web
|
Posts: 41,519
Name: Chris Hirst
Location: Blackpool. UK
|
http://www.webmaster-talk.com/web-ho...using-dns.html
Clustering is what you need to implement first of all.
__________________
Chris. ->> Links are advertising NOT optimising!! <<-
A foolish consistency is the hobgoblin of little minds
Thought for today:- I SEO the only industry where all the cowboys are Indians?
|
|
|
|
03-14-2009, 11:08 AM
|
Re: backup mail and backup web
|
Posts: 116
Name: Paul
Location: South Africa
|
Quote:
Originally Posted by chrishirst
|
Ok so first I have to find out how to cluster 2 mac os x server machines in seperate geographic locations together and then add a couple things to my dyndns records like this
example.com A 000.000.000.000
mail.example.com CNAME example.com
www.example.com CNAME ecample.com
mail2.example.com A 111.111.111.111
www2.example.com A 111.111.111.111
Now my only concern to doing this is that I cannot figure out how to tell my application called DNSUpdater for mac os x to allow me to do this, you see if I add a hostname as example.com, with the interface as external and the host type set to custom then it updates all A records with my same IP, so if I set another computer up with the same application in my second location i am not sure if I can just tell the first DNSUpdater to update the IP for example.com and not for mail2.example.com and www2.example.com then do the reverse of that for the other computer, I do have a checkbox in the application called Enable Wildcard and Back MX and a text field for Mail Exchanger.
I will attach a screenshot of it just for ease.
__________________
This was my latest holiday in Please login or register to view this content. Registration is FREE South Africa.
This was my favorite adventure holiday in Please login or register to view this content. Registration is FREE
|
|
|
|
03-18-2009, 08:27 PM
|
Re: backup mail and backup web
|
Posts: 37
|
Quote:
Originally Posted by scorpioserve
I have a server a home and I host a website from it myself, i also host my own mail and all that is working well, now what I am concerned about is this what if I have a power cut or a fire or anything that stops my website or even worse kills it completly well I have an offsite backup that I do once a week so great I can get it back after I have bought a new computer and set it up, but there is still downtime, is there a way for me to create an exact duplicate on another machine of the entire website and a complete backup of the mail server that takes over if the other one is down without me doing anything, I could be at work and have a powercut could it auto switch over to the backup mail and webserver.
|
OMG GRAMMER! You can use an actual period (.) from time to time.
|
|
|
|
03-19-2009, 08:57 AM
|
Re: backup mail and backup web
|
Posts: 116
Name: Paul
Location: South Africa
|
I do not know what GRAMMER is; sorry.
This may help, even though it is off topic.
Grammer.png
Unless you meant.
Grammar.png
Otherwise I do greatly appreciate the; English lesson.
By the way, do you have anything to say about backup mail servers, web servers, or clustering. I would love your input. I have been a member here for more than, uhh lets say 9 days, but I still have so much to learn. After all, I know you have this kind of information, because you have your very own hosing company Edward.
Any help would be greatly appreciated.
__________________
This was my latest holiday in Please login or register to view this content. Registration is FREE South Africa.
This was my favorite adventure holiday in Please login or register to view this content. Registration is FREE
Last edited by scorpioserve; 03-19-2009 at 09:04 AM..
|
|
|
|
03-19-2009, 10:33 AM
|
Re: backup mail and backup web
|
Posts: 1,514
Name: Andrei
Location: Canada
|
 , that's what happens when you try to be a smart***... you forget to use the good ol' spell check.
Last edited by KML9870; 03-19-2009 at 11:51 AM..
|
|
|
|
03-19-2009, 12:22 PM
|
Re: backup mail and backup web
|
Posts: 16
Name: Zachary McClung
|
Would it not be easier just to do a round robin DNS setup? You accomplish pretty much the same thing with a lower cost and less hassle.
|
|
|
|
03-19-2009, 04:35 PM
|
Re: backup mail and backup web
|
Posts: 116
Name: Paul
Location: South Africa
|
Quote:
Originally Posted by TurnkeyInternet
Would it not be easier just to do a round robin DNS setup? You accomplish pretty much the same thing with a lower cost and less hassle.
|
Thanks this has got me thinking.
I wonder if it would work for my situation. You see my concern is that I do not have any static IP addresses, so I will have to see if there is a way to leverage the power of dyndns's solution to do that, but retain the dynamic IP's.
My question is this if I did manage to impliment such a system, how would this work. As far as my understanding goes on this subject, is that all the servers in the round robin need to be exact duplicates of eachother, now that is fine but the site I am hosting has a database that changes constantly. So lets say that user 1, requests my site and gets the 1st IP in the pool, and then enters something into my db, then the second user who gets the second IP in the pool, will not be able to see what the other has updated in the db. Please advise if I am on the wrong track here.
__________________
This was my latest holiday in Please login or register to view this content. Registration is FREE South Africa.
This was my favorite adventure holiday in Please login or register to view this content. Registration is FREE
|
|
|
|
03-20-2009, 01:49 PM
|
Re: backup mail and backup web
|
Posts: 22
Name: adoc fish
|
>the mail server that takes over if the other one is down without me doing anything
You can define an MX entry for one or more backup mailservers.
|
|
|
|
03-21-2009, 02:12 AM
|
Re: backup mail and backup web
|
Posts: 116
Name: Paul
Location: South Africa
|
Quote:
Originally Posted by _coda_
>the mail server that takes over if the other one is down without me doing anything
You can define an MX entry for one or more backup mailservers.
|
I realize that you can have multiple mail servers with different priority MX records. It works great in situations where the main mail server goes down for 30 minutes, even a couple of days. When you get it back up and running then it takes over again as the main mail server. However there would surely be a possibility of some mail loss. Example: you send me a mail from you@yourMX.com at 1:00pm to me@myMX.com, the mail exchanger on myMX.com gets it at 1:02pm and keeps it in it's mail store until the user with the email address of me@myMX.com requests it, now that user will only request it at 4:00pm, if this mail server goes down between the hours of 1:02pm and 3:59pm what happens to that mail, cause that server is down all the mail now gets handled by my backup mail server, but that mail is not in that mail store, so when the user checks, it will say he has no mail. Is there any way to fix that.
__________________
This was my latest holiday in Please login or register to view this content. Registration is FREE South Africa.
This was my favorite adventure holiday in Please login or register to view this content. Registration is FREE
|
|
|
|
03-21-2009, 03:18 PM
|
Re: backup mail and backup web
|
Posts: 22
Name: adoc fish
|
> However there would surely be a possibility of some mail loss
Sure. How you intend to reconcile the mail stores is something you will have to decide before you do this.
I'd guess for a simple setup with only a few accounts, you could go with a manual process. Complex mail services should be using a distributed mail store and multiple MTAs from the outset anyway.
I live without a backup mail server. If the server is down for a shortish period (a few hours), say for a reinstall of a distro, you are unlikely to lose any new email. Incoming mail during the outage will be queued and resent when your server is up again. Only guys that don't respect this are the spammers. Worst case is you get mail a few hours later than you normally should.
|
|
|
|
03-25-2009, 12:12 PM
|
Re: backup mail and backup web
|
Posts: 1,687
Name: Travis
|
You can go with 3d party outsourced backup services
Manual - that mean that you can forget about the backup
__________________
ServerPoint.com - a true hosting company since 1998
Web Hosting, colocation, Please login or register to view this content. Registration is FREE
Please login or register to view this content. Registration is FREE
|
|
|
|
03-26-2009, 07:50 AM
|
Re: backup mail and backup web
|
Posts: 1,497
|
If you are on the dedicated server you can organize that on your own - one part for the sites and another one for the backups. I mean Raid.
In this case that would be the best opportunity for you
But third party backup services still working
|
|
|
|
03-26-2009, 03:00 PM
|
Re: backup mail and backup web
|
Posts: 37
|
Quote:
Originally Posted by scorpioserve
I do not know what GRAMMER is; sorry.
|
lol. It appears I could use a spelling lesson myself. Hope you understand, it's very difficult to read and comprehend a sentence that never ends.
Quote:
Originally Posted by scorpioserve
By the way, do you have anything to say about backup mail servers, web servers, or clustering. I would love your input.
|
Paul,
If you want to avoid downtime due to power loss or disaster, I would recommend you co-locate your server in a good datacenter. A decent datacenter has several fail-safes to protect your server and eliminate downtime. Redundant high speed connections, power conditioners, standby power generators, and waterless fire suppression systems are standard with any reputable datacenter.
If your worried about hardware failure, fail-over clustering would be an excellent solution but can be a daunting task to setup even for experienced system admins. There are control panels available to help with clustering by making to easier to create and maintain the cluster.
Your ideal scenario is to have clustered servers that are in separate datacenters. 
|
|
|
|
|
« Reply to backup mail and backup web
|
|
|
| Thread Tools |
Search this Thread |
|
|
|
Posting Rules
|
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is Off
|
|
|
|