Fault Tolerance with a JSON Configuration
Note: This section is only applicable when using file-based stores or grid stores. To configure fault-tolerance when using FTL stores, see the Fault-Tolerance with FTL Stores and Configuring and Deploying FTL Stores sections.
When using a JSON configuration, the same JSON file is used to manage both servers in a fault tolerant pair. Primary and secondary server roles are determined when the servers are started.
All but two configuration settings are shared by both EMS servers: the
listen
and ft_active
parameters are configured separately.
-
The primary server, if elected active, listens for client connections on ports defined in the "primary_listens" node of the configuration. If elected standby, it listens for the secondary server on the URL that is flagged using the "ft_active" Boolean within the "secondary_listens" node.
- Conversely, the secondary server, if elected standby, listens for the primary server on the URL that is flagged using the "ft_active" Boolean within the "primary_listens" node. If elected active, it listens for client connections on ports defined in the "secondary_listens" node.
Subtopics