. 5.13 redis cluster experiment: slave automatically migrate - high availability architecture
5.13.1 slave principle of automatic migration
slave principle of automatic migration
There are currently eight such master, each having a slave, then added three slave as redundant, and some have two slave master, appeared salve redundancy. If a only a master of the slave hung up, redis cluster will automatically migrate a redundant slave to the master, based on this principle, achieve greater availability architecture, just adding some redundant slave can be achieved .
5.13.2.slave automatic migration scenarios
slave automatic migration scenarios
如果每个master只有一个slave,当slave死了,对应的master也死了,可用性就降低了。但是如果给整个集群挂载了一些冗余slave,那么某个master的slave死了,冗余的slave会被自动迁移作为master的新slave,此时即使那个master也死了,还是有一个slave会切换成master。
Check the cluster:
There are two slave master in 7003: 7006,7008, 7003 we will kill to see if there are slave automatically switches to master.