Results 1 to 8 of 8
  1. #1
    Join Date
    Sep 2005
    Location
    Albany, NY
    Posts
    3,956

    Lightbulb setting up a mirror box with syncing?

    Hello,

    I would like to also have failsafe DNS set up so that in case one box goes down, it will be kicked to the other box, and so on.

    My questions are as follows:

    1. Is there a syncing script that will allow for the website to be updated on both servers (the main and the secondary one) each night? This is so the site on the secondary server stays current and does not appear out of date when kicked over to it.

    2. I currently run cpanel/whm, so, I assume that on the secondary server I'll need to have it installed so everything runs correctly, right?

    I am planning of just offering this service as an add-on to websites that want it at first, to see how it goes.

    Another thing I have been thinking about is, would it be possible to set up a 'skeleton' site that looks exactly like the main site, but just says something along the lines of 'We are currently experiencing difficulties, sorry for any inconvinience.' This method will just require the backup of the main homepage and their logo and the main feel of the website, and no real updates.

    I hope I didn't confuse you with all this.

    Thanks for the help
    AYKsolutions.com - High Bandwidth Specialists - 10Gbps/20Gbps+ Unmetered & DDOS Protected
    Over 20+ Global Locations - Asia (Hong Kong, Singapore, Tokyo), Mexico, Brazil, India, Australia, US, CA, EU - Bare Metal and Virtual Cloud. All Managed.
    We are Professional. Painless. Polite.

  2. #2
    Join Date
    Aug 2005
    Location
    Bay Area
    Posts
    63
    Are your sites mainly static content? What types of boxes are these Windows/Linux?
    OneZero We're a perfect 10 when it comes to your hosting and Internet needs!
    To us every last customer and every server also rates a perfect ten!
    http://onezerohosting.com, sales@onezerohosting.com

  3. #3
    Join Date
    Sep 2005
    Location
    Albany, NY
    Posts
    3,956
    The boxes are on linux.

    There is a way to do this, and set it up. I found dnsmadeeasy.com, and thinking about using that or working with a coder to set up the script, etc...

    Also, to sync the servers, RSYNC is available.
    AYKsolutions.com - High Bandwidth Specialists - 10Gbps/20Gbps+ Unmetered & DDOS Protected
    Over 20+ Global Locations - Asia (Hong Kong, Singapore, Tokyo), Mexico, Brazil, India, Australia, US, CA, EU - Bare Metal and Virtual Cloud. All Managed.
    We are Professional. Painless. Polite.

  4. #4
    Join Date
    Oct 2005
    Posts
    57
    SOunds like a ton of work ahead of you on this one! I am very interested in how this all plays out for you because I may want to do the same for my server as well. Can you be so kind as to post up how you achieved it successfully as you go? Like what steps you took and how easy it was to do? That would be all very useful to me.

  5. #5
    Join Date
    Sep 2005
    Location
    Albany, NY
    Posts
    3,956
    SOunds like a ton of work ahead of you on this one! I am very interested in how this all plays out for you because I may want to do the same for my server as well. Can you be so kind as to post up how you achieved it successfully as you go? Like what steps you took and how easy it was to do? That would be all very useful to me.
    No problem. I'll be more than glad to update you on how this goes for me.
    AYKsolutions.com - High Bandwidth Specialists - 10Gbps/20Gbps+ Unmetered & DDOS Protected
    Over 20+ Global Locations - Asia (Hong Kong, Singapore, Tokyo), Mexico, Brazil, India, Australia, US, CA, EU - Bare Metal and Virtual Cloud. All Managed.
    We are Professional. Painless. Polite.

  6. #6
    Join Date
    Sep 2005
    Location
    Albany, NY
    Posts
    3,956
    I am still working on this but getting close to finishing it up. Here is what I am planning on doing, using:

    1. For dns failover I'll probably use dnsmadeeasy.com's services as they are exactly what I need and cheap, or I will have the script created.
    2. For moving all the files over seamlessly, I will be using RSYNC and setting up a cron job with it so it does it 3 times per week (not daily so the server will not get overloaded).
    3. My main problem that I came to was how to move and update the MySQL databases, until that is, I came across MySQL replication. This can be found here. It's a very helpful link and I'd suggest everyone read it.

    The script is not done yet, but it should be by this weekend. I will update then.

    Thanks
    AYKsolutions.com - High Bandwidth Specialists - 10Gbps/20Gbps+ Unmetered & DDOS Protected
    Over 20+ Global Locations - Asia (Hong Kong, Singapore, Tokyo), Mexico, Brazil, India, Australia, US, CA, EU - Bare Metal and Virtual Cloud. All Managed.
    We are Professional. Painless. Polite.

  7. #7
    Join Date
    Feb 2002
    Location
    New York, NY
    Posts
    4,618
    Quote Originally Posted by ayksolutions
    2. For moving all the files over seamlessly, I will be using RSYNC and setting up a cron job with it so it does it 3 times per week (not daily so the server will not get overloaded).
    Configured properly, Rsync shouldn't overload a server. If you need to, you can set it to a lower priority with the "nice" command. Many folks have it mirroring their servers several times a day.
    Scott Burns, President
    BQ Internet Corporation
    Remote Rsync and FTP backup solutions
    *** http://www.bqbackup.com/ ***

  8. #8
    Join Date
    Sep 2005
    Location
    Albany, NY
    Posts
    3,956
    Thanks for that update. I will take that into consideration.
    AYKsolutions.com - High Bandwidth Specialists - 10Gbps/20Gbps+ Unmetered & DDOS Protected
    Over 20+ Global Locations - Asia (Hong Kong, Singapore, Tokyo), Mexico, Brazil, India, Australia, US, CA, EU - Bare Metal and Virtual Cloud. All Managed.
    We are Professional. Painless. Polite.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •