Skip to main content
16-Pearl
July 5, 2021
Solved

High availability for Thingworx Azure IoT Hub connector

  • July 5, 2021
  • 1 reply
  • 1613 views

Hi,

I am planning to configure High availability for below components.

1. Thingworx version 8.5.1

2. Azure SQl

3. Thingworx Azure IoT Hub connector 3.0.1

 

I have done HA configuration to Thingworx 8.5 and Azure Postgre SQL and working high availability as expected.

How to apply  HA configuration to Thingworx Azure IoT Hub connector? Currently I have installed Thingworx and IoT Hub connector service on same machine. Could any one suggest HA for Azure IoT Hub connector.

 

Thanks&Regards,

Latha

 

Best answer by mnarang

No, I did not mean that. When you create IOT hub you choose a partition limit that can not be changed later. You can have multiple connectors to distribute the load/kind of a HA setup for az iot hub connector. As I said when you start 2 connectors they will take 1/2 partition of iot hub. That basically means the number of connectors more than iot hub partition would not make any sense. Let me know if you want me to elaborate more.

1 reply

5-Regular Member
July 6, 2021

You can have more than one az iot hub connector pointing at the same platform/Azure iot hub thing. If they are started at the same time then they will each take about 1/2 the partition of the azure IoT hub(in terms of ingress/telemetry). If one connector dies eventually the partition it had a lease on will be released and assigned to another connector. You can have multiple connectors running but having more connectors than you have hub partition won't give any benefit.

vi116-PearlAuthor
16-Pearl
July 9, 2021

Thank you for reply. To understand your message, even though we can have multiple connectors ,but there is no benefit.

mnarang5-Regular MemberAnswer
5-Regular Member
July 12, 2021

No, I did not mean that. When you create IOT hub you choose a partition limit that can not be changed later. You can have multiple connectors to distribute the load/kind of a HA setup for az iot hub connector. As I said when you start 2 connectors they will take 1/2 partition of iot hub. That basically means the number of connectors more than iot hub partition would not make any sense. Let me know if you want me to elaborate more.