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 (apicall)

Access Server 3.1.0 and newer

Automation and API workflows

sacli commands

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

<NODE_NAME>

Cluster node name

<MYSQL_URL>

MySQL server hostname or IP address

<MYSQL_PORT>

MySQL server port

<MYSQL_USER>

MySQL username

<MYSQL_PASSWORD>

MySQL password

<ACCESS_SERVER_IP>

Access Server node IP address

<NEW_ACCESS_SERVER_IP>

Updated Access Server node IP address

<RRDNS_DOMAIN>

Round Robin DNS hostname

<KEY>

Configuration key

<VALUE>

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: