> It only works the 1st time shutdown, the 2nd time doesn't work.

Can you provide steps to reproduce what you're observing?

Are you deleting any broker-related files before you restart?


Justin

On Wed, Oct 1, 2025 at 9:37 AM Gunawan, Rahman (GSFC-SEWP)[Halvik Corp]
<[email protected]> wrote:

> I'm using Artemis 2.42.0.  It only works the 1st time shutdown, the 2nd
> time doesn't work.
>
>
> Rahman Gunawan
> SITSS Software Developer
> NASA SEWP / SITSS
> HALVIK Corporation
> 7601 Ora Glen Dr, Greenbelt, MD 20770
> C: 240.444.6003
> O: 301.614.5257
> [email protected]
>
>
> -----Original Message-----
> From: Justin Bertram <[email protected]>
> Sent: Wednesday, October 1, 2025 10:35 AM
> To: [email protected]
> Subject: Re: [EXTERNAL] [BULK] Re: check-for-active-server not working
>
> CAUTION: This email originated from outside of NASA.  Please take care
> when clicking links or opening attachments.  Use the "Report Message"
> button to report suspicious messages to the NASA SOC.
>
>
>
>
> If "check-for-live-server" works and "check-for-active-server" doesn't
> work that indicates you're using a broker released before 2.32.0. Can you
> confirm?
>
>
> Justin
>
> On Wed, Oct 1, 2025 at 8:38 AM Gunawan, Rahman (GSFC-SEWP)[Halvik Corp] <
> [email protected]> wrote:
>
> > It worked when I changed *check-for-active-server* to “
> > *check-for-live-server*”.
> >
> >
> >
> > *Rahman Gunawan*
> >
> > *SITSS Software Developer*
> >
> > NASA SEWP / SITSS
> >
> > HALV*I*K Corporation
> >
> > 7601 Ora Glen Dr, Greenbelt, MD 20770
> >
> > C: 240.444.6003
> > O: 301.614.5257
> >
> > [email protected]
> >
> >
> >
> >
> >
> > *From:* Justin Bertram <[email protected]>
> > *Sent:* Wednesday, October 1, 2025 9:35 AM
> > *To:* [email protected]
> > *Subject:* [EXTERNAL] [BULK] Re: check-for-active-server not working
> >
> >
> >
> > *CAUTION:* This email originated from outside of NASA.  Please take
> > care when clicking links or opening attachments.  Use the "Report
> Message"
> > button to report suspicious messages to the NASA SOC.
> >
> >
> >
> > If I recall correctly, checking for another live server with the same
> > node ID is predicated on the ability to find it in the cluster.
> > Therefore, if clustering is not configured correctly or there's some
> > environmental issue causing cluster-related discovery to fail then this
> check will also fail.
> > Are you sure neither of these problems are present for you?
> >
> >
> >
> >
> >
> > Justin
> >
> >
> >
> > On Wed, Oct 1, 2025 at 7:36 AM Gunawan, Rahman (GSFC-SEWP)[Halvik
> > Corp] < [email protected]> wrote:
> >
> > Hi,
> >
> > I set *check-for-active-server *to true but when the primary shutdown,
> > the backup becomes primary.  However; when I started the primary
> > server that was shutdown, it became active, not checking if there are
> > any active servers so it cause split brain issue.  Attached is the
> broker.xml.
> >
> >
> >
> > Thanks
> >
> >
> >
> > *Rahman Gunawan*
> >
> > *SITSS Software Developer*
> >
> > NASA SEWP / SITSS
> >
> > HALV*I*K Corporation
> >
> > 7601 Ora Glen Dr, Greenbelt, MD 20770
> >
> > C: 240.444.6003
> > O: 301.614.5257
> >
> > [email protected]
> >
> >
> >
> >
> >
> >
> > ---------------------------------------------------------------------
> > To unsubscribe, e-mail: [email protected]
> > For additional commands, e-mail: [email protected] For
> > further information, visit:
> > https://gcc02.safelinks.protection.outlook.com/?url=https%3A%2F%2Facti
> > vemq.apache.org%2Fcontact&data=05%7C02%7Crahman.gunawan%40nasa.gov%7Cf
> > c45fbe9e1754df7a8c908de00f7d9ea%7C7005d45845be48ae8140d43da96dd17b%7C0
> > %7C0%7C638949261670445911%7CUnknown%7CTWFpbGZsb3d8eyJFbXB0eU1hcGkiOnRy
> > dWUsIlYiOiIwLjAuMDAwMCIsIlAiOiJXaW4zMiIsIkFOIjoiTWFpbCIsIldUIjoyfQ%3D%
> > 3D%7C0%7C%7C%7C&sdata=094yRwtdmqM%2F1eLH76k8kejSPWJGjnVg%2BnopN%2BnpxU
> > 4%3D&reserved=0
> >
> >
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [email protected]
> For additional commands, e-mail: [email protected]
> For further information, visit: https://activemq.apache.org/contact
>
>

Reply via email to