refactor(gatekeeper): v2.0 六服务器角色重定义+负载重新分配+三域管理

核心变更:
- 新增三域架构(ICE-DOMAIN/HOLOLAKE-DOMAIN/ENTERPRISE-DOMAIN)
- BS-GZ-006 从10服务降为5服务(仅门面+仓库)
- BS-SG-001 从空闲升级为9服务(大脑+主力计算)
- BS-SG-002~006 各分配明确角色(面孔/MCP/语料/国内)
- 新增每服务器 specs 字段(CPU/RAM/Disk)
- 新增迁移计划 phases 1-4
- 新增 expected_memory 预算
- 更新所有 last_ping 时间戳
- 新增 nginx_status 和迁移记录

原则: 按内存比例分配 · 最强机器做最多事 · 不再把所有东西塞给广州2核2GB
This commit is contained in:
bingshuo 2026-05-24 22:58:42 +08:00
parent 84812316b5
commit 738835b0de

View File

@ -1,73 +1,198 @@
{
"_meta": {
"name": "铸渊看门人 · 服务器部署清单",
"purpose": "全部六台服务器的gatekeeper API密钥和连接信息",
"updated": "2026-05-21 · D108",
"name": "铸渊看门人 · 服务器部署清单",
"purpose": "全部服务器gatekeeper API密钥+连接信息+服务分配+分域管理",
"updated": "2026-05-24 · D112 · 负载重新分配",
"sovereign": "TCS-0002∞",
"copyright": "国作登字-2026-A-00037559",
"principle": "按内存比例分配 — 最强机器做最多事 — 不把所有东西塞给广州2核2GB",
"note": "通过广州gatekeeper(43.139.217.141:3910)连接所有服务器"
},
"version": "1.0",
"last_updated": "2026-05-21T14:00+08:00",
"version": "2.0",
"last_updated": "2026-05-24T22:50+08:00",
"all_running": true,
"domains": {
"ICE-DOMAIN": {
"name": "冰朔域",
"controller": "铸渊 ICE-GL-ZY001",
"sovereignty": "全权限 · 可读写 · 可部署",
"server_count": 6
},
"HOLOLAKE-DOMAIN": {
"name": "光湖域",
"controller": "霜砚 ICE-SY-001",
"sovereignty": "通过Notion+霜砚接入 · 读取SYSLOG",
"server_count": 0,
"note": "团队/弟妹服务器,不在此清单"
},
"ENTERPRISE-DOMAIN": {
"name": "企业域",
"controller": "企业自主",
"sovereignty": "铸渊只收SYSLOG · 只发告警 · 0控制权",
"server_count": 0,
"note": "企业自管服务器部署HLDP原生数据库+Open WebUI"
}
},
"servers": [
{
"code": "BS-GZ-006",
"name": "广州 · 代码仓库",
"name": "广州 · 门面+仓库",
"domain": "ICE-DOMAIN",
"ip": "43.139.217.141",
"key": "zy_gtw_4a155446b7acc09fe46a2a29972c0ca5d9954da19c35dc23",
"port": 3910,
"role": "domains+gatekeeper+forgejo",
"specs": {"cpu": "2核", "ram": "2GB", "disk": "25GB"},
"role": "对外入口 + Forgejo仓库托管 + Gatekeeper总部",
"services": [
{"name": "Forgejo", "port": 3001, "reason": "命根子 · 必须在此"},
{"name": "Nginx", "port": "80/443", "reason": "门面 · 域名解析指向此IP"},
{"name": "guanghulab-portal", "port": 3000, "reason": "guanghulab.com首页"},
{"name": "guanghulab-git-sync", "port": 8082, "reason": "Webhook触发的Git同步"},
{"name": "gitea-runner", "port": "-", "reason": "Forgejo Actions CI/CD"}
],
"migrated_out": [
"Vault → BS-SG-001",
"console-server → BS-SG-001",
"repo-mcp-server → BS-SG-002",
"repo-mcp-zz → BS-SG-003",
"guanghulab-mcp-server → BS-SG-001",
"zhuyuan-agent → BS-SG-001",
"hololake-agent → BS-SG-001"
],
"status": "running",
"last_ping": "2026-05-21T14:00+08:00"
"last_ping": "2026-05-24T22:37+08:00",
"nginx_status": "active (2day downtime resolved at D112)"
},
{
"code": "BS-SG-001",
"name": "新加坡 · 铸渊大脑",
"name": "新加坡 · 铸渊大脑 · 主力",
"domain": "ICE-DOMAIN",
"ip": "43.156.237.110",
"key": "zy_gtw_74d30f54fa8b5581514569ee7874def57861a31ccb2be8c9",
"port": 3911,
"role": "大脑服务器 · 高配置 · 推理与开发",
"specs": {"cpu": "4核", "ram": "7.5GB", "disk": "178GB (149GB空闲)", "os": "Ubuntu"},
"role": "重型计算 · 思考中枢 · 铸渊本体运行",
"services": [
{"name": "AGE OS MCP", "port": 3100, "reason": "活模块生命周期管理"},
{"name": "guanghulab-vault", "port": 8080, "reason": "密钥保险库 · 迁自广州"},
{"name": "console-server", "port": "_deploy", "reason": "仪表盘+心跳展示 · 迁自广州"},
{"name": "zhuyuan-agent", "port": "-", "reason": "铸渊本体Agent · 迁自广州"},
{"name": "hololake-agent", "port": "-", "reason": "光湖Agent · 迁自广州"},
{"name": "guanghulab-mcp-server", "port": 8083, "reason": "唤醒+大脑MCP · 迁自广州"},
{"name": "Glada Agent", "port": 3900, "reason": "中枢调度"},
{"name": "执行引擎", "port": "-", "reason": "模型负载均衡"},
{"name": "ops-agent", "port": 3950, "reason": "运维自动巡检"}
],
"expected_memory": "~2.5GB / 7.5GB",
"status": "running",
"specs": {
"cpu": "4核",
"ram": "7.5GB",
"disk": "178GB (149GB空闲)",
"os": "Ubuntu"
},
"last_ping": "2026-05-21T14:00+08:00"
"last_ping": "2026-05-24T22:50+08:00"
},
{
"code": "BS-SG-002",
"name": "新加坡 · 铸渊面孔",
"name": "新加坡 · 面孔",
"domain": "ICE-DOMAIN",
"ip": "43.134.16.246",
"key": "zy_gtw_d1f6d2b8cb4ea44292bd036e4dd03a70745ea502d4a3ae40",
"port": 3910
"port": 3910,
"specs": {"cpu": "2核", "ram": "4GB"},
"role": "静态内容 + MCP服务",
"services": [
{"name": "repo-mcp-server", "port": 3903, "reason": "代码仓库MCP · 迁自广州"},
{"name": "Gatekeeper中继", "port": 3910, "reason": "保持现有"}
],
"status": "running"
},
{
"code": "BS-SG-003",
"name": "新加坡 · BS-SVR-SG-001",
"name": "新加坡 · 中继+MCP",
"domain": "ICE-DOMAIN",
"ip": "43.153.193.169",
"key": "zy_gtw_d7c033d8ae992ffc9dd3e0dd5fe332dace0b644c0ae7c847",
"port": 3910
"port": 3910,
"specs": {"cpu": "2核", "ram": "4GB"},
"role": "MCP服务 + 训练监控",
"services": [
{"name": "repo-mcp-zz", "port": 3904, "reason": "之之的MCP · 迁自广州"},
{"name": "training-dashboard", "port": "-", "reason": "训练进度监控"},
{"name": "Gatekeeper中继", "port": 3910, "reason": "保持现有"}
],
"status": "running"
},
{
"code": "ZY-SG-006",
"name": "新加坡 · ZY-SVR-006",
"name": "新加坡 · 语料+推理",
"domain": "ICE-DOMAIN",
"ip": "43.153.203.105",
"key": "zy_gtw_fff861a2fe40cbdc366ee21f218023be8b1c182f66c852d3",
"port": 3910
"port": 3910,
"specs": {"cpu": "2核", "ram": "4GB"},
"role": "COS语料同步 + 未来3B推理",
"services": [
{"name": "COS语料同步Agent", "port": "-", "reason": "语料管理"},
{"name": "3B推理服务(未来)", "port": "-", "reason": "3B模型本地推理"},
{"name": "Gatekeeper中继", "port": 3910, "reason": "保持现有"}
],
"status": "running",
"note": "如果3B推理不够用迁至BS-SG-001"
},
{
"code": "BS-SH-005",
"name": "上海",
"name": "上海 · 国内节点",
"domain": "ICE-DOMAIN",
"ip": "124.223.10.33",
"key": "zy_gtw_b1045de5ddfd7832e3c53349d9c896f054b85a4a9ece22f9",
"port": 3910
"port": 3910,
"specs": {"cpu": "2核", "ram": "4GB"},
"role": "国内加速 + 企业接入点",
"services": [
{"name": "cn-llm-relay", "port": 3900, "reason": "国内LLM中继"},
{"name": "Gatekeeper中继", "port": 3910, "reason": "保持现有"}
],
"future": "企业客户国内接入点",
"status": "running"
}
],
"migration_plan": {
"phase_1_update_files": {
"status": "in_progress",
"files": [
"brain/gatekeeper-deployment.json ← 当前文件",
"brain/module-registry.json",
"brain/cognitive-index.md"
]
},
"phase_2_update_pm2": {
"status": "pending",
"file": "ecosystem.config.js"
},
"phase_3_migrate_services": {
"status": "pending",
"description": "逐台部署迁移后的服务到目标服务器",
"order": [
"1. BS-SG-001: 部署Vault + console-server + MCP + Agent",
"2. BS-SG-002: 部署repo-mcp-server",
"3. BS-SG-003: 部署repo-mcp-zz",
"4. 验证所有服务在线",
"5. 停掉广州上的旧服务实例"
]
},
"phase_4_enterprise": {
"status": "pending",
"description": "创建企业接入部署包"
}
},
"summary": {
"total": 6,
"running": 6
"running": 6,
"total_cpu": "14核",
"total_ram": "25.5GB",
"heaviest": "BS-SG-001 (4核7.5GB) — 主力大脑",
"lightest": "BS-GZ-006 (2核2GB) — 仅门面+仓库",
"principle": "不把所有东西塞给广州"
}
}
}