Files
proxmox/docs/archive/00-meta-pruned/IP_CENTRALIZATION_TRACKING.md
defiQUG bea1903ac9
Some checks failed
Deploy to Phoenix / deploy (push) Has been cancelled
Sync all local changes: docs, config, scripts, submodule refs, verification evidence
Co-authored-by: Cursor <cursoragent@cursor.com>
2026-02-21 15:46:06 -08:00

58 lines
1.7 KiB
Markdown
Raw Permalink Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
# IP Centralization Tracking
**Last Updated:** 2026-01-31
**Purpose:** Track scripts/docs using hardcoded IPs for migration to centralized config
---
## Source of Truth
| Variable | Value | Scope |
|----------|-------|-------|
| PROXMOX_ML110 | 192.168.11.10 | ml110 host |
| PROXMOX_R630_01 | 192.168.11.11 | r630-01 host |
| PROXMOX_R630_02 | 192.168.11.12 | r630-02 host |
| NPM_URL | https://192.168.11.167:81 | NPMplus (VMID 10233) |
**Tezos/Etherlink/Jumper:** See .env.example (ETHERLINK_RPC_URL, TEZOS_RPC_URL, JUMPER_API_KEY, etc.). [TEZOS_NETWORK_CONFIG_ENV_MATRIX](../../07-ccip/TEZOS_NETWORK_CONFIG_ENV_MATRIX.md).
---
## Scripts Using Hardcoded IPs
- **scripts/verify/verify-backend-vms.sh** VM_CONFIGS with host IPs
- **scripts/verify/backup-npmplus.sh** NPMPLUS_HOST, NPM_URL
- **scripts/deployment/phase*.sh** Proxmox host references
- **~590 scripts** grep for 192.168.11, 76.53.10.34
---
## .env Variables (add to .env.example)
```
PROXMOX_ML110=192.168.11.10
PROXMOX_R630_01=192.168.11.11
PROXMOX_R630_02=192.168.11.12
NPM_URL=https://192.168.11.167:81
NPMPLUS_HOST=192.168.11.11
NPMPLUS_VMID=10233
```
## Migration Approach
1. Add PROXMOX_* and NPM_* to `.env.example` (see above)
2. Source from env in scripts: `source .env 2>/dev/null || true`
3. Replace literals with `${VAR:-default}`
4. Update docs referencing IPs to point to this file
---
## Status
| Phase | Status |
|-------|--------|
| Document created | ✅ Done |
| .env.example vars | ✅ Done |
| Script migration | ✅ Done (676 via centralize; fix-remaining completed all active-script bare IPs; archive excluded. Remaining refs are in \`\${VAR:-ip}\` fallbacks or doc strings using \`\${NETWORK_PREFIX}.X\`.) |
| Doc updates | ⏳ Pending |