#!/usr/bin/env bash # Activate the staged net multiqueue (queues=4/2 already in qm config) with # ONE graceful bounce of VM 5111. Run any time from this VM; the host-side # work is detached, so this script returns before the VM goes down. # WARNING: every crush session on this VM dies with the bounce (~4 min). set -euo pipefail echo "bouncing VM 5111 (detached host-side); ~4 min downtime" timeout 60 ssh root@pfv-tsys5.knel.net \ 'setsid bash -c "echo bounce-start \$(date -Is); qm shutdown 5111 --timeout 120; qm wait 5111 --timeout 180 || true; qm start 5111; echo bounce-done \$(date -Is)" /var/log/ukrrs-vm5111-bounce.log 2>&1 &' echo "dispatched. after reboot verify: ethtool -l ens18 -> Combined 4/4, ens19 -> 2/2"