High Availability for AS Installations; Multiple State Store and Catalog Configurations

This feature enables High Availability (HA) by providing multiple state store and catalog configurations.

By default, every state server and catalog cache role starts and binds to their default ports, as described in Configuration without HA.

To enable HA, the user specifies the catalog and state store load balancer hosts and ports for cluster configuration. Arcadia Engine then uses these parameters to start the other services. See HA Configuration.

Follow these steps to configure HA:

  1. Turn on High Availability Option

    Enable HA for Catalog Cache and State Server
    • This setting applies the following host and port specification to startup flags, so that other services can access the role through HA software.
    • Each role must be started by binding to its default port: port 30134 for statestored, and port 30137 for catalogd. Normally, these two ports are left unchanged.
  2. Configure HA Hosts

    • HA Catalog Cache Host

      This is the location for the HA software that manages the catalog cache. All services use this host.

    • HA State Server Host

      The is the location for the HA software that managers the state server. All services use this host.

  3. Configure HA Ports

    These ports must match the HA proxy configurations.

    If HA proxy is not running on a node with a duplicate role, these ports may be identical to the actual role ports (30134,30137).

    • HA Catalog Cache Service Port

      The port where the HA software that manages the catalog cache listens; the arcengined and statestored must use this port as a flag.

    • HA State Server Service Port

      The port where the HA software managing State Server listens; arcengined and catalogd must use this port as a flag.

Configuration without HA

Listening Port
HA state server: port 30134
HA catalog cache: port 30137
Actual Host

Role Installation

Startup Flags

The following startup flags work on Arcadia Engine, and each HA state server and catalog cache:

-state_store_port=30134
-catalog_service_port=30137
STATESTORE_HOST=$hostCATALOG_HOST=$host

HA Configuration

HA Node Port
  • Each HA State Server

    HA state server port

  • Each HA Catalog Cache

    HA catalog cache port

HA Host
  • Each HA State Server

    HA state server host

  • Each HA Catalog Cache

    HA catalog cache host

Startup Flags
  • Arcadia Engine
    -state_store_port=${HA_STATE_STORE_PORT}
    -catalog_service_port=${HA_CATALOG_SERVICE_PORT}
    STATESTORE_HOST=$HA_STATE_STORE_HOST
    CATALOG_HOST=$HA_CATALOG_SERVICE_HOST
  • Each HA State Server
    -state_store_port=30134 
    -catalog_service_port=${HA_CATALOG_SERVICE_PORT}
    STATESTORE_HOST=$HA_STATE_STORE_HOST
    CATALOG_HOST=$HA_CATALOG_SERVICE_HOST
  • Each HA Catalog Cache
    -state_store_port=${HA_STATE_STORE_PORT}
    -catalog_service_port=30137
    STATESTORE_HOST=$HA_STATE_STORE_HOST
    CATALOG_HOST=$HA_CATALOG_SERVICE_HOST