@@ -471,13 +471,25 @@ Consider the resource failed if the interface has status DOWN or LOWERLAYERDOWN.
471471<shortdesc lang="en">Consider the resource failed if the interface has status DOWN or LOWERLAYERDOWN</shortdesc>
472472<content type="string" default="${OCF_RESKEY_check_link_status_default} "/>
473473</parameter>
474+
475+ <parameter name="trace_ra">
476+ <longdesc lang="en">
477+ Set to 1 to turn on resource agent tracing (expect large output)
478+ The trace output will be saved to trace_file, if set, or by default to
479+ $HA_VARLIB /trace_ra/<type>/<id>.<action>.<timestamp>
480+ e.g. $HA_VARLIB /trace_ra/oracle/db.start.2012-11-27.08:37:08
481+ </longdesc>
482+ <shortdesc lang="en">Set to 1 to turn on resource agent tracing (expect large output)</shortdesc>
483+ <content type="integer"/>
484+ </parameter>
474485</parameters>
475486
476487<actions>
477488<action name="start" timeout="20s" />
478489<action name="stop" timeout="20s" />
479490<action name="status" depth="0" timeout="20s" interval="10s" />
480491<action name="monitor" depth="0" timeout="20s" interval="10s" />
492+ <action name="reload" timeout="20s" />
481493<action name="meta-data" timeout="5s" />
482494<action name="validate-all" timeout="20s" />
483495</actions>
@@ -1269,6 +1281,11 @@ ip_monitor() {
12691281 esac
12701282}
12711283
1284+ ip_reload () {
1285+ ocf_trace_reload
1286+ return $OCF_SUCCESS
1287+ }
1288+
12721289# make sure that we have something to send ARPs with
12731290set_send_arp_program () {
12741291 ARP_SENDER=send_arp
@@ -1420,6 +1437,8 @@ status) ip_status=`ip_served`
14201437 ;;
14211438monitor) ip_monitor
14221439 ;;
1440+ reload) ip_reload
1441+ ;;
14231442validate-all) ;;
14241443* ) ip_usage
14251444 exit $OCF_ERR_UNIMPLEMENTED
0 commit comments