마스터 1대 슬레이브 2대일 때
센티널로 마스터를 연결했다.
센티널의 info sentinel
127.0.0.1:26379> info sentinel
# Sentinel
sentinel_masters:1
sentinel_tilt:0
sentinel_running_scripts:0
sentinel_scripts_queue_length:0
sentinel_simulate_failure_flags:0
master0:name=master-name,status=ok,address=192.168.96.2:6379,slaves=2,sentinels=1
센티널의 info 전체
127.0.0.1:26379> info
# Server
redis_version:6.2.6
redis_git_sha1:00000000
redis_git_dirty:0
redis_build_id:5ee0efd2d2c953b8
redis_mode:sentinel
os:Linux 5.10.76-linuxkit x86_64
arch_bits:64
multiplexing_api:epoll
atomicvar_api:c11-builtin
gcc_version:8.3.0
process_id:1
process_supervised:no
run_id:ee44219da28aeb533236031151bd9cd055a72b96
tcp_port:26379
server_time_usec:1640601183858454
uptime_in_seconds:76
uptime_in_days:0
hz:18
configured_hz:10
lru_clock:13211231
executable:/redis-sentinel
config_file:/opt/bitnami/redis-sentinel/etc/sentinel.conf
io_threads_active:0
# Clients
connected_clients:1
cluster_connections:0
maxclients:10000
client_recent_max_input_buffer:16
client_recent_max_output_buffer:0
blocked_clients:0
tracking_clients:0
clients_in_timeout_table:0
# CPU
used_cpu_sys:0.925744
used_cpu_user:0.187167
used_cpu_sys_children:0.056150
used_cpu_user_children:0.046840
used_cpu_sys_main_thread:0.918866
used_cpu_user_main_thread:0.182657
# Stats
total_connections_received:1
total_commands_processed:1
instantaneous_ops_per_sec:0
total_net_input_bytes:31
total_net_output_bytes:1164
instantaneous_input_kbps:0.00
instantaneous_output_kbps:0.00
rejected_connections:0
sync_full:0
sync_partial_ok:0
sync_partial_err:0
expired_keys:0
expired_stale_perc:0.00
expired_time_cap_reached_count:0
expire_cycle_cpu_milliseconds:22
evicted_keys:0
keyspace_hits:0
keyspace_misses:0
pubsub_channels:0
pubsub_patterns:0
latest_fork_usec:0
total_forks:0
migrate_cached_sockets:0
slave_expires_tracked_keys:0
active_defrag_hits:0
active_defrag_misses:0
active_defrag_key_hits:0
active_defrag_key_misses:0
tracking_total_keys:0
tracking_total_items:0
tracking_total_prefixes:0
unexpected_error_replies:0
total_error_replies:0
dump_payload_sanitizations:0
total_reads_processed:2
total_writes_processed:1
io_threaded_reads_processed:0
io_threaded_writes_processed:0
# Sentinel
sentinel_masters:1
sentinel_tilt:0
sentinel_running_scripts:0
sentinel_scripts_queue_length:0
sentinel_simulate_failure_flags:0
master0:name=master-name,status=ok,address=192.168.96.2:6379,slaves=2,sentinels=1
'Database > Redis' 카테고리의 다른 글
[redis] sentinel master master-name 내용 살펴보기 (0) | 2021.12.27 |
---|---|
[redis] sentinel masters 내용 살펴보기 (0) | 2021.12.27 |
[redis] 도커컴포즈로 레디스 마스터1 슬레이브2 구성 만들어보기 (2) | 2021.12.27 |
[redis] 마스터와 슬레이브의 info replication 내용 살펴보기 (0) | 2021.12.27 |
[redis] 마스터와 슬레이브의 info 명령어 내용 비교 (0) | 2021.12.27 |