[DRBD-user] Linstor global drbd-options

Rene Peinthor rene.peinthor at linbit.com
Wed Jul 25 08:57:42 CEST 2018


Currently you have to disable user security (as there is currently no way
to authenticate) for global controller options, see:
https://github.com/LINBIT/linbit-documentation/blob/master/UG9/en/administration-linstor.adoc#disable-user-security

Setting those options globally for linstor resources should work with the
`linstor controller drbd-options`, we have already
an internal ticket to improve setting of drbd options as right now this is
more a straight port from drbdmanage.

--max-buffers MAX_BUFFERS
                        Range: [32, 131072]; Default: 2048
--sndbuf-size SNDBUF_SIZE
                        Range: [0, 10485760]; Default: 0; Unit: bytes
--rcvbuf-size RCVBUF_SIZE
                        Range: [0, 10485760]; Default: 0; Unit: bytes

Cheers,
Rene

On Wed, Jul 25, 2018 at 8:37 AM kvaps <kvapss at gmail.com> wrote:

> Hi Rene, thanks for answer.
> Unfortunately I recieve the next error, when I try to set values:
>
>     # linstor c drbd-options --c-plan-ahead=10
>     ERROR:
>          Identity 'PUBLIC' using role: 'PUBLIC' is not authorized to
> set a controller config property.
>
> Also If I understand it well, there is no way for setup
> drbd-peer-options globally, like:
>
>     net {
>       max-buffers     36k;
>       sndbuf-size   1024k;
>       rcvbuf-size   2048k;
>     }
>
> Am, I right?
> - kvaps
>
>
> On Wed, Jul 25, 2018 at 7:24 AM, Rene Peinthor <rene.peinthor at linbit.com>
> wrote:
> > Hi!
> >
> > Yes, use the `linstor controller drbd-options` command.
> > `linstor controller drbd-options -h` will list you all possible
> arguments.
> >
> > Cheers,
> > Rene
> >
> > On Wed, Jul 25, 2018 at 7:20 AM kvaps <kvapss at gmail.com> wrote:
> >>
> >> Hi, is there any way for set global options via linstor?
> >>
> >> I mean which are can be set inside this file:
> >> /var/lib/drbd.d/linstor_common.conf
> >>
> >> Thanks!
> >> _______________________________________________
> >> drbd-user mailing list
> >> drbd-user at lists.linbit.com
> >> http://lists.linbit.com/mailman/listinfo/drbd-user
> >
> >
> >
> > --
> > René Peinthor - Software Developer
> > +43-1-817-82-92 x54
> > rene.peinthor at linbit.com
> >
> > LINBIT | Keeping the Digital World Running
> > DRBD HA - Disaster Recovery - Software-defined Storage
> > t / f / in / y / g+
> >
> > DRBD® and LINBIT® are registered trademarks of LINBIT, Austria.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.linbit.com/pipermail/drbd-user/attachments/20180725/52adc699/attachment.htm>


More information about the drbd-user mailing list