<html>
<body>
<dl>
<dd>hi,<br>
<dd>I am using drbd-8.0.3 version on redhat enterprise 4 linux.<br>
<dd>my /etc/drdb.conf is<br>
<dd>global { usage-count yes; }
<dd> common { syncer { rate 10M; } }
<dd> resource r0 {
<dd> protocol
C;
<dd> net {
<dd>
cram-hmac-alg sha1;
<dd>
shared-secret "prolog";
<dd> }
<dd> on
pr009.prolo.com {
<dd>
device /dev/drbd1;
<dd>
disk /dev/hdb10;
<dd>
address 192.168.10.38:7789;
<dd>
meta-disk internal;
<dd> }
<dd> on
pr0005.prolo.com {
<dd>
device /dev/drbd1;
<dd>
disk /dev/hda6;
<dd>
address 192.168.10.31:7789;
<dd>
meta-disk internal;
<dd> }
<dd> }<br>
<dd>while making primary both the nodes, second node gives me this error
<dd> act_log: used:0/127 hits:0
misses:0 starving:0 dirty:0 changed:0
<dd>[root@pr009 scripts]# drbdadm primary r0
<dd>State change failed: (-1) Multiple primaries not allowed by config
<dd>Command 'drbdsetup /dev/drbd1 primary' terminated with exit code 11
<dd>how to make both nodes primary/primary simultaneously? in drbdsetup
<dd>man pages there is one option with -m . but i am unable to use
it.<br>
<dd>target is to mount gfs on both nodes for cluster HA.
<dd>drbdsetup /dev/drbd1 primary -o
<dd>State change failed: (-1) Multiple primaries not allowed by config
<dd>Using -m option
<dd>drbdsetup /dev/drbd1 primary -m
<dd>drbdsetup: unrecognized option '-m'<br>
<dd>how to make it primary primary ,<br>
<dd>thanks and regards
<dd>anugunj "anuj singh"
</dl>Anuj,<br><br>
Put in section "net" the parameter
"allow-two-primaries" (see "man drbd.conf")<br><br>
This option should _only_ be used with a real clustering filesystem like
GFS or OCFS2.<br><br>
<x-sigsep><p></x-sigsep>
mvg Nico<br>
---<br>
Met vriendelijke groeten / Mit freundlichen Grüßen / Kind Regards /
Meilleures Salutations / Saludos Cordiales<br>
Parhain terveisin / Med vänlig hälsning / Namashkaar / Wassalam Alaikom /
Pollous chairetismous<br>
</body>
</html>