cozystack icon indicating copy to clipboard operation
cozystack copied to clipboard

Galera cluster for MariaDB

Open matthieu-robin opened this issue 11 months ago • 3 comments

As a customer, I would like to choose between Galera Cluster and Replicated DB. Mariadb-operator can handle it: https://github.com/mariadb-operator/mariadb-operator/blob/main/docs/HA.md and automatic failover with MaxScale.

Thanks a lot

matthieu-robin avatar Jan 22 '25 12:01 matthieu-robin

Unfortunately MaxScale is licensed under no-free Business Source License, and we can't integrate it as-is into Cozystack. Are you interested in automating license handling in Cozystack for MaxScale, or we can consider free alternatives (if any?)

kvaps avatar Jan 23 '25 10:01 kvaps

MaxScale is licensed under no-free Business Source License, and we can't integrate it as-is into Cozystack

Sorry to ask a stupid question...

If MaxScale offers a good technical option, and it is free to use in many cases, then what is the bad thing about integrating that?

I suppose that I'm of the opinion that almost anything that moves commercial users of otherwise free-software into paid-users is a massive net positive.

Even for the CozyStack business model, if certain options during setup channel more enterprise users towards a option where they are more directly pressured into providing financial support in exchange for their use, I just don't see how it's a bad thing.

Please help educate me.

erwin avatar Mar 05 '25 06:03 erwin

Hi @erwin , thanks for asking. The concern with software under non-free licenses is that by including it in Cozystack we may be in violation of the terms under which it is available. One would have to get express permission from the copyright holders which, if revoked, would be a nightmare for whomever who has to remove it retroactively from the entire git history.

lllamnyp avatar Mar 31 '25 07:03 lllamnyp

Hi, @matthieu-robin. I'm Dosu, and I'm helping the CozyStack team manage their backlog and am marking this issue as stale.

Issue Summary:

  • You requested an option to choose between Galera Cluster and Replicated DB for MariaDB high availability, highlighting that mariadb-operator supports MaxScale for automatic failover.
  • The maintainer explained that MaxScale's Business Source License is not free, which prevents direct integration into CozyStack.
  • There was discussion about whether automating license handling or finding free alternatives would be preferable.
  • Other contributors raised concerns about license violations and complications from including non-free licensed software.

Next Steps:

  • Please let me know if this issue is still relevant to the latest version of CozyStack by commenting here.
  • If I don’t hear back within 7 days, I will automatically close this issue.

Thank you for your understanding and contribution!

dosubot[bot] avatar Oct 20 '25 16:10 dosubot[bot]