Skip to content

Commit 9c76a01

Browse files
authored
Merge pull request #175031 from rdeltcheva/rhel-srhook-2
sudoers file updates - add defaults line,correct HANA scaleout doc
2 parents e3f34ab + 5a876d8 commit 9c76a01

File tree

4 files changed

+11
-9
lines changed

4 files changed

+11
-9
lines changed

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

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ ms.assetid: ad8e5c75-0cf6-4564-ae62-ea1246b4e5f2
1313
ms.topic: article
1414
ms.tgt_pltfrm: vm-linux
1515
ms.workload: infrastructure-services
16-
ms.date: 10/01/2021
16+
ms.date: 10/08/2021
1717
ms.author: juergent
1818
ms.custom: H1Hack27Feb2017
1919

@@ -77,6 +77,7 @@ In this section, you can find information in how to configure SSO with most of t
7777
In this section, you find documents about Microsoft Power BI integration into SAP data sources as well as Azure Data Factory integration into SAP BW.
7878

7979
## Change Log
80+
- October 08, 2021: Change in [SAP HANA scale-out HSR with Pacemaker on Azure VMs on SLES](./sap-hana-high-availability-scale-out-hsr-suse.md), [HA for SAP HANA scale-up with ANF on RHEL](./sap-hana-high-availability-netapp-files-red-hat.md) and [SAP HANA scale-out HSR with Pacemaker on Azure VMs on RHEL](./sap-hana-high-availability-scale-out-hsr-rhel.md) to add defaults in sudoers file and update for HANA scale-out(for HANA srHook)
8081
- October 01, 2021: Added link to new Azure Backup architecture for SAP HANA backup document into table of content. Added link to Azure Backup service for Oracle DBMS into [Azure Virtual Machines Oracle DBMS deployment for SAP workload](./dbms_guide_oracle.md)
8182
- September 24, 2021: Change in [SAP HANA scale-out HSR with Pacemaker on Azure VMs on SLES](./sap-hana-high-availability-scale-out-hsr-suse.md), [HA for SAP HANA scale-up with ANF on RHEL](./sap-hana-high-availability-netapp-files-red-hat.md) and [SAP HANA scale-out HSR with Pacemaker on Azure VMs on RHEL](./sap-hana-high-availability-scale-out-hsr-rhel.md) to adjust the instructions for creating sudoers file (for HANA srHook)
8283
- September 15, 2021: Introducing new HADR configuration for SAP ASE in [SAP ASE Azure Virtual Machines DBMS deployment for SAP workload](./dbms_guide_sapase.md)

articles/virtual-machines/workloads/sap/sap-hana-high-availability-netapp-files-red-hat.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ ms.service: virtual-machines-sap
1010
ms.topic: article
1111
ms.tgt_pltfrm: vm-linux
1212
ms.workload: infrastructure
13-
ms.date: 09/24/2021
13+
ms.date: 10/08/2021
1414
ms.author: radeltch
1515
---
1616

@@ -550,6 +550,7 @@ This is important step to optimize the integration with the cluster and improve
550550
Cmnd_Alias SITE2_SOK = /usr/sbin/crm_attribute -n hana_hn1_site_srHook_SITE2 -v SOK -t crm_config -s SAPHanaSR
551551
Cmnd_Alias SITE2_SFAIL = /usr/sbin/crm_attribute -n hana_hn1_site_srHook_SITE2 -v SFAIL -t crm_config -s SAPHanaSR
552552
hn1adm ALL=(ALL) NOPASSWD: SITE1_SOK, SITE1_SFAIL, SITE2_SOK, SITE2_SFAIL
553+
Defaults!SITE1_SOK, SITE1_SFAIL, SITE2_SOK, SITE2_SFAIL !requiretty
553554
```
554555
555556
3. **[A]** Start SAP HANA on both nodes. Execute as <sid\>adm.

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

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ ms.service: virtual-machines-sap
1010
ms.topic: article
1111
ms.tgt_pltfrm: vm-linux
1212
ms.workload: infrastructure
13-
ms.date: 09/24/2021
13+
ms.date: 10/08/2021
1414
ms.author: radeltch
1515

1616
---
@@ -601,6 +601,7 @@ This is important step to optimize the integration with the cluster and improve
601601
Cmnd_Alias SITE2_SOK = /usr/sbin/crm_attribute -n hana_hn1_site_srHook_SITE2 -v SOK -t crm_config -s SAPHanaSR
602602
Cmnd_Alias SITE2_SFAIL = /usr/sbin/crm_attribute -n hana_hn1_site_srHook_SITE2 -v SFAIL -t crm_config -s SAPHanaSR
603603
hn1adm ALL=(ALL) NOPASSWD: SITE1_SOK, SITE1_SFAIL, SITE2_SOK, SITE2_SFAIL
604+
Defaults!SITE1_SOK, SITE1_SFAIL, SITE2_SOK, SITE2_SFAIL !requiretty
604605
```
605606

606607
3. **[A]** Start SAP HANA on both nodes. Execute as <sid\>adm.

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

Lines changed: 5 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ ms.service: virtual-machines-sap
99
ms.topic: article
1010
ms.tgt_pltfrm: vm-windows
1111
ms.workload: infrastructure-services
12-
ms.date: 09/24/2021
12+
ms.date: 10/08/2021
1313
ms.author: radeltch
1414

1515
---
@@ -917,11 +917,10 @@ Include all virtual machines, including the majority maker in the cluster.
917917
```bash
918918
sudo visudo -f /etc/sudoers.d/20-saphana
919919
# Insert the following lines and then save
920-
Cmnd_Alias HANA_S1_SOK = /usr/sbin/crm_attribute -n hana_hn1_site_srHook_HANA_S1 -v SOK -t crm_config -s SAPHanaSR
921-
Cmnd_Alias HANA_S1_SFAIL = /usr/sbin/crm_attribute -n hana_hn1_site_srHook_HANA_S1 -v SFAIL -t crm_config -s SAPHanaSR
922-
Cmnd_Alias HANA_S2_SOK = /usr/sbin/crm_attribute -n hana_hn1_site_srHook_HANA_S2 -v SOK -t crm_config -s SAPHanaSR
923-
Cmnd_Alias HANA_S2_SFAIL = /usr/sbin/crm_attribute -n hana_hn1_site_srHook_HANA_S2 -v SFAIL -t crm_config -s SAPHanaSR
924-
hn1adm ALL=(ALL) NOPASSWD: HANA_S1_SOK, HANA_S1_SFAIL, HANA_S2_SOK, HANA_S2_SFAIL
920+
Cmnd_Alias SOK = /usr/sbin/crm_attribute -n hana_hn1_glob_srHook -v SOK -t crm_config -s SAPHanaSR
921+
Cmnd_Alias SFAIL = /usr/sbin/crm_attribute -n hana_hn1_glob_srHook -v SFAIL -t crm_config -s SAPHanaSR
922+
hn1adm ALL=(ALL) NOPASSWD: SOK, SFAIL
923+
Defaults!SOK, SFAIL !requiretty
925924
```
926925
927926
4. **[1,2]** Start SAP HANA on both replication sites. Execute as <sid\>adm.

0 commit comments

Comments
 (0)