<div dir="ltr"><div>Hello,</div><div>see answers inline<br></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Thu, Apr 2, 2020 at 12:09 PM Volodymyr Litovka <<a href="mailto:doka.ua@gmx.com">doka.ua@gmx.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">
<div>
<p>Dear colleagues,</p>
is it possible to use DB backend for keeping state of controller in
order to provide HA, instead of drbd volume like described here? -
<a href="https://www.linbit.com/linstor-controller-pacemaker/" target="_blank">https://www.linbit.com/linstor-controller-pacemaker/</a></div></blockquote><div><br></div><div>It is! In fact, LINSTOR uses by default H2 as SQL database. However, mariadb should also work just fine.</div><div> </div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div>
<p>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").</p>
<p>So, two questions:</p>
<p>1) whether it is possible to use SQL as a backend for HA
configuration?<br>
1.1) if not - which role plays SQL in controller's life?<br>
2) MariaDB 10.4 is fairly stable and back-compatible with 10.x,
whether it can be supported by Linstor?<br></p></div></blockquote><div> </div><div>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. <br></div><div>Also, which .jar are you using for your mariadb jdbc driver?<br></div><br></div>-- <br><div dir="ltr" class="gmail_signature"><div dir="ltr"><div><div dir="ltr"><div>Best regards,<br></div>Gabor Hernadi<br></div></div></div></div></div>