<div dir="ltr"><br><div class="gmail_extra"><br><div class="gmail_quote">On Wed, Feb 17, 2016 at 8:18 PM, Roland Kammerer <span dir="ltr"><<a href="mailto:roland.kammerer@linbit.com" target="_blank">roland.kammerer@linbit.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><span class="">On Wed, Feb 17, 2016 at 04:20:12PM +1100, Igor Cicimov wrote:<br>
> Hi,<br>
><br>
> I'm testing 9.0.1.1 installed from git and have a resource with fencing in<br>
> the disk section:<br>
><br>
> disk {<br>
> on-io-error detach;<br>
> fencing resource-and-stonith;<br>
> }<br>
<br>
</span>It belongs to net{}, and yes, the man page is outdated, I will fix that.<br>
<br>
Additionally, drbdmanage is nice to generate cluster configs, it parses<br>
the output of drbdsetup, therefore it is always right, even if the man<br>
page is outdated ;-) Otherwise the following would not have completed at<br>
all:<br>
<br>
drbdmanage net-options --fencing resource-and-stonith --resource xyz<br>
drbdmanage list-options xyz<br>
<br></blockquote><div><br></div><div> Thanks Roland that worked. By the way I'm facing another issue when starting the service:<br><br># service drbd start<br> * Starting DRBD resources [<br> create res: vg1<br> prepare disk: vg1<br> adjust disk: vg1<br> prepare net: vg1<br>adjust peer_devices: vg1<br>attempt to connect: vg1<br>]<br>...drbdadm: Unknown command 'sh-b-pri' <br><br></div><div>although drbdadm tells me that all is fine:<br><br># drbdadm status<br>vg1 role:Primary<br> disk:UpToDate<br> drbd02 role:Primary<br> peer-disk:UpToDate<br><br></div><div>Now this is a problem since I can't set drbd under pacemaker control:<br><br>Failed actions:<br> p_drbd_vg1_start_0 (node=drbd01, call=9, rc=1, status=Timed Out, last-rc-change=Thu Feb 18 10:07:43 2016<br>, queued=20004ms, exec=1ms<br>): unknown error<br> p_drbd_vg1_start_0 (node=drbd02, call=9, rc=1, status=Timed Out, last-rc-change=Thu Feb 18 10:07:43 2016<br>, queued=20005ms, exec=0ms<br>): unknown error<br><br></div><div>I've been running this kind of setups with 8.4.4 with no issues. Has something changed around drbd management in version 9 or is it just something wrong with the initd script? <br><br></div><div>Finally thanks for the drbdmanage pointer I'll do some research about it (I think I saw some presentation of yours on the web). I don't see it installed on my system (Ubuntu 14.04.4 LTS) so guess it is not packaged with drbd-utils but is a separate toll. I have a question though, since I have done the config already manually, is the drbdmanage going to take over based on already existing configuration or I will need to reconfigure everything all over again?<br><br></div><div>Thanks,<br></div><div>Igor<br></div><div><br><br></div></div></div></div>