<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta content="text/html;charset=UTF-8" http-equiv="Content-Type">
</head>
<body bgcolor="#ffffff" text="#000000">
Hello and thank you very much to yours Gianluca and Andreas.<br>
<br>
which kind of cluster?<br>
Only Primary - Secondary drbd cluster. <br>
<br>
which kind of Linux distribution/release?<br>
Debian lenny in both nodes.<br>
<br>
which kind of usage then of the LVs/FS to be created?<br>
LVs will be iscsi targets for a xen server.<br>
<br>
I believe clvm will be useful.<br>
<br>
Again, thank you very much Gianluca.<br>
<br>
Gianluca Cecchi escribió:
<blockquote
cite="mid:561c252c0911120824h765c0398x7f7a3c948603092a@mail.gmail.com"
type="cite">
<div class="gmail_quote">On Thu, Nov 12, 2009 at 4:49 PM, hans
morbus2000 <span dir="ltr"><<a moz-do-not-send="true"
href="mailto:morbus2000@web.de">morbus2000@web.de</a>></span> wrote:<br>
<blockquote class="gmail_quote"
style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">[snip]<br>
<div>
<div class="h5"><br>
> Hello everyone, the first sorry about my poor english.<br>
><br>
> I have configured an drbd8 cluster with two nodes so I have got a<br>
> /dev/drbd1 device in both nodes. Later I sync the nodes with
"drbdadm --<br>
> --overwrite-data-of-peer primary" and the last I did "pvcreate
/dev/drbd1"<br>
> on primary node.<br>
><br>
</div>
</div>
[snip]<br>
on this node<br>
# vgchange -a n vgontop<br>
# drbdadm secondary drbdx<br>
<br>
on the other node<br>
# drbdadm primary drbdx<br>
# vgchange -a y vgontop<br>
<br>
--> now, lv on top of drbd to be available on both nodes<br>
<br>
Regards<br>
Andreas<br>
<br>
<br>
</blockquote>
</div>
<br>
For Juan Antonio:<br>
which kind of cluster?<br>
which kind of Linux distribution/release?<br>
which kind of usage then of the LVs/FS to be created?<br>
<br>
For Andreas:<br>
this is ok for initialization.<br>
But then you have the same problems when you have to create LVs.<br>
You need to de-activate VG on one node, demote drbd role, and activate
on the other... because LVM itslef is not cluster aware.<br>
<br>
Preferable, but depending also on the OS kind and licensing, to use
drbd in dual primary mode AND Cluster LVM (with CLVMD that depends on
cman and cluster-storage channel if using Red Hat, so with economical
impact....)<br>
<br>
Gianluca<br>
<pre wrap="">
<hr size="4" width="90%">
_______________________________________________
drbd-user mailing list
<a class="moz-txt-link-abbreviated" href="mailto:drbd-user@lists.linbit.com">drbd-user@lists.linbit.com</a>
<a class="moz-txt-link-freetext" href="http://lists.linbit.com/mailman/listinfo/drbd-user">http://lists.linbit.com/mailman/listinfo/drbd-user</a>
</pre>
</blockquote>
<br>
</body>
</html>