redis cluster access, restart, shut down, with the password to access the cluster

 

After installing the ruby ​​look after editing the following file into vi

 

 

Here write your password, you can restart with a password to access the cluster

Just select a node, enter the following command to view the cluster information

 

 

Redis normal shutdown command as follows:

 

 The following error occurs when you create the same command again to restart the redis clusters:   After creating a cluster because there are remnants of a library of data, because the last time does not close properly redis caused by the need to remove dump.rdb under the corresponding nodes, nodes .conf files and .aof

Note: After the general cluster is created, the elegant turn off without executing the command, that command to re-create the cluster. Just need to restart each node to restart the cluster

Guess you like

Origin www.cnblogs.com/wangbiaohistory/p/12500942.html