diff --git a/heartbeat/IPaddr2 b/heartbeat/IPaddr2
index e9c1cdb74..ecb170fd6 100755
--- a/heartbeat/IPaddr2
+++ b/heartbeat/IPaddr2
@@ -147,6 +147,14 @@ IPADDR2_CIP_IPTABLES=$IPTABLES
#######################################################################
meta_data() {
+ local reloadable_attr=""
+ local reload_action=""
+ ocf_version_cmp "${OCF_RESKEY_crm_feature_set:-3.10.0}" "3.10.0"
+ local res=$?
+ if [ $res -eq 0 ] || [ $res -eq 2 ]; then
+ reloadable_attr=' reloadable="1"'
+ reload_action=''
+ fi
cat <
@@ -471,6 +479,17 @@ Consider the resource failed if the interface has status DOWN or LOWERLAYERDOWN.
Consider the resource failed if the interface has status DOWN or LOWERLAYERDOWN
+
+
+
+Set to 1 to turn on resource agent tracing (expect large output)
+The trace output will be saved to trace_file, if set, or by default to
+$HA_VARLIB/trace_ra/<type>/<id>.<action>.<timestamp>
+e.g. $HA_VARLIB/trace_ra/oracle/db.start.2012-11-27.08:37:08
+
+Set to 1 to turn on resource agent tracing (expect large output)
+
+
@@ -478,6 +497,7 @@ Consider the resource failed if the interface has status DOWN or LOWERLAYERDOWN.
+${reload_action}
@@ -1420,6 +1440,8 @@ status) ip_status=`ip_served`
;;
monitor) ip_monitor
;;
+reload) exit $OCF_SUCCESS
+ ;;
validate-all) ;;
*) ip_usage
exit $OCF_ERR_UNIMPLEMENTED
diff --git a/heartbeat/anything b/heartbeat/anything
index 137a61263..8374acd33 100755
--- a/heartbeat/anything
+++ b/heartbeat/anything
@@ -233,6 +233,14 @@ anything_validate() {
}
anything_meta() {
+local reloadable_attr=""
+local reload_action=""
+ocf_version_cmp "${OCF_RESKEY_crm_feature_set:-3.10.0}" "3.10.0"
+local res=$?
+if [ $res -eq 0 ] || [ $res -eq 2 ]; then
+ reloadable_attr=' reloadable="1"'
+ reload_action=''
+fi
cat <
@@ -308,11 +316,23 @@ before sending kill -SIGKILL. Defaults to 2/3 of the stop operation timeout.
Seconds to wait after having sent SIGTERM before sending SIGKILL in stop operation
+
+
+
+Set to 1 to turn on resource agent tracing (expect large output)
+The trace output will be saved to trace_file, if set, or by default to
+$HA_VARLIB/trace_ra/<type>/<id>.<action>.<timestamp>
+e.g. $HA_VARLIB/trace_ra/oracle/db.start.2012-11-27.08:37:08
+
+Set to 1 to turn on resource agent tracing (expect large output)
+
+
+${reload_action}
@@ -334,6 +354,9 @@ case "$1" in
monitor)
anything_monitor
;;
+ reload)
+ exit $OCF_SUCCESS
+ ;;
validate-all)
anything_validate
;;