blob: cecf8e92affd23a8beb099b896f11fe3cff6661b (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
|
#!/bin/sh
set -e
HOSTNAME=$(hostname)
echo "=== list ==="
stonith -L
printf "\n=== metadata ===\n"
stonith -t null -m
printf "\n=== status ===\n"
stonith -d -t null hostlist=$HOSTNAME -S -l 2>&1
printf "\n=== reset ===\n"
stonith -d -t null hostlist=$HOSTNAME -T reset $HOSTNAME 2>&1
|