OCF_HEARTBEAT_AZURE() | OCF_HEARTBEAT_AZURE() |
ocf_heartbeat_azure-events - Microsoft Azure Scheduled Events monitoring agent
azure-events [start | stop | monitor | meta-data | validate-all]
This resource agent implements a monitor for scheduled (maintenance) events for a Microsoft Azure VM.
If any relevant events are found, it moves all Pacemaker resources away from the affected node to allow for a graceful shutdown.
Usage: [OCF_RESKEY_eventTypes=VAL] [OCF_RESKEY_verbose=VAL] azure-events ACTION
action (required): Supported values: monitor, help, meta-data eventTypes (optional): List of event types to be considered relevant by the resource agent (comma-separated). Supported values: Freeze,Reboot,Redeploy Default = Reboot,Redeploy / verbose (optional): If set to true, displays debug info. Default = false
Deployment: crm configure primitive rsc_azure-events ocf:heartbeat:azure-events op monitor interval=10s crm configure clone cln_azure-events rsc_azure-events
For further information on Microsoft Azure Scheduled Events, please refer to the following documentation: https://docs.microsoft.com/en-us/azure/virtual-machines/linux/scheduled-events
eventTypes
(optional, string, default "Reboot,Redeploy")
verbose
(optional, boolean, default false)
This resource agent supports the following actions (operations):
start
stop
validate-all
monitor
meta-data
The following is an example configuration for a azure-events resource using the crm(8) shell:
primitive p_azure-events ocf:heartbeat:azure-events \
op monitor timeout="240s" interval="10s"
The following is an example configuration for a azure-events resource using pcs(8)
pcs resource create p_azure-events ocf:heartbeat:azure-events \
op monitor timeout="240s" interval="10s"
http://clusterlabs.org/
ClusterLabs contributors (see the resource agent source for information about individual authors)