[DRBD-user] MariaDB 10.4, Linstor controller HA

Gábor Hernádi gabor.hernadi at linbit.com
Thu Apr 2 12:20:31 CEST 2020


Hello,
see answers inline

On Thu, Apr 2, 2020 at 12:09 PM Volodymyr Litovka <doka.ua at gmx.com> wrote:

> Dear colleagues,
> is it possible to use DB backend for keeping state of controller in order
> to provide HA, instead of drbd volume like described here? -
> https://www.linbit.com/linstor-controller-pacemaker/
>

It is! In fact, LINSTOR uses by default H2 as SQL database. However,
mariadb should also work just fine.

> I can't check whether it works or no, because after configured [db]
> section in linstor.toml with username/password/connector I hit the error
> message below (spoiler: "Unsupported Database MariaDB 10.4").
>
> So, two questions:
>
> 1) whether it is possible to use SQL as a backend for HA configuration?
> 1.1) if not - which role plays SQL in controller's life?
> 2) MariaDB 10.4 is fairly stable and back-compatible with 10.x, whether it
> can be supported by Linstor?
>

The mentioned error message is a bit strange. Would you mind showing me the
jdbc string you are using? Make sure that it does not contain sensible
data.
Also, which .jar are you using for your mariadb jdbc driver?

-- 
Best regards,
Gabor Hernadi
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.linbit.com/pipermail/drbd-user/attachments/20200402/96ba9a40/attachment.htm>


More information about the drbd-user mailing list