/usr/sbin/fence_ack_manual is in fence-agents 3.1.5-2ubuntu2.
This file is owned by root:root, with mode 0o755.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 | #!/bin/bash
#
# Manual override after fencing has failed.
#
if [ "$1" = "-n" ]; then
shift
fi
if [ -z "$1" ] || [ "${1:0:1}" = "-" ]; then
echo "usage:"
echo " $0 <nodename>"
echo " $0 -n <nodename>"
echo
echo "The -n flag exists to preserve compatibility with previous "
echo "releases of $0, and is no longer required."
exit 1
fi
declare answer
echo "About to override fencing for $1."
echo "Improper use of this command can cause severe file system damage."
echo
read -p "Continue [NO/absolutely]? " answer
if [ "$answer" != "absolutely" ]; then
echo "Aborted."
exit 1
fi
while ! [ -e /var/run/cluster/fenced_override ]; do
sleep 1
done
echo $1>/var/run/cluster/fenced_override
echo Done
|