<html>
<head>
<meta http-equiv="content-type" content="text/html; charset=UTF-8">
</head>
<body>
<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 class="moz-txt-link-freetext" href="https://www.linbit.com/linstor-controller-pacemaker/">https://www.linbit.com/linstor-controller-pacemaker/</a>
<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>
<p>=======<br>
</p>
<pre>ERROR REPORT 5E85B5AF-00000-000000
============================================================
Application: LINBITĀ® LINSTOR
Module: Controller
Version: 1.5.2
Build ID: f9a1a0bddf354ba8b464b35391aca456756e12f6
Build time: 2020-03-24T12:05:39+00:00
Error time: 2020-04-02 12:51:45
Node: cmp1
============================================================
Reported error:
===============
Category: RuntimeException
Class name: FlywayException
Class canonical name: org.flywaydb.core.api.FlywayException
Generated at: Method 'fromDatabaseProductNameAndPostgreSQLVersion', Source file 'DatabaseType.java', Line #168
Error message: Unsupported Database: MariaDB 10.4
Call backtrace:
Method Native Class:Line number
fromDatabaseProductNameAndPostgreSQLVersion N org.flywaydb.core.internal.jdbc.DatabaseType:168
fromJdbcConnection N org.flywaydb.core.internal.jdbc.DatabaseType:117
createDatabase N org.flywaydb.core.internal.database.DatabaseFactory:90
execute N org.flywaydb.core.Flyway:1670
migrate N org.flywaydb.core.Flyway:1356
migrate N com.linbit.linstor.dbcp.DbConnectionPool:220
initialize N com.linbit.linstor.dbcp.DbConnectionPoolInitializer:47
startSystemServices N com.linbit.linstor.core.ApplicationLifecycleManager:88
start N com.linbit.linstor.core.Controller:298
main N com.linbit.linstor.core.Controller:504
END OF ERROR REPORT.
</pre>
<p><br>
</p>
<pre class="moz-signature" cols="72">--
Volodymyr Litovka
"Vision without Execution is Hallucination." -- Thomas Edison</pre>
</body>
</html>