Weithenn - Redis Sentinel HA Containerzation Image (Redis Sentinel)
10K+
In simple terms, hope to package and encapsulate the Redis Sentinel high availability mechanism through Containerzation and then set up the Redis Sentinel HA mechanism very quickly in the Docker Swarm management environment.
CentOS 7.417.11.0-ceredis:4.0.6-alpineRedis-StatPortainerDocker Swarm environment.git clone https://github.com/Weithenn/redis-sentinelbuild.sh to build the Redis Sentinel high availability mechanism.This article lab environment as below:
| Docker Host | IP Address | Docker Swarm Role |
|---|---|---|
| swarm01.weithenn.org | 10.10.75.71 | Manager and Worker |
| swarm02.weithenn.org | 10.10.75.72 | Manager and Worker |
| swarm03.weithenn.org | 10.10.75.73 | Manager and Worker |
use docker node ls command verify docker swarm environment.

use git clone https://github.com/Weithenn/redis-sentinel command download this buildup files.

Execute build.sh to build the Redis Sentinel high availability mechanism. You will see the establishment of a Redis Master, two Redis Slave, three Redis Sentinel, a Redis-Stat, a Portainer...etc eight containers, and confirm the Redis Sentinel high availability mechanism is complete.

Open the browser link to one of the Docker Swarm Port 80, you will see Redis-Stat monitor screen.

Open the browser link to one of the Docker Swarm Port 9000, you will see Portainer GUI tool screen.

After you have completed the test, you can use the docker stack rm redis command to destroy the lab environment.

For more information on this, please refer to 實戰 - Redis Sentinel 高可用性機制容器化 ~ 不自量力 の Weithenn。
Content type
Image
Digest
Size
10 MB
Last updated
almost 9 years ago
docker pull weithenn/redis-sentinel