Update home-ai-cluster status: monitoring Phase 1+2 complete, NVR debug mode

This commit is contained in:
post 2026-06-22 20:55:29 +00:00
parent 2febe1c466
commit cbd5763ec8

View file

@ -1,6 +1,6 @@
# Home AI Cluster — Status
Last updated: 2026-06-12
Last updated: 2026-06-22
## Goal
@ -14,8 +14,9 @@ External access via `4min.pro` domain (REG.RU DNS + Let's Encrypt).
- **Docker services:** docker-host (192.168.170.30) — NPM, Open WebUI, n8n, Flowise, Frigate, etc.
- **Storage:** TrueNAS (192.168.170.22) — ZFS 5.44TB
- **Hypervisor:** Proxmox (192.168.170.40) — LXC: Forgejo CT100, MCP Hub CT102, VPN CT200
- **Git:** Forgejo on CT100 (192.168.170.41) — http://192.168.170.41:3000 (git.4min.pro NPM broken)
- **Git:** Forgejo on CT100 (192.168.170.41) — http://192.168.170.41:3000
- **Router:** Keenetic Peak (192.168.170.1) — DNS, DHCP, WireGuard VPN
- **Monitoring:** Grafana (192.168.170.30:3001) — Prometheus + Loki + Alertmanager
## Machines Status
@ -23,103 +24,67 @@ External access via `4min.pro` domain (REG.RU DNS + Let's Encrypt).
|---------|-----|------|--------|
| Keenetic Peak | 192.168.170.1 | Router / DNS / VPN | ✅ |
| TrueNAS | 192.168.170.22 | NAS / ZFS / NFS | ✅ |
| Docker host | 192.168.170.30 | 13 Docker services | ✅ |
| Docker host | 192.168.170.30 | 84 Docker services | ✅ |
| Proxmox | 192.168.170.40 | Hypervisor | ✅ |
| CT100 Forgejo | 192.168.170.41 | Git server | ✅ |
| CT102 MCP Hub | 192.168.170.43 | MCP servers | ✅ |
| CT200 VPN GW | 192.168.170.254 | WireGuard gateway | ✅ |
| qore AI Server | 192.168.170.70 | Ollama + ComfyUI | ✅ |
## qore AI Server — Current State (2026-06-12)
## Monitoring — 21/21 Targets UP (2026-06-22)
Grafana: http://192.168.170.30:3001 (admin/cityweek)
See full details: [monitoring.md](monitoring.md)
## NVR System
Frigate 0.17.1 + face-api + face-trainer + n8n workflow.
- Pipeline: MQTT → n8n → face-trainer → Telegram
- Debug mode: ALL person detections → Telegram photo
- Known face: photo + "✅ Name" caption
- Unknown face: photo + [Name/Stranger] inline buttons
- Camera: 192.168.170.96
See: [projects/nvr-face-trainer.md](../nvr-face-trainer.md)
## qore AI Server
**Hardware:** 2× Xeon E5-2696v3, 256GB DDR4-2133 ECC, RTX A6000 48GB, 3.7TB NVMe
### Ollama Models — ALL DOWNLOADED ✅
### Ollama Models
| Model | Size | Status |
|-------|------|--------|
| qwen2.5:72b-instruct-q8_0 | 77 GB | ✅ GPU+RAM (Q8, high quality) |
| qwen2.5:72b-instruct-q8_0 | 77 GB | ✅ GPU+RAM |
| llama3.3:70b | 42 GB | ✅ GPU |
| qwen2.5:32b | 19 GB | ✅ GPU |
| qwen2.5-coder:32b | 19 GB | ✅ GPU |
| deepseek-r1:32b | 19 GB | ✅ GPU |
| nomic-embed-text | 274 MB | ✅ GPU |
Planned (future):
- deepseek-r1:671b IQ2_M (~173 GB, CPU only)
### ComfyUI
- 255 workflow templates, ~192+ models present
- 65 models downloaded via aria2c batch (2026-06-12)
- `check_templates.py` auto-downloads missing models on startup (fixed: no wrong_folder move)
- Custom nodes: ComfyUI-Manager 3.40, Crystools 1.27.4, rgthree
### qore-admin Dashboard (:8189)
- GPU/RAM/Disk/CPU live stats
- Ollama model management (load/unload/pull/delete)
- **New:** "Быстрая установка" — 8 preset model cards with install status
- **New:** Volume mounts for live template updates (no rebuild needed)
- ComfyUI VRAM free button
- Source: post/network → qore-admin/
## MCP Kit — Mac (2026-06-12)
Full kit installed and configured in `~/.claude.json`:
| Server | Package | Status |
|--------|---------|--------|
| memory | @modelcontextprotocol/server-memory | ✅ |
| filesystem | @modelcontextprotocol/server-filesystem | ✅ |
| sequential-thinking | @modelcontextprotocol/server-sequential-thinking | ✅ |
| everything | @modelcontextprotocol/server-everything | ✅ |
| fetch | mcp-server-fetch | ✅ |
| git | mcp-server-git | ✅ |
| time | mcp-server-time | ✅ |
| taskmaster | task-master-ai | ✅ |
| ssh | mcp-ssh/server.py (custom) | ✅ |
| ollama | mcp-ollama → qore:11434 | ✅ |
| comfyui | comfyui-mcp → qore:8188 | ✅ |
| playwright | @playwright/mcp | ✅ |
| github | @modelcontextprotocol/server-github | ✅ (needs token) |
| telegram | @aiflowml/mcp-telegram | ✅ (needs token) |
| huggingface | mcp-server-huggingface | ✅ (needs token) |
- Docker: /opt/comfyui/, HF+CivitAI tokens in .env
- Custom nodes: ComfyUI-Manager, Crystools, rgthree, Hunyuan3D
## Infrastructure Code
Repository: `http://192.168.170.41:3000/post/network` (private)
- `CLAUDE.md` — **auto-read by Claude Code**, full cluster context
- `setup-mcp.sh` — one-command full MCP installation for new machines
- `AGENTS.md` — detailed rules, MCP install guide, cluster topology
- `qore-admin/` — admin dashboard source
- `comfyui/` — Dockerfile, docker-compose, check_templates.py
Repository: `http://192.168.170.41:3000/post/network` (SSH: git@192.168.170.41:post/network.git)
- `CLAUDE.md` — auto-read by Claude Code, full cluster context
- `monitoring/` — Prometheus+Grafana+Loki stack configs
- `nvr/` — Frigate + face-trainer + n8n workflow
- `qore-admin/` — admin dashboard
- `mcp-ssh/` — SSH MCP server (hosts.json gitignored)
- `.taskmaster/tasks/tasks.json` — project task plan
## Completed ✅
- Ubuntu 22.04 + NVIDIA Driver 580 + Docker + nvidia-container-toolkit on qore
- All GPU Ollama models downloaded (6 models, 77GB largest = Qwen2.5-72B Q8)
- ComfyUI running + 65-model batch download complete
- qore-admin Flask dashboard with preset cards + live volume mounts
- SSH MCP server (Mac + CT102) for cluster access from Claude
- MCP full kit on Mac: 15 servers configured
- CLAUDE.md + setup-mcp.sh: any new machine auto-configures MCP
- Knowledge graph populated (memory MCP) with full cluster topology
- Taskmaster project plan (10 tasks)
## Pending 📋
- [ ] Open WebUI (.30) → connect to qore Ollama http://192.168.170.70:11434/v1
- [ ] NPM: comfy.4min.pro → :8188, qore.4min.pro → :8189
- [ ] deepseek-r1:671b IQ2_M download (CPU model, ~173 GB)
- [ ] n8n → ComfyUI image generation workflow (Telegram trigger)
- [ ] Authentik SSO forward auth in NPM
## Services URLs
| Service | URL |
|---------|-----|
| Grafana | http://192.168.170.30:3001 |
| Prometheus | http://192.168.170.30:9090 |
| Alertmanager | http://192.168.170.30:9093 |
| Ollama API | http://192.168.170.70:11434 |
| ComfyUI | http://192.168.170.70:8188 |
| qore-admin | http://192.168.170.70:8189 |
@ -127,6 +92,26 @@ Repository: `http://192.168.170.41:3000/post/network` (private)
| n8n | https://n8n.4min.pro |
| Forgejo | http://192.168.170.41:3000 |
| Portainer | https://portainer.4min.pro |
| Grafana | http://192.168.170.30:3100 |
| Nextcloud | https://cloud.4min.pro |
| Frigate NVR | https://nvr.4min.pro |
## Completed ✅
- Ubuntu 22.04 + NVIDIA Driver 580 + Docker + nvidia-container-toolkit on qore
- All GPU Ollama models (6 models, 77GB largest = Qwen2.5-72B Q8)
- ComfyUI running + 255 templates + 192+ models
- qore-admin Flask dashboard
- SSH MCP server for cluster access from Claude
- MCP full kit (15+ servers) on Mac
- CLAUDE.md + setup-mcp.sh for new machines
- **NVR pipeline working** — MQTT→n8n→face-trainer→Telegram (debug mode)
- **Grafana monitoring Phase 1+2** — 21/21 targets UP, GPU metrics, Proxmox, Loki
## Pending 📋
- [ ] Grafana Phase 3: dashboards (Node Exporter Full, GPU, Proxmox, services)
- [ ] Grafana Phase 4: Loki log dashboards (already deployed, needs config)
- [ ] Keenetic SNMP exporter
- [ ] ZFS exporter for TrueNAS
- [ ] Open WebUI → connect to qore Ollama
- [ ] deepseek-r1:671b IQ2_M download (~173 GB, CPU model)