Lucian, Check to see whether the mysql-ha jar is being loaded. There's a separate mysql-ha package that needs to be installed.
Is this Ubuntu or rpm? I'm not sure whether the default Ubuntu builds include the extra package. I believe the shapeblue build does though. -Si On Thu, Jul 20, 2023, 3:03 PM Nux <n...@li.nux.ro> wrote: > Cheers Daniel, > > Can you share any other db.ha parameters you may have tuned? > For me it didn't work out of the box as you described. > > Thanks > > On 2023-07-20 14:04, Daniel Salvador wrote: > > Hello Nux, > > > > Normally I set up three nodes with MariaDB and Galera cluster; then, in > > the > > "db.properties" file I mark "db.ha.enabled" as true, and I define one > > of > > the nodes as main and the other as replicas. When the main node goes > > down, > > one of the replicas takes over, and so on. > > > > The current properties we have on "db.properties" regarding DB HA are > > hard > > coded and only address some MySQL properties; which is not the perfect > > scenario for MariaDB HA. However, it provides a minimum DB HA setup. Me > > and > > other contributors are already working on a flexible solution to > > address > > other MySQL properties, and MariaDB properties as well. > > > > Best regards, > > Daniel Salvador (gutoveronezi) > > > > On Thu, Jul 20, 2023 at 7:46 AM Nux <n...@li.nux.ro> wrote: > > > >> Hello, > >> > >> As per the subject, how do you make your DB layer HA and do you use > >> the > >> db.ha.enabled feature/setting in the Cloudstack management server > >> db.properties file? > >> > >> Cheers > >> >