Skip to main content
15-Moonstone
February 25, 2020
Solved

Thingworx High Availability using Dockers

  • February 25, 2020
  • 2 replies
  • 2056 views

Hello,

We are looking into High Availability architecture for Production with Docker Container. The documents says that the docker images are provided for HA. Can you point me where to they are?

PreetiGupta_1-1582614275629.png

Has anyone implemented HA with dockers? Any pointers would be helpful.

thanks,

Preeti

Best answer by Constantine
We use “standard” (not HA) dockerfiles for development, yes. They are pretty well documented (PDF, readme, articles) and in general self-explanatory. We tried to run this HA example some time ago and it worked, but we abandoned the idea because it was not intended for the use in production. That HA example is also quite simple — all it adds to your usual ThingWorx setup is a bunch of zookeeper nodes and haproxy, if I remember it correctly. There are only few files.

2 replies

Support
February 26, 2020

Hi @PreetiGupta.

 

I noticed you also posted this same reply to a post in our IoT Tech Tips forum.  Since that post was from 2018, I am following up with the original author to see if more information can be provided.

 

Regards.

 

--Sharon

Support
February 26, 2020

Hi @PreetiGupta.

 

A response has been posted to the original post.  Please let us know if you have further questions.

 

Regards.

 

--Sharon

18-Opal
February 27, 2020

Hello @PreetiGupta,

 

Just my 2 cents:

  • Last time I saw those HA dockerfiles they were in "examples" folder in Dockerfiles ZIP file for 8.3.3
    • They are simple, so shouldn't be a problem to modify for 8.5.x
    • There's a reason why PTC removed them from 8.4+, and I guess it's because you're not supposed to be using Postgres containers in prod, and if so, then why do you need HA...
  • Keep in mind that at least Postgres version is not intended for production use (I'm not sure if it is even supported in such configuration). If I understand the docs correctly, it essentially means that the only database you can use with those ThingWorx Docker containers in production is Azure SQL.

/ Constantine

15-Moonstone
February 27, 2020

Thanks Constantine.

The information is not documented very well. 

 

I am trying to use these dockers files in dev environment. 

Have you stood up Dev using these dockers files?

Preeti

18-Opal
February 28, 2020
We use “standard” (not HA) dockerfiles for development, yes. They are pretty well documented (PDF, readme, articles) and in general self-explanatory. We tried to run this HA example some time ago and it worked, but we abandoned the idea because it was not intended for the use in production. That HA example is also quite simple — all it adds to your usual ThingWorx setup is a bunch of zookeeper nodes and haproxy, if I remember it correctly. There are only few files.