Document desktop and Proxmox server role swap
This commit is contained in:
@@ -0,0 +1,77 @@
|
|||||||
|
---
|
||||||
|
title: "Project: Desktop and Proxmox Server Role Swap"
|
||||||
|
created: 2026-10-14
|
||||||
|
updated: 2026-10-14
|
||||||
|
type: concept
|
||||||
|
tags: [kb, homelab, workflow, project, open-question]
|
||||||
|
sources: [https://pve.proxmox.com/wiki/Network_Configuration, https://pve.proxmox.com/pve-docs/chapter-vzdump.html, https://pve.proxmox.com/wiki/Host_Bootloader, https://pve.proxmox.com/wiki/Storage, https://pve.proxmox.com/pve-docs/chapter-pve-installation.html, https://wiki.debian.org/UEFI]
|
||||||
|
confidence: medium
|
||||||
|
contested: false
|
||||||
|
---
|
||||||
|
|
||||||
|
# Project: Desktop and Proxmox Server Role Swap
|
||||||
|
|
||||||
|
## Goal and current evidence
|
||||||
|
|
||||||
|
Assess whether the desktop and Proxmox server can exchange physical roles without losing either system's data. This is a planning note only: no host configuration, disk, VM, network, or workload changes have been made.
|
||||||
|
|
||||||
|
The available notes describe a Proxmox host named `prox` with a Debian Docker VM whose services depend on Synology NFS-backed volumes and network access. An older wiki observation associates the Proxmox machine with an ASRock B650M Pro RS in a Fractal Pop 2 Vision case; this is not a fresh inventory. The read-only Proxmox API timed out during research, so the live hardware and storage layout were not verified.
|
||||||
|
|
||||||
|
## Role-swap options
|
||||||
|
|
||||||
|
| Option | Method | Advantages | Main risks | Judgment |
|
||||||
|
|---|---|---|---|---|
|
||||||
|
| Direct disk transfer | Shut both machines down and move every required boot and data disk to the opposite hardware | Low spend and potentially quick | UEFI boot entries, NIC naming, bridge configuration, missing pool members, drivers, encryption and licences | Possible, but not safe to assume from one NVMe |
|
||||||
|
| Staged reinstall and restore | Install Proxmox on a spare/new disk in the former desktop, then restore guests and configuration | Leaves source disks intact; easiest rollback and validation | Requires spare capacity and more work | Recommended |
|
||||||
|
| Controlled role rebuild | Keep the desktop intact while building and proving the new server; repurpose the old server only afterward | Minimises simultaneous change | Needs temporary hardware or storage | Safest form of the staged approach |
|
||||||
|
| Virtualise the old desktop | Preserve the old desktop OS as a temporary VM | Useful for awkward application migration | GPU/USB passthrough and interactive performance are not guaranteed | Continuity option, not a drop-in replacement |
|
||||||
|
|
||||||
|
A direct NVMe move may boot because Linux can redetect hardware, but it is not guaranteed. Proxmox may use GRUB or systemd-boot depending on firmware, filesystem, and installation history; UEFI NVRAM entries and boot order can change on another motherboard ([Proxmox Host Bootloader](https://pve.proxmox.com/wiki/Host_Bootloader), [Debian UEFI](https://wiki.debian.org/UEFI)). Device names and NIC names can also change. In particular, `vmbr0` may still reference the old physical NIC, so destination networking must be checked from a local console before relying on remote access ([Proxmox network configuration](https://pve.proxmox.com/wiki/Network_Configuration)).
|
||||||
|
|
||||||
|
Do not treat an internally mounted NVMe as a hot-swappable part. Shut the machine down, disconnect power, and use normal ESD precautions. A boot NVMe may also be only one member of the system: guest disks can reside on another SSD, LVM, a ZFS pool, passthrough disks, or shared storage ([Proxmox storage](https://pve.proxmox.com/wiki/Storage)).
|
||||||
|
|
||||||
|
## Recommendation
|
||||||
|
|
||||||
|
Use a staged migration onto a spare/new disk in the intended server hardware. Keep the original desktop and server disks untouched until the replacement server has passed a defined validation window. Build and test the new Proxmox host first; repurpose the old server as a desktop only after the Docker VM, NFS-backed services, networking, backups, and file writes have been verified.
|
||||||
|
|
||||||
|
This is feasible in principle for compatible x86 Linux hardware, but a one-NVMe swap is presently **unknown and not recommended**. The largest risks are installing onto the wrong disk, omitting guest or pool storage, relying on an incomplete backup, and running duplicate host or VM identities.
|
||||||
|
|
||||||
|
## Docker VM and NFS dependencies
|
||||||
|
|
||||||
|
The dependency chain is Proxmox host → Debian Docker VM → containers and their volumes → Synology NFS and network services. A Proxmox guest backup can include a VM's configuration and virtual disks, but it does not automatically protect arbitrary host mounts, external NFS data, bind-mounted data, or every application database. Proxmox documents full VM/CT backup and restore as well as the consistency trade-offs of backup modes ([Proxmox backup and restore](https://pve.proxmox.com/pve-docs/chapter-vzdump.html)).
|
||||||
|
|
||||||
|
Before cutover, identify and separately protect:
|
||||||
|
|
||||||
|
- VM IDs, virtual disks, storage IDs, boot order, CPU type, and any PCI/USB passthrough.
|
||||||
|
- Docker Compose files, secrets, application databases, bind mounts, and data outside VM disks.
|
||||||
|
- Synology shares and NFS export/mount settings, with representative restore tests.
|
||||||
|
- Network bridge/NIC mappings, VLANs, DNS, DHCP reservations, the `prox` address, and any Tailscale subnet routing.
|
||||||
|
- ZFS, RAID, or LVM membership; all required members must move together or be restored from backup.
|
||||||
|
|
||||||
|
Never start old and new copies with the same hostname, IP address, VM IDs, or online duplicate filesystem/ZFS/LVM identities on the production network.
|
||||||
|
|
||||||
|
## Backup, dry run, and rollback
|
||||||
|
|
||||||
|
1. **Inventory first, read-only.** Record both machines' boards, CPUs, RAM, GPUs, drive models and serials, boot mode, encryption, storage membership, passthrough, and network interfaces. On Proxmox, inspect bootloader, block filesystems/mounts, storage status, ZFS/LVM state, network interfaces, `storage.cfg`, VM definitions, backups, and NFS mounts.
|
||||||
|
2. **Verify independent backups.** Create fresh guest backups on storage that will remain available, inspect the backup logs and archives, and trial-restore the important VM on isolated storage/network. Back up Proxmox host configuration, Docker data not contained in guest disks, Synology data, and the desktop's user and boot-critical data. Prefer stop-mode or application-aware backup for stateful databases where consistency matters.
|
||||||
|
3. **Dry-run on spare storage.** Disconnect source disks that must not be overwritten. Install or restore Proxmox to the spare disk, then test UEFI boot, virtualisation, NIC/bridge, local storage, NFS mounts, and an isolated restored guest. Proxmox installation can erase the selected disk, so verify disk serials before installing ([Proxmox installation](https://pve.proxmox.com/pve-docs/chapter-pve-installation.html)).
|
||||||
|
4. **Cut over once.** Stop stateful workloads cleanly, take a final backup/sync, power off the old host, assign the production network identity only to the new host, then validate Docker application data and writes, NFS, DNS, Tailscale, jobs, monitoring, and scheduled backups.
|
||||||
|
5. **Rollback deliberately.** Power off the new instance before booting the old one. Restore the original disks and networking, then start the old host. Writes made after cutover will not automatically exist on the old copy; export or preserve them before rollback.
|
||||||
|
|
||||||
|
## Unknowns blocking a detailed procedure
|
||||||
|
|
||||||
|
- Which physical machine is currently server versus desktop, and the desktop OS.
|
||||||
|
- Both CPUs, RAM configurations, GPUs, motherboard/firmware settings, and required drivers.
|
||||||
|
- Complete NVMe/SATA inventory, serials, boot disks, encryption, and whether storage spans multiple drives.
|
||||||
|
- Location of Proxmox guest disks: boot NVMe, separate SSD, ZFS/LVM, passthrough disk, or network storage.
|
||||||
|
- Whether current backups exist off-machine and whether a restore has been tested.
|
||||||
|
- Spare SSD capacity for staging without overwriting either system's only copy.
|
||||||
|
- PCI/USB/GPU passthrough, IOMMU support and grouping, Tailscale routing, and hardware-bound desktop licences.
|
||||||
|
|
||||||
|
Until these are collected locally, do not claim hardware compatibility or produce a machine-specific migration command sequence.
|
||||||
|
|
||||||
|
## Related
|
||||||
|
|
||||||
|
- [[concepts/future-projects|Future Projects — Rough Ideas]]
|
||||||
|
- [[concepts/fractal-pop-2-vision-fans-not-spinning-asrock-b650m-pro-rs|Previously documented ASRock/Fractal observation]]
|
||||||
|
- [[index|Wiki index]]
|
||||||
@@ -1,3 +1,14 @@
|
|||||||
|
---
|
||||||
|
title: Future Projects — Rough Ideas
|
||||||
|
created: 2026-10-14
|
||||||
|
updated: 2026-10-14
|
||||||
|
type: concept
|
||||||
|
tags: [kb, personal, project, open-question]
|
||||||
|
sources: [concepts/desktop-server-swap-project.md, concepts/stop-motion-animation-project.md]
|
||||||
|
confidence: medium
|
||||||
|
contested: false
|
||||||
|
---
|
||||||
|
|
||||||
# Future Projects
|
# Future Projects
|
||||||
|
|
||||||
A place for rough ideas and future work items that Alister can explore later.
|
A place for rough ideas and future work items that Alister can explore later.
|
||||||
@@ -5,5 +16,5 @@ A place for rough ideas and future work items that Alister can explore later.
|
|||||||
## Projects
|
## Projects
|
||||||
|
|
||||||
- [ ] Stop-motion animation project — see [[concepts/stop-motion-animation-project|Project: Stop-Motion Animation]]; Linux VM/Docker capture, USB camera pass-through, mobile phone shutter release
|
- [ ] Stop-motion animation project — see [[concepts/stop-motion-animation-project|Project: Stop-Motion Animation]]; Linux VM/Docker capture, USB camera pass-through, mobile phone shutter release
|
||||||
- [ ] Server ↔ desktop swap — power down current stack, detach NVMe, transfer between chassis, boot into new system without data loss (NVMe hot-swap possible on some motherboards; may need reinstallation of OS/lacking drivers)
|
- [ ] Server ↔ desktop swap — see [[concepts/desktop-server-swap-project|Project: Desktop and Proxmox Server Role Swap]]; inventory storage and hardware first, then stage Proxmox on spare storage and retain untouched source disks for rollback. Do not hot-swap internally mounted NVMe drives.
|
||||||
- [ ] Networking infrastructure upgrade — replace switches with 2.5GbE managed switches, add 2.5GbE NICs to desktop, install SFP+ transceivers and run fibre between switches; switches must support link aggregation (LACP) for the Synology; verify the Synology model itself supports link aggregation
|
- [ ] Networking infrastructure upgrade — replace switches with 2.5GbE managed switches, add 2.5GbE NICs to desktop, install SFP+ transceivers and run fibre between switches; switches must support link aggregation (LACP) for the Synology; verify the Synology model itself supports link aggregation
|
||||||
@@ -3,7 +3,7 @@
|
|||||||
> Content catalog for personal-wiki (`https://gitea.maukit.com/hermes/personal-wiki`).
|
> Content catalog for personal-wiki (`https://gitea.maukit.com/hermes/personal-wiki`).
|
||||||
> Local root: `/opt/data/wiki`. Profile: `~/profiles/wiki/` (isolated Hermes agent).
|
> Local root: `/opt/data/wiki`. Profile: `~/profiles/wiki/` (isolated Hermes agent).
|
||||||
> Shared with `floof` (Gitea push access). Read access: public repo clone.
|
> Shared with `floof` (Gitea push access). Read access: public repo clone.
|
||||||
> Last updated: 2026-10-11 | Total pages: 15
|
> Last updated: 2026-10-14 | Total pages: 19
|
||||||
|
|
||||||
## Raw Sources (`raw/`)
|
## Raw Sources (`raw/`)
|
||||||
- `raw/articles/` — web clippings, saved articles
|
- `raw/articles/` — web clippings, saved articles
|
||||||
@@ -28,6 +28,7 @@
|
|||||||
- [[onlyoffice|OnlyOffice Document Server]] — OnlyOffice CE (AGPL-3) for docx in OpenCloud dockhand; compose reference only; see `/opt/data/raw-sources/onlyoffice-step-by-step.md` (2026-10-03)
|
- [[onlyoffice|OnlyOffice Document Server]] — OnlyOffice CE (AGPL-3) for docx in OpenCloud dockhand; compose reference only; see `/opt/data/raw-sources/onlyoffice-step-by-step.md` (2026-10-03)
|
||||||
|
|
||||||
### Concepts (topics, techniques, patterns, categories)
|
### Concepts (topics, techniques, patterns, categories)
|
||||||
|
- [[concepts/desktop-server-swap-project|Project: Desktop and Proxmox Server Role Swap]] — staged role-swap options, feasibility gates, Docker VM/NFS dependencies, verified-backup requirements, and rollback boundaries
|
||||||
- [[email-hosting|Email Hosting]] — options for hosting email for a custom domain
|
- [[email-hosting|Email Hosting]] — options for hosting email for a custom domain
|
||||||
- [[concepts/fractal-pop-2-vision-fans-not-spinning-asrock-b650m-pro-rs|Fractal Pop 2 Vision Fans Not Spinning on ASRock B650M Pro RS]] — wiring and safe isolation tests for the case's separate 3-pin DC fan motors and 5 V ARGB lighting
|
- [[concepts/fractal-pop-2-vision-fans-not-spinning-asrock-b650m-pro-rs|Fractal Pop 2 Vision Fans Not Spinning on ASRock B650M Pro RS]] — wiring and safe isolation tests for the case's separate 3-pin DC fan motors and 5 V ARGB lighting
|
||||||
- [[concepts/hermes-config-loader|Hermes Config Loader]] — multi-layered config system; YAML hierarchy, alias resolution, fallback providers, secrets handling; from 2026-10-08 config.yaml investigation
|
- [[concepts/hermes-config-loader|Hermes Config Loader]] — multi-layered config system; YAML hierarchy, alias resolution, fallback providers, secrets handling; from 2026-10-08 config.yaml investigation
|
||||||
@@ -37,6 +38,7 @@
|
|||||||
- [[mx-records|MX Records]] — DNS records that direct email delivery; key to switching providers
|
- [[mx-records|MX Records]] — DNS records that direct email delivery; key to switching providers
|
||||||
- [[concepts/future-projects|Future Projects — Rough Ideas]] — rough future work items including stop-motion animation, server/desktop swap, and networking infrastructure upgrade
|
- [[concepts/future-projects|Future Projects — Rough Ideas]] — rough future work items including stop-motion animation, server/desktop swap, and networking infrastructure upgrade
|
||||||
- [[concepts/stop-motion-animation-project|Project: Stop-Motion Animation with Linux/Docker]] — stop-motion capture via VM/Docker, USB camera pass-through, mobile phone as remote shutter, onion skinning, ffmpeg export
|
- [[concepts/stop-motion-animation-project|Project: Stop-Motion Animation with Linux/Docker]] — stop-motion capture via VM/Docker, USB camera pass-through, mobile phone as remote shutter, onion skinning, ffmpeg export
|
||||||
|
- [[concepts/switch-diagnostic-prompt|2.5G Managed Switch Verification Prompt]] — diagnostic brief for validating ports, PoE, management, cooling, warranty, noise, and reliability across three switch contenders
|
||||||
- [[concepts/kodak-p210r-reverse-engineering-project|Project: Kodak P210R Reverse Engineering]] — potential project to reconstruct the Bluetooth RFCOMM protocol, image format, and computer-side print bridge
|
- [[concepts/kodak-p210r-reverse-engineering-project|Project: Kodak P210R Reverse Engineering]] — potential project to reconstruct the Bluetooth RFCOMM protocol, image format, and computer-side print bridge
|
||||||
- [[soul-md-introduction|SOUL.md — Introduction, Placement, and Three Approaches]] — agent identity file placement / method / 3 approaches (official + community + persona); raw sources ingested 2026-09-25
|
- [[soul-md-introduction|SOUL.md — Introduction, Placement, and Three Approaches]] — agent identity file placement / method / 3 approaches (official + community + persona); raw sources ingested 2026-09-25
|
||||||
- [[stationery|Stationery]] — notebooks, pens, ink, paper, planners (UK market; picks from Danbury & Lovejoy Jun 2026)
|
- [[stationery|Stationery]] — notebooks, pens, ink, paper, planners (UK market; picks from Danbury & Lovejoy Jun 2026)
|
||||||
|
|||||||
@@ -115,3 +115,12 @@ Appended to log
|
|||||||
- Preserved warnings to unplug before rewiring, never connect 5 V ARGB to 12 V RGB, and not to begin with `pwmconfig`
|
- Preserved warnings to unplug before rewiring, never connect 5 V ARGB to 12 V RGB, and not to begin with `pwmconfig`
|
||||||
- Sources: official Fractal Design Pop 2 Vision and RGB-controller support pages, plus the official ASRock B650M Pro RS manual
|
- Sources: official Fractal Design Pop 2 Vision and RGB-controller support pages, plus the official ASRock B650M Pro RS manual
|
||||||
- Index updated; total reconciled to 15 Layer 2 pages
|
- Index updated; total reconciled to 15 Layer 2 pages
|
||||||
|
|
||||||
|
## [2026-10-14] create | Desktop and Proxmox server role-swap project
|
||||||
|
- Concept created: `concepts/desktop-server-swap-project.md`
|
||||||
|
- Compared direct disk transfer, staged reinstall/restore, controlled role rebuild, and temporary desktop virtualisation; recommended a staged migration on spare storage with untouched source disks retained for rollback
|
||||||
|
- Documented Proxmox boot/network/storage risks, the Docker VM → Synology NFS dependency chain, backup and restore gates, isolated dry-run, cutover, and rollback requirements
|
||||||
|
- Preserved uncertainty: the Proxmox read-only API timed out, the prior ASRock/Fractal note is not a live inventory, and the machines' complete hardware and storage layouts remain unknown
|
||||||
|
- Updated `concepts/future-projects.md` to link the project and remove the false implication that an internally mounted NVMe should be hot-swapped
|
||||||
|
- Updated `index.md`; added the new project and restored the existing missing `concepts/switch-diagnostic-prompt.md` entry, with the total reconciled to 19 Layer 2 pages
|
||||||
|
- Files created or updated: `concepts/desktop-server-swap-project.md`, `concepts/future-projects.md`, `index.md`, `log.md`
|
||||||
|
|||||||
Reference in New Issue
Block a user