当前位置:网站首页>19_Redis_宕机后手动配置主机
19_Redis_宕机后手动配置主机
2022-07-02 12:00:00 【听*雨声】
主从配置模式:
模式一:
模式二:毛毛虫式
如果没有老大了(6379宕机了),这个时候能不能选择一个老大出来呢?在哨兵模式没有出来之前,选取老大的操作需要手动完成
配置命令:在存活的从机 6380 执行命令:SLAVEOF no one
如果主机断开了连接,我们可以使用SLAVEOF no one让自己变成主机! 如果这个时候老大修复了(6379重启),老大就是光杆司令,需要重新配置!
边栏推荐
- TiDB 环境与系统配置检查
- Record an interview
- C # delay, start the timer in the thread, and obtain the system time
- C RichTextBox controls the maximum number of lines displayed
- Principles, language, compilation, interpretation
- [noi Simulation Competition] scraping (dynamic planning)
- 【NOI模拟赛】伊莉斯elis(贪心,模拟)
- Huawei interview question: no palindrome string
- IE 浏览器正式退休
- .NET Core 日志系统
猜你喜欢
Implement a server with multi process concurrency
MFC timer usage
C语言习题---(数组)
为什么只会编程的程序员无法成为优秀的开发者?
Table responsive layout tips
Map介绍
07_哈希
Learn the method code example of converting timestamp to uppercase date using PHP
CodeCraft-22 and Codeforces Round #795 (Div. 2)D,E
CodeCraft-22 and Codeforces Round #795 (Div. 2)D,E
随机推荐
[noi simulation] Elis (greedy, simulation)
info [email protected] : The platform “win32“ is incompatible with this module.
C#延时、在线程中开启定时器、获取系统时间
可视化搭建页面工具的前世今生
08_ 串
How does CTO help the business?
Principles, language, compilation, interpretation
tmall. product. schema. Get (product information acquisition schema acquisition), Taobao store upload commodity API interface, Taobao commodity publishing interface, Taobao commodity upload API interf
传感器数据怎么写入电脑数据库
SQL 后计算的利器 SPL
Mfc a dialog calls B dialog function and passes parameters
TiDB跨数据中心部署拓扑
【题解】Educational Codeforces Round 82
编译原理课程实践——实现一个初等函数运算语言的解释器或编译器
MFC CString to char*
数据库内容输出有问题怎么解决
MFC 控制台打印,弹出对话框
Jenkins Pipeline 应用与实践
Database connection pool and data source
数据分析常见的英文缩写(一)