본문 바로가기
HW Knowledge/Hewlett-Packard Enterprise

SY480 Gen10/RHEL 7.5 - Kdump 구성

by 스쳐가는인연 2019. 8. 8.

테스트 환경:
Linux Host(SY480 Gen10) + 3PAR Storage

1. Configure BIOS
1) Set Default use BIOS Memu
2) Set HPC or Virtualization - Max Performance

3) VSP Configuration ----------------
BIOS/Platform Configuration (RBSU) > System Options > Serial Port Options >
- Embedded Serial Port > COM1
- Virtual Serial Port > COM2

- BIOS Serial Console and EMS
-> Select BIOS Serial Console Port -> "Auto" to "Virtual Serial Port"
-> Select BIOS Serial Console Emulation Mode -> VT100+ (default).
-> Select BIOS Serial Console Baud Rate -115200 (default).
-> EMS Console -> Disabled (default)
---------------------------------------

2. connects via ssh to iLO IP Address
hpiLO-> vsp

3. Install RHEL 7.5 (Server with GUI + Compatibility Libraries)
- enabled kdump - 384MB (set manually)

4. Configure Network
# systemctl stop NetworkManager
# systemctl disable NetworkManager

# vim /etc/sysconfig/network-scripts/ifcfg-ens3f0
cf. ifcfg-ens3f0 - dhcp or static assign IP Address (eth port)

5. Install SPP2019.03.1

6. Configure VSP from Host
# vim /etc/default/grub

add below line's tail - "console=tty0 console=ttyS1,115200"
GRUB_CMDLINE_LINUX="crashkernel=384M rd.lvm.lv=rhel/root rd.lvm.lv=rhel/swap rhgb quiet console=tty0 console=ttyS1,115200"

skip this for next (duplicate) -----
# grub2-mkconfig -o /boot/grub2/grub.cfg
# grub2-mkconfig -o /boot/efi/EFI/redhat/grub.cfg

# reboot
------------------------------------

7. Configure Kdump
A. Mount DVD Media
# mkdir /media/odd
# mount -o loop /dev/cdrom /media/odd

B. Edit configuration
# vim /etc/yum.repos.d/RH7-DVD.repo

It may like below ----------------------
[RHEL7-DVD]
NAME=RHEL7-DVD
BASEURL=file:///media/odd
ENABLED=1
GPGCHECK=0
------------------------------------------

C. Update list Repo
# yum repolist all

D. Check rpm
# rpm -qa | grep kexec-tools

if not exsist
# yum install kexec-tools

E. Add Kernel Parameters
# vim /etc/default/grub
GRUB_CMDLINE_LINUX="crashkernel=384M rd.lvm.lv=rhel/root rd.lvm.lv=rhel/swap rhgb quiet console=tty0 console=ttyS1,115200 nmi_watchdog=1"

# grub2-mkconfig -o /boot/grub2/grub.cfg
# grub2-mkconfig -o /boot/efi/EFI/redhat/grub.cfg

F. Add Kernel Parameters
# vim /etc/sysctl.conf
kernel.unknown_nmi_panic = 1
kernel.panic_on_unrecovered_nmi = 1
kernel.panic_on_io_nmi = 1
kernel.panic_on_oops = 1
kernel.panic = 1
kernel.sysrq = 1

G. Check Service
# systemctl status kdump.service

# reboot

8. Trigger crash
A. via Magic key.
# echo c > /proc/sysrq-trigger

B. via Virtual NMI Button from iLO

C. Check creation state of Crash Dump
# ll /var/crash

^^^ for Local volume
-----------------------------------------------------------
v v v for Remote volume (Boot from SAN)

Synergy 480 Gen10 - FCoE port of Server Profile

1. Configure/Check BIOS for BFS
---------------------------------
Configure Network Boot
System Utilities > System Configuration > BIOS/Platform Configuration (RBSU) > Network Options > Network Boot Options > PCIe Slot Network Boot
set Network Boot from port(s)

Configure FC/FCoE Scan Policy
System Utilities > System Configuration > BIOS/Platform Configuration (RBSU) > Storage Options > Fibre Channel/FCoE Scan Policy
set Scan Configured Targets Only

Configure UEFI POST Discovery Mode
System Utilities > System Configuration > BIOS/Platform Configuration (RBSU) > System Options > Boot Time Optimizations > UEFI Post Discovery Mode
set Auto or Force Full Discovery

Check
Device Hardware Configuration
MBA Configuration > Legacy Boot Protocol
set FCoE
FCoe Boot Configuration > FCoE General Parameters > Boot to FCoE Target
set Enabled
FCoe Boot Configuration > FCoE General Parameters > HBA Boot Mode
check Enabled

FCoe Boot Configuration > FCoE Target Parameters
set Connect # Enabled and Boot LUN #
---------------------------------

1. Install RHEL 7.5 to BFS / remote volume (Server with GUI + Compatibility Libraries)
- Network & Hostname > ens3f2 (BFS port) > General > Automatically connect to this network when it is available

2. Check FCoE port
# cat /etc/sysconfig/network-scripts/ifcfg-fcoe0
TYPE=Ethernet
DEVICE=ens3f2
ONBOOT=yes

그 외 항목들은 Local volume 구성과 동일

 

반응형