|
|
|
|
|
|
|
|
|
|
xen-users
RE: [Xen-users] question to DRBD users/experts
> I'm using DRBD. I was using LVM2 on a multiple-primary DRBD (eg one big
> DRBD volume cut into slices with LVM) and when it worked it was fine but
> it would split brain occasionally (on startup after a crash normally,
> not just spontaneously) and the CLVM daemon would hang on occasion for
> no good reason.
>
> Now I'm using DRBD on LVM on RAID0 and only multiple-primary where
> necessary. Each DRBD is formed from an LV on each node. Extra work to
> create a new DRBD volume (create LV on both nodes then set up the DRBD)
> but much less likely to go wrong during normal use - it hasn't gone
> wrong yet after months of use!
>
-Ok, so:
-You create the same size LV on each xen host.
-Setup a DRBD using that LV
-Each VM would use that DRBD as it's storage?
In a split brain you then choose which way to recover the data for each
separate LV/DRBD set.
Do I have all that straight?
How difficult/complex is it for you to add a VM this way? I guess once
you get the procedure down it's probably not that difficulty...
Any experience with ocfs2 over drbd? In our testing it has actually been
quite stable, and at times even tough to force a split brain situation,
but you never know when it's going to happen!
> A better setup though would be a SAN consisting of iSCSI on DRBD in
> single primary mode (using HA to handle failover if the primary fails)
> and all the hosts using iSCSI. I don't have enough hardware to make that
> work though unfortunately.
Using a SAN would be our first choice, unfortunately the costs, even for
a low end SAN, make it not possible.
Thanks,
James
_______________________________________________
Xen-users mailing list
Xen-users@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-users
|
|
|
|
|