Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

docs: unclear what the difference between Active-Active and HA Cluster Mode are #98

Closed
agilgur5 opened this issue Jul 15, 2020 · 5 comments

Comments

@agilgur5
Copy link
Contributor

agilgur5 commented Jul 15, 2020

The server docs have an activeactive and clustermode options but it's not clear what the difference between the two is.

clustermode says it is for "HA" but activeactive is a term for an HA deployment as well. A comment in the Chart values also lists that the two are mutually exclusive with each other, which adds to the confusion. The website's docs for HA mention Active-Active but not "Cluster Mode" as well.

It would be good to clarify the differences between the two, whether one is deprecated or not (since the website doesn't mention cluster mode, maybe it is?), which one is optimal (i.e. most resilient), and what the default is (both are false, so default is not HA?).

#72 is related but was not really answered. The response doesn't point to a specific place in the docs and I have read the docs; it defines these as the same thing as far as I can tell: aqua_cluster_mode='active-active'

@Hefeweizen
Copy link
Contributor

Just encountered this myself.

activeactive equates to: https://docs.aquasec.com/docs/active-active-server-mode
clustermode equates to: https://docs.aquasec.com/docs/active-passive-server-mode-to-be-deprecated (as the section https://docs.aquasec.com/docs/active-passive-server-mode-to-be-deprecated#section-activation-of-aqua-server-failover spells out setting this flag).

Links in the readme#Configuration_variables didn't seem right, as it's too verbose. Perhaps a dedicated section?

Between the readme or the comments, it should also spell out whether leaving both false is permissible.

@ericgomes56
Copy link

Active-Active = 'activeactive' in Helm Chart, and Active-Passive = 'clustermode'. If you are interested in using either mode, one needs to be enabled true, while the other is false. You can't have both environment variable values set to true at the same time. Both environment variables values can be set to false too as this is not a mandatory requirement to deploy Aqua.

As you mentioned, the Active-Passive will be deprecated and has a disadvantage versus Active-Active setup. In Active-Passive, there is a failover process which can take a few minutes for the other aqua-web to reinitialize itself. When using Active-Active, there is no failover process and there isn't any downtime if one aqua-web pod malfunctions.

@agilgur5
Copy link
Contributor Author

agilgur5 commented Aug 5, 2020

Thanks folks, I've made a small PR (#113) to modify the docs to clarify what is what and which is which per your comments

@KoppulaRajender
Copy link
Collaborator

updated Readme, thanks

@agilgur5
Copy link
Contributor Author

agilgur5 commented Jan 15, 2022

It looks like #272 #273 #274 word-for-word copied my much earlier PR for docs changes in #113 ... except they didn't add the comment in the values that I did.

Not really kosher to do so in OSS without crediting the original author (e.g. list them as author and you as committer), but not really expecting much of Aqua at this point 😕 ...

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

4 participants