Replicating VMWare server files

Posted on 2009-04-02
Last Modified: 2013-12-16
I am researching open source and free disaster recovery options for implementing VMWare Server (Free version). I want the Virtual machine files to replicate to another server, which I activate if the first one fails. So far I'm looking at two options:

1) LVM Snapshots, with periodic sync through rsync or the like
2) DRDB live replication

I'm looking at the downside of trying this. People who have experienced problems in live environments with either of these setups. Please advise on what I should beware of with LVM/DRDB, and if alternative methods exist that will be better. As far a possible, Free and/or Open Source solutions.

Thank you very much for any input!
Question by:Morne Lategan
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 3
  • 3
LVL 21

Accepted Solution

za_mkh earned 400 total points
ID: 24053814
I would say that you ensure that your VM's are powered off before you do the sync regardless of the method you choose, doing a similar thing in Windows is possible in that, we use a script to shutdown the VM's and then use basic Robocopy to copy the files from one server to another! After the copy is complete, we just start up the VM's again. It does work. Of course these are our non-critical VM's. The critical ones are on ESX / Vmotion!

Assisted Solution

MrMintanet earned 100 total points
ID: 24054777

Author Comment

by:Morne Lategan
ID: 24055009
Thank you for the comments.

I agree that ESX is the way to go if you have a large infrastructure and the budget that goes with it, but I'm looking at a more cost effective solution for small offices with one server virtualizing two or three guests.

And I'm trying to do it in such a manner that the VM's are up all the time while being replicated or periodically backed up. I might have my hopes up too high, but my logic says it should be possible :)

Has anyone ever worked with VM's on DRDB replicated disks?

Simplifying Server Workload Migrations

This use case outlines the migration challenges that organizations face and how the Acronis AnyData Engine supports physical-to-physical (P2P), physical-to-virtual (P2V), virtual to physical (V2P), and cross-virtual (V2V) migration scenarios to address these challenges.


Expert Comment

ID: 24055115

Author Comment

by:Morne Lategan
ID: 24055292
Thank you MrMintanet, and sorry for not commenting on your fist post.

Rsync most certainly solves one part of what I am attempting to do. The other part however is that I want to do it on a live system. Working with large disk images of several GBs changes will almost certainly occur in the files from where I start syncing to where I'm finished syncing, leaving me with an inconsistent backup unless I turn off the VM.

I would like to attempt it in a manner that the VM does not need to be powered off.

In theory it should work with either DRDB or LVM, but does it actually work in practice? If not, Is there any other free/open source option that will do what I want, or am I stuck with powering it off?

Expert Comment

ID: 24055364

Author Closing Comment

by:Morne Lategan
ID: 31565724
Didn't get an answer, but thanks for the comments. Splitting the points.

Featured Post

WordPress Tutorial 1: Installation & Setup

WordPress is a very popular option for running your web site and can be used to get your content online quickly for the world to see. This guide will walk you through installing the WordPress server software and the initial setup process.

Question has a verified solution.

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

In this article, I will show you HOW TO: Perform a Physical to Virtual (P2V) Conversion the easy way from a computer backup (image).
Learn how the use of a bunch of disparate tools requiring a lot of manual attention led to a series of unfortunate backup events for one company.
In this Micro Tutorial viewers will learn how to restore their server from Bare Metal Backup image created with Windows Server Backup feature. As an example Windows 2012R2 is used.
This tutorial will walk an individual through the steps necessary to configure their installation of BackupExec 2012 to use network shared disk space. Verify that the path to the shared storage is valid and that data can be written to that location:…

623 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