Some checks failed
Deploy to Phoenix / deploy (push) Has been cancelled
- ADD_CHAIN138_TO_LEDGER_LIVE: Ledger form done; public code review repo bis-innovations/LedgerLive; init/push commands - CONTRACT_DEPLOYMENT_RUNBOOK: Chain 138 gas price 1 gwei, 36-addr check, TransactionMirror workaround - CONTRACT_*: AddressMapper, MirrorManager deployed 2026-02-12; 36-address on-chain check - NEXT_STEPS_FOR_YOU: Ledger done; steps completable now (no LAN); run-completable-tasks-from-anywhere - MASTER_INDEX, OPERATOR_OPTIONAL, SMART_CONTRACTS_INVENTORY_SIMPLE: updates - LEDGER_BLOCKCHAIN_INTEGRATION_COMPLETE: bis-innovations/LedgerLive reference Co-authored-by: Cursor <cursoragent@cursor.com>
46 lines
1.8 KiB
Bash
46 lines
1.8 KiB
Bash
#!/bin/bash
|
|
set -euo pipefail
|
|
|
|
# Analyze running services on r630-01 and check for port conflicts
|
|
# Identify services that should be in NPMplus
|
|
|
|
PROXMOX_HOST="192.168.11.11"
|
|
|
|
echo "━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━"
|
|
echo "📊 Service Analysis for r630-01"
|
|
echo "━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━"
|
|
echo ""
|
|
|
|
echo "=== Running Containers with IPs ==="
|
|
echo ""
|
|
|
|
# Get running containers with their IPs
|
|
ssh -o StrictHostKeyChecking=no root@"$PROXMOX_HOST" "
|
|
pct list 2>/dev/null | grep running | while read vmid status lock name; do
|
|
echo \"VMID: \$vmid - \$name\"
|
|
ip=\$(pct config \$vmid 2>/dev/null | grep '^ip=' | head -1 | cut -d: -f2 | awk '{print \$1}')
|
|
if [ -n \"\$ip\" ]; then
|
|
echo \" IP: \$ip\"
|
|
fi
|
|
echo \"\"
|
|
done
|
|
"
|
|
|
|
echo ""
|
|
echo "=== Services That Should Be in NPMplus ==="
|
|
echo ""
|
|
echo "Based on documentation, the following services should be accessible via NPMplus:"
|
|
echo ""
|
|
echo "1. DBIS Services (if running on r630-01):"
|
|
echo " - dbis-admin.d-bis.org → 192.168.11.130:80 (VMID 10130)"
|
|
echo " - dbis-api.d-bis.org → 192.168.11.155:3000 (VMID 10150)"
|
|
echo " - dbis-api-2.d-bis.org → 192.168.11.156:3000 (VMID 10151)"
|
|
echo " - secure.d-bis.org → 192.168.11.130:80 (VMID 10130)"
|
|
echo ""
|
|
echo "2. MIM4U Services (documented on r630-02, not r630-01):"
|
|
echo " - mim4u.org → 192.168.11.36:80 (VMID 7811 - on r630-02)"
|
|
echo ""
|
|
echo "3. Blockchain Explorer (on different host):"
|
|
echo " - explorer.d-bis.org → 192.168.11.140:4000 (VMID 5000 - on r630-02)"
|
|
echo ""
|