Justin, as always…thank you!

From: Justin Bertram <jbert...@apache.org>
Date: Thursday, March 13, 2025 at 6:41 PM
To: users@activemq.apache.org <users@activemq.apache.org>
Subject: Re: Is there any documentation on creating an Apache Artemis cluster?
The documentation you cited [1] is the main source of information about how
to create a cluster. That said, clustering is a large topic and that
documentation not only includes specific configuration details but
explanations about overarching concepts so users can develop a coherent
mental model of what's happening behind the scenes.

If you want demonstrations of working clustered configurations check out
the examples [2], specifically the clustered examples [3]. The clustered
examples create multiple local brokers as well as a client application that
interacts with the cluster. Once the example is done you can look at the
configuration of working brokers in the "target" directory.

That said, probably the simplest way to create a cluster is using the
"--clustered" switch for the "artemis create" [4] command, e.g.:

    ./artemis create nodeA --clustered --host localhost
    ./artemis create nodeB --clustered --host localhost --port-offset 1

Once you answer some security-related questions you'll have 2 local brokers
which form a cluster when started.

Hope that helps!


Justin

P.S. Skimming through the digital.ai docs you linked I can see a couple of
errors specifically around client connectivity. This has the hallmarks of
an AI hallucination. I would not recommend this resource at this point.

[1]
https://nam12.safelinks.protection.outlook.com/?url=https%3A%2F%2Factivemq.apache.org%2Fcomponents%2Fartemis%2Fdocumentation%2Flatest%2Fclusters.html&data=05%7C02%7CWCrowell%40perforce.com%7C37b39b92ca9747238b9908dd6280206b%7C95b666d19a7549ab95a38969fbcdc08c%7C0%7C0%7C638775024642368427%7CUnknown%7CTWFpbGZsb3d8eyJFbXB0eU1hcGkiOnRydWUsIlYiOiIwLjAuMDAwMCIsIlAiOiJXaW4zMiIsIkFOIjoiTWFpbCIsIldUIjoyfQ%3D%3D%7C0%7C%7C%7C&sdata=5sKTquirzKTdABBX%2Fj5hfdRZSjOL0RipBczCG69L8PE%3D&reserved=0<https://activemq.apache.org/components/artemis/documentation/latest/clusters.html>
[2]
https://nam12.safelinks.protection.outlook.com/?url=https%3A%2F%2Factivemq.apache.org%2Fcomponents%2Fartemis%2Fdocumentation%2Flatest%2Fexamples.html&data=05%7C02%7CWCrowell%40perforce.com%7C37b39b92ca9747238b9908dd6280206b%7C95b666d19a7549ab95a38969fbcdc08c%7C0%7C0%7C638775024642388757%7CUnknown%7CTWFpbGZsb3d8eyJFbXB0eU1hcGkiOnRydWUsIlYiOiIwLjAuMDAwMCIsIlAiOiJXaW4zMiIsIkFOIjoiTWFpbCIsIldUIjoyfQ%3D%3D%7C0%7C%7C%7C&sdata=SYwKAIgwTOzSwfQCIYZn5BmdV8rRohqp7PGX2MyYBIQ%3D&reserved=0<https://activemq.apache.org/components/artemis/documentation/latest/examples.html>
[3]
https://github.com/apache/activemq-artemis-examples/tree/main/examples/features/clustered
[4]
https://nam12.safelinks.protection.outlook.com/?url=https%3A%2F%2Factivemq.apache.org%2Fcomponents%2Fartemis%2Fdocumentation%2Flatest%2Fusing-server.html%23creating-a-broker-instance&data=05%7C02%7CWCrowell%40perforce.com%7C37b39b92ca9747238b9908dd6280206b%7C95b666d19a7549ab95a38969fbcdc08c%7C0%7C0%7C638775024642398413%7CUnknown%7CTWFpbGZsb3d8eyJFbXB0eU1hcGkiOnRydWUsIlYiOiIwLjAuMDAwMCIsIlAiOiJXaW4zMiIsIkFOIjoiTWFpbCIsIldUIjoyfQ%3D%3D%7C0%7C%7C%7C&sdata=m79H6u9ZyyHIh%2FEmhHzhyNCgWnqwx8Rl6n9FUMmJukw%3D&reserved=0<https://activemq.apache.org/components/artemis/documentation/latest/using-server.html#creating-a-broker-instance>


On Thu, Mar 13, 2025 at 3:43 PM William Crowell
<wcrow...@perforce.com.invalid> wrote:

> Hi,
>
> Is there any documentation on creating an Apache Artemis cluster?  I found
> the following link, but it describes the concepts and does not really go
> into a step-by-step process:
>
>
> https://nam12.safelinks.protection.outlook.com/?url=https%3A%2F%2Factivemq.apache.org%2Fcomponents%2Fartemis%2Fdocumentation%2Flatest%2Fclusters.html&data=05%7C02%7CWCrowell%40perforce.com%7C37b39b92ca9747238b9908dd6280206b%7C95b666d19a7549ab95a38969fbcdc08c%7C0%7C0%7C638775024642407579%7CUnknown%7CTWFpbGZsb3d8eyJFbXB0eU1hcGkiOnRydWUsIlYiOiIwLjAuMDAwMCIsIlAiOiJXaW4zMiIsIkFOIjoiTWFpbCIsIldUIjoyfQ%3D%3D%7C0%7C%7C%7C&sdata=Cv516RKcQHgrDZbdwS3MPcamif9HjcN2QZtmMlBXChI%3D&reserved=0<https://activemq.apache.org/components/artemis/documentation/latest/clusters.html>
>
> digital.ai has documentation here:
> https://nam12.safelinks.protection.outlook.com/?url=https%3A%2F%2Fdocs.digital.ai%2Fdeploy%2Fdocs%2F24.1%2Fhow-to%2Fconfiguring-artemis-jms-ha-setup&data=05%7C02%7CWCrowell%40perforce.com%7C37b39b92ca9747238b9908dd6280206b%7C95b666d19a7549ab95a38969fbcdc08c%7C0%7C0%7C638775024642419089%7CUnknown%7CTWFpbGZsb3d8eyJFbXB0eU1hcGkiOnRydWUsIlYiOiIwLjAuMDAwMCIsIlAiOiJXaW4zMiIsIkFOIjoiTWFpbCIsIldUIjoyfQ%3D%3D%7C0%7C%7C%7C&sdata=whNx7CUnSRgwsb5QCkoNySEiIUkcNJAzL92Px%2FOplhk%3D&reserved=0<https://docs.digital.ai/deploy/docs/24.1/how-to/configuring-artemis-jms-ha-setup>
>
> I wondered if there was a specific link on the Apache Artemis site for
> this.
>
> Regards,
>
> William Crowell
>
>
> This e-mail may contain information that is privileged or confidential. If
> you are not the intended recipient, please delete the e-mail and any
> attachments and notify us immediately.
>
>


CAUTION: This email originated from outside of the organization. Do not click 
on links or open attachments unless you recognize the sender and know the 
content is safe.


This e-mail may contain information that is privileged or confidential. If you 
are not the intended recipient, please delete the e-mail and any attachments 
and notify us immediately.

Reply via email to