diff --git a/README.md b/README.md index e373534..632c44e 100644 --- a/README.md +++ b/README.md @@ -5,6 +5,7 @@ Working documentation, started 2026-09-24. **Verify all details against the runn ## Start here - [Network topology](network/topology.md): physical paths, routing, DNS, ingress, and known constraints. +- [Proxmox inventory](infrastructure/proxmox.md): guests, runtime state, and storage reported by `pve`. - [Service inventory](services/inventory.md): what runs where and what each service depends on. - [Docker deployment](deployments/docker.md) - [LXC deployment](deployments/lxc.md) diff --git a/infrastructure/proxmox.md b/infrastructure/proxmox.md new file mode 100644 index 0000000..d7f1d86 --- /dev/null +++ b/infrastructure/proxmox.md @@ -0,0 +1,103 @@ +# Proxmox inventory + +Last verified: 2026-09-24 from an interactive root shell on `pve` using `pct list`, `qm list`, and `pvesm status`. + +This is a point-in-time inventory. A guest shown as running was running when the commands were captured; this is not an availability guarantee. + +## Host + +| Item | Verified value | +| --- | --- | +| Hostname | `pve` | +| Hardware | Dell PowerEdge R720, x86-64 | +| Operating system | Debian 13 (trixie) | +| Proxmox VE | 9.2.0 | +| PVE Manager | 9.2.18 | +| Running kernel | `7.0.14-12-pve` | +| System firmware | 2.9.0, dated 2019-12-06 | +| Cluster mode | Standalone; no Corosync configuration | + +Several older Proxmox kernels remain installed. Review them against the rollback policy before removing any packages. + +## Host networking + +| Bridge | Host address | Gateway | Physical port | Properties | +| --- | --- | --- | --- | --- | +| `vmbr0` | `192.168.1.10/24` | `192.168.1.1` | `eno1` | VLAN-aware; VLAN IDs 2–4094; STP disabled | +| `vmbr1` | `10.192.0.1/24` | None configured | `eno2` | STP disabled | + +Both bridges and both physical ports were up when inspected. `eno3` and `eno4` are configured as manual interfaces but were not shown as up. Configuration comments associate `eno3` with switch port 15 / Arvig VLAN 999 and `eno4` with switch port 16 / LAN; treat those comments as reported labels until the cabling and switch configuration are checked. + +## LXC guests + +| VMID | Name | State | CPU | RAM | Root disk | Network | Notes | +| ---: | --- | --- | ---: | ---: | --- | --- | --- | +| 101 | `omada` | Running | 2 | 3 GiB | 15 GiB `pool` | DHCP, `vmbr0` | Unprivileged; autostart; Omada HTTPS 8043 | +| 102 | `gitea` | Running | 1 | 1 GiB | 8 GiB `pool` | DHCP, `vmbr0` | Unprivileged; autostart; Gitea HTTP 3000 | +| 103 | `llama1.home` | Running | 10 pinned | 16 GiB | 40 GiB `pool` | DHCP, `vmbr0` | Unprivileged Ubuntu; autostart; Ollama | +| 104 | `arrsql17` | Running | 8 | 8 GiB | 100 GiB `pool` | DHCP, `vmbr0` | Unprivileged; autostart; PostgreSQL | +| 106 | `unifi` | Running | 2 | 2 GiB | 8 GiB `local-lvm` | DHCP, `vmbr0` | Unprivileged; autostart; UniFi HTTPS 8443 | +| 107 | `bastion` | Running | 2 | 4 GiB | 50 GiB `pool` | DHCP, `vmbr0` | Generic Debian LXC; unprivileged; autostart | +| 109 | `freighter` | Running | 8 | 16 GiB | 200 GiB `pool` | DHCP, `vmbr0` | Docker; autostart order 2; NFS and USB/serial device access; not marked unprivileged | +| 111 | `wireguard` | Running | 2 | 4 GiB | 50 GiB `pool` | `192.168.1.8/24`, `vmbr0` | Unprivileged; autostart; web service port 10086 | +| 114 | `patchmon` | Running | 2 | 4 GiB | 25 GiB `pool` | DHCP, `vmbr0` | Unprivileged; autostart; HTTP 3000 | +| 116 | `librenms` | Running | 2 | 2 GiB | 10 GiB `pool` | DHCP, `vmbr0` | Unprivileged; autostart; HTTP 80 | +| 117 | `newjelly` | Running | 8 | 8 GiB | 350 GiB `pool` | DHCP, `vmbr0` | Jellyfin HTTP 8096; NFS and USB/serial device access; not marked unprivileged | +| 118 | `postgres` | Stopped | 8 | 8 GiB | 100 GiB `pool` | DHCP, `vmbr0` | Unprivileged; configured to autostart; PostgreSQL | +| 120 | `guacamole` | Running | 4 | 4 GiB | 25 GiB `pool` | DHCP, `vmbr0` | Unprivileged; autostart; public Guacamole route to HTTP 8080 | +| 123 | `alpr` | Running | 8 | 4 GiB | 25 GiB `pool` | DHCP, `vmbr0` | Unprivileged; autostart; HTTP 8000 | +| 124 | `PM-Template` | Template | 1 | 1 GiB | 10 GiB `pool` | `192.168.6.100/24`, VLAN 867 | CentOS PatchMon template; DNS `192.168.6.53` | +| 129 | `bastion` | Running | 4 | 4 GiB | 25 GiB `pool` | `192.168.1.254` plus VLANs 100–104 | Apache Guacamole; unprivileged; autostart; firewall enabled on tagged NICs | +| 130 | `mqtt` | Running | 2 | 2 GiB | 25 GiB `pool` | DHCP, `vmbr0` | Unprivileged; autostart; MQTT | +| 1001 | `docker` | Stopped | 32 | 62.5 GiB | 65 GiB `local-lvm` | Static, `vmbr0` and `vmbr1` | Autostart order 1; multiple bind mounts and 650 GiB additional volumes; UID/GID 1005 mapping | + +## Virtual machines + +| VMID | Name | State | vCPU | RAM | Disks | Network | Notes | +| ---: | --- | --- | ---: | ---: | --- | --- | --- | +| 100 | `haos11.4` | Running | 2 | 4 GiB | 32 GiB `local-lvm` | `vmbr0` | Home Assistant OS; guest agent; autostart | +| 105 | `workspace` | Running | 4 | 8 GiB | 1000 GiB `pool` | `vmbr0`, firewall | Rocky Linux ISO attached; autostart | +| 108 | `OpnSense` | Running | 4 | 8 GiB | 32 GiB `local-lvm` | `vmbr0` plus two Intel I350 NIC functions | Autostart order 1; PCI passthrough functions 01:00.2 and 01:00.3 | +| 110 | `rocky8-sandbox` | Stopped | 2 | 4 GiB | 32 GiB `local-lvm` | `vmbr0`, firewall | Rocky Linux ISO attached; no autostart setting | +| 113 | `tor-vpn` | Stopped | 4 | 8 GiB | 150 + 100 GiB `pool`; 100 GiB `local-lvm` | `vmbr0` and `vmbr1` | Guest agent; configured to autostart; Traefik disabled | +| 128 | `minty` | Running | 8 | 8 GiB | 50 GiB `pool` | `vmbr0`, firewall | Guest agent; autostart | + +## Configuration findings + +- The missing Corosync configuration confirms this is a standalone Proxmox node, not a cluster member. +- CT 1001 configures `192.168.1.16/24` on both `vmbr0` and `vmbr1`. Verify whether the `vmbr1` address is stale or erroneous before starting this container. +- CT 118 and VM 113 are stopped but configured with `onboot: 1`; CT 1001 is stopped with startup order 1. Record whether these states are intentional before the next host reboot. +- CTs 109 and 117 have broad device access, no capability-drop list, NFS mounting, and USB/serial passthrough. Treat them as higher-trust containers and document why each device mapping is required. +- VM 108 passes through two Intel I350 Gigabit NIC functions, `0000:01:00.2` and `0000:01:00.3`; map them to physical ports before relying on the topology diagram. + +## Storage + +| Storage ID | Type | State | Total | Used | Available | Utilization | +| --- | --- | --- | ---: | ---: | ---: | ---: | +| `local` | Directory | Active | 93.93 GiB | 68.94 GiB | 20.18 GiB | 73.39% | +| `local-lvm` | LVM-thin | Active | 319.60 GiB | 258.87 GiB | 60.72 GiB | 81.00% | +| `pool` | Directory | Active | 32.61 TiB | 23.53 TiB | 7.44 TiB | 72.16% | + +The reported totals do not necessarily equal used plus available because of filesystem reservations, metadata, or thin-pool accounting. + +## Proxmox backup job + +Last verified: 2026-09-24 from `/cluster/backup`. This confirms the configured policy, not successful backup or restore history. + +| Setting | Value | +| --- | --- | +| Schedule | Sunday at 01:00 America/Chicago | +| Mode and compression | Snapshot, Zstandard | +| Destination | `pool` | +| Retention | Last 3 backups | +| Notifications | Legacy email after every run | +| Included guests | CT 101 `omada`, CT 102 `gitea`, CT 106 `unifi`, CT 118 `postgres`, VM 113 `tor-vpn`, CT 1001 `docker` | + +All other guests are excluded from this job, including OPNsense, Home Assistant, `freighter`, Jellyfin, PatchMon, LibreNMS, Guacamole, ALPR, MQTT, and both bastion containers. Because the destination is `pool` and several protected guest disks also reside on `pool`, verify whether the backup path is a separate failure domain. Retention of three weekly recovery points is roughly three weeks when every job succeeds. + +## Next verification + +- Map guest addresses and DNS names without committing credentials or private keys. +- Inspect backup task history, verify the physical location of `pool`, and record a restore test. +- Determine CT 107's operational purpose and whether one of the two `bastion` guests should be renamed. +- Review stopped guests and record whether they are retained, retired, templates, or awaiting repair. diff --git a/network/topology.md b/network/topology.md index bfe2f88..955bd56 100644 --- a/network/topology.md +++ b/network/topology.md @@ -5,7 +5,7 @@ Last documented: 2026-09-24. Status: **reported; verify against live configurati ```mermaid flowchart TD ISP[Internet / modem] --> SA[Switch A] - SA --> FW[OPNsense mini PC] + SA --> FW[OPNsense VM 108 on pve] SA <-->|existing 100 Mb/s CAT5 run| SB[Switch B] SB --> PVE[Proxmox pve / R720] FW --> LAN[Flat LAN and Wi-Fi AP] @@ -19,8 +19,9 @@ flowchart TD | Area | Current understanding | Status | | --- | --- | --- | | Internet | 500 Mb/s service | Reported | -| Firewall | OPNsense on mini PC with UPS; LAN is flat after VLAN removal | Reported | -| LAN | `192.168.1.0/24` is implied by observed hosts; confirm mask and DHCP scope | To verify | +| Firewall | OPNsense is VM 108 on `pve`, with two passed-through Intel I350 Gigabit NIC functions; LAN is reportedly flat after VLAN removal | VM and NIC model confirmed; physical port mapping and network design to verify | +| LAN | `192.168.1.0/24`; gateway `192.168.1.1`; `pve` is `192.168.1.10` on `vmbr0`/`eno1` | Host configuration confirmed; DHCP scope to verify | +| Secondary host network | `10.192.0.0/24`; `pve` is `10.192.0.1` on `vmbr1`/`eno2`; attached to stopped CT 1001 and VM 113 | Purpose and guest addressing need verification | | DNS | Unbound on OPNsense; internal `home` domain; `*.home.mlewis.co` used for TLS names | Reported | | Reverse proxy | Traefik on `freighter`, routing Docker apps and Proxmox guests | Reported | | Public ingress | Debian VPS connects by WireGuard to OPNsense; confirm exact reverse proxy path | Reported | diff --git a/services/inventory.md b/services/inventory.md index 839c440..0ba1e64 100644 --- a/services/inventory.md +++ b/services/inventory.md @@ -4,23 +4,30 @@ Last documented: 2026-09-24. This is a **seed inventory from prior discussions** | Service | Purpose | Placement reported | Key dependencies / notes | Status | | --- | --- | --- | --- | --- | -| OPNsense / Unbound | Routing, firewall, DNS, DHCP | Mini PC | Modem, switches, UPS; USB NIC state to verify | Reported | +| OPNsense / Unbound | Routing, firewall, DNS, DHCP | VM 108 `OpnSense` on `pve` | NIC/interface and UPS details still need verification | Placement confirmed 2026-09-24 | | Proxmox `pve` | VM and LXC host | Dell R720 | Local pool, NFS, power/UPS; 128 GB RAM reported | Reported | +| Home Assistant OS | Home automation | VM 100 `haos11.4` on `pve` | 2 vCPU, 4 GiB RAM, 32 GiB disk; guest agent enabled | Placement confirmed 2026-09-24 | +| Omada Controller | TP-Link network management | LXC 101 `omada` on `pve` | Internal Traefik route to HTTPS 8043 | Placement and route confirmed 2026-09-24 | +| UniFi Controller | UniFi network management | LXC 106 `unifi` on `pve` | Internal Traefik route to HTTPS 8443 | Placement and route confirmed 2026-09-24 | +| PostgreSQL | Database service | LXC 104 `arrsql17` on `pve` | 8 vCPU, 8 GiB RAM, 100 GiB disk | Placement confirmed 2026-09-24 | +| LibreNMS | Network monitoring | LXC 116 `librenms` on `pve` | Internal Traefik route to HTTP 80 | Placement and route confirmed 2026-09-24 | +| Guacamole | Remote access gateway | LXC 120 `guacamole` on `pve` | Public Traefik route to HTTP 8080 with basic-auth middleware | Placement and route confirmed 2026-09-24 | +| MQTT | Message broker | LXC 130 `mqtt` on `pve` | DHCP on `vmbr0`; application configuration to verify | Placement confirmed 2026-09-24 | | Traefik | HTTP ingress and TLS | Docker on `freighter` | Docker networks, DNS challenge, dynamic guest discovery | Reported | | Proxmox notes discovery service | Publishes guest routes and DNS records from notes | systemd on `freighter` | Proxmox API, Traefik config, DNS API | Reported; identify repo/service name | -| Jellyfin | Media and Live TV | Proxmox guest, exact ID to verify | NFS media, go2rtc camera feed, reverse proxy | Reported | +| Jellyfin | Media and Live TV | LXC 117 `newjelly` on `pve` | Internal and public Traefik routes to HTTP 8096; NFS and USB/serial access | Placement and routes confirmed 2026-09-24 | | Audiobookshelf | Audiobooks | To verify | NFS audiobook storage, ingress | Reported | | Seerr / JellyBridge | Media requests and integration | To verify | Jellyfin and ingress | Reported | -| Gitea | Git hosting | LXC | SSH and HTTP ingress; SSH link host may need correction | Reported | +| Gitea | Git hosting | LXC 102 `gitea` on `pve` | SSH and HTTP ingress; SSH link host may need correction | Placement confirmed 2026-09-24 | | Grafana / Loki / Alloy | Dashboards and logs | To verify per component | Syslog and guest agents; prefer full ingestion | Reported | | Uptime Kuma | Availability monitoring | To verify | DNS, ingress, notification endpoint | Reported | -| Ollama `llama1.home` | Local CPU inference | LXC 103 | qwen3:8b, 10 vCPU/16 GB reported | Reported | -| ALPR | Plate recognition API and batch jobs | To verify | Camera images, local CPU, storage | Reported | +| Ollama `llama1.home` | Local CPU inference | LXC 103 on `pve` | qwen3:8b reported; 10 pinned CPUs, 16 GiB RAM, and 40 GiB disk confirmed | Placement and running state confirmed 2026-09-24 | +| ALPR | Plate recognition API and batch jobs | LXC 123 `alpr` on `pve` | Camera images, local CPU, storage | Placement confirmed 2026-09-24 | | Home SIEM / MCP controller | DNS, DHCP, firewall investigations | To verify | OPNsense data, Ollama, log retention | Reported | | go2rtc | Camera stream relay | `freighter` or other host: verify | Reolink RTSP, Jellyfin M3U; port 1984/8554 observed | Reported | -| PatchMon | Patch and CIS tracking | To verify | Guest agents, Traefik route; port 3000 observed | Reported | +| PatchMon | Patch and CIS tracking | LXC 114 `patchmon` on `pve` | Guest agents, Traefik route; port 3000 observed | Placement confirmed 2026-09-24 | | WireGuard ingress | VPS-to-home tunnel | Debian VPS and OPNsense | Routing and firewall rules | Reported | -| `tor-vpn` | VPN workload | Debian VM 113 | qcow2 disk; repaired after boot corruption | Reported | +| `tor-vpn` | VPN workload | VM 113 `tor-vpn` on `pve` | 8 GiB RAM, 150 GiB boot disk; repaired after boot corruption; currently stopped | Guest configuration and state confirmed 2026-09-24 | ## Per-service record template