<div dir="ltr"><div>Hi, Roland</div><div><br></div><div>> That should not be necessary. In /etc/drbd.conf you have:</div><div>> include "drbd.d/*.res";</div><div><br></div><div>My drbd.conf has been located in "/usr/local/etc/" like below :</div><div><br></div><div> [root@drbd-01 etc]# ll /usr/local/etc/drbd.conf</div><div> -rw-r--r-- 1 root root 169 Jul 28 02:38 /usr/local/etc/drbd.conf</div><div> [root@drbd-01 etc]#</div><div><br></div><div>The conf file has :</div><div> [root@drbd-01 etc]# cat /usr/local/etc/drbd.conf</div><div> # You can find an example in /usr/share/doc/drbd.../drbd.conf.example</div><div> </div><div> include "drbd.d/global_common.conf";</div><div> include "drbd.d/*.res";</div><div> [root@drbd-01 etc]#</div><div><br></div><div>When I initialized DRBD, the res file named "drbdctrl.res" is created into "/etc/drbd.d/".</div><div>If I can install DRBD into "/etc/", the drbd.conf might be created in "/etc" and </div><div>I don't need do add a line to inclued "drbdctrl.res".</div><div><br></div><div>If you know how to change installation path of DRBD from default location,please let me know.</div><div><br></div><div>Thank you.</div></div><div class="gmail_extra"><br><div class="gmail_quote">2017-07-27 20:07 GMT+09:00 Roland Kammerer <span dir="ltr"><<a href="mailto:roland.kammerer@linbit.com" target="_blank">roland.kammerer@linbit.com</a>></span>:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><span class="">On Thu, Jul 27, 2017 at 09:21:29AM +0900, 大川敬臣 wrote:<br>
> Hi, Roland<br>
><br>
> I'm sorry to late reply and thank you for your advice.<br>
> I didn't understand how DRBD starts.<br>
> As you mentioned, res file wasn't read.<br>
> I included the path of res file in drbd.conf and two machines have<br>
> connected successfully.<br>
<br>
</span>That should not be necessary. In /etc/drbd.conf you have:<br>
include "drbd.d/*.res";<br>
<br>
And in /etc/drbd.d/drbdmanage-<wbr>resources.res (the one included from<br>
above):<br>
include "/var/lib/drbd.d/*.res";<br>
<br>
And /var/lib/drbd.d/ is where drbdmanage puts its resource files.<br>
<br>
All of that happens automatically.<br>
<div class="HOEnZb"><div class="h5"><br>
Regards, rck<br>
______________________________<wbr>_________________<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" rel="noreferrer" target="_blank">http://lists.linbit.com/<wbr>mailman/listinfo/drbd-user</a><br>
</div></div></blockquote></div><br></div>