📄 hb_takeover.in
字号:
#!/bin/bash # This script sets the node (where it was called) to *active*# It forces the other node to release all the held resources and lets# this node do a takeover.# This script will only work for a two machine setup...# More than that and you need to vote, or something...HA_DIR=@sysconfdir@/ha.d. ${HA_DIR}/shellfuncsusage() { echo "usage:%0 [all|foreign|local|failback]" >&2 exit 1;}if [ $# -ge 1 ]then resources=$1else resources=allfiha_clustermsg <<-!MSG t=hb_takeover rsc_hold=$resources!MSG
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -