docs: remove deleted CTs, add CT125, document Ubuntu 25.04 LXC console fix

- Remove CT106, CT113, CT123 (deleted)
- Add CT125 (Ubuntu 25.04, pve, 192.168.42.125)
- Document Ubuntu 25.04 console-getty ImportCredential issue and fix
- Update node load distribution and status counts

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
This commit is contained in:
2026-04-10 12:23:44 +08:00
parent 1990d5a011
commit 2a661dfccc
4 changed files with 39 additions and 15 deletions

View File

@@ -1,6 +1,6 @@
# PVECluster 叢集架構文件
> 最後更新2026-04-10
> 最後更新2026-04-10(已刪除 CT106/CT113/CT123新增 CT125
## 一、叢集概覽
@@ -10,7 +10,7 @@
| **PVE 版本** | 8.4.14Kernel 6.8.12-16-pve |
| **節點數** | 3 |
| **Quorum** | 正常corosync_votequorum |
| **VM/容器總數** | 27(含 1 個 template |
| **VM/容器總數** | 25(含 1 個 template |
| **HA** | 未啟用 |
## 二、節點硬體規格
@@ -122,35 +122,33 @@ Proxmox Backup Server (192.168.42.30, VM 111)
| **103** | CT103 | pve | **stopped** | 1C | 768 MB | 16G (syno-lvm) | .42.103 | N8N 自動化 + Watchtower |
| **104** | CT104 | pve | running | 1C | 96 MB | 8G (syno-lvm) | .42.104 | Caddy 反向代理80/443 |
| **105** | CT105 | pve | running | 1C | 128 MB | 8G (syno-lvm) | .42.105 | MyIP Server + Watchtower |
| **106** | CT106 | pve | **stopped** | 2C | 512 MB | 8G (syno-lvm) | .42.106 | Podman閒置 |
| **107** | CT107 | pve-02 | running | 1C | 64 MB | 8G (syno-lvm) | .42.107 | MailPit Server |
| **108** | CT108 | pve-03 | running | 4C | 4 GB | 16G (syno-lvm) | .42.108 | Python 開發環境 |
| **109** | CT109 | pve-02 | **stopped** | 2C | 1 GB | 8G (syno-lvm) | .42.109 | Stirling PDF |
| **112** | CT112 | pve-03 | running | 2C | 2 GB | 32G (local-lvm) | .42.112 | OpenClaw |
| **113** | CT113 | pve | **stopped** | 1C | 512 MB | 8G (local-lvm) | DHCP | (閒置) |
| **114** | CT114 | pve-03 | running | 1C | 512 MB | 8G (syno-lvm) | .42.114 | Podman |
| **115** | CT115 | pve-02 | running | 4C | 2 GB | 40G (syno-lvm) | .42.115 | LydiaProduction |
| **116** | CT116 | pve | running | 1C | 128 MB | 8G (syno-lvm) | .42.116 | Bark 推播伺服器 |
| **117** | CT117 | pve-02 | running | 4C | 2 GB | 60G (syno-lvm) | .42.117 | LydiaTest |
| **118** | CT118 | pve-03 | running | 2C | 2 GB | 8G (syno-lvm) | DHCP | Podman + PostgreSQL |
| **119** | CT119 | pve | **stopped** | 1C | 64 MB | 8G (syno-lvm) | .42.119 | Gotify 推播伺服器 |
| **123** | CT123 | pve | **stopped** | 1C | 1 GB | 16G (local-lvm) | .42.123 | (閒置) |
| **124** | CT124 | pve-03 | running | 2C | 8 GB | 80G (syno-lvm) | .42.124 | NPM + Keycloak + Karakeep + Watchtower |
| **125** | CT125 | pve | running | 2C | 1 GB | 8G (syno-lvm) | .42.125 | Ubuntu 25.04 |
| **126** | CT126 | pve | running | 1C | 256 MB | 8G (syno-lvm) | .42.126 | Headscale |
### 狀態統計
| 狀態 | 數量 |
|---|---|
| Running | 20 |
| Stopped | 6CT103, CT106, CT109, CT113, CT119, CT123 |
| Running | 19 |
| Stopped | 3CT103, CT109, CT119 |
| Template | 1VM 9000 |
### 各節點負載分佈
| 節點 | VM | LXC (running) | LXC (stopped) | 分配 CPU | 分配記憶體 |
|---|---|---|---|---|---|
| **pve** | 2 (110, 121) | 7 (102,104,105,116,126) | 4 (103,106,113,119,123) | 16C | ~22 GB |
| **pve** | 2 (110, 121) | 8 (102,104,105,116,125,126) | 2 (103,119) | 18C | ~23 GB |
| **pve-02** | 2 (111, 120) | 5 (100,101,107,115,117) | 1 (109) | 16C | ~17 GB |
| **pve-03** | 1 (122) | 5 (108,112,114,118,124) | 0 | 15C | ~27 GB |
@@ -210,6 +208,9 @@ Proxmox Backup Server (192.168.42.30, VM 111)
│ VM121 K3s ─────── Worker (pve, 8GB) │
│ VM122 K3s ─────── Worker (pve-03, 8GB) │
│ │
│ 【其他】 │
│ CT125 ─────────── Ubuntu 25.04 │
│ │
│ 【工具/通知】 │
│ CT107 ─────────── MailPit郵件測試
│ CT116 ─────────── Bark推播通知
@@ -231,7 +232,31 @@ Proxmox Backup Server (192.168.42.30, VM 111)
└──────────────────────────────────────────────────────────────────┘
```
## 八、Corosync 叢集通訊
## 八、已知問題與注意事項
### Ubuntu 25.04 LXC 容器 Console 無法登入
Ubuntu 25.04 的 systemd 新增了 `ImportCredential` 指令,在 LXC 容器中不支援,導致 `console-getty.service` 啟動失敗exit 243/CREDENTIALSWeb Console 看不到登入提示。
**修復方式**(建立容器後立即執行):
```bash
pct exec <vmid> -- bash -c 'mkdir -p /etc/systemd/system/console-getty.service.d && cat > /etc/systemd/system/console-getty.service.d/override.conf << EOF
[Service]
ExecStart=
ExecStart=-/sbin/agetty -o "-- \\\\u" --noreset --noclear --keep-baud 115200,57600,38400,9600 - \$TERM
ImportCredential=
EOF
systemctl daemon-reload && systemctl reset-failed console-getty && systemctl restart console-getty'
```
建議同時加上 `features: nesting=1``tty: 2`
```bash
pct set <vmid> -features nesting=1 -tty 2
```
## 九、Corosync 叢集通訊
```
totem: