redis-trib.rb add-node –slave –master-id 299e4913ed1b66dd1e04dd815a254dfa807aef49 127.0.0.1:9005 127.0.0.1:900
redis-trib.rb add-node –slave –master-id [–master-id] slaveip:slavePort masterip:masterPort
redis-cli –cluster add-node 127.0.0.1:9005 127.0.0.1:9001 –cluster-slave –cluster-master-id 299e4913ed1b66dd1e04dd815a254dfa807aef49
取得 –master-id 相關資訊
redis-cli –cluster check 127.0.0.1:9005
[redis] add slave
分類:redis