Linux - EnterpriseThis forum is for all items relating to using Linux in the Enterprise.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
I know from searching this is something that's been asked a few times, but i'm a newbie to linux and need a solution for my problem.
What i got is two machine with CentOS4.4 as a host OS then i run two Virtual Machines (using VMware Server) on each.
What i now what to do is replicate these VM's onto a 3rd machine for Disater Recovery. So i need a product that will replicate the Folder /usr/lib/Virtual Machines/*.* on both machines onto the 3rd server in the same location.
We are talking atm each VM being around the 20GB mark.
rsync is designed for replicating entire directory structures. It has the beauty of allow you to update later so that it only transfers the changes rather than the whole thing over again.
Whether or not replicating a VM directory structure will have the effect you want is another question that I can't answer but the above tool will let you do the replication.
Distribution: Debian. (Formerly Slackware, Gentoo, RHEL, and Suse)
Posts: 80
Rep:
If you have ssh running on either host then you can use scp to just copy the vm files across. If you will want to do this on a regular basis you can use cron (crontab) to schedule the execution of the scp command.
scp is a good thing for copying and what I use for quick copying from host to host. However for any sort of recurring process I'd use rsync because of the control it allows and the fact that it only transfers things that have changed thereby saving bandwidth. It has other flags such as one that will let you even tell it to delete things on the target if they don't exist on the source so you can be sure both directories are exactly the same.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.