Skip to content

Commit 6e3ccf5

Browse files
authored
Update os-upgrade-hana-large-instance.md
1 parent b741ca5 commit 6e3ccf5

File tree

1 file changed

+25
-18
lines changed

1 file changed

+25
-18
lines changed

articles/virtual-machines/workloads/sap/os-upgrade-hana-large-instance.md

Lines changed: 25 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -49,9 +49,9 @@ The following are the few common known issues during the upgrade:
4949

5050
# SAP HANA Large Instance (Type I) Recommended SLES Configuration
5151

52-
operating system configuration can drift from the recommended settings over time due to patching, system upgrades, and changes made by customers. Additionally, Microsoft identifies updates needed for existing systems to ensure they are optimally configured for the best performance and resiliency. Following instructions outline recommendations that address network performance, system stability, and optimal HANA performance.
52+
Operating system configuration can drift from the recommended settings over time due to patching, system upgrades, and changes made by customers. Additionally, Microsoft identifies updates needed for existing systems to ensure they are optimally configured for the best performance and resiliency. Following instructions outline recommendations that address network performance, system stability, and optimal HANA performance.
5353

54-
## Compatible enic/fnic driver versions
54+
## Compatible eNIC/fNIC driver versions
5555
In order to have proper network performance and system stability, it is advised to ensure that the OS specific appropriate version of eNIC and fNIC drivers are installed as depicted in following compatibility table. Servers are delivered to customers with compatible versions. Note that, in some cases, during OS/Kernel patching, drivers can get rolled back to the default driver versions. Ensure that appropriate driver version is running post OS/Kernel patching operations.
5656

5757

@@ -75,53 +75,60 @@ operating system configuration can drift from the recommended settings over time
7575
```
7676

7777
## SUSE HLIs GRUB UPDATE FAILURE
78-
SAP on Azure HANA Large Instances (Type I) can be in a non-bootable state when updated. The below procedure fixes this issue.
78+
SAP on Azure HANA Large Instances (Type I) can be in a non-bootable state after upgrade. The below procedure fixes this issue.
7979
### Execution Steps
80-
```
80+
8181

8282
* Execute multipath -ll command.
83-
* Get the LUN ID whose size is Approx 50G.
84-
* Update /etc/default/grub_installdevice file with line /dev/mapper/<LUN ID>. Example: /dev/mapper/3600a09803830372f483f495242534a56
83+
* Get the LUN ID whose size is approximately 50G or use the command : `fdisk -l | grep mapper`
84+
* Update `/etc/default/grub_installdevice` file with line `/dev/mapper/<LUN ID>`. Example: /dev/mapper/3600a09803830372f483f495242534a56
8585
* Please note that LUN ID varies from server to server.
8686

87-
```
8887

8988
## Disable EDAC (The Error Detection And Correction):
90-
The Error Detection And Correction (EDAC) module helps in detecting and correcting memory errors. However, the underlying hardware for SAP HANA on Azure Large Instances (Type I) is already performing the same function. Having the same feature enabled at the hardware and Operating system (OS) levels can cause conflicts and can lead to occasional, unplanned shutdowns of the server. Therefore, it is recommended to disable the module from the OS.
89+
The Error Detection And Correction (EDAC) module helps in detecting and correcting memory errors. However, the underlying hardware for SAP HANA on Azure Large Instances (Type I) is already performing the same function. Having the same feature enabled at the hardware and operating system (OS) levels can cause conflicts and can lead to occasional, unplanned shutdowns of the server. Therefore, it is recommended to disable the module from the OS.
9190

9291
### Execution Steps
9392

94-
```
93+
9594
* Check if EDAC module is enabled. If an output is returned in below command, that means the module is enabled.
95+
```
9696
lsmod | grep -i edac
97-
* Add the modules in /etc/modprobe.d/blacklist.conf file using vi editor.
97+
```
98+
* Add the modules in `/etc/modprobe.d/blacklist.conf` file using any text editor.
99+
```
98100
#vim /etc/modprobe.d/blacklist.conf
99101
blacklist sb_edac
100102
blacklist edac_core
101-
102-
A reboot is required to take changes in place. Execute "lsmod" command and verify the module is not present there in output.
103103
```
104+
A reboot is required to take changes in place. Execute `lsmod` command and verify the module is not present there in output.
105+
104106

105107
## Kernel parameters
106-
Make sure the correct setting for transparent_hugepage, numa_balancing, processor.max_cstate, and intel_idle.max_cstate are applied.
108+
Make sure the correct setting for `transparent_hugepage`, `numa_balancing`, `processor.max_cstate`, `ignore_ce` and `intel_idle.max_cstate` are applied.
107109

108110
```
109111
* intel_idle.max_cstate =1
110112
* processor.max_cstate=1
111113
* transparent_hugepage=never
112114
* numa_balancing=disable
115+
* mce=ignore_ce
113116
```
114-
Incorrect settings have created both performance and instability issues in the past. Follow SAP’s recommendation in your next maintenance window at the latest. Check all your SAP HANA instances on SLES and ensure the correct setting is applied.
117+
Incorrect settings have created both performance and instability issues in the past. Follow SAP’s recommendation in your next maintenance window at the latest. Check all your SAP HANA instances on SUSE and ensure the correct setting is applied.
115118

116119
### Execution Steps
117120

121+
122+
* Add these parameters to the `GRB_CMDLINE_LINUX` line in the file `/etc/default/grub`
123+
```
124+
intel_idle.max_cstate=1 processor.max_cstate=1 transparent_hugepage=never numa_balancing=disable mce=ignore_ce
118125
```
119-
* Add these parameters to the GRB_CMDLINE_LINUX line in the file /etc/default/grub
120-
intel_idle.max_cstate=1 processor.max_cstate=1 transparent_hugepage=never numa_balancing=disable
121126
* Create a new grub file.
122-
#grub2-mkconfig -o /boot/grub2/grub.cfg
123-
* Reboot system.
124127
```
128+
#grub2-mkconfig -o /boot/grub2/grub.cfg
129+
```
130+
* Reboot system.
131+
125132

126133
## Next steps
127134
- Refer [Backup and restore](hana-overview-high-availability-disaster-recovery.md) for OS backup Type I SKU class.

0 commit comments

Comments
 (0)