完善生产Redis双中心架构文档

This commit is contained in:
2026-08-24 11:52:49 +08:00
parent cfb979e447
commit 90e2adb1b4
5 changed files with 39 additions and 4 deletions
+8
View File
@@ -1,5 +1,13 @@
# JayuCloud 项目变更记录
## 2026-08-24 生产 Redis Sentinel 双中心架构完善
- 变更原因:补齐 Redis 双中心高可用架构中的中心2异地从库与 Sentinel 仲裁能力,使 Redis 从中心1本地高可用扩展为 1 Master + 3 Slave + 5 Sentinel。
- 处理方式:将新装中心2服务器从 DHCP `192.168.20.206` 固定为 `192.168.20.13/24`,主机名设为 `prod-redis04`;部署 Redis 数据节点和 Sentinel,作为 `192.168.10.17` 的异地 Slave;保留阿里云 newapi 节点 `10.66.0.4` 为 Sentinel 仲裁节点,不承载 Redis 数据。
- 当前拓扑:`prod-redis01 / 192.168.10.17` 为当前 Master;`prod-redis02 / 192.168.10.18`、`prod-redis03 / 192.168.10.19`、`prod-redis04 / 192.168.20.13` 为 Slave;Sentinel 节点为上述四个 Redis 节点加 `10.66.0.4:26379`。
- 影响范围:仅影响 Redis/Sentinel 基础设施和脱敏生产文档;不修改业务代码、数据库结构、Nacos 配置、Nginx、RabbitMQ 或对象存储。
- 验证方式:5 个 Sentinel 均返回 `SENTINEL get-master-addr-by-name mymaster = 192.168.10.17:6379`;`SENTINEL ckquorum mymaster` 返回 `OK 5 usable Sentinels. Quorum and failover authorization can be reached`;Master `INFO replication` 显示 `connected_slaves=3`,三个 Slave 均为 `master_link_status:up`。
## 2026-07-23 生产 NGINX 新增 minio.yunail.art 公网入口代理
- 变更原因:用户新建 `minio.yunail.art`,需要通过生产 NGINX 将 HTTP/HTTPS 请求统一转发到 `wcy111.top:9000`。