当前位置:网站首页>19_Redis_宕机后手动配置主机
19_Redis_宕机后手动配置主机
2022-07-02 12:00:00 【听*雨声】
主从配置模式:
模式一:
模式二:毛毛虫式
如果没有老大了(6379宕机了),这个时候能不能选择一个老大出来呢?在哨兵模式没有出来之前,选取老大的操作需要手动完成
配置命令:在存活的从机 6380 执行命令:SLAVEOF no one
如果主机断开了连接,我们可以使用SLAVEOF no one让自己变成主机! 如果这个时候老大修复了(6379重启),老大就是光杆司令,需要重新配置!

边栏推荐
- Fundamentals of software testing
- CodeCraft-22 and Codeforces Round #795 (Div. 2)D,E
- How to conduct TPC-C test on tidb
- 如何对 TiDB 进行 TPC-C 测试
- 编译原理课程实践——实现一个初等函数运算语言的解释器或编译器
- Base64 coding can be understood this way
- C#延时、在线程中开启定时器、获取系统时间
- 06_栈和队列转换
- [Space & single cellomics] phase 1: single cell binding space transcriptome research PDAC tumor microenvironment
- Arithmetic operations and related exercises in C language
猜你喜欢

Wechat applet uses towxml to display formula

Map介绍

Learn the method code example of converting timestamp to uppercase date using PHP

Large top heap, small top heap and heap sequencing

Dragonfly low code security tool platform development path

Ad20 cannot select the solution of component packaging in PCB editor

MathML to latex

LeetCode 2320. Count the number of ways to place the house

Li Chuang EDA learning notes 15: draw border or import border (DXF file)

IE 浏览器正式退休
随机推荐
[noi Simulation Competition] scraping (dynamic planning)
LeetCode 2310. 个位数字为 K 的整数之和
C语言习题---(数组)
MFC CString 转 char*
MFC CString to char*
TiDB 环境与系统配置检查
C # delay, start the timer in the thread, and obtain the system time
Introduction to C language -- array
N皇后问题的解决
可视化搭建页面工具的前世今生
C语言中的printf函数和scanf函数
buuctf-pwn write-ups (7)
记一次报错解决经历依赖重复
info [email protected]: The platform “win32“ is incompatible with this module.
06_栈和队列转换
C语言实现N皇后问题
tmall. product. schema. Get (product information acquisition schema acquisition), Taobao store upload commodity API interface, Taobao commodity publishing interface, Taobao commodity upload API interf
TiDB跨数据中心部署拓扑
07_哈希
Fundamentals of software testing