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

[Xen-users] Best way to redundant images?


  • To: <xen-users@xxxxxxxxxxxxxxxxxxx>
  • From: Marc A. Müller <Marc.Mueller@xxxxxxxxxxxxxxxx>
  • Date: Wed, 24 Sep 2008 09:41:23 +0200
  • Delivery-date: Tue, 21 Oct 2008 09:24:55 -0700
  • List-id: Xen user discussion <xen-users.lists.xensource.com>
  • Thread-index: AckeGPGF8OgMCC2+SzidM27zKUd72Q==
  • Thread-topic: Best way to redundant images?

Sorry for asking again for an easy way for redundant xen images. After reading some threads and numerous howtos i'm a bit confused.

 

I have two xen hosts, each of them has one disk and should be the host for several domU's. Live migration should be supported. If one host fails, it should be possible to boot the affected virtual machines on the other host, having the last written data available.

 

It seems to be the best way to mount the mirrored/replicated disks in both dom0's, create virtual groups using lvm and export logical devices to the domU's, one logical device for each virtual machine.

 

Maybe it's a good idea then to use clvm to make changes of the virtual groups possible at runtime. Is there any easy to install and configure alternative to clvm?

 

What is an easy way of mirror and mount both disks in dom0?

As far as i could see, the best ways are:

 

A) DRBD / GNBD / Some kind of shared FS

 

OR

 

B) Export all drives using ISCSI / Create software raid of the same disks in both dom0's

 

 

TO A):

 

Can DRBD handle and replicate simultaneous writes to both drives in primay/primary mode?

 

Does the use of any shared FS always needs a server/client structure? Defining one of the hosts as the filesystem server creates a single point of failure... Is this the reason for using heartbeat (to switch the server in case of failure)? Sound's not like an easy setup...

 

How are writes to images handled at a client of the shared fs? Are they sent to the server and then mirrored back by DRDB? Sound's a bit like waste of ressources, doesn't it?

 

Can You recommend a howto for such a setup?

 

 

TO B)

 

Is it possible to have independent software raids of the same both disks in both dom0's? Raid on host A doesn't recognizes writes to the disks from host B, doe's it? Maybe i misunderstood the setup...

 

Can a software raid be configured to read only from the local disk and write to all disks (to improve performance)?

 

Can You recommend a howto for such a setup?

 

 

 

Can You recommend any other setup?

 

 

Thank You,

 

Marc

 

_______________________________________________
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®.