sentinel_flushconfig
Redis SENTINEL FLUSHCONFIG
 
Redis Sentinel Course
 | 
 
Redis Technical Support
 | 
 
Redis Enterprise Server
 | 
|---|
Redis SENTINEL FLUSHCONFIG
Sentinel.conf 파일을 다시 쓴다.  
디폴트 값과 같으면 기록하지 않고 다른 값에 대해서만 기록한다.  
기존에 있는 주석(comment)와 순서는 그대로 유지된다.  
새로 추가되는 항목은 아래에 기록된다.
센티널 운영 중 리눅스의 "mv" 명령으로 파일명을 바꾸거나 위치를 이동한 다음
flushconfig 명령을 실행해도 바뀐 파일명이나 위치 기록된다.  
만약 sentinel.conf 파일을 지운후 flushconfig 명령을 실행하면 새 파일이 만들어진다.  
이 경우에는 주석은 기록되지 않는다.
사용법
명령: SENTINEL FLUSHCONFIG   
기록되는 항목
- sentinel myid runid
 - sentinel monitor master-name ip port quorum
 - sentinel down-after-milliseconds master-name milliseconds
 - sentinel failover-timeout master-name milliseconds
 - sentinel parallel-syncs master-name count
 - sentinel notification-script master-name file-name
 - sentinel client-reconfig-script master-name file-name
 - sentinel auth-pass master-name password
 - sentinel config-epoch master-name count
 - sentinel leader-epoch master-name count
 - sentinel known-slave master-name slave-ip slave-port
 - sentinel known-sentinel master-name sentinel-ip sentienl-port runid
 - sentinel current-epoch count
 - sentinel announce-ip ip
 - sentinel announce-port port
 
명령문
SENTINEL FLUSHCONFIG
- 이 명령은 version 2.8.0 부터 사용할 수 있다.
 - 이 문서는 버전 3.2.2을 기준으로 만들었다.
 
| Clients for Java | Jedis, Lettuce | Clients for C | Hiredis | 
| << SENTINEL SET | FLUSHCONFIG | SENTINEL INFO-CACHE >> | 
|---|
조회수 :
	Email
	
	
	답글이 올라오면 이메일로 알려드리겠습니다.
	
 
