Published on InterSystems Developer Community (https://community.intersystems.com)

Home > Running multiple containers - File sharing

Question
Oliver Wilms · Jun 5, 2020

Running multiple containers - File sharing

Hello,

How can I use ISC_DATA_DIRECTORY once IRIS runs inside a container? Some background...

We plan to deploy multiple containers running the same Health Connect IRIS Interoperability production in containers. So far we use docker run to start a container with ISC_DATA_DIRECTORY individual per container inside a efs that gets mapped using -v. I can imagine automating this task - we have not yet looked at cloud manager - and assigning individual ISC_DATA_DIRECTORY to each container. We experience errors when multiple file service in different containers point at the same folder in efs outside the container. We could create individual directory tree for each container OR come up with code to control file names so each container only processes files intended for it. The files are actually received via a CSP page that is connected in code to a Business Service that puts the file via a file operation. We have a load balancer that directs incoming http request to one of the containers. The CSP that receives the request could rename the filename if it knows what is the ISC_DATA_DIRECTORY for its container.

Please let me know how to check what is ISC_DATA_DIRECTORY from IRIS running in Docker container.

Thanks

#Containerization #InterSystems IRIS #InterSystems IRIS for Health

Source URL:https://community.intersystems.com/post/running-multiple-containers-file-sharing