Hi Fabrice-

Unfortunately, SMB/CIFS is _not_ a supported filesystem for shared file locker. 
The locking semantics in that filesystem are not reliable. 

A couple alternatives:

1. NFS v4.x
2. Use VM volumes that are made redundant by a hypervisor 
3. Deploy to Linux and NFS v4.x
4. Deploy to Kubernetes

Thanks,
Matt Pavlovich


> On Dec 5, 2023, at 3:05 PM, HOUNGBE, Fabrice (MTL) 
> <fabrice.houn...@bdc.ca.INVALID> wrote:
> 
> Hi, 
> We have a Master/Slave config with Classic ActiveMQ flavor. Our 2 servers 
> share the same KahaDB (NFS/SMB).
> Since we upgrade the OS from windows server 2016 to Win Server 2019, We 
> noticed an error in log file like below:
> ===
> Lock file \\share_location\lock <file://share_location/lock>, locked at Tue 
> Dec 05 15:52:32 EST 2023, has been modified at Tue Dec 05 15:52:42 EST 2023 | 
> org.apache.activemq.util.LockFile | ActiveMQ Lock KeepAlive Timer
> 2023-12-05 15:52:50,973 | ERROR | Broker_Name, no longer able to keep the 
> exclusive lock so giving up being a master | 
> org.apache.activemq.broker.LockableServiceSupport | ActiveMQ Lock KeepAlive 
> Timer
> ===
> This behavior is still there even if we stop the service on one of the 
> node/server.
> I stopped the services and deleted the lock file on the share drive but it 
> didn’t help.
> We have ActiveMQ version 5.15.0 (classic)  and this upgrade from Win 2016 to 
> Win 2019 is a prerequisite for us before we upgrade the broker version itself.
> Any help that can fix this issue ? The broker keeps shutting down and 
> restarting almost every 2mns. We didn’t notice any similar issue when 
> upgrading from win 2016 to win 2019 with single broker configuration.
>  
> Thanks,
>  
> Fabrice Houngbe
> Spécialiste, Technologies | Technology Specialist
> T  514-807-6916     C 438-686-4037     
> 
>  
> <http://www.bdc.ca/FR/Pages/accueil.aspx?utm_campaign=signature&utm_medium=email&utm_source=signature>
> 
> bdc.ca 
> <http://www.bdc.ca/FR/Pages/accueil.aspx?utm_campaign=signature&utm_medium=email&utm_source=signature>
>  
>  <http://www.bdc.ca/facebook>  <http://www.bdc.ca/twitter>  
> <http://www.bdc.ca/linkedin>  <http://www.bdc.ca/youtube>  
> <https://www.instagram.com/bdc_ca/>
>  
> 
> Information confidentielle : Le présent message, ainsi que tout fichier qui y 
> est joint, est (sont) envoyé(s) à l'intention exclusive de son ou (ses) 
> destinataire(s); il est de nature confidentielle et peut faire l'objet d'une 
> information privilégiée. Nous avisons toute personne autre que le 
> destinataire prévu que tout examen, réacheminement, impression, copie, 
> distribution ou toute autre utilisation de ce message et tout document joint 
> est (sont) strictement interdit(s). Si vous n'êtes pas le destinataire prévu, 
> veuillez en aviser immédiatement l'expéditeur par retour de courriel et 
> supprimer ce message et tout document joint de votre système. Merci! 
> Gérez vos abonnements aux communications de BDC. 
> <https://www.bdc.ca/fr/articles-outils/boite-outils-entrepreneur/publications/formulaire-abonnement?utm_medium=email&utm_source=signature&utm_campaign=email-footer-disclaimer_fr>
>  
> (Veuillez noter que vous continuerez de recevoir les messages électroniques 
> non commerciaux nécessaires à votre relation d’affaires avec BDC.) 
> 
> Confidentiality Warning: This message and any attachments are intended only 
> for the use of the intended recipient(s), are confidential, and may be 
> privileged. If you are not the intended recipient, you are hereby notified 
> that any review, retransmission, conversion to hard copy, copying, 
> circulation or other use of this message and any attachments is strictly 
> prohibited. If you are not the intended recipient, please notify the sender 
> immediately by return email, and delete this message and any attachments from 
> your system. Thank you! 
> Manage your subscriptions to BDC messages. 
> <https://www.bdc.ca/en/articles-tools/entrepreneur-toolkit/publications/subscribe?utm_medium=email&utm_source=signature&utm_campaign=email-footer-disclaimer_en>
>  
> (Please note that you will continue to receive non-commercial electronic 
> messages necessary for your business relationship with BDC.)

Reply via email to