Update qore to AI server, refresh home-ai-cluster status

- locations/qore-ai-server.md: new file for Ubuntu AI server at .70
- projects/home-ai-cluster/status.md: full rewrite with current state

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
krustophski 2026-06-12 05:00:15 +03:00
parent e8fdef363a
commit b9fcc7764e
2 changed files with 165 additions and 119 deletions

View file

@ -0,0 +1,89 @@
# qore — AI Server (Ubuntu, 192.168.170.70)
> **Note:** This is the current AI server named `qore`. A different Windows machine
> also named `qore` (192.168.1.x) is documented in `locations/qore.md` — that is historical context.
## Summary
- **IP:** `192.168.170.70`
- **Hostname:** `qore`
- **Role:** Home lab AI inference server (Ollama + ComfyUI + admin dashboard)
- **OS:** Ubuntu 22.04.5 LTS
- **SSH:** `ssh post@192.168.170.70` (password: see cluster credentials in user's password manager)
- **Status:** ✅ Fully operational as of 2026-06-10
- **Network:** `192.168.170.0/24` (home lab, domain `4min.pro`)
## Hardware
| Component | Value |
|-----------|-------|
| CPU | 2× Intel Xeon E5-2696 v3 (36 cores / 72 threads, Haswell-EP) |
| RAM | 256 GB DDR4-2133 ECC |
| GPU | NVIDIA RTX A6000 48 GB VRAM (Ampere, Driver 580, CUDA 13.0) |
| Storage | 3.7 TB NVMe (LVM) |
## Services
| Service | Port | URL |
|---------|------|-----|
| Ollama | 11434 | http://192.168.170.70:11434 |
| ComfyUI | 8188 | http://192.168.170.70:8188 |
| qore-admin | 8189 | http://192.168.170.70:8189 |
## Ollama
```bash
ollama list # installed models
ollama pull MODEL # download
curl http://192.168.170.70:11434/api/tags # API check
```
Systemd env: `OLLAMA_HOST=0.0.0.0`, `OLLAMA_MODELS=/opt/ollama/models`, `OLLAMA_NUM_PARALLEL=2`
Models as of 2026-06-10:
- `qwen2.5:32b` (19 GB, GPU, ~60-100 tok/s on A6000)
- `nomic-embed-text` (274 MB, GPU, embeddings)
- `llama3.3:70b` (GPU, downloading)
Planned:
- `deepseek-r1:32b`
- `qwen2.5-coder:32b`
- `deepseek-r1:671b` IQ2_M (CPU, ~173 GB)
## ComfyUI
Docker container `comfyui` (image `comfyui-official:latest`):
```bash
cd /opt/comfyui && docker compose ps
docker compose logs --tail 50
```
- Models volume: `/opt/comfyui/models/` → container `/ComfyUI/models/`
- `check_templates.py` runs at startup — scans 255 workflow templates, downloads missing models
- Custom nodes: ComfyUI-Manager 3.40, Crystools 1.27.4, rgthree
- aria2c RPC daemon on :6800 inside container for fast downloads
## qore-admin
Flask dashboard at :8189:
- GPU/RAM/Disk live stats
- Ollama model management (load/unload/pull)
- ComfyUI VRAM free button
- Source: `https://git.4min.pro/post/network` → `qore-admin/`
## Infrastructure Code
All configs and scripts: `https://git.4min.pro/post/network` (private)
Local Mac path: `/Users/post/VScode/network/`
## SSH MCP Access
Via `mcp-ssh` server (installed on Mac, CT102):
```
ssh_exec("qore", "nvidia-smi")
ssh_exec("qore", "ollama list")
ssh_exec("qore", "docker ps")
ssh_exec("qore", "cd /opt/comfyui && docker compose logs --tail 20")
```

View file

@ -1,143 +1,100 @@
# Home AI Cluster — Status
Last updated: 2026-06-06 (evening session)
Last updated: 2026-06-12
## Goal
Full local AI platform — no cloud dependency. AI agents, media production (ComfyUI, FLUX, 3D),
Russian TTS/STT, workflow automation (n8n, Flowise), robotics simulation (Omniverse/Isaac Lab).
External access at `poxel.netcraze.link`.
Russian TTS/STT, workflow automation (n8n, Flowise), robotics simulation.
External access via `4min.pro` domain (REG.RU DNS + Let's Encrypt).
## Architecture Rule
## Architecture
**Docker services → `192.168.170.30` only.** Proxmox LXC containers for native binaries only.
All Docker stacks under `/opt/stacks/<name>/` on the Docker machine.
- **AI inference:** qore (192.168.170.70) — RTX A6000 48GB, Ollama + ComfyUI
- **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) — https://git.4min.pro
- **Router:** Keenetic Peak (192.168.170.1) — DNS, DHCP, WireGuard VPN
- **Credentials:** see `locations/` files and user's password manager (not stored here)
## Current State — ALL MACHINES ONLINE ✅
## Machines Status
### Router — Keenetic Peak `192.168.170.1`
| Machine | IP | Role | Status |
|---------|-----|------|--------|
| 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 | ✅ |
| Proxmox | 192.168.170.40 | Hypervisor | ✅ |
| CT100 Forgejo | 192.168.170.41 | Git server | ✅ |
| CT102 MCP Hub | 192.168.170.43 | 9 MCP servers + SSH MCP | ✅ |
| qore AI Server | 192.168.170.70 | Ollama + ComfyUI | ✅ |
- KeeneticOS 5.01.B.4.0-1
- SSH port 22, Telnet port 23 (admin / `<REDACTED>`)
- DDNS: `poxel.netcraze.link` → `95.165.0.208` ✓
- WAN: `GigabitEthernet0/Vlan2` (fiber)
- `isolate-private` **DISABLED** (was blocking WiFi→LAN — fixed 2026-06-06)
- **Port forwarding:** `ip static tcp GigabitEthernet0/Vlan2 80 192.168.170.30` and `443` ✓
- **Static DHCP bindings:**
- `6c:92:bf:3b:f7:1f` → 192.168.170.22 (TrueNAS)
- `14:b3:1f:2b:ab:a1` → 192.168.170.30 (Docker)
- `6c:4b:90:21:43:cc` → 192.168.170.40 (Proxmox)
- Config file in project: `/Users/post/VScode/network/running-config170_work.txt`
- CLI reference: `/Users/post/VScode/network/keenetic-cli-reference.md`
- **Port forwarding CLI syntax:** `ip static tcp <WAN_IFACE> <port> <internal_ip>` (NOT `ip nat destination`)
- **Connect via Telnet** (SSH gets blocked by anti-bruteforce after repeated attempts):
`expect -c "spawn telnet 192.168.170.1; expect Login; send admin\r; expect Password; send <PW>\r; expect (config)>; ..."`
## qore AI Server — Current State
### Machine 4 — TrueNAS `192.168.170.22` ✅
**Hardware:** 2× Xeon E5-2696v3, 256GB DDR4, RTX A6000 48GB, 3.7TB NVMe
- OS: TrueNAS SCALE 26.0.0-BETA.1, hostname `nas`
- SSH: `ssh -i ~/.ssh/id_ed25519 truenas_admin@192.168.170.22`
- Pool: `datapool` 5.44TB, L2ARC 953GB
- NFS shares: ai-models, comfy-models, renders, backup → 192.168.170.0/24
### Ollama Models
### Machine 3 — Docker Engine `192.168.170.30` ✅
| Model | Size | Status |
|-------|------|--------|
| qwen2.5:32b | 19 GB | ✅ GPU |
| nomic-embed-text | 274 MB | ✅ GPU |
| llama3.3:70b | ~40 GB | ⏳ downloading |
| deepseek-r1:32b | ~20 GB | 📋 planned |
| qwen2.5-coder:32b | ~20 GB | 📋 planned |
| deepseek-r1:671b IQ2_M | ~173 GB | 📋 planned (CPU) |
- OS: Debian 13 trixie, SSH: `ssh root@192.168.170.30` (pw: `<REDACTED>`)
- Stacks in `/opt/stacks/`
- **All 13 containers running:**
### ComfyUI
| Service | Port | Stack path |
|---------|------|------------|
| Nginx Proxy Manager | 80/443/81 | `/opt/stacks/npm` |
| Portainer | 9000/9443 | `/opt/stacks/portainer` |
| Open WebUI | 8080 | `/opt/stacks/webui` |
| n8n | 5678 | `/opt/stacks/n8n` |
| Flowise | 3000 | `/opt/stacks/flowise` |
| Homarr | 7575 | `/opt/stacks/homarr` |
| MinIO | 9001/9002 | `/opt/stacks/minio` |
| netboot.xyz | 3002/69udp/8083 | `/opt/stacks/netboot` |
| Authentik SSO | 9004/9454 | `/opt/stacks/authentik` |
| Prometheus | 9090 | `/opt/stacks/monitoring` |
| Grafana | 3100 | `/opt/stacks/monitoring` |
- 255 workflow templates, 192 models present, 65 downloading via aria2c
- Custom nodes: Manager 3.40, Crystools 1.27.4, rgthree
- `check_templates.py` auto-downloads missing models on startup
### Machine 2 — Proxmox `192.168.170.40` ✅
## Completed ✅
- PVE 9.2.3, node `prmx`
- Web UI: `https://192.168.170.40:8006` (root / `<REDACTED>`)
- SSH via expect (password auth): `root@192.168.170.40`
- Storage: `ssd` ZFS 1.8TB (all containers on ssd)
- **Running LXC containers:**
- Ubuntu 22.04 + NVIDIA Driver 580 + Docker + nvidia-container-toolkit on qore
- Ollama running, qwen2.5:32b and embed model installed
- ComfyUI Docker container running on :8188
- qore-admin Flask dashboard on :8189 (GPU stats, Ollama management, VRAM free)
- ComfyUI Manager + Crystools + rgthree custom nodes loaded
- check_templates.py integrated into startup
- SSH MCP server deployed (Mac + CT102) for direct cluster access from Claude
- Forgejo repo `post/network` created with all infrastructure code
- Knowledge graph populated (memory MCP) with full cluster topology
- Taskmaster project plan created (10 tasks, .taskmaster/tasks/tasks.json)
| VMID | Hostname | IP | Service | Status |
|------|----------|----|---------|--------|
| 100 | forgejo | 192.168.170.41 | Forgejo v10.0.3 :3000 | ✅ running |
| 102 | mcp | 192.168.170.43 | MCP servers hub | ✅ running |
## Pending 📋
- CT101 (authentik) and CT103 (monitoring) **REMOVED** — services migrated to Docker machine
- [ ] llama3.3:70b download complete + test
- [ ] deepseek-r1:32b + qwen2.5-coder:32b pull
- [ ] 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 + ollama create
- [ ] ComfyUI: wait for 65 model downloads, verify all templates open
- [ ] n8n → ComfyUI image generation workflow (Telegram trigger)
- [ ] Authentik SSO forward auth in NPM
### Machine 1 — AI PC `192.168.170.10`
## Services URLs
- 2× Xeon 36C/72T, 256GB RAM, A6000 48GB
- **NOT YET CONFIGURED** — next major phase
| Service | URL |
|---------|-----|
| Ollama API | http://192.168.170.70:11434 |
| ComfyUI | http://192.168.170.70:8188 |
| qore-admin | http://192.168.170.70:8189 |
| Open WebUI | https://ai.4min.pro |
| n8n | https://n8n.4min.pro |
| Forgejo | https://git.4min.pro |
| Portainer | https://portainer.4min.pro |
| Grafana | https://monitor.4min.pro |
| Nextcloud | https://cloud.4min.pro |
| Frigate NVR | https://nvr.4min.pro |
## MCP Servers
## Infrastructure Code
### On Mac (active, via ~/.claude.json)
Using `npx`/`uvx` — starts on demand, no pre-install needed:
- `memory`, `filesystem`, `sequential-thinking`, `everything` — via npx
- `fetch`, `git`, `time` — via uvx
- `taskmaster` (task-master-ai) — via npx, needs `ANTHROPIC_API_KEY`
### On CT102 (192.168.170.43) — for reference/remote use
- npm: server-memory, server-filesystem, server-sequential-thinking, server-everything, server-puppeteer
- pip (venv `/opt/mcp/venv/`): mcp-server-fetch, mcp-server-git, mcp-server-time
- Config: `/opt/mcp/claude_mcp_config.json`
## Next Steps (in order)
1. **NPM subdomains + SSL** — go to `http://192.168.170.30:81`, add proxy hosts:
- `git.poxel.netcraze.link` → Forgejo CT100 :3000
- `ai.poxel.netcraze.link` → Open WebUI :8080
- `auth.poxel.netcraze.link` → Authentik :9004
- `n8n.poxel.netcraze.link` → n8n :5678
- `home.poxel.netcraze.link` → Homarr :7575
- `monitor.poxel.netcraze.link` → Grafana :3100
- `portainer.poxel.netcraze.link` → Portainer :9443
- Request Let's Encrypt SSL for each
2. **Authentik SSO setup** — configure providers, applications, and forward auth policies in NPM
3. **Homarr dashboard** — add service tiles at `http://192.168.170.30:7575`
4. **Machine 1 AI PC** — install Ollama, ComfyUI, AllTalk TTS, faster-whisper, LiteLLM
## Key Port Reference (192.168.170.30)
| Port | Service |
|------|---------|
| 80/443/81 | NPM |
| 3000 | Flowise |
| 3002 | netboot.xyz web UI |
| 3100 | Grafana |
| 5678 | n8n |
| 7575 | Homarr |
| 8080 | Open WebUI |
| 8083 | netboot.xyz HTTP |
| 9000/9443 | Portainer |
| 9001/9002 | MinIO |
| 9004/9454 | Authentik |
| 9090 | Prometheus |
| 69/udp | netboot.xyz TFTP |
## Router CLI Notes
- Connect via Telnet (not SSH — SSH gets rate-limited):
`telnet 192.168.170.1` → Login: admin → Password
- Port forwarding: `ip static tcp GigabitEthernet0/Vlan2 <port> <ip>`
- Static DHCP: `ip dhcp host <mac> <ip>`
- Save: `system configuration save`
- Disable client isolation: `no isolate-private`
- CLI manual: `/Users/post/VScode/network/keenetic-cli-reference.md`
- Annotated config: `/Users/post/VScode/network/keenetic-config-annotated.txt`
Repository: `https://git.4min.pro/post/network` (private)
- `qore-admin/` — admin dashboard source
- `comfyui/` — Dockerfile, docker-compose, start.sh, check_templates.py
- `mcp-ssh/` — SSH MCP server for cluster access
- `keenetic-*.py` — router config management scripts
- `.taskmaster/` — project task plan