마스터 서버 확인
./src/redis-cli
127.0.0.1:6379> auth 패스워드
127.0.0.1:6379> info
마스터 서버에서 실행하면 sentinel 끼리 통신하는 로그 중간에 레디스 명령어가 출력됨.
./src/redis-cli -a 패스워드 monitor
"PING"
"PING"
"PUBLISH" "__sentinel__:hello"
"GET" "key"
"PING"
"PUBLISH" "__sentinel__:hello"
반응형
'프로그래밍 > redis' 카테고리의 다른 글
redis 한글 보기 (0) | 2016.11.21 |
---|---|
redis 특정 키 모두 지우기 (0) | 2016.10.19 |