RHEL

Place links and descriptions to your StarLogo Nova projects relating to the Introduction to Modeling & Simulation. If possible, put a screenshot of it as well.

Red Hat IDC Production Troubleshooting and Knowledge Based from team redhat.com

HOWTO SETUP kdump on RHEL 6.5

1. Edit the file /boot/grub/grub.conf and add crashkernel=<size>M

example:

kernel /vmlinuz-2.6.32-220.el6.x86_64 ro root=/dev/sda3 crashkernel=128M

kernel /vmlinuz-2.6.32-220.el6.x86_64 ro root=/dev/sda3 crashkernel=128M

NOTE: Make sure the system has enough memory

2. Configuring the Target Type. Edit /etc/kdump.conf and look for "path".

example:

path /var/crash

NOTE: Make sure that you remove the ("#") from the beginning of #path /var/crash

3. Enabling the Service. To start kdump daemon at boot time, turn it on using chkconfig command.

Example:

chkconfig kdump on

TIP: To start kdump manually, you run the command "service kdump start" as root.

NOTE: By default, when kdump fails to create a core dump, the root file system is mounted

and /sbin/init is run. To change this behavior, as root, open the /etc/kdump.conf configuration

file in a text editor, remove the hash sign (“#”) from the beginning of the #default shell line,

and replace the value with a desired value below:

reboot - Reboot the system, losing the core in the process.

halt - Halt the system.

poweroff - Power off the system.

shell - Run the msh session from within the initramfs, allowing a user to record the core

manually.

Example:

default halt

Please refer to the following URL for further details.

Configuring kdump on the Command Line:

https://access.redhat.com/documentation/en-US/Red_Hat_Enterprise_Linux/6/html/Deployment_Guide/s2-kdump-configuration-cli.html

Testing and configuration:

https://access.redhat.com/documentation/en-US/Red_Hat_Enterprise_Linux/6/html/Deployment_Guide/s2-kdump-configuration-testing.html

Gathering Statistics in RHEL - Command to Look for Server History

sadf -s 08:00:00 -d 17:00:00 -T -d -- -A /tmp/historyfilename.csv