<div dir="ltr">Currently you have to disable user security (as there is currently no way to authenticate) for global controller options, see:<div><a href="https://github.com/LINBIT/linbit-documentation/blob/master/UG9/en/administration-linstor.adoc#disable-user-security">https://github.com/LINBIT/linbit-documentation/blob/master/UG9/en/administration-linstor.adoc#disable-user-security</a><br></div><div><br></div><div>Setting those options globally for linstor resources should work with the `linstor controller drbd-options`, we have already</div><div>an internal ticket to improve setting of drbd options as right now this is more a straight port from drbdmanage.</div><div><br></div><div><div>--max-buffers MAX_BUFFERS</div><div> Range: [32, 131072]; Default: 2048</div></div><div><div>--sndbuf-size SNDBUF_SIZE</div><div> Range: [0, 10485760]; Default: 0; Unit: bytes</div></div><div><div>--rcvbuf-size RCVBUF_SIZE</div><div> Range: [0, 10485760]; Default: 0; Unit: bytes</div></div><div><br></div><div>Cheers,</div><div>Rene</div><br><div class="gmail_quote"><div dir="ltr">On Wed, Jul 25, 2018 at 8:37 AM kvaps <<a href="mailto:kvapss@gmail.com">kvapss@gmail.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">Hi Rene, thanks for answer.<br>
Unfortunately I recieve the next error, when I try to set values:<br>
<br>
# linstor c drbd-options --c-plan-ahead=10<br>
ERROR:<br>
Identity 'PUBLIC' using role: 'PUBLIC' is not authorized to<br>
set a controller config property.<br>
<br>
Also If I understand it well, there is no way for setup<br>
drbd-peer-options globally, like:<br>
<br>
net {<br>
max-buffers 36k;<br>
sndbuf-size 1024k;<br>
rcvbuf-size 2048k;<br>
}<br>
<br>
Am, I right?<br>
- kvaps<br>
<br>
<br>
On Wed, Jul 25, 2018 at 7:24 AM, Rene Peinthor <<a href="mailto:rene.peinthor@linbit.com" target="_blank">rene.peinthor@linbit.com</a>> wrote:<br>
> Hi!<br>
><br>
> Yes, use the `linstor controller drbd-options` command.<br>
> `linstor controller drbd-options -h` will list you all possible arguments.<br>
><br>
> Cheers,<br>
> Rene<br>
><br>
> On Wed, Jul 25, 2018 at 7:20 AM kvaps <<a href="mailto:kvapss@gmail.com" target="_blank">kvapss@gmail.com</a>> wrote:<br>
>><br>
>> Hi, is there any way for set global options via linstor?<br>
>><br>
>> I mean which are can be set inside this file:<br>
>> /var/lib/drbd.d/linstor_common.conf<br>
>><br>
>> Thanks!<br>
>> _______________________________________________<br>
>> drbd-user mailing list<br>
>> <a href="mailto:drbd-user@lists.linbit.com" target="_blank">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/mailman/listinfo/drbd-user</a><br>
><br>
><br>
><br>
> --<br>
> René Peinthor - Software Developer<br>
> +43-1-817-82-92 x54<br>
> <a href="mailto:rene.peinthor@linbit.com" target="_blank">rene.peinthor@linbit.com</a><br>
><br>
> LINBIT | Keeping the Digital World Running<br>
> DRBD HA - Disaster Recovery - Software-defined Storage<br>
> t / f / in / y / g+<br>
><br>
> DRBD® and LINBIT® are registered trademarks of LINBIT, Austria.</blockquote></div></div>