Skip to content

Commit fefb54b

Browse files
authored
Merge pull request #2048 from susegrant/patch-6
azure-events-az: Update Deployment info section
2 parents 5f7b9b0 + 486ab65 commit fefb54b

File tree

1 file changed

+15
-3
lines changed

1 file changed

+15
-3
lines changed

heartbeat/azure-events-az.in

Lines changed: 15 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -749,10 +749,22 @@ If any relevant events are found, it moves all Pacemaker resources
749749
away from the affected node to allow for a graceful shutdown.
750750

751751
Deployment:
752-
crm configure primitive rsc_azure-events-az ocf:heartbeat:azure-events-az \
752+
753+
Set property and location constraint:
754+
crm configure property node-health-strategy=custom
755+
crm configure location loc_azure_health /'!health-.*'/ rule '#health-azure': defined '#uname'
756+
757+
Set #health-azure attribute to 0 (healthy) for every node in the cluster (example of node1 only):
758+
crm_attribute --node node1 --name '#health-azure' --update 0
759+
760+
Configure the RA:
761+
crm configure primitive health-azure-events ocf:heartbeat:azure-events-az \
753762
params eventTypes="Reboot,Redeploy" verbose=false retry_count=3 retry_wait=20 request_timeout=15 \
754-
op monitor interval=10s
755-
crm configure clone cln_azure-events-az rsc_azure-events-az
763+
op start start-delay=60s \
764+
op monitor interval=10s \
765+
meta failure-timeout=120s
766+
crm configure clone health-azure-events-cln health-azure-events \
767+
meta allow-unhealthy-nodes=true
756768

757769
For further information on Microsoft Azure Scheduled Events, please
758770
refer to the following documentation:

0 commit comments

Comments
 (0)