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:
Turn on High Availability Option
Enable HA for Catalog Cache and State Server30134
for statestored
, and port 30137
for catalogd
. Normally, these two ports are left unchanged.Configure HA Hosts
This is the location for the HA software that manages the catalog cache. All services use this host.
The is the location for the HA software that managers the state server. All services use this host.
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).
The port where the HA software that manages the catalog cache listens; the arcengined
and statestored
must use this port as a flag.
The port where the HA software managing State Server listens; arcengined
and catalogd
must use this port as a flag.
30134
Role Installation
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 state server port
HA catalog cache port
HA state server host
HA catalog cache host
-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
-state_store_port=30134
-catalog_service_port=${HA_CATALOG_SERVICE_PORT}
STATESTORE_HOST=$HA_STATE_STORE_HOST
CATALOG_HOST=$HA_CATALOG_SERVICE_HOST
-state_store_port=${HA_STATE_STORE_PORT}
-catalog_service_port=30137
STATESTORE_HOST=$HA_STATE_STORE_HOST
CATALOG_HOST=$HA_CATALOG_SERVICE_HOST