Solved

Redundancy / Synchronization

Posted on 2014-09-05
3
160 Views
Last Modified: 2014-09-12
I am running a number of Xen PV machines on CentOS 6 (using SolusVM) on a number of physical machines in 3 datacenters.
My client is asking my to provide a redundant solution that his machine is in realtime sync with another at a different datacenter that if his Virtual Machine goes down for any reason the other Virtual machine in a different datacenter is available.
I am not sure how to proceed and will be very thankful for any help.
0
Comment
Question by:sysautomation
  • 2
3 Comments
 
LVL 12

Expert Comment

by:Kent W
ID: 40307224
The biggest hurdle here is "what is he syncing"?
Files, database(s)?
Basically you can sync files on a schedule with rsync, databases a few different methods, but step one is get what's needed replicated.
Next you want either a load balancer (haproxy is great and open source), or a DNS failover service like dnsmadeasy.
I use both.
I'd start with DNSME, it's cheap and works great.
If you do a load balancer you would want it to be either at your failover Dc or an independent dc.  Not the same place as your primary server is the key.
With an LB, you also get the benefit of using both servers to double your handling capacity if you want, or just config one as a backup that only gets traffic if your primary is down.
0
 

Author Comment

by:sysautomation
ID: 40307246
Thanks for the help. The server is running Oracle Express Edition 11g and that's the primary thing to be synced. This version of Oracle does not support sync but some expensive version supports. That's why I thought doing this at VM/OS level. The biggest issue is the customer needs it in real-time and would it be really possible doing it with rsync because of real-time?
0
 
LVL 12

Accepted Solution

by:
Kent W earned 500 total points
ID: 40307258
For real time no.  Rsync would not do it.   Unless you were ok with minutes behind.  It's sure cheap if a few minutes aren't a deal breaker.  
DRDB offers block level replication, open source.  Real time replication with buffers / quorum cost quite a bit. Xosoft is thousands.
Neverfail is about the same.
Unless he has a big budget, then block level rep, aside from DRDB, isn't going to be cheap.
If it's *just* the database you need synced, and I'm not big on oracle,  if your version allows it, most databases support the equivalent of master / slave replication.
If that is possible, then you can simply replicate the data to your slave backup, use DNSME or a load balancer for failure detection and failover.
0

Featured Post

Master Your Team's Linux and Cloud Stack

Come see why top tech companies like Mailchimp and Media Temple use Linux Academy to build their employee training programs.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Is your company's data protection keeping pace with virtualization? Here are 7 dynamic ways to adapt to rapid breakthroughs in technology.
In this article, I am going to show you how to simulate a multi-site Lab environment on a single Hyper-V host. I use this method successfully in my own lab to simulate three fully routed global AD Sites on a Windows 10 Hyper-V host.
Learn how to navigate the file tree with the shell. Use pwd to print the current working directory: Use ls to list a directory's contents: Use cd to change to a new directory: Use wildcards instead of typing out long directory names: Use ../ to moveā€¦
Get a first impression of how PRTG looks and learn how it works.   This video is a short introduction to PRTG, as an initial overview or as a quick start for new PRTG users.

776 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question