Files
homelab_docs/discovery.md
T

23 lines
1.7 KiB
Markdown

# Discovery and verification checklist
Run these on the appropriate host and redact credentials before committing outputs. Prefer summarizing results in the docs over storing raw exports.
| Source | What to collect | Example read-only commands |
| --- | --- | --- |
| Proxmox `pve` | Guest IDs, names, status, resources | `pct list`; `qm list`; `pvesm status` |
| Individual guest | OS, IP, listening ports, units | `hostnamectl`; `ip -br addr`; `ss -lntp`; `systemctl --type=service --state=running` |
| `freighter` | Compose projects, containers, networks, bind mounts | `docker compose ls`; `docker ps --format 'table {{.Names}}\t{{.Image}}\t{{.Ports}}'`; `docker network ls` |
| OPNsense | Interfaces, DHCP leases, routes, Unbound, firewall and WireGuard | Export **sanitized summaries** from UI; preserve secure config backup separately |
| Switches/AP | Port map, link speeds, management IP, wireless SSIDs | Controller inventory and switch port view |
| Storage | NFS exports, mounts, backup destinations and free space | `findmnt -t nfs,nfs4`; `df -h` |
| DNS/ingress | Internal/external answers and Traefik routes | `dig <fqdn>`; Traefik dashboard/API if enabled |
## Questions that block a trustworthy diagram
- Which exact physical ports connect modem, OPNsense WAN/LAN, both switches, AP, `pve`, storage, and `freighter`?
- What is the current NIC/interface mapping after the USB adapter replacement?
- What are the VLAN/subnet, DHCP, VPN, and route tables today?
- Where are Compose files and Proxmox notes discovery code/config stored?
- Which services are on which guest or Compose project, and which NFS shares are mounted where?
- What backs up OPNsense, Proxmox guests, Docker volumes, Gitea, and off-host data? When was each last restored?