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://activemq.apache.org/contact > >
