# 啟動Redis服務器進程
./redis-server ../redis.conf
# 啟動哨兵進程
./redis-sentinel ../sentinel.conf
windows 啟動 redis-server.exe sentinel.conf --sentinel
首先是主機(192.168.11.128)的Redis服務進程,然后啟動從機的服務進程,最后啟動3個哨兵的服務進程。
以客戶端進入,info查看狀態
192.168.65.1
192.168.65.1
# 啟動Redis服務器進程
./redis-server ../redis.conf
# 啟動哨兵進程
./redis-sentinel ../sentinel.conf
windows 啟動 redis-server.exe sentinel.conf --sentinel
首先是主機(192.168.11.128)的Redis服務進程,然后啟動從機的服務進程,最后啟動3個哨兵的服務進程。
以客戶端進入,info查看狀態
192.168.65.1
192.168.65.1
本站轉載的文章為個人學習借鑒使用,本站對版權不負任何法律責任。如果侵犯了您的隱私權益,請聯系本站郵箱yoyou2525@163.com刪除。