Files
JayuCloud/docs/ops/production-servers.md
T

49 lines
2.7 KiB
Markdown

# YumiNail 生产服务器索引
整理日期:2026-05-21
本文只记录 YumiNail 生产环境前端入口、后端网关和 Core 服务的连接索引。密码、密钥、私钥不写入仓库;需要 SSH 时优先使用本机 `mcp__ssh_manager`,服务器配置位于本机 `C:\Users\21616\.codex\ssh-config.toml`。
## 使用说明
- 建议通过下表的 `MCP server key` 连接服务器。
- 默认 SSH 用户为 `root`,默认工作目录为 `/opt`。
- 如果 `mcp__ssh_manager.ssh_list_servers` 返回空列表,通常是 MCP 进程尚未重新加载 `ssh-config.toml`,重启 Codex/MCP 后再试。
- MySQL、Nacos、Redis、RabbitMQ、MessageHub 等基础设施服务器不在本文展开,按需回到源配置查询。
## 前端入口 / NGINX 代理
| 角色 | MCP server key | 地址 | SSH 端口 | 用户 | 默认目录 | 用途 | 备注 |
| --- | --- | --- | ---: | --- | --- | --- | --- |
| 前端入口与后端代理 | `yuminail-frontend-nginx` | `8.137.35.61` | `22` | `root` | `/opt` | 阿里云服务器,承载 NGINX 前端入口和后端代理 | 后端请求链路:`NGINX -> Gateway` |
## 后端网关集群
| 角色 | MCP server key | 地址 | SSH 端口 | 用户 | 默认目录 | 用途 |
| --- | --- | --- | ---: | --- | --- | --- |
| Gateway 01 | `yuminail-gateway01` | `yuminail-gateway01` | `22` | `root` | `/opt` | YumiNail 网关服务 01 |
| Gateway 02 | `yuminail-gateway02` | `yuminail-gateway02` | `22` | `root` | `/opt` | YumiNail 网关服务 02 |
| Gateway 03 | `yuminail-gateway03` | `yuminail-gateway03` | `22` | `root` | `/opt` | YumiNail 网关服务 03 |
## 后端 Core 集群
| 角色 | MCP server key | 地址 | SSH 端口 | 用户 | 默认目录 | 用途 |
| --- | --- | --- | ---: | --- | --- | --- |
| Core 01 | `yuminail-core01` | `yuminail-core01` | `22` | `root` | `/opt` | YumiNail Core 服务 01 |
| Core 02 | `yuminail-core02` | `yuminail-core02` | `22` | `root` | `/opt` | YumiNail Core 服务 02 |
| Core 03 | `yuminail-core03` | `yuminail-core03` | `22` | `root` | `/opt` | YumiNail Core 服务 03 |
## 连通性核验记录
2026-05-21 已用 SSH-manager Node 后端做只读连通性核验,执行命令仅为 `hostname; whoami; pwd`。
| MCP server key | 连接状态 | 远端 hostname | whoami | pwd |
| --- | --- | --- | --- | --- |
| `yuminail-frontend-nginx` | 成功 | `iZljjdtzydohblZ` | `root` | `/opt` |
| `yuminail-gateway01` | 成功 | `centos7` | `root` | `/opt` |
| `yuminail-gateway02` | 成功 | `centos7` | `root` | `/opt` |
| `yuminail-gateway03` | 成功 | `bogon` | `root` | `/opt` |
| `yuminail-core01` | 成功 | `centos7` | `root` | `/opt` |
| `yuminail-core02` | 成功 | `centos7` | `root` | `/opt` |
| `yuminail-core03` | 成功 | `bogon` | `root` | `/opt` |