redisクラスタクラスタクラスタのステータスのチェックとパスワードの追加


1.クラスタステータスの表示
cd/root/install/redis/cluster-test/xxx/src
./redis-cli-c-pエンドスローガン-h IPアドレス
cluster info
2.パスワードの変更
cd/root/install/redis/cluster-test/xxx/src
./redis-cli-c-pエンドスローガン-h IPアドレスconfig set requirepassパスワード
 ./redis-cli -c -p 7000 -h 127.0.0.1
./redis-cli -c -p 7000 -h 127.0.0.1
 
  
 ./redis-cli -c -p 7000 -h 127.0.0.1
./redis-cli -c -p 7000 -h 127.0.0.1