简体   繁体   English

如何设置 2 个没有从站的 Redis 主节点

[英]How to Setup 2 Redis Master Nodes Without Slave

I am using 2 Docker servers and I want to create Redis container to each of the servers.我正在使用 2 个 Docker 服务器,我想为每个服务器创建 Redis 容器。 Both containers will accept data and replicate the update between the 2 servers.两个容器都将接受数据并在两台服务器之间复制更新。 As I research, updating the slave is not possible.正如我研究的那样,更新从属是不可能的。 I see guides on how to configure redis master-slave but no guide for master-master.我看到了关于如何配置 redis 主从的指南,但没有关于主主的指南。 Thank you in advance.先感谢您。

Master-Master replication is not supported by default in Redis. Redis 默认不支持 Master-Master 复制。

But you could use Dynomite, given it's replication feature on key-value stores like Redis但是您可以使用 Dynomite,因为它在 Redis 等键值存储上具有复制功能

Be sure to check if all the kind of operations you want to use on your Redis are supported by Dynomite, since it might not support them all.请务必检查您想在 Redis 上使用的所有类型的操作是否受 Dynomite 支持,因为它可能不支持所有操作。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

相关问题 Redis主服务器没有看到从服务器 - redis master does not see slave 使用 docker-compose 时 redis_slave 无法到达 redis_master - redis_slave can't reach redis_master when using docker-compose 如何将作业的工作区从 jenkins 主容器复制到从容器并从从容器复制回主容器? - How to copy a workspace of a job from jenkins master to slave container and copy back from slave to master? 在 redis 哨兵配置中,如果 master 关闭,则无法连接到从机,所有这些都在 Docker 容器中运行 - Not able to connect to slave machine in case of master is down in redis sentinel configuration, all are running in Docker container Docker Swarm Redis和Sentinel与主 - 从复制IP解析客户端故障 - Docker Swarm Redis and Sentinel with master - slave replication IP resolution client failure 如何设置Redis Commander和Docker? - How to setup Redis Commander and Docker? 如何在 JENKINS 中从 Linux Master 启动 Windows Slave - How to launch Windows Slave from Linux Master in JENKINS 如何将mesos-slave(docker)连接到mesos-master(vagrant) - How to connect a mesos-slave (docker) to a mesos-master (vagrant) 如果 master-1 节点关闭,则多主 OKD-3.11 设置失败 - multi master OKD-3.11 setup fails if master-1 nodes is down 如何在 AWS 上设置 ReactJs、NodeJs、Redis 应用程序 - How to setup ReactJs, NodeJs, Redis application on AWS
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM