Question James Fitzpatrick · Aug 23, 2018

Docker Containers with ECP

Hello!

I'm interested to hear if folks have experience using Docker containers with Caché instances using ECP. Wondering if there are any special considerations when setting up a distributed application with multiple containers communicating with ECP. Any input is appreciated!

Comments

Dmitry Maslennikov · Aug 23, 2018

I made such an example years ago, you can look at GitHub. This example maybe not so correct by this time, but can be useful. When you have to run only ECP clients, it becomes a bit easier. You should not care about volumes, in most cases, all the data stored in ECP-client is temporal. So, you mostly should care only about buffers. In my example, you can find how to configure instance during docker build to work as ECP-client.

0
James Fitzpatrick  Aug 24, 2018 to Dmitry Maslennikov

Thanks for the reference! I'll take a look at this. 

I'm assuming that you would also need a companion container defined for your database server(s) where you would deal with persisting data.

0
James Fitzpatrick  Aug 24, 2018 to Eduard Lebedyuk

Thanks for the suggestion. We're currently running HealthShare instances on top of Ensemble. We've been told by ISC that there isn't a HealthShare version of IRIS available yet, so we don't plan on migrating to the new platform anytime soon.

0
Oliver Wilms  Jun 3, 2020 to Eduard Lebedyuk

Good morning Eduard,

What are DM or AM instances?

Do you know if %Installer can setup ECP connection to a data server and also define a remote database to the same data server in code? By the way, the remote database is a mirror database.

Thanks,

Oliver

0
Eduard Lebedyuk  Jun 3, 2020 to Oliver Wilms

From the linked doc

  • DM - Distributed cache cluster data serve
  • AM - Distributed cache cluster application server

%Installer can run arbitrary code, and in code you can do ECP initialization.

ICM can provision mirrored configuration

0
Oliver Wilms  Jun 3, 2020 to Eduard Lebedyuk

Eduard,

Can you please provide a hint what class to look at for ECP setup to connect to a data server?

Thanks,

Oliver

0
Eduard Lebedyuk  Jun 3, 2020 to Oliver Wilms

Please ask a separate question. This is an extensive topic and the question would get more attention from Community.

0