Define the main site in your API Connect cloud
By defining a main site in your API Connect cloud, you can ensure that your specified server configurations are preserved if a network link between sites is interrupted.
With the main site disabled, a separation between two data centers can lead to dissociation. A defined main site can remain fully operational while the management servers in the remote site run in a degraded mode. For more information about dissociation, see Dissociation and your cloud and Configuration database failover timeout.
While the remote site is in a degraded mode, its servers are unable to write to the configuration database, but might continue to serve read-only queries. After communication is restored, remote servers resume operations.
If the main site goes completely down, the administrator can manually promote a remote server to resume operations.
A site is a collection of servers in the same datacenter or geographical location in your API Connect cloud.
Any management server in a main site can be assigned the role of Primary server, and one of the remaining servers is automatically assigned the Active Arbitrator role depending on its current role. For more information on the role dependent priority, see Reference information for main site functionality.
- Primary
- A Primary server is responsible for any actions that involve writing.
- Active Arbitrator
- An Active Arbitrator is responsible for deciding which server is promoted to become the Primary server, if the original Primary server is unable to be contacted.
However, you can define a site to be the main site, by ensuring that at least two servers in the site are assigned the Primary and Active Arbitrator roles.