One machine holds all code, runs all scripts, and reaches out to nodes via SSH. Target nodes don’t need local clones or dev tools — they just need SSH enabled.
┌─── Ops Controller (nsdockerhv) ───────────────────────┐
│ │
│ All git repos cloned here: │
│ ~/code/wip, ~/code/netstack, ~/code/cf, │
│ ~/code/sl, ~/code/docker-compose, etc. │
│ │
│ All scripts run from here: │
│ morning-checkin.js, netstack-status.js, │
│ backup-docker-services.sh, perf-baseline.sh │
│ │
│ Reaches targets via SSH: │
│ ssh ghadmin@10.147.17.219 (CyberTruck) │
│ ssh nsadmin@10.147.17.218 (cat9fin) │
│ ssh ghadmin@10.147.17.94 (slwin11ops) │
│ ssh nsadmin@192.168.10.2 (cfbu, via eth1) │
│ │
└─────────────────────────────────────────────────────────┘
│ SSH │ SSH │ SSH
▼ ▼ ▼
CyberTruck cat9fin slwin11ops
(target) (target) (target)
- no clones - no clones - no clones
- no dev tools - runs hwpc-rp - runs Plex
- runs Hyper-V - runs QB - receives backups
- runs Plex
ssh target "command" from the controller# Simple command
ssh ghadmin@10.147.17.219 "hostname && systemctl status sshd"
# PowerShell on Windows targets
ssh ghadmin@10.147.17.219 "powershell -Command \"Get-Process | Sort WS -Desc | Select -First 5\""
# Collect output for logging
ssh ghadmin@10.147.17.94 "netstat -an | findstr LISTENING" > /tmp/sl-ports.txt
# Copy script, run it, get results back
scp /home/nsadmin/code/scripts/perf-baseline.ps1 ghadmin@10.147.17.219:C:/temp/
ssh ghadmin@10.147.17.219 "powershell -File C:/temp/perf-baseline.ps1"
# Backup: pull data from target to controller
scp ghadmin@10.147.17.219:D:/cfops-share/current/cat9fin/hwpc-rp-latest.tar /home/nsadmin/backups/
# Monitoring: pull perf log
ssh ghadmin@10.147.17.94 "type C:\logs\perf-baseline.log" > /tmp/sl-perf.log
# Push updated config from repo to target
scp /home/nsadmin/code/cf/ops/scripts/backup-schedule.ps1 ghadmin@10.147.17.219:C:/scripts/
ssh ghadmin@10.147.17.219 "schtasks /create /tn BackupDaily /tr C:/scripts/backup-schedule.ps1 /sc daily /st 02:00"
| Machine | Role | Has Clones? | Has Dev Tools? | SSH Access |
|---|---|---|---|---|
| nsdockerhv | Ops Controller | ✅ All repos | ✅ Node.js, git, Docker | Inbound + Outbound |
| CyberTruck | VM Host | ❌ No | ❌ No (just PowerShell) | Inbound only |
| cat9fin | Production | ❌ No | ❌ No (just hwpc-rp runtime) | Inbound only |
| slwin11ops | Backup Target | ❌ No | ❌ No (just PowerShell) | Inbound only |
| devwin10 (wf) | Failover | ❌ No | ❌ No | Inbound only |
Current state: ghadmin on CyberTruck has been editing cf/sl repos directly.