You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
@@ -37,34 +39,50 @@ Instance(**Type I and Type II**)
37
39
| Type II | SuSE | SLES 12 SP4 | S384xm |
38
40
39
41
## Pre-requisites
42
+
40
43
- 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
+
41
46
## Setup details
47
+
42
48
- Script to enable Kdump can be found [here](https://github.com/Azure/sap-hana/blob/master/tools/enable-kdump.sh)
49
+
43
50
- Run this script on HANA Large Instance using the below command
44
51
**Note** sudo privilege needed to run this command.
45
52
46
-
```
53
+
```bash
47
54
sudo bash enable-kdump.sh
48
55
```
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
+
50
59
- If the command output is "Failed to do certain operation, Exiting !!!!", then Kdump service is not enabled. Refer to section [Support issue](#support-issue).
51
60
52
61
## Test Kdump
62
+
53
63
**Note**: Below operation will trigger a kernel crash and system reboot.
54
64
55
65
- Trigger a kernel crash
56
-
```
66
+
67
+
```bash
57
68
echo 1 > /proc/sys/kernel/sysrq
58
69
echo c > /proc/sysrq-trigger
59
70
```
71
+
60
72
- After the system reboots successfully, check the `/var/crash` directory for kernel crash logs.
73
+
61
74
- If the `/var/crash` has directory with current date, then the Kdump is successfully enabled.
62
75
63
76
## Support issue
77
+
64
78
If the script fails with an error or Kdump isn't enabled, raise service request with Microsoft support team with following details.
0 commit comments