Skip to content

Commit 5254f88

Browse files
authored
Merge pull request #1 from NitVijay/NitVijay-patch-1
Update os-upgrade-hana-large-instance.md
2 parents df0ad3e + 16d3f36 commit 5254f88

File tree

1 file changed

+80
-0
lines changed

1 file changed

+80
-0
lines changed

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

Lines changed: 80 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -46,6 +46,86 @@ The following are the few common known issues during the upgrade:
4646
- On SKU Type II class SKU, the software foundation software (SFS) is removed after the OS upgrade. You need to reinstall the compatible SFS after the OS upgrade.
4747
- Ethernet card drivers (ENIC and FNIC) rolled back to older version. You need to reinstall the compatible version of the drivers after the upgrade.
4848

49+
## SAP HANA on Azure Large Instance (Type I) Recommended SLES Configuration
50+
51+
Customer 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. Below given description and instructions outline recommendations that address network performance, system stability, and optimal HANA performance.
52+
53+
### Compatible enic/fnic driver versions
54+
In order to have proper network performance and system stability, it is advised that customers maintain versions of the enic and fnic drives below. Servers are usually delivered to customers with these versions, however, in some cases versions can get rolled back to the default enic and fnic versions when OS/Kernel patching is performed.
55+
56+
57+
| OS Vendor | OS Package Version | UCS Blade Firmware | Enic Driver | Fnic Driver |
58+
|---------------|------------------------|------------------------|--------------------|-----------------|
59+
| SUSE | SLES 12 SP2 | 3.1.3h | 2.3.0.40 | 1.6.0.34 |
60+
| SUSE | SLES 12 SP2 | 3.1.3h | 2.3.0.43 | 1.6.0.36 |
61+
| RHEL | RHEL 7.2 | 3.1.3h | 2.3.0.39 | 1.6.0.34 |
62+
63+
64+
### Commands for driver upgrade and to clean old rpm packages
65+
```
66+
* rpm -U driverpackage.rpm
67+
* rpm -e olddriverpackage.rpm
68+
```
69+
70+
* Commands to confirm:
71+
```
72+
* modinfo enic
73+
* modinfo fnic
74+
```
75+
76+
#### SUSE HLIs GRUB UPDATE FAILURE
77+
SAP on Azure HANA Large Instances (Type I) can be in a non-bootable state when updated. The below procedure fixes this.
78+
##### Steps to perform
79+
```
80+
* Take backup of file /etc/default/grub_installdevice
81+
* Run below entire script
82+
#!/bin/sh
83+
file="/etc/multipath/wwids"
84+
if [ ! -f "$file" ]
85+
then
86+
echo "$0: File '${file}' Multipath Not Configured. Configure Multipath and Rerun the Script"
87+
exit 0
88+
fi
89+
device_mapper="/dev/mapper/"
90+
device_id=`ls -l /dev/disk/by-id/ | grep -i dm-0 | grep -i mpath | awk '{print $9}' | cut -d "-" -f 4`
91+
device_mapper+=$device_id
92+
sed -i '/\/disk\/by-uuid/c '"$device_mapper"'' /etc/default/grub_installdevice
93+
```
94+
95+
#### Disable EDAC:
96+
The Error Detection And Correction (EDAC) module helps in detecting and correcting memory errors. However, the underlying hardware for SAP HNA on Azure Large Instances (Type I) is already preforming the same function. Having the same feature enabled at the hardware and Operating Ssystem (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.
97+
98+
##### Steps to perform
99+
```
100+
* Check if EDAC module is enabled. If an output is returned in below command, that means the module is enabled.
101+
lsmod | grep -i edac
102+
* Add the modules in /etc/modprobe.d/blacklist.conf file using vi editor.
103+
#vim /etc/modprobe.d/blacklist.conf
104+
* blacklist sb_edac
105+
* blacklist edac_core
106+
107+
A reboot is required to have this reflected. Module should not be listed in ‘lsmod’ command output after blacklisting.
108+
```
109+
110+
#### Kernel parameters
111+
Please make sure the correct setting for transparent_hugepage, numa_balancing, processor.max_cstate and intel_idle.max_cstate are applied.
112+
```
113+
* intel_idle.max_cstate =1
114+
* processor.max_cstate=1
115+
* transparent_hugepage=never
116+
* numa_balancing=disable
117+
```
118+
Incorrect settings have created both performance and instability issues in the past. Please follow SAP’s recommendation in your next maintenance window at the latest. Please check all your SAP HANA instances on SLES and ensure the correct setting is applied.
119+
120+
##### Steps to perform
121+
```
122+
* Add these parameters to the GRB_CMDLINE_LINUX line in the file /etc/default/grub
123+
intel_idle.max_cstate=1 processor.max_cstate=1 transparent_hugepage=never numa_balancing=disable
124+
* Create a new grub file.
125+
#grub2-mkconfig -o /boot/grub2/grub.cfg
126+
* Reboot system.
127+
```
128+
49129
## Next steps
50130
- Refer [Backup and restore](hana-overview-high-availability-disaster-recovery.md) for OS backup Type I SKU class.
51131
- Refer [OS Backup for Type II SKUs of Revision 3 stamps](os-backup-type-ii-skus.md) for Type II SKU class.

0 commit comments

Comments
 (0)