- This line was added.
- This line was removed.
- Formatting was changed.
Smart ID Digital Access component supports distributed mode to enable high availability and failover that provides powerful flexibility and scalability. With this mode, Digital Access component will switch to a redundant service once the primary one has stopped working.
Smart ID Digital Access component supports distributed mode to enable high availability and failover that provides powerful flexibility and scalability. With this mode, Digital Access component will switch to a redundant service once the primary one has stopped working. Thereby, not only one but several redundant services are supported. Using high availability enables systems to meet high service-level agreement (SLA) requirements.
This article describes the setup of high availability for two Digital Access components with docker swarm and running services. See also High availability architecture for Digital Access component.
The following prerequisites apply:
Get token and stop services - manager node
Join as worker nodes
Do these steps on all worker nodes.
Remove labels at manager node
Edit configuration files - Manager node
For each service add network configuration in the network.yml file. For example, if you want to deploy two policy services on two nodes you will have two blocks of configuration as shown below.
Change the value of:
Also make sure all the listeners that are used for access point Load balance are exposed on network.yml.
Add one line for each service in this file also.
For example, if you have two policy services with name policy1 and policy2, you will have two lines for each service.
At manager node
Add new labels for each service which you want to run in worker nodes. In this example, we have used “1” as postfix for each service name. You can choose any name based on your requirement, but make sure they are in accordance with what we have defined in constraints section in the docker-compose.yml file.
In Digital Access Admin
Do final steps
This article is valid for Digital Access 6.1.0 and later and Smart ID 21.10 and later.