Attached is my broker configuration. 1. Shutdown primary, the backup server became active. 2. Start primary, check-for-active-server=true is not working so the primary and backup server became active.
If changed to check-for-live-server: 1. Shutdown primary, the backup server became active. 2. Start primary, the primary checks for live server and became backup. 3. Shutdown the server on step no 2 and bring back up, split brain issue. 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:58 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. > 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%2Fac > > ti%2F&data=05%7C02%7Crahman.gunawan%40nasa.gov%7C3e75e99959eb4a14a69 > > 608de00faff7c%7C7005d45845be48ae8140d43da96dd17b%7C0%7C0%7C638949275 > > 184737832%7CUnknown%7CTWFpbGZsb3d8eyJFbXB0eU1hcGkiOnRydWUsIlYiOiIwLj > > AuMDAwMCIsIlAiOiJXaW4zMiIsIkFOIjoiTWFpbCIsIldUIjoyfQ%3D%3D%7C0%7C%7C > > %7C&sdata=KbbaKyf2DdM1bFqgGUtSAX0RxoUWfk1pmeRifHtuz%2Fc%3D&reserved= > > 0 > > vemq.apache.org%2Fcontact&data=05%7C02%7Crahman.gunawan%40nasa.gov%7 > > Cf > > c45fbe9e1754df7a8c908de00f7d9ea%7C7005d45845be48ae8140d43da96dd17b%7 > > C0 > > %7C0%7C638949261670445911%7CUnknown%7CTWFpbGZsb3d8eyJFbXB0eU1hcGkiOn > > Ry > > dWUsIlYiOiIwLjAuMDAwMCIsIlAiOiJXaW4zMiIsIkFOIjoiTWFpbCIsIldUIjoyfQ%3 > > D% > > 3D%7C0%7C%7C%7C&sdata=094yRwtdmqM%2F1eLH76k8kejSPWJGjnVg%2BnopN%2Bnp > > xU > > 4%3D&reserved=0 > > > > > > --------------------------------------------------------------------- > 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%7C3 > e75e99959eb4a14a69608de00faff7c%7C7005d45845be48ae8140d43da96dd17b%7C0 > %7C0%7C638949275184760120%7CUnknown%7CTWFpbGZsb3d8eyJFbXB0eU1hcGkiOnRy > dWUsIlYiOiIwLjAuMDAwMCIsIlAiOiJXaW4zMiIsIkFOIjoiTWFpbCIsIldUIjoyfQ%3D% > 3D%7C0%7C%7C%7C&sdata=WWvRn1VXJ9zSPvbBhRwBCyyAhDQ79OI3NJyJcrlkY4A%3D&r > eserved=0 > >
broker2.xml
Description: broker2.xml
broker3.xml
Description: broker3.xml
broker-backup1.xml
Description: broker-backup1.xml
broker-primary1.xml
Description: broker-primary1.xml
--------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected] For further information, visit: https://activemq.apache.org/contact
