WARNING - OLD ARCHIVES

This is an archived copy of the Xen.org mailing list, which we have preserved to ensure that existing links to archives are not broken. The live archive, which contains the latest emails, can be found at http://lists.xen.org/
   
 
 
Xen 
 
Home Products Support Community News
 
   
 

xen-users

Re: [Xen-users] backing up a shared server with single VPS

To: "Nagita Karunaratne" <nagita.k@xxxxxxxxx>
Subject: Re: [Xen-users] backing up a shared server with single VPS
From: "Henning Sprang" <henning_sprang@xxxxxx>
Date: Tue, 12 Dec 2006 12:50:12 +0100
Cc: xen-users@xxxxxxxxxxxxxxxxxxx
Delivery-date: Tue, 12 Dec 2006 03:50:22 -0800
Domainkey-signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:sender:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references:x-google-sender-auth; b=di+tejWLagX8cgK/fxEQ3XJi7s9eOt3Qozr5HADCG0ej0QQ3mHfIaQpc62OfvkrhTbj0UUqI3HnlXdK/kGmjoAIVmWBWCWE4t3m5UIII76iFzZqPucYcFu/xdhUGdZgBvxM4ds+zcOafh1J/7tldq7lAnqfjNVnc1FOYQu2TYX4=
Envelope-to: www-data@xxxxxxxxxxxxxxxxxx
In-reply-to: <b2990fb00612110308q213146b1r9460888f0eddc654@xxxxxxxxxxxxxx>
List-help: <mailto:xen-users-request@lists.xensource.com?subject=help>
List-id: Xen user discussion <xen-users.lists.xensource.com>
List-post: <mailto:xen-users@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-users>, <mailto:xen-users-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-users>, <mailto:xen-users-request@lists.xensource.com?subject=unsubscribe>
References: <b2990fb00612110308q213146b1r9460888f0eddc654@xxxxxxxxxxxxxx>
Sender: xen-users-bounces@xxxxxxxxxxxxxxxxxxx
On 12/11/06, Nagita Karunaratne <nagita.k@xxxxxxxxx> wrote:
I am very new to xen and not even a linux novice.


You really mean you are *not* a novice, or did you wanted to say you
*are* a novice? If you are a novice, I really recommend you learn more
about Linux, and about backup strategies and available tools before
trying to setup zero-downtime systems.

I would like to install a shard hosting environment in one large Xen vps

In my understanding, a VPS is already a virtualized system
(VPS=Virtual Private Server) - mostly they are made with vserver or
virtuozzo. It's unlikley that you can install Xen inside of it.

in
a dedicated server and then backup the image of the server instead of
performing a regular backup if I have a general system failure.

It depends very much of the features your VPS/dedicated server, and
the type of backup your hosting provider offers. To get really all
data into a backup, also all from the xen domains, if you don't want
to use a backup strategy that does something within the domUs (like an
rsync or amanda backup client), then you could snapshot the lvm
volumes(assumed you are going to use lvm voumes) of the domUs and
backup them.


I was hoping to reduce downtime.

This is really something that cannot be answered in one sentence. I
think, in general, it can't be said that you always spare a lot
downtime by just making bare metal copies of the full harddisk.

The idea you have _might_ if done and thought through very well, save
a bit downtime when the whole host goes down.
But then, what do you want to do if only one domU is hacked or
whatever? If you only have a dd image of the whole server disk, you
cannot recover a single vm easily.

You should first  be really clear what and how you want to back up,
and against which types fo failures you want to be more secure. Then
ypu can think of a backup strategy that matches your requirements.


Is this process documents elsewhere?


There are quite some posts in the list archive about filesystems, lvm
backups and stuff.
All won't help as long as yoiu aren't clear about your scenario's and
requirements. If thiese are clear, search the web, search the archive,
search the wiki. Then test and try, and ask if you have further
questions.

Henning

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