The Cloud configuration page in Cube tells me the cloud gateway service should be active on at least one node. Is there any advantage (or disadvantage) of activating it on multiple (or all) nodes?
Will all nodes with the service running be used, or will one be chosen? If the latter, can I know which one is used?
Hey Lander,
Advantages of running more than a single node:
- Redundancy:
The cloud gateway nodes run independent from each other. Each one of them will maintain a tunnel connection to the DataMiner cloud platform. This means that when a machine or process falls away in the cluster, you will still be cloud connected through the other cloud gateway nodes. - Load balancing:
Every time you open a shared dashboard or relay to your DMS*, a random cloud gateway node is chosen to process your session. This means the opening of multiple shares is distributed over the various cloud gateways.
As a cloud gateway always forwards the traffic to the same web API service, this also distributes the load across different web APIs services in the cluster.
At this time, most systems should only run 1 to 3 cloud gateway nodes in a cluster. (for example, running 32 cloud gateway nodes in a cluster would only add extra unnecessary load in the DataMiner cloud platform)
* The relaying feature is still a work in progress.