1OCF_HEARTBEAT_AZURE()                                    OCF_HEARTBEAT_AZURE()
2
3
4

NAME

6       ocf_heartbeat_azure-events-az - Microsoft Azure Scheduled Events
7       monitoring agent
8

SYNOPSIS

10       azure-events-az [start | stop | monitor | meta-data | validate-all]
11

DESCRIPTION

13       This resource agent implements a monitor for scheduled (maintenance)
14       events for a Microsoft Azure VM.
15
16       If any relevant events are found, it moves all Pacemaker resources away
17       from the affected node to allow for a graceful shutdown.
18
19       Deployment: crm configure primitive rsc_azure-events-az
20       ocf:heartbeat:azure-events-az op monitor interval=10s crm configure
21       clone cln_azure-events-az rsc_azure-events-az
22
23       For further information on Microsoft Azure Scheduled Events, please
24       refer to the following documentation:
25       https://docs.microsoft.com/en-us/azure/virtual-machines/linux/scheduled-events
26

SUPPORTED PARAMETERS

28       eventTypes
29           A comma-separated list of event types that will be handled by this
30           resource agent. (Possible values: Freeze,Reboot,Redeploy)
31
32           (optional, string, default "Reboot,Redeploy")
33
34       verbose
35           Set to true to enable verbose logging
36
37           (optional, boolean, default false)
38

SUPPORTED ACTIONS

40       This resource agent supports the following actions (operations):
41
42       start
43           Starts the resource. Suggested minimum timeout: 10s.
44
45       stop
46           Stops the resource. Suggested minimum timeout: 10s.
47
48       validate-all
49           Performs a validation of the resource configuration. Suggested
50           minimum timeout: 20s.
51
52       monitor
53           Performs a detailed status check. Suggested minimum timeout: 240s.
54           Suggested interval: 10s.
55
56       meta-data
57           Retrieves resource agent metadata (internal use only). Suggested
58           minimum timeout: 10s.
59

EXAMPLE CRM SHELL

61       The following is an example configuration for a azure-events-az
62       resource using the crm(8) shell:
63
64           primitive p_azure-events-az ocf:heartbeat:azure-events-az \
65             op monitor timeout="240s" interval="10s"
66

EXAMPLE PCS

68       The following is an example configuration for a azure-events-az
69       resource using pcs(8)
70
71           pcs resource create p_azure-events-az ocf:heartbeat:azure-events-az \
72             op monitor timeout="240s" interval="10s"
73

SEE ALSO

75       http://clusterlabs.org/
76

AUTHOR

78       ClusterLabs contributors (see the resource agent source for information
79       about individual authors)
80
81
82
83                                                         OCF_HEARTBEAT_AZURE()
Impressum