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

Provide ha-policy implementation #66

Merged
merged 13 commits into from
Apr 30, 2023

Conversation

guidograzioli
Copy link
Member

@guidograzioli guidograzioli commented Apr 25, 2023

Comprehensive change that provides configuration for the ha-policy element in broker.xml.

Before the change, ha cluster would default to live-only role which in case of shared store would form clusters of live server waiting to obtain the master lock. That configuration remains the default for the new variable:

Variable Description Default
activemq_ha_role Instance role for high availability live-only

The value can be set to live-only (masters only), master or slave (shared storage master/slave), or replicated or replicate (replication master/slave).

Two more variables are added to configure the systemd startup checks:

Variable Description Default
activemq_systemd_wait_for_timeout How long to wait for service to be alive (seconds) 60
activemq_systemd_wait_for_delay Activation delay for service systemd unit 10

Finally, this change contains a fix that wouldn't apply settings for max-hops and lb_policy in cluster-connections.

@guidograzioli guidograzioli changed the title No first start Provide ha-policy implementation Apr 30, 2023
@guidograzioli guidograzioli added the minor_changes New parameters added to modules, or non-breaking behavior changes to existing parameters; no bugfix label Apr 30, 2023
@guidograzioli guidograzioli merged commit e83fa24 into ansible-middleware:main Apr 30, 2023
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
minor_changes New parameters added to modules, or non-breaking behavior changes to existing parameters; no bugfix
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant