<br>you can start by setting <br>allow-two-primaries; <br>in your drbd.conf file, under net{}<br><br><div><span class="gmail_quote">On 6/20/07, <b class="gmail_sendername">Anuj Singh</b> <<a href="mailto:anujhere@gmail.com">
anujhere@gmail.com</a>> wrote:</span><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">hi,<br>I am using drbd-8.0.3 version on redhat enterprise 4 linux.
<br>my /etc/drdb.conf is<br>global { usage-count yes; }<br> common { syncer { rate 10M; } }<br> resource r0 {<br> protocol C;<br> net {<br> cram-hmac-alg sha1;<br> shared-secret "prolog";
<br> }<br> on <a href="http://pr009.prolo.com">pr009.prolo.com</a> {<br> device /dev/drbd1;<br> disk /dev/hdb10;<br> address <a href="http://192.168.10.38:7789">
192.168.10.38:7789</a>;<br> meta-disk internal;<br> }<br> on <a href="http://pr0005.prolo.com">pr0005.prolo.com</a> {<br> device /dev/drbd1;<br> disk /dev/hda6;
<br> address <a href="http://192.168.10.31:7789">192.168.10.31:7789</a>;<br> meta-disk internal;<br> }<br> }<br><br>while making primary both the nodes, second node gives me this error
<br> act_log: used:0/127 hits:0 misses:0 starving:0 dirty:0 changed:0<br>[root@pr009 scripts]# drbdadm primary r0<br>State change failed: (-1) Multiple primaries not allowed by config<br>Command 'drbdsetup /dev/drbd1 primary' terminated with exit code 11
<br>how to make both nodes primary/primary simultaneously? in drbdsetup<br>man pages there is one option with -m . but i am unable to use it.<br><br>target is to mount gfs on both nodes for cluster HA.<br> drbdsetup /dev/drbd1 primary -o
<br>State change failed: (-1) Multiple primaries not allowed by config<br>Using -m option<br>drbdsetup /dev/drbd1 primary -m<br>drbdsetup: unrecognized option '-m'<br><br>how to make it primary primary ,<br><br>thanks and regards
<br>anugunj "anuj singh"<br>_______________________________________________<br>drbd-user mailing list<br><a href="mailto:drbd-user@lists.linbit.com">drbd-user@lists.linbit.com</a><br><a href="http://lists.linbit.com/mailman/listinfo/drbd-user">
http://lists.linbit.com/mailman/listinfo/drbd-user</a><br></blockquote></div><br>