OpenVZ Forum - RDF feed
type: channel
items: How to sync "production" host into "test" host?
items: Re: How to sync "production" host into "test" host?

How to sync "production" host into "test" host?
type: item
description: Hi there! I've been checking on OpenVZ for a while, waiting for it to become compatible with the newest Ubuntu, and it seems this might happen soon with Ubuntu 10.4 LTS. I haven't tried OpenVZ yet, as I see no point until it runs on my target Linux distribution. I have been using VirtualBox until now. My setup is as follow: 1) One Productive server on the Internet, by a "provider". 2) One Test Server at home (same hardware). 3) A fast-download, but slow-upload, Internet connection. My "development cycle" is as follow: 1) Make or use a backup of the production. 2) Download the backup from the prod to the test. 3) Try my new changes on the test, reloading the backup until the "update scripts" works. 4) Make new backup from prod. 5) Perform changes on prod. 6) Test changes on prod. What is the best way to setup the Containers and KVM VMs, so that this runs smoothly and keep the prod downtime to a minimum ? (by keeping the transfer duration to a minimum)
creator: shadowdemon
date: 2010-03-10T12:10:19-00:00

Re: How to sync "production" host into "test" host?
type: item
description: No answer? That probably mean that either syncing VMs on several servers is easy and documented, or it's impossible. I would be grateful if someone at least told me which is the case...
creator: shadowdemon
date: 2010-03-17T11:35:01-00:00

Re: How to sync "production" host into "test" host?
type: item
description: Hello, I'm not sure that this is what you are talking about but look at the following pages http://wiki.openvz.org/Checkpointing_and_live_migration http://wiki.openvz.org/Vzdump
creator: maratrus
date: 2010-03-19T14:30:24-00:00

Re: How to sync "production" host into "test" host?
type: item
description: Thank you! That nicely covers my question.
creator: shadowdemon
date: 2010-03-19T14:36:22-00:00

Re: How to sync "production" host into "test" host?
type: item
description: No answer? Rolling Eyes That probably mean that either syncing VMs on several servers is easy and documented, or it's impossible. I would be grateful if someone at least told me which is the case...
creator: williamsmith61
date: 2010-04-05T05:45:19-00:00

Re: How to sync "production" host into "test" host?
type: item
description: williamsmith61 wrote on Mon, 05 April 2010 06:45 No answer? Rolling Eyes That probably mean that either syncing VMs on several servers is easy and documented, or it's impossible. I would be grateful if someone at least told me which is the case... It's very, very easy to do. And you have 1001^n choices to do it. I really like to avoid online migration, so my first choice would be some basic rsync scripts.
creator: nuno
date: 2010-04-07T22:17:07-00:00