problem description
several centOS7 systems are built using vmware
the environmental background of the problems and what methods you have tried
want to configure redis4.0.0 master-slave configuration
related codes
/ / Please paste the code text below (do not replace the code with pictures)
master
role:master
connected_slaves:0
master_replid:92e7ae2070e81180a91dfe47d382035edb79bb47
master_replid2:0000000000000000000000000000000000000000
master_repl_offset:0
second_repl_offset:-1
repl_backlog_active:0
repl_backlog_size:1048576
repl_backlog_first_byte_offset:0
repl_backlog_histlen:0
slave
< H1 > Replication < / H1 > role:slave
master_host:192.168.193.130
master_port:6379
master_link_status:down
master_last_io_seconds_ago:-1
master_sync_in_progress:0
slave_repl_offset:0
master_link_down_since_seconds:1537526389
slave_priority:100
slave_read_only:1
connected_slaves:0
master_replid2:0000000000000000000000000000000000000000
master_repl_offset:0
second_repl_offset:-1
repl_backlog_active:0
repl_backlog_size:1048576
repl_backlog_first_byte_offset:0
br
what result do you expect? What is the error message actually seen?
Master database can find slave database
master
role:master
connected_slaves:0
at present, it is 0. Can anyone give me some advice on how to configure the master and slave?