zlh-grind/SCRATCH/session-status-mar29-evening.md

3.2 KiB
Raw Blame History

Session Status — Mar 30 End of Day

Everything In Backblaze (zpack-migration bucket)

  • zlh artifacts (/opt/zlh)
  • zpack-api project folder (excluding node_modules)
  • zpack-portal project folder (excluding node_modules)
  • MariaDB dump
  • Redis dump
  • All configs saved to git (SCRATCH/caddy/, SCRATCH/traefik/)

Completed

  • PBS datastore recreated + full backup of old host
  • Network bridges (vmbr0vmbr6) configured on new host
  • OPNsense core router (9001) — fresh 26.1, config imported, WAN set, working
  • OPNsense zpack router (9002) — fresh 26.1, config imported (NAT issue being worked)
  • zlh-dns (9010) — Technitium installed, backup restored
  • zlh-proxy (9011) — Caddy installed, Caddyfile in place (service not started yet)
  • zlh-zpack-proxy (9012) — Traefik installed, config in place (service not started yet)
  • zlh-artifacts (9014) — content synced from B2, Caddy configured (service not started yet)
  • zpac-api (9020) — VM created, project + DB + Redis pulled from B2
  • zpac-portal (9021) — VM created, project pulled from B2
  • All LXCs and VMs created on new host

Outstanding — Next Session Start Here

9002 (zpack-router) — NAT issue

  • Fix outbound NAT — orphaned interface references from config import
  • Verify LXCs on ZPACK_LAN can reach internet

Proxmox API token for container provisioning

  • Create user zlh-automation@pve on new host
  • Create API token — save it
  • Assign role with VM.Allocate, VM.Config.*, Datastore.AllocateSpace, Sys.Console at path /
  • Update token in zpac-api .env file
  • NOTE: Proxmox 9 REST API is backwards compatible with PVE 8 — no code changes needed

zpac-api (9020) — needs services installed

  • Install Node 22, MariaDB, Redis
  • Import DB dump from /opt/databases/
  • Restore Redis dump
  • npm install
  • npx prisma generate
  • Update .env with new host IPs + new Proxmox API token
  • Start and verify API responds

zpac-portal (9021)

  • Install Node 22
  • npm install + npm run build
  • Update .env.local with new API IP
  • Start and verify portal loads

zlh-velocity (9015)

  • Install Java
  • Copy Velocity jar + plugin jar from old host or B2
  • Configure velocity.toml
  • Start and verify

zlh-monitor (9016)

  • Fresh Prometheus + Grafana install
  • Restore Grafana dashboard JSON exports

zlh-back (9017)

  • Fresh PBS VM install
  • Configure datastore
  • Add as backup target on new Proxmox host

zlh-connect (9013)

  • Fresh Twingate connector install
  • Register in Twingate dashboard, remove old connector

aimeesites (9030)

  • Migrate content

LXC base templates (810/890)

  • vzdump on old host → transfer to new host via B2 or SFTP
  • Restore + convert to template on new host

After All Services Up

  • Start all services (Caddy 9011, Traefik 9012, Caddy 9014, API, portal)
  • Set static IPs / DHCP reservations by MAC in OPNsense
  • Update Caddy config on 9011 with correct API + portal IPs
  • Update Traefik dynamic config on 9012 with new API IP
  • Update .env files with final IPs
  • DNS cutover — Cloudflare A + SRV records for Velocity
  • Cancel old Denver server