LinuxQuestions.org
View the Most Wanted LQ Wiki articles.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Virtualization and Cloud
User Name
Password
Linux - Virtualization and Cloud This forum is for the discussion of all topics relating to Linux Virtualization and Linux Cloud platforms. Xen, KVM, OpenVZ, VirtualBox, VMware, Linux-VServer and all other Linux Virtualization platforms are welcome. OpenStack, CloudStack, ownCloud, Cloud Foundry, Eucalyptus, Nimbus, OpenNebula and all other Linux Cloud platforms are welcome. Note that questions relating solely to non-Linux OS's should be asked in the General forum.

Notices

Reply
 
Search this Thread
Old 08-12-2011, 03:47 PM   #1
bweaver
Member
 
Registered: Nov 2010
Posts: 44

Rep: Reputation: 0
capturing logs of random reboots on Debian Squeeze + Xen


We are testing a 2-node cluster, with both nodes running Debian Squeeze (6.0.2.1) + Xen 4.0.2. The vms are stored on SAN using an ocfs2 filesystem.

We are stress-testing the system by creating 2 vms, and migrating these vms back and forth from one node to the other. Meanwhile, the 2 vms are passing back and forth between them a large file (4.6 Gb) via nfs filesharing.

Under this network load, the vms run for several hours, then crash. Sometimes one or both nodes also crash and then reboot.

We want to capture the logs recording the failure.

But all relevant logs (messages, kern.log, boot, etc.) seem to be erased on reboot. All we have are messages beginning thus:

imklog 4.2.0, log source = /proc/kmsg started.


What is the best way to capture a log of the last few seconds of system operation without the subsequent crash or reboot erasing or overwriting these logs?
 
Old 08-13-2011, 09:26 AM   #2
nxja
Member
 
Registered: Feb 2007
Location: Within The Universe, usually
Distribution: If I tell you, you will kill me.
Posts: 77

Rep: Reputation: 17
if you're sure (or not...) the logs are erased on reboot rather just not being written, perhaps immediately after crash, bootup from other partition or live, then read the logs?
 
Old 08-16-2011, 01:30 PM   #3
bweaver
Member
 
Registered: Nov 2010
Posts: 44

Original Poster
Rep: Reputation: 0
Thanks

Thanks!--this is a good idea.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Various segmentation faults Debian Squeeze Virtualbox running on Debian Squeeze host fordwrench Debian 1 07-21-2011 04:55 AM
LXer: Paravirtualization With Xen 4.0 On Debian Squeeze (AMD64) LXer Syndicated Linux News 1 04-09-2011 10:04 PM
[SOLVED] Xen on debian squeeze bneacsa Debian 1 04-08-2011 08:25 PM
LXer: How To Upgrade Debian Lenny (Debian 5.0) To Squeeze (Debian 6.0) On Xen VPS LXer Syndicated Linux News 0 03-09-2011 06:20 AM
Random Reboots n9066r Linux - Server 14 12-24-2008 11:57 AM


All times are GMT -5. The time now is 12:13 AM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration