[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Xen-users] Convert CentOS system to Xen image?


  • To: "Xen List" <xen-users@xxxxxxxxxxxxxxxxxxx>
  • From: "Javier Guerra" <javier@xxxxxxxxxxx>
  • Date: Wed, 2 Apr 2008 10:54:36 -0500
  • Delivery-date: Wed, 02 Apr 2008 08:55:09 -0700
  • List-id: Xen user discussion <xen-users.lists.xensource.com>

On Wed, Apr 2, 2008 at 10:18 AM, Ross S. W. Walker
<rwalker@xxxxxxxxxxxxx> wrote:
>
> Javier Guerra wrote:
>  > i like to use rsync to replicate running servers.  of course, for
>  > one-shot copy it's no faster than other dump-transfer-restore schemas;
>  > but it's quite easy to use to quickly converge almost to a 'snapshot'
>  > capability:
>  >
>  > 1: do a full rsync, might take tooo long, lots of stuff wouldn't be
>  > really consistent
>  > 2: repeat rsync, should be far faster, copying only the differences.
>  > 3: keep repeating until the whole copy is comfortably short. usually
>  > the third iteration is less than a couple minutes
>  > 4: quick: shut down services, one last rsync, start services.
>  > 5: done!
>
>  Or, take a snapshot, mount it, then rsync off that.

sure, much better... when the original server uses LVM _and_ has free
space on the VG.  otherwise (and quite often) a few rsync iterations
save the day.



-- 
Javier

_______________________________________________
Xen-users mailing list
Xen-users@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-users


 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.