Solved

Redundancy / Synchronization

Posted on 2014-09-05
3
154 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
Comment Utility
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
Comment Utility
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
Comment Utility
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

How your wiki can always stay up-to-date

Quip doubles as a “living” wiki and a project management tool that evolves with your organization. As you finish projects in Quip, the work remains, easily accessible to all team members, new and old.
- Increase transparency
- Onboard new hires faster
- Access from mobile/offline

Join & Write a Comment

ADCs have gained traction within the last decade, largely due to increased demand for legacy load balancing appliances to handle more advanced application delivery requirements and improve application performance.
Veeam Backup & Replication has added a new integration – Veeam Backup for Microsoft Office 365.  In this blog, we will discuss how you can benefit from Office 365 email backup with the Veeam’s new product and try to shed some light on the needs and …
Learn several ways to interact with files and get file information from the bash shell. ls lists the contents of a directory: Using the -a flag displays hidden files: Using the -l flag formats the output in a long list: The file command gives us mor…
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.

772 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

Need Help in Real-Time?

Connect with top rated Experts

11 Experts available now in Live!

Get 1:1 Help Now