cluster/rgmanager/src/resources vm.sh
CVSROOT: /cvs/cluster
Module name: cluster
Branch: RHEL5
Changes by: lhh at sourceware.org 2007-06-22 16:59:50
Modified files:
rgmanager/src/resources: vm.sh
Log message:
Fix missing migrate operation on vm.sh
rgmanager/src/resources/vm.sh +5 -4
@@ -181,8 +181,8 @@ <action name="stop" timeout="120"/> <!-- No-ops. Groups are abstract resource types. --> - <action name="status" timeout="10" interval="30"/> - <action name="monitor" timeout="10" interval="30"/> + <action name="status" timeout="10" interval="30m"/> + <action name="monitor" timeout="10" interval="30m"/> <!-- reconfigure - reconfigure with new OCF parameters. NOT OCF COMPATIBLE AT ALL -->
@@ -367,14 +367,15 @@ { declare target=$1 - # XXX TODO - return 1 + xm migrate $OCF_RESKEY_name $target + return $? } # # A Resource group is abstract, but the OCF RA API doesn't allow for abstract # resources, so here it is. # + case $1 in start) start