Skip to content

Commit f4b3fd4

Browse files
committed
Add priority to primary IPaddr2 and azure-lb resources when configuring secondary IP for read enabled HANA system replication
1 parent ed42d07 commit f4b3fd4

File tree

1 file changed

+5
-4
lines changed

1 file changed

+5
-4
lines changed

articles/sap/workloads/sap-hana-high-availability-rhel.md

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ ms.service: sap-on-azure
88
ms.subservice: sap-vm-workloads
99
ms.topic: article
1010
ms.custom: devx-track-python, devx-track-azurecli, devx-track-azurepowershell, linux-related-content
11-
ms.date: 11/05/2024
11+
ms.date: 12/04/2024
1212
ms.author: radeltch
1313
---
1414

@@ -588,15 +588,16 @@ The second virtual IP and the appropriate colocation constraint can be configure
588588
pcs property set maintenance-mode=true
589589
590590
pcs resource create secvip_HN1_03 ocf:heartbeat:IPaddr2 ip="10.40.0.16"
591-
592591
pcs resource create secnc_HN1_03 ocf:heartbeat:azure-lb port=62603
593-
594592
pcs resource group add g_secip_HN1_03 secnc_HN1_03 secvip_HN1_03
595593
596594
pcs constraint location g_secip_HN1_03 rule score=INFINITY hana_hn1_sync_state eq SOK and hana_hn1_roles eq 4:S:master1:master:worker:master
597-
598595
pcs constraint location g_secip_HN1_03 rule score=4000 hana_hn1_sync_state eq PRIM and hana_hn1_roles eq 4:P:master1:master:worker:master
599596
597+
# Set the priority to primary IPaddr2 and azure-lb resource if priority-fencing-delay is configured
598+
sudo pcs resource update vip_HN1_03 meta priority=5
599+
sudo pcs resource update nc_HN1_03 meta priority=5
600+
600601
pcs property set maintenance-mode=false
601602
```
602603

0 commit comments

Comments
 (0)