ThingWorx High Availability > ThingWorx Foundation High Availability
ThingWorx Foundation High Availability
ThingWorx Foundation operates in an active/passive configuration when deployed in an HA environment. At least two ThingWorx instances are required for HA configuration. The first instance that is started will become the leader, fully connects to the model database, and performs all ThingWorx operations. One or more standby servers are also started, but do not fully connect to the model database and do not perform any ThingWorx operations. Once a standby server is elected to be leader, it will then connect to the database, load the model in its memory, and perform ThingWorx operations. Once the failover occurs, it is recommended to investigate the original active server, fix any issues that caused the failover and restart the server to maintain a healthy HA configuration.
ThingWorx server leader election is managed by an implementation of Apache ZooKeeper.
ThingWorx Requirements
ThingWorx HA requires the following:
ThingWorx 8.0 or higher
Two or more servers to operate ThingWorx in a HA environment
Apache ZooKeeper 3.4.<latest>
Three servers to operate ZooKeeper in a HA environment
Was this helpful?