#!/bin/sh # License: GNU General Public License (GPL) HA_DIR=/etc/ha.d . ${HA_DIR}/shellfuncs ORIGNODE=$HA_src if [ "X$ORIGNODE" = "X$HA_CURHOST" ] then exit 0; # request is from us! fi case $HA_rsc_hold in all) standby_rsc=$HA_rsc_hold;; local) standby_rsc=foreign;; foreign) standby_rsc=local;; esac /usr/share/heartbeat/hb_standby $standby_rsc