Skip to content

Commit 2758cdb

Browse files
authored
Merge pull request #102602 from rdeltcheva/hana-rhel-timeouts
Alighn HANA resources timeouts with RHEL recommendations
2 parents bc43c7e + 0eff1b6 commit 2758cdb

File tree

2 files changed

+18
-7
lines changed

2 files changed

+18
-7
lines changed

articles/virtual-machines/workloads/sap/get-started.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ ms.service: virtual-machines-linux
1515
ms.topic: article
1616
ms.tgt_pltfrm: vm-linux
1717
ms.workload: infrastructure-services
18-
ms.date: 01/17/2020
18+
ms.date: 01/28/2020
1919
ms.author: juergent
2020
ms.custom: H1Hack27Feb2017
2121

@@ -120,6 +120,7 @@ For information on integration of Azure services into SAP components, see:
120120

121121
## Change Log
122122

123+
- 01/28/2020: Change in [High availability of SAP HANA on Azure VMs on RHEL](https://docs.microsoft.com/azure/virtual-machines/workloads/sap/sap-hana-high-availability-rhel) to align the SAP HANA cluster resources timeouts to the Red Hat timeout recommendations
123124
- 01/17/2020: Change in [Azure proximity placement groups for optimal network latency with SAP applications](https://docs.microsoft.com/azure/virtual-machines/workloads/sap/sap-proximity-placement-scenarios) to change the section of moving existing VMs into a proximity placement group
124125
- 01/17/2020: Change in [SAP workload configurations with Azure Availability Zones](https://docs.microsoft.com/azure/virtual-machines/workloads/sap/sap-ha-availability-zones) to point to procedure that automates measurements of latency between Availability Zones
125126
- 01/16/2020: Change in [How to install and configure SAP HANA (Large Instances) on Azure](https://docs.microsoft.com/azure/virtual-machines/workloads/sap/hana-installation) to adapt OS releases to HANA IaaS hardware directory

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

Lines changed: 16 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -3,17 +3,17 @@ title: Set up SAP HANA System Replication on Azure virtual machines (VMs) | Micr
33
description: Establish high availability of SAP HANA on Azure virtual machines (VMs).
44
services: virtual-machines-linux
55
documentationcenter:
6-
author: MSSedusch
7-
manager: gwallace
6+
author: rdeltcheva
7+
manager: juergent
88
editor:
99

1010
ms.service: virtual-machines-linux
1111

1212
ms.topic: article
1313
ms.tgt_pltfrm: vm-linux
1414
ms.workload: infrastructure
15-
ms.date: 03/15/2019
16-
ms.author: sedusch
15+
ms.date: 01/28/2020
16+
ms.author: radeltch
1717

1818
---
1919
# High availability of SAP HANA on Azure VMs on Red Hat Enterprise Linux
@@ -559,14 +559,21 @@ Next, create the HANA topology. Run the following commands on one of the Pacemak
559559
<pre><code>sudo pcs property set maintenance-mode=true
560560

561561
# Replace the bold string with your instance number and HANA system ID
562-
sudo pcs resource create SAPHanaTopology_<b>HN1</b>_<b>03</b> SAPHanaTopology SID=<b>HN1</b> InstanceNumber=<b>03</b> --clone clone-max=2 clone-node-max=1 interleave=true
562+
sudo pcs resource create SAPHanaTopology_<b>HN1</b>_<b>03</b> SAPHanaTopology SID=<b>HN1</b> InstanceNumber=<b>03</b> \
563+
op start timeout=600 op stop timeout=300 op monitor interval=10 timeout=600 \
564+
--clone clone-max=2 clone-node-max=1 interleave=true
563565
</code></pre>
564566

565567
Next, create the HANA resources:
566568

567569
<pre><code># Replace the bold string with your instance number, HANA system ID, and the front-end IP address of the Azure load balancer.
568570

569-
sudo pcs resource create SAPHana_<b>HN1</b>_<b>03</b> SAPHana SID=<b>HN1</b> InstanceNumber=<b>03</b> PREFER_SITE_TAKEOVER=true DUPLICATE_PRIMARY_TIMEOUT=7200 AUTOMATED_REGISTER=false master notify=true clone-max=2 clone-node-max=1 interleave=true
571+
sudo pcs resource create SAPHana_<b>HN1</b>_<b>03</b> SAPHana SID=<b>HN1</b> InstanceNumber=<b>03</b> PREFER_SITE_TAKEOVER=true DUPLICATE_PRIMARY_TIMEOUT=7200 AUTOMATED_REGISTER=false \
572+
op start timeout=3600 op stop timeout=3600 \
573+
op monitor interval=61 role="Slave" timeout=700 \
574+
op monitor interval=59 role="Master" timeout=700 \
575+
op promote timeout=3600 op demote timeout=3600 \
576+
master notify=true clone-max=2 clone-node-max=1 interleave=true
570577

571578
sudo pcs resource create vip_<b>HN1</b>_<b>03</b> IPaddr2 ip="<b>10.0.0.13</b>"
572579

@@ -583,6 +590,9 @@ sudo pcs property set maintenance-mode=false
583590

584591
Make sure that the cluster status is ok and that all of the resources are started. It's not important on which node the resources are running.
585592

593+
> [!NOTE]
594+
> The timeouts in the above configuration are just examples and may need to be adapted to the specific HANA setup. For instance, you may need to increase the start timeout, if it takes longer to start the SAP HANA database.
595+
586596
<pre><code>sudo pcs status
587597

588598
# Online: [ hn1-db-0 hn1-db-1 ]

0 commit comments

Comments
 (0)