Page Menu
Home
ClusterLabs Projects
Search
Configure Global Search
Log In
Files
F3153122
fence_ack_manual.in
No One
Temporary
Actions
Download File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Flag For Later
Award Token
Size
719 B
Referenced Files
None
Subscribers
None
fence_ack_manual.in
View Options
#!/bin/bash
#
# Manual override after fencing has failed.
#
if [ "$1" = "-n" ]; then
shift
fi
if [ -z "$1" ] || [ "$1" = "-h" ]; 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 @clustervarrun@/fenced_override ]; do
sleep 1
done
echo $1>@clustervarrun@/fenced_override
echo Done
File Metadata
Details
Attached
Mime Type
text/x-shellscript
Expires
Tue, Feb 25, 10:37 AM (1 d, 19 h)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
1464789
Default Alt Text
fence_ack_manual.in (719 B)
Attached To
Mode
rF Fence Agents
Attached
Detach File
Event Timeline
Log In to Comment