--- name: project_varaverk description: Varaverk — self-healing mutually-redundant two-server Unraid home media ecosystem metadata: node_type: memory type: project originSessionId: a1ac522e-9103-4757-b6d0-a7cd2f5681fb --- **Varaverk** is a complete self-healing, self-maintaining, mutually-redundant two-server home server ecosystem. One codebase runs on both servers. No primary/standby — both servers run independently and cover each other when one goes down. ## The Two Servers **HOST1 — unRAID-Gmer4Lfe** - Hardware: Threadripper 1950X, 128GB RAM, ZFS cache pools - Location: Primary site - Domain: Gmer4Lfe.com - Runs: Arrs (Movies, TV, Music), Auth stack (source of truth), Emby (primary) **HOST2 — unRAID-Jayred365** - Hardware: Intel i5 10th gen, 64GB RAM - Location: Remote — different building, different power utility - Domain: Gmer4Lfe.us ## Architecture - Platform adapter layer (Plugin/unraid/adapter.sh) isolates OS-specific calls — scripts never branch on OS - Self-healing, not enterprise HA — goal is minimal media stack disruption - Tailscale for mesh networking between hosts ## Active To-Dos (from Notes_To-Do.md) - Fix fallback strike list timing: ~30s first, ~90s for 3-strike trigger — needs testing - Verify silent toggle switches back on good notifications - Rename folder Unraid_Scripts → Varaverk everywhere, update git script, all traces/scripts ## Future Design Ideas - Shared auth stack for partner hosts to start shared services - When owner offboards with 2+ servers: auto-promote strongest server (by compute + bandwidth) - Overall setup script that pulls vars automatically (docker names, etc.) - App layer as king: no more direct git — app opens/edits settings, partnership deploys to servers, pushes correct host.conf - Web UI: on initial launch with no state file, open master.conf; lock orchs until setup complete - First-launch guide: owner sets up master.conf → host1.conf → Tailscale shares → onboard → host2/3 install and see state file, default to mirror mode **Why:** User is building this as a personal project on Unraid. Design philosophy favors simplicity and independence over enterprise tooling. **How to apply:** Understand the two-server mesh model when suggesting architecture. The app layer / web UI direction is the current strategic focus — moving away from raw git/scripts toward a proper application.