Tutorial: Manage Failover Settings Using the Access Server CLI
Overview
This tutorial shows how to configure and manage failover settings in OpenVPN Access Server using either the Web API or the sacli command-line tool.
Access Server supports failover deployments for high availability within a local area network (LAN). In a failover deployment:
The primary node handles active traffic.
The secondary node remains in standby mode.
If the primary node becomes unavailable, the secondary node automatically takes over.
This tutorial explains how to:
Validate the failover configuration.
Configure failover settings.
Initialize the secondary node.
Verify failover state changes.
Test failover behavior.
To learn more about failover deployments, refer to the Failover Setup Guide.
Prerequisites
Access Server 3.1.0 or newer (required for Step 1 / Web API method)
Root access to both Access Server nodes.
A completed failover deployment setup.
(Optional) A remote system for API calls.
Choose a configuration method
This tutorial provides two ways to configure failover 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.
Placeholder values used in this tutorial
Replace the following placeholders with values for your environment:
Placeholder | Description |
|---|---|
| Shared virtual failover IP address |
| UCARP shared secret password |
| IP address of the primary node |
| IP address of the secondary node |