Skip to content

Commit be00753

Browse files
committed
Beautify code
1 parent 6d234be commit be00753

File tree

1 file changed

+22
-4
lines changed

1 file changed

+22
-4
lines changed

articles/virtual-machines/workloads/sap/hana-large-instance-enable-kdump.md

Lines changed: 22 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -19,10 +19,12 @@ ms.custom: H1Hack27Feb2017
1919
---
2020

2121
# Enable Kdump service
22+
2223
This document describes the details on how to enable Kdump service on Azure HANA Large
2324
Instance(**Type I and Type II**)
2425

2526
## Supported SKUs
27+
2628
| Hana Large Instance Type | OS Vendor | OS Package Version | SKU |
2729
|-----------------------------|--------------|-----------------------|-------------|
2830
| Type I | SuSE | SLES 12 SP3 | S224m |
@@ -37,34 +39,50 @@ Instance(**Type I and Type II**)
3739
| Type II | SuSE | SLES 12 SP4 | S384xm |
3840

3941
## Pre-requisites
42+
4043
- Kdump service uses `/var/crash` directory to write dumps, make sure the partition corresponds to this directory has sufficient space to accommodate dumps.
44+
S
45+
4146
## Setup details
47+
4248
- Script to enable Kdump can be found [here](https://github.com/Azure/sap-hana/blob/master/tools/enable-kdump.sh)
49+
4350
- Run this script on HANA Large Instance using the below command
4451
**Note** sudo privilege needed to run this command.
4552

46-
```
53+
```bash
4754
sudo bash enable-kdump.sh
4855
```
49-
- If the command output is "Kdump is successfully enabled, please reboot the system to apply the change", then the Kdump is succesfully enabled. Reboot the system to apply changes.
56+
57+
- If the command output is "Kdump is successfully enabled, please reboot the system to apply the change", then the Kdump is successfully enabled. Reboot the system to apply changes.
58+
5059
- If the command output is "Failed to do certain operation, Exiting !!!!", then Kdump service is not enabled. Refer to section [Support issue](#support-issue).
5160

5261
## Test Kdump
62+
5363
**Note**: Below operation will trigger a kernel crash and system reboot.
5464

5565
- Trigger a kernel crash
56-
```
66+
67+
```bash
5768
echo 1 > /proc/sys/kernel/sysrq
5869
echo c > /proc/sysrq-trigger
5970
```
71+
6072
- After the system reboots successfully, check the `/var/crash` directory for kernel crash logs.
73+
6174
- If the `/var/crash` has directory with current date, then the Kdump is successfully enabled.
6275

6376
## Support issue
77+
6478
If the script fails with an error or Kdump isn't enabled, raise service request with Microsoft support team with following details.
6579

66-
* HLI subscription ID.
80+
* HLI subscription ID
81+
6782
* Server name
83+
6884
* OS vendor
85+
6986
* OS version
87+
7088
* Kernel version

0 commit comments

Comments
 (0)