Single DB for Two Thingworx Instances
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Notify Moderator
Single DB for Two Thingworx Instances
Hi,
I look forward to doing a minimal Connection Server installation due to high traffic to the Thingworx Platform.
Present Scenario: 1 Thingworx Instance with 1 Postgres DB & 1 Influx DB
Required Scenario: 1 Connection Server with 2 Thingworx Platforms with 1 Postgres DB & 1 Influx DB
Can the required Scenario be achievable with 1 Postgres DB and 1 Influx DB for both Thingworx Instances? and is it a best practise?
Thanks,
Email: psp316r@outlook.com,
Mobile: +91 8099838001.
Solved! Go to Solution.
- Labels:
-
Best Practices
-
Install-Upgrade
Accepted Solutions
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Notify Moderator
With the help of @Jimwang and after lots of documentation searches on the PTC Knowledge base, concluded below.
Email: psp316r@outlook.com,
Mobile: +91 8099838001.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Notify Moderator
Technically you can use one Postgresql for multiple Thingworx instances as long as the Thingworx instances are using different Database/schema. For example, your postgresql instance has two Databases dB1 and dB2, each Thingworx instance connects to its own database dB1 and dB2 respectively.
However, this is not a good best practices, especially for production system, for example, if you need to restart the postgresql, all the Thingworx instances are impacted.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Notify Moderator
hi @Jimwang ,
Thanks for the quick response. Do we also need the Zoo keeper if we are using the Connection Server?
Thanks,
Email: psp316r@outlook.com,
Mobile: +91 8099838001.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Notify Moderator
If your Thingworx Platforms are configured as High Availability Cluster, yes, it is required to install Zookeeper, otherwise, you don't need to use zookeeper
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Notify Moderator
Hi @Jimwang,
I have made the below flow, but I am unsure If I need Zoo Keepers or not...
Thanks,
Email: psp316r@outlook.com,
Mobile: +91 8099838001.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Notify Moderator
per the diagram, it is my understanding that you are trying to setup a Thingworx High Availability Clustering, in such case, it is mandatory to have zookeeper in the cluster.
For detailed information, you can refer to Thingworx High Availablity in help center
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Notify Moderator
With the help of @Jimwang and after lots of documentation searches on the PTC Knowledge base, concluded below.
Email: psp316r@outlook.com,
Mobile: +91 8099838001.
