Add optional Cosmos/Engine-X/act-runner templates, CWUSDC/EI-matrix tooling, non-EVM route planner in multi-chain-execution (tests passing), token list and extraction updates, and documentation (MetaMask matrix, GRU/CWUSDC packets). Ignore institutional evidence tarballs/sha256 under reports/status. Validated with: bash scripts/verify/run-all-validation.sh --skip-genesis Co-authored-by: Cursor <cursoragent@cursor.com>
46 lines
1.5 KiB
Bash
Executable File
46 lines
1.5 KiB
Bash
Executable File
#!/usr/bin/env bash
|
||
# Show which Proxmox node hosts NPMplus CTs 10233–10236 (live SSH).
|
||
# Usage: bash scripts/maintenance/npmplus-cluster-placement-status.sh
|
||
# Requires: SSH BatchMode to cluster nodes (root@192.168.11.11, .12); extend HOSTS if needed.
|
||
|
||
set -euo pipefail
|
||
|
||
SCRIPT_DIR="$(cd "$(dirname "${BASH_SOURCE[0]}")" && pwd)"
|
||
PROJECT_ROOT="$(cd "$SCRIPT_DIR/../.." && pwd)"
|
||
|
||
# shellcheck source=/dev/null
|
||
[[ -f "$PROJECT_ROOT/config/ip-addresses.conf" ]] && source "$PROJECT_ROOT/config/ip-addresses.conf" 2>/dev/null || true
|
||
|
||
SSH_OPTS=(-o BatchMode=yes -o ConnectTimeout=12 -o StrictHostKeyChecking=no)
|
||
|
||
HOSTS=(
|
||
"${PROXMOX_HOST_R630_01:-192.168.11.11}:r630-01"
|
||
"${PROXMOX_HOST_R630_02:-192.168.11.12}:r630-02"
|
||
"${PROXMOX_HOST_R630_03:-192.168.11.13}:r630-03"
|
||
"${PROXMOX_HOST_R630_04:-192.168.11.14}:r630-04"
|
||
)
|
||
|
||
echo "=== NPMplus CT placement (VMIDs 10233–10236) ==="
|
||
echo ""
|
||
|
||
for entry in "${HOSTS[@]}"; do
|
||
ip="${entry%%:*}"
|
||
label="${entry##*:}"
|
||
echo "--- $label ($ip) ---"
|
||
if ssh "${SSH_OPTS[@]}" "root@$ip" "pct list | grep -E '^10233|^10234|^10235|^10236' || true" 2>/dev/null; then
|
||
:
|
||
else
|
||
echo "(SSH skipped or failed — check key access to $ip)"
|
||
fi
|
||
echo ""
|
||
done
|
||
|
||
echo "=== Quick HTTP :81 (LAN, optional) ==="
|
||
for ip in 167 168 169 170; do
|
||
code=$(curl -sS -m 4 -o /dev/null -w "%{http_code}" "http://192.168.11.$ip:81/" 2>/dev/null || echo "fail")
|
||
echo "192.168.11.$ip:81 -> $code"
|
||
done
|
||
|
||
echo ""
|
||
echo "Target distribution: docs/04-configuration/NPMPLUS_MISSION_CRITICAL_DISTRIBUTION_AND_HA_PLAN.md"
|