Hi,

My operation is here;

# ssh x3650g

# export dom0="x3650g"

# export hostlist="dom-d1:/etc/xen/dom-d1 dom-d2:/etc/xen/dom-d2"
 
# /usr/lib64/stonith/plugins/external/xen0 on dom-d1

# echo $?

0

dom-d1 was created well.

# /usr/lib64/stonith/plugins/external/xen0 reset dom-d1

# echo $?

# 1

dom-d1 was destroyed but return code was not zero,
so Heartbeat handled that this stonith operation failed.

When I edit the plugin like this, it work well.

--- xen0.org    2009-03-06 17:22:44.000000000 +0900
+++ xen0        2009-03-06 17:22:52.000000000 +0900
@@ -140,7 +140,7 @@ reset)
         exit 0
     fi

-    exit 1
+    exit 0
     ;;
 status)
     CheckHostList


Is this some timing issue?

Thanks,
Junko


_______________________________________________________
Linux-HA-Dev: [email protected]
http://lists.linux-ha.org/mailman/listinfo/linux-ha-dev
Home Page: http://linux-ha.org/

Reply via email to