You are on page 1of 2

Xilinx Byu Netuump Besign Initial Boc:

Intiouuction We are seelng loL of kernel panlcs wlLh respecL Lo rhel4 machlnes and hence we
declded Lo run cenLrallzed neLdump server aL xllnx hyd Lo debug panlcs on Llme lollowlng are Lhe
deLalls Lo seLLlng up neLdump server as cllenL/server model

1) -eLdump server seLup

8equlremenLs l) 8PLL4/3 vm wlLh 8g space
ll) -eLapp flle share for /var/crash where vmcores of all cllenLs uploaded Lhls
should be calculaLed based on cllenLs mem slze le vmcore ls almosL equal Lo cllneL memory slze

package l) neLdumpserver
ll) kerneldebuglnfo
lll) crash rpm Lo debug panlcs

ConflguraLlon Conflgure parameLers ln /eLc/neLdumpconf as per man page and allow crash
dumps for 3 cllenLs max aL once lf same Llme panlc occurs on dlfferenL cllenLs
We conflgure neLdump wlLhouL auLhenLlcaLlon so servers can send crash dumps wlLhouL
auLhenLlcaLlon

Crash uump LocaLlon /var/crash/lpaddress/vmcore lller mounL
8andwldLh neLdump usually Lakes longer Llmes Lo generaLe crash dumps hence requlred
dedlcaLed neLwork 8uL Lhls we can LesL lL on exlsLlng neLwork lLself as Lhe probaballLy of panlc wlll be
less and can be uLlllze same neLwork


2) -eLdump cllenL seLup
8equlremneLs -eLdump package should be lnsLalled on all of cllenLs
ConflguraLlon flle /eLc/sysconflg/neLdump Conflgure neLdump server address and porL and
oLher seLLlng as per conf flle

1esLlng -eLdump server
lorce kernel panlc on one of LesL sysLem uslng followlng commands

echo 1 > /proc/sys/kernel/sysrq
echo c > /proc/sysrq-trigger

on neLdumpserver /var/crash/lpaddrLlmesLamp/vmcore wlll generLae buL Lhls wlll Lake Llme so
we have Lo monLlor


AlLernaLlve L -eLuump uslng kdump on cllenL lL self

kdump ls good uLlllLy Lo capLure crash dumps on cllenL lLself and puLLlng vmcores ln /var/crash
whlch should be common fller mounL across all servers 1he lpadress we can conflgure ln
/eLc/kdumpconf so each server vmcore can be generaLed ln Lo lLs own lpaddress dlrecLory

Llke /var/crash/lpaddrLlmesLamp/vmcore


kdump ls always much beLLer compared Lo neLdump because lLs very fasL Lo capLure crash
dump by booLlng ln Lo crash kernel wlLhouL fully rebooLlng machlne 8uL kdump works wlLh
8PLl3 8PLL6 efflclenLly

Conflgurlng kdump !usL addlng crashkernel Memslze ln grubconf wlll enable crash kernel and
seLLlngs ln /eLc/kdump needed



urawback -eLdump Lake long Llme some of neLwork card won'L supporL neLdump whlch we need
Lo check

You might also like