What about data in a swarm ?

39 views
Skip to first unread message

Aloïs Dreyfus

unread,
Nov 29, 2019, 9:52:50 AM11/29/19
to dcm4che
Hi,

I try to distribute dcm4chee-arc-light using Docker Swarm, but I don't understand how are the data synchronized or shared between the nodes of a swarm.

E.g the OpenLDAP service is created in 192.168.99.100 (Archive node) with the option 
--mount type=bind,src=/var/local/dcm4chee-arc/slapd.d,dst=/etc/openldap/slapd.d
to ensure that changes on the Archive configuration does not get lost on deletion and re-creation of the OpenLDAP Server container.

If I execute 
docker swarm join \
--token SWMTKN-1-49nj1cmql0jkz5s954yi3oex3nedyz0fb0xx14ie39trti4wxv-8vxv8rssmk743ojnwacrr2e7c \
192.168.99.100:2377
from an other server ( 192.168.99.101) to add it to the swarm, will this worker use and modify the data which are saved on the folder /var/local/dcm4chee-arc/slapd.d of 192.168.99.100 ?

And what happens if 192.168.99.100 is down ?

Gunter Zeilinger

unread,
Nov 29, 2019, 2:25:29 PM11/29/19
to dcm...@googlegroups.com
Have not yet tried but using NFS should work: https://ender74.github.io/Sharing-Volumes-With-Docker-NFS/

We are currently using two LDAP Container not sharing the same swarm configured in master-master replication in production.


Sent with ProtonMail Secure Email.

‐‐‐‐‐‐‐ Original Message ‐‐‐‐‐‐‐
--
You received this message because you are subscribed to the Google Groups "dcm4che" group.
To unsubscribe from this group and stop receiving emails from it, send an email to dcm4che+u...@googlegroups.com.

Reply all
Reply to author
Forward
0 new messages