In a Site with more than one Server, one Server holds the Cloud Master role. The other Servers connect to Nx Cloud through that Server. This article explains how to choose which Servers can take the Cloud Master role and in what order.
How the Cloud Master is selected
The Cloud Master is chosen by the masterCloudSyncList Site setting:
- If
masterCloudSyncListis empty (default), the Site automatically gives the role to one of the Servers that can reach Nx Cloud. The automatic selection doesn't consider connection stability, so a Server on a less reliable connection can get the role. - If
masterCloudSyncListcontains Server IDs, the first Server in the list that is online and connected to Nx Cloud becomes the Cloud Master.
Before you begin
- Make sure you have a local administrator account on the Site.
- Make sure you can reach a Server in the Site from a web browser on port
7001. - Decide which Servers should be allowed to hold the role, and in what order. Choose Servers with the most stable network and internet connection. Leave out any Server on an unreliable connection.
Find the Server IDs
- In a web browser, go to
https://<server-IP>:7001and sign in with a local administrator account. -
In the same browser tab, go to the following URL:
https://<server-IP>:7001/rest/v4/servers?_with=id,name
- For each Server you want to include, find the
namefield and copy theidvalue next to it.
Set the Cloud Master priority list
Caution: While the role moves to another Server, cloud access to the Site can drop briefly. Make this change during a maintenance window if users depend on cloud access.
- Go to
https://<server-IP>:7001/#/advanced. - Search for
masterCloudSyncList. -
Enter the Server IDs in priority order, separated by semicolons. Put the most stable Server first. For example:
<main-server-ID>;<backup-server-ID>
- Click Apply.
The first Server in the list takes over the Cloud Master role within about a minute. Servers that aren't in the list keep recording and stay part of the Site, but they don't take the Cloud Master role while a listed Server is online.
Understand failover behavior
If the Cloud Master goes offline or loses its cloud connection, the next Server in masterCloudSyncList takes over. The switch happens after a short delay, about 10 seconds by default, plus the time the new Server needs to reconnect to Nx Cloud. Cloud access can drop briefly during the switch. This is expected.
To avoid frequent switching, keep Servers with unstable connections out of the list.
Comments
0 comments
Article is closed for comments.