dev
This commit is contained in:
83
docs/11_domainCheck_Linux联调输入清单.md
Normal file
83
docs/11_domainCheck_Linux联调输入清单.md
Normal file
@@ -0,0 +1,83 @@
|
||||
# 11 domainCheck Linux 联调输入清单
|
||||
|
||||
## 一、用途
|
||||
|
||||
当项目部署到真实 Linux 服务器后,如果需要我继续协助联调,优先给我下面这些材料。
|
||||
|
||||
这样我可以最快定位是:
|
||||
|
||||
- systemd 配置问题
|
||||
- Python 环境问题
|
||||
- Redis/PostgreSQL 连通性问题
|
||||
- Web/API 路径配置问题
|
||||
- Worker 运行问题
|
||||
|
||||
## 二、最推荐的做法
|
||||
|
||||
优先在 Linux 服务器执行:
|
||||
|
||||
```bash
|
||||
cd /opt/domaincheck/domain-api/deploy/linux
|
||||
bash collect_diagnostics.sh /opt/domaincheck
|
||||
```
|
||||
|
||||
执行后会输出:
|
||||
|
||||
- `diagnostics_dir=...`
|
||||
- `diagnostics_archive=...`
|
||||
|
||||
把生成的压缩包发我即可。
|
||||
|
||||
## 三、如果不方便发整包,至少给这些
|
||||
|
||||
### 1. 服务状态
|
||||
|
||||
```bash
|
||||
systemctl status domaincheck-api --no-pager
|
||||
systemctl status domaincheck-worker --no-pager
|
||||
```
|
||||
|
||||
### 2. 最近日志
|
||||
|
||||
```bash
|
||||
journalctl -u domaincheck-api -n 200 --no-pager
|
||||
journalctl -u domaincheck-worker -n 200 --no-pager
|
||||
```
|
||||
|
||||
### 3. 接口状态
|
||||
|
||||
```bash
|
||||
curl http://127.0.0.1:8100/health
|
||||
curl http://127.0.0.1:8100/api/v1/runtime/preflight
|
||||
curl http://127.0.0.1:8100/api/v1/runtime/status
|
||||
```
|
||||
|
||||
### 4. 环境配置
|
||||
|
||||
- `domainCheck/.env`
|
||||
- `domain-api/.env`
|
||||
- `domain-api/runtime/` 下的配置与状态文件
|
||||
|
||||
注意:密码和 cookie 可以打码后再发。
|
||||
|
||||
## 四、建议一起补充的信息
|
||||
|
||||
- 服务器系统版本
|
||||
- Python 版本
|
||||
- PostgreSQL 版本
|
||||
- Redis 版本
|
||||
- 是否在中国大陆服务器
|
||||
- 是否使用代理池
|
||||
- Web 访问域名或端口
|
||||
|
||||
## 五、当前仓库已准备好的相关文件
|
||||
|
||||
- `domain-api/deploy/linux/README.md`
|
||||
- `domain-api/deploy/linux/smoke_test.py`
|
||||
- `domain-api/deploy/linux/collect_diagnostics.sh`
|
||||
- `docs/05_domainCheck_Linux部署清单.md`
|
||||
- `docs/07_domainCheck_WebLinux发布验收清单.md`
|
||||
|
||||
## 六、结论
|
||||
|
||||
后面你只要把 Linux 环境里的诊断包或上述输出给我,我就可以直接进入最后的线上联调阶段,不需要重新铺背景。
|
||||
Reference in New Issue
Block a user