...
...
Info |
---|
This article is valid for Digital Access 6.2 and later. |
...
Note |
---|
|
Expand |
Prerequisites
...
- Two Digital Access components with services and docker swarm available
- The following ports shall be open to traffic to and from each Docker host participating on an overlay network:
- TCP port 2377 for cluster management communications
- TCP and UDP port 7946 for communication among nodes
- UDP port 4789 for overlay network traffic
- For more details refer to: https://docs.docker.com/network/overlay/
- Keep a note of IP addresses of nodes where access point is running.
Step-by-step instruction
Get token and stop services - manager node
...
Get cluster join token
- SSH to the node running the administration service, that is, the manager node.
Get the cluster join token by running this command. This token will be used for joining worker nodes to the manager node.
Code Block title Get token sudo docker swarm join-token worker
Output of the command will be like:
Panel title Output docker swarm join --token SWMTKN-1-5dxny21y4oslz87lqjzz4wj2wejy6vicjtqwq33mvqqni42ki2-1gvl9xiqcrlxuxoafesxampwq 192.168.253.139:2377
...
Stop services
Stop the running services.
Code Block | ||
---|---|---|
| ||
sudo docker stack rm <your da stack name> |
Join as worker nodes
See Join as worker nodes in Set up high availability for Digital Access component Insert excerpt
At manager node
...
...
Remove labels, verify and identify nodes
- SSH to manager node.
Remove label for all services which are not required on this node.
Code Block title Remove label sudo docker node update --label-rm da-access-point <nodeid>
- Verify if all nodes are part of cluster by running this command.
Code Block title Verify if all nodes are part of cluster sudo docker node ls
Expand | |||||
---|---|---|---|---|---|
| |||||
|
...
Expand | ||||||||||
---|---|---|---|---|---|---|---|---|---|---|
| ||||||||||
|
...