Skip to content

Commit c5467d3

Browse files
authored
Update os-upgrade-hana-large-instance.md
1 parent 67db9f5 commit c5467d3

File tree

1 file changed

+5
-14
lines changed

1 file changed

+5
-14
lines changed

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

Lines changed: 5 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -78,20 +78,11 @@ Customer operating system configuration can drift from the recommended settings
7878
SAP on Azure HANA Large Instances (Type I) can be in a non-bootable state when updated. The below procedure fixes this issue.
7979
##### Steps for Execution
8080
```
81-
* Take backup of file /etc/default/grub_installdevice
82-
* Run below entire script
83-
#!/bin/sh
84-
file="/etc/multipath/wwids"
85-
if [ ! -f "$file" ]
86-
then
87-
echo "$0: File '${file}' Multipath Not Configured. Configure Multipath and Rerun the Script"
88-
exit 0
89-
fi
90-
device_mapper="/dev/mapper/"
91-
device_id=`ls -l /dev/disk/by-id/ | grep -i dm-0 | grep -i mpath | awk '{print $9}' | cut -d "-" -f 4`
92-
device_mapper+=$device_id
93-
sed -i '/\/disk\/by-uuid/c '"$device_mapper"'' /etc/default/grub_installdevice
94-
```
81+
* Execute multipath -ll command.
82+
* Get the LUN ID whose size is Approx 50G.
83+
* Update /etc/default/grub_installdevice file with line /dev/mapper/<LUN ID>. Example: /dev/mapper/3600a09803830372f483f495242534a56
84+
* Please note that LUN ID varies from server to server.
85+
9586
9687
#### Disable EDAC (The Error Detection And Correction):
9788
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 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.

0 commit comments

Comments
 (0)