igneum/infra/cloud-devnet/stop.sh
igneum-labs d8dc8c6ba3 infra: cloud devnet (20 nodes), rented GPU bench and seed node scripts; plans for both
infra/cloud-devnet: hcloud (doctl variant) create, builder-VM provision from a git-archive source tarball,
systemd units for igneumd --devnet-suffix with a sparse --addpeer mesh and a CPU trickle miner per node,
stdlib wRPC client, experiments (latency, partition, hop, collect, observer hookup), README with the command
sequence and the Hetzner API prices of 3 Oct 2026.
infra/gpu-bench: RunPod image recipes (CUDA 12.8, ROCm), bundle, run.sh (vectors gate, 10-min raw, sweep,
inline shortcut ratio, nvcc/NVRTC/OpenCL recompile timings, results row, intake upload), bench-log template.
infra/seed-nodes: create-seed (persistent IPv4, firewall), provision on the VM, health check, addPeer from the
Mac over grpcurl, seeds.txt; igneum-seed-1 created at 188.245.5.161 (Hetzner cx23, fsn1).
docs/plans/cloud-devnet.md and docs/plans/seed-nodes.md.

Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
2026-10-03 22:01:50 +00:00

14 lines
712 B
Bash
Executable file

#!/usr/bin/env bash
# Stop the network. The VMs keep running (and billing); destroy.sh removes them.
# ./stop.sh miners, block logs, nodes
# ./stop.sh miners miners only (the chain keeps running without new blocks)
. "$(dirname "$0")/lib/common.sh"
require_nodes
what="${1:-all}"
if [ "$what" = miners ]; then
on_all 'systemctl stop igneum-miner; systemctl is-active igneum-miner || true'
else
on_all 'systemctl stop igneum-miner igneum-blocklog igneumd; systemctl is-active igneumd || true'
fi
printf '%s\tstop %s\n' "$(date -u +%Y-%m-%dT%H:%M:%SZ)" "$what" >> "$(results_dir_for)/events.log"
log "stopped ($what). The servers still bill by the hour: ./destroy.sh when the data is collected"