High availability (HA) provides automatic failover between two nodes using a virtual IP (VIP). Marketplace deployments configure HA automatically; this page covers manual HA setup (on-prem) and ongoing management.
Navigate to Failover in the Web UI sidebar.
Mode Description Active-Passive One resource group owned by the active primary node. Resources transfer only during failure or manual intervention. Active-Active Two resource groups with different cluster IDs. Each node owns one resource group. On failure, the surviving node assumes both.
HA works with either shared or shared-nothing storage:
Model Description Shared Storage Both nodes access the same storage (dual-path arrays, NVMe-oF, cloud block storage) Shared-Nothing Separate storage per node with synchronous mirroring (NVMe-oF mirror or DRBD)
Cloud Requirements Azure Service principal login on all nodes, Availability Set, Load Balancer or custom route for VIP GCP Service Account with custom IAM roles, secondary IP ranges configured AWS Custom IAM role with EC2 permissions, subnet with secondary private IP support On-Prem Network allowing gratuitous ARP for VIP, shared storage or dedicated replication network
Unique cluster ID (1–255) for all managed resources
Node names must match uname -n output
A virtual IP address (outside normal DHCP range)
At least one heartbeat link between nodes (two recommended)
Clear previous disk headers with wipefs if reusing disks
Navigate to Failover and click New
Complete the cloud-specific checklist (if applicable)
Configure:
Field Description Failover Type Active/Passive or Active/Active Primary Node Primary hostname (auto-populated) Secondary Node Secondary hostname (must match uname -n) Resource ID Cluster resource ID (1–255) Virtual IP Floating IP address for client access Netmask Subnet mask (on-prem only; cloud auto-configures)
Configure heartbeat links:
Field Description Heartbeat Link 1 Primary network interface + peer IP Heartbeat Link 2 Secondary interface + peer IP (recommended) Ping Node Gateway IP for split-brain detection
Optionally configure advanced parameters:
Parameter Description Default Keepalive Heartbeat interval (ms) 1000 Deadtime Time before declaring peer dead (s) 10 Warntime Warning threshold (s) 5 Initdead Initial dead time for startup (s) 30 Auto Failback Automatically failback when primary recovers Off
Click Create (takes ~30 seconds)
If the primary is already configured, use Join on the secondary node to add it to the cluster.
Action Description Start Start the failover service on a node Stop Stop the failover service Standby Release all resources (go standby) Takeover Force the other node to release all resources Delete Remove the failover configuration
The Failover panel shows:
Node list with roles (Primary/Secondary)
Failover service status (running/stopped)
Virtual IP assignment
Resource ownership per node
Heartbeat link health
Per-node active/inactive status
# Create failover configuration
mayacli create failover \
node=server1.local,server2.local \
options= " clusterid=3 ipaddress=10.1.1.111 \
hblink=eth0>10.1.1.101:eth0>10.1.1.100,eth1>192.168.100.101:eth1>192.168.100.100 "
# Go standby (release all resources)
# Force takeover (take all resources)
mayacli failover takeover
# Takeover specific: local, all, foreign, or failback
mayacli failover takeover local
mayacli failover takeover failback
# Delete failover configuration
See CLI Guide for the full command reference.