完善生产Redis双中心架构文档
This commit is contained in:
@@ -1309,3 +1309,11 @@ rtk node -e "const fs=require('fs');const path=require('path');let n=0;function
|
||||
- 已完成:已备份并修复 `mysql02` 运行时 3306 规则顺序,写回 `/etc/sysconfig/iptables`;`codex-iptables-restore.service` 为 enabled。
|
||||
- 已验证:三台 Core、三台 Nacos、三台 MessageHub 到 `mysql02:3306` 均连通;Core 3/3、Nacos 3/3、MessageHub 3/3 均恢复健康;公网健康检查和店铺列表接口均返回 HTTP 200。
|
||||
- 当前注意:`mysql01` 和 `mysql03` 复制 IO/SQL 线程均为 `Yes`,但仍在追历史延迟;后续巡检需要继续观察复制延迟归零。
|
||||
|
||||
## 2026-08-24 生产 Redis Sentinel 双中心当前状态
|
||||
|
||||
- 已完成:中心1 `prod-redis01-03` 和中心2 `prod-redis04` 已形成 Redis 1 Master + 3 Slave;阿里云 newapi 节点 `10.66.0.4` 仅作为 Sentinel 仲裁。
|
||||
- 已完成:中心2新节点已从 DHCP `192.168.20.206` 固定为 `192.168.20.13/24`,主机名为 `prod-redis04`,默认网关为 `192.168.20.1`。
|
||||
- 当前可验证状态:`prod-redis01 / 192.168.10.17` 为 Master,Master 显示 `connected_slaves=3`;`prod-redis02`、`prod-redis03`、`prod-redis04` 均显示 `master_link_status:up`。
|
||||
- Sentinel 状态:`192.168.10.17:26379`、`192.168.10.18:26379`、`192.168.10.19:26379`、`192.168.20.13:26379`、`10.66.0.4:26379` 均可用,`ckquorum mymaster` 返回 5 usable Sentinels。
|
||||
- 后续关注:应用侧 Redis Sentinel 配置如需切换到新集群,应单独安排 Nacos 配置变更窗口,先脱敏回读当前 `middleware.yaml`,再更新 Sentinel 列表并滚动验证 Core/Gateway。
|
||||
|
||||
Reference in New Issue
Block a user