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

Re: [Xen-API] Configuration needed to share a VDI

DRBD is not a solution for me.

I will keep both VMs on, but just one of them will mount the filesystem. But, I could do that too using GFS2 or OCFS2.

On Fri, May 18, 2012 at 11:53 AM, Mike McClurg <mike.mcclurg@xxxxxxxxxx> wrote:
On 18/05/12 15:12, Carlos Eduardo Tavares Terra wrote:

I really need to mount RW in both VMs. I am creating a fail-over
cluster, using concurrent storage for data.
I'll try to create a new vbd and attach it to the other VM.

Any other clues?

I'm not sure exactly what you want to do. Are you proposing to plug a single VDI read-writeable in two running VMs, at the same time? Or do you want to only plug the VDI into two VMs, and only turn the second VM on once the first one fails? The second proposal is fine, but the first one will likely lead to data corruption.

If you want a solution that's more like the first proposal, then you might want to look at setting up DRBD (http://www.drbd.org/) within the guest VMs. XCP doesn't have support for using DRBD as a storage repository directly, but if you set it up in the guests themselves, you might be able to solve your problem.


Carlos Eduardo Tavares Terra
Red Hat Certified Engineer
Consultor em Infraestrutura de TI
GNU/Linux #413291 [http://counter.li.org]
Xen-api mailing list



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