Hi

Don't waste your time, it's not working, you've to figure it out by
yourself, don't count on cloudstack to be as intelligent as expected to
handle a MySQL HA setup.

We did it without the mysql-ha buggy jar, and we are now able to get a HA
manager but with some manual action in case of DR to be played.
No other smooth way, for the moment, which is unfortunate

Best
Alex



On Thu, 20 Jul 2023 at 23:46, Nux <n...@li.nux.ro> wrote:

> Cheers Simon,
>
> I'll double check the jar is loaded in my next tests.
>
>
>
> On 2023-07-20 22:08, Simon Weller wrote:
> > 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
> >> >>
> >>
>


-- 
Alexandre Legrix / +33 632232109
Global Systems & Managed Services Director
4 av Pablo Picasso 92000 Nanterre - France
Hybrid Cloud Fabric : bso.cloud / bso.st / kb8s.io

-- 
*CONFIDENTIALITY AND DISCLAIMER NOTICE: *
This email is intended only for 
the person to whom it is addressed and/or otherwise authorized personnel. 
The information contained herein and attached is confidential. If you are 
not the intended recipient, please be advised that viewing this message and 
any attachments, as well as copying, forwarding, printing, and 
disseminating any information related to this email is prohibited, and that 
you should not take any action based on the content of this email and/or 
its attachments. If you received this message in error, please contact the 
sender and destroy all copies of this email and any attachment. Please note 
that the views and opinions expressed herein are solely those of the author 
and do not necessarily reflect those of the company. While antivirus 
protection tools have been employed, you should check this email and 
attachments for the presence of viruses. No warranties or assurances are 
made in relation to the safety and content of this email and attachments. 
The Company accepts no liability for any damage caused by any virus 
transmitted by or contained in this email and attachments. No liability is 
accepted for any consequences arising from this email.


*AVIS DE 
CONFIDENTIALITÉ ET DE NON RESPONSABILITE* : 
Ce courriel, ainsi que toute 
pièce jointe, est confidentiel et peut être protégé par le secret 
professionnel. Si vous n’en êtes pas le destinataire visé, veuillez en 
aviser l’expéditeur immédiatement et le supprimer. Vous ne devez pas le 
copier, ni l’utiliser à quelque fin que ce soit, ni divulguer son contenu à 
qui que ce soit. BSO se réserve le droit de contrôler toute transmission 
qui passe par son réseau. Veuillez noter que les opinions exprimées dans 
cet e-mail sont uniquement celles de l'auteur et ne reflètent pas 
nécessairement celles de la société. Bien que des outils de protection 
antivirus aient été utilisés, vous devez vérifier cet e-mail et les pièces 
jointes pour toute présence de virus. Aucune garantie ou assurance n'est 
donnée concernant la sécurité et le contenu de cet e-mail et de ses pièces 
jointes. La Société décline toute responsabilité pour tout dommage causé 
par tout virus transmis par ou contenu dans cet e-mail et ses pièces 
jointes. Aucune responsabilité n'est acceptée pour les conséquences 
découlant de cet e-mail.

Reply via email to