- Community Home
- >
- Servers and Operating Systems
- >
- ProLiant
- >
- ProLiant Servers (ML,DL,SL)
- >
- how to use Linux Magic SysRq with ILO 2
-
- Forums
-
Blogs
- Alliances
- Around the Storage Block
- Behind the scenes @ Labs
- HPE Careers
- HPE Storage Tech Insiders
- Infrastructure Insights
- Inspiring Progress
- Internet of Things (IoT)
- My Learning Certification
- OEM Solutions
- Servers: The Right Compute
- Shifting to Software-Defined
- Telecom IQ
- Transforming IT
- Infrastructure Solutions German
- L’Avenir de l’IT
- IT e Trasformazione Digitale
- Enterprise Topics
- ИТ для нового стиля бизнеса
- Blogs
-
Quick Links
- Community
- Getting Started
- FAQ
- Ranking Overview
- Rules of Participation
- Contact
- Email us
- Tell us what you think
- Information Libraries
- Integrated Systems
- Networking
- Servers
- Storage
- Other HPE Sites
- Support Center
- Enterprise.nxt
- Marketplace
- Aruba Airheads Community
-
Forums
-
Blogs
-
InformationEnglish
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
09-09-2014 07:51 AM
09-09-2014 07:51 AM
how to use Linux Magic SysRq with ILO 2
Hi,
i'd like to use the linux Magic SysRq with an ILO network adapter. I managed to get the virtual serial port running. While googleing a lot, i found that the SysRq has to be initiated in a serial connection with ESC-Ctrl-B (break) and afterwards the key for the desired SysRq function. But that doesn't work. When i press ESC-CTRL-B quickly sucessively and afterwards one key for the desired SysRq-function, e.g. 'S' for sync, i always get a help message for SysRq:
Sep 9 16:30:20 sunhb58820 kernel: [ 6948.509447] SysRq : HELP : loglevel(0-9) reBoot Crash terminate-all-tasks(E) memory-full-oom-kill(F) kill-all-tasks(I) thaw-filesystems(J) saK show-backtrace-all-active-cpus(L) show-memory-usage(M) nice-all-RT-tasks(N) powerOff show-registers(P) show-all-timers(Q) unRaw Sync show-task-states(T) Unmount force-fb(V) show-blocked-tasks(W) dump-ftrace-buffer(Z)
Using any letter like Q or T or W does not work. I always get the help message, just numbers to change the loglevel (0-9) work.
Any help appreciated
Bernd
P.S. IT's a ILO 2 adapter, firmware 2.25, host ML 350 G6, system ROM 07/02/2013
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
09-10-2014 06:27 AM
09-10-2014 06:27 AM
Re: how to use Linux Magic SysRq with ILO 2
I used /proc/sys/kernel/sysrq-key which is usually mapped to 84 (PrintScreen) and remapped it to 109 (PgDown). Here have the steps :
1) Add "kernel.sysrq-key = 109 into /etc/sysctl.conf
2) Modify the kernel value with
# echo 109 > /proc/sys/kernel/sysrq-key
3) Map PgDown+p to a hot key in the Virtual Console for ILO (to test that SysRq is working)
Hope It helps.
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
09-10-2014 06:50 AM
09-10-2014 06:50 AM
Re: how to use Linux Magic SysRq with ILO 2 - SOLVED
Hi,
i solved it. All the pages i found while googleing didn't help me. They all said i have to use the break signal and afterwards the specific key for the desired function. But it didn't work. Finally i selected "Remote Console" ==> "Settings" ==> "Hot keys" and mapped the existing hotkeys (CTRL + key) to the desired function of Magic SysRq.
Everything is fine now :-))
Bernd
Hewlett Packard Enterprise International
- Communities
- HPE Blogs and Forum
© Copyright 2019 Hewlett Packard Enterprise Development LP