Tutorial: Manage Cluster Settings Using Web API and sacli
Overview
Access Server clustering provides active-active redundancy and horizontal scaling by allowing multiple Access Server nodes to share configuration and user data through a common database backend.
This tutorial shows how to create and manage clusters, add and remove nodes, configure Round Robin DNS settings, view cluster status, and execute remote API calls on cluster members using either the Web API or sacli.
To learn more about clustering, refer to Access Server Clustering.
Prerequisites
Access Server 3.1.0 or newer (for using the Web API).
Root privileges on your Access Server console.
A configured MySQL database for cluster storage.
(Optional) A remote machine for running API calls.
Choose a management method
This tutorial provides two ways to manage cluster settings:
Method | Availability | Best for |
|---|---|---|
Web API ( | Access Server 3.1.0 and newer | Automation and API workflows |
| All supported Access Server versions | Direct server administration |
Use the method that best fits your environment and workflow.
Before you begin
All examples in this tutorial assume you're connected to the Access Server console with root privileges.
Placeholder values
Replace the following placeholders with values appropriate for your environment:
Placeholder | Description |
|---|---|
| Cluster node name |
| MySQL server hostname or IP address |
| MySQL server port |
| MySQL username |
| MySQL password |
| Access Server node IP address |
| Updated Access Server node IP address |
| Round Robin DNS hostname |
| Configuration key |
| Configuration value |
Manage clusters using the Web API
Manage clusters using sacli
This method works on all supported Access Server versions.
Troubleshooting
Access Server includes debug flags that can help troubleshoot clustering issues and determine how cluster operations are being processed.
Refer to: