From Fedora Project Wiki
(create server services bootchart test case) |
m (QA/Testcase bootchart server moved to QA:Testcase bootchart server: Move to QA namespace per jlaska's advice) |
||
(4 intermediate revisions by 2 users not shown) | |||
Line 1: | Line 1: | ||
{{QA/Test_Case | {{QA/Test_Case | ||
|description=This test case helps you generate and upload boot speed data when booting with | |description=This test case helps you generate and upload boot speed data when booting with a typical set of services for a server. | ||
|actions= | |actions= | ||
# Ensure Bootchart is installed according to [[Bootchart|these instructions]] | # Ensure Bootchart is installed according to [[Bootchart|these instructions]] | ||
# Ensure you have reported your system information to [http://www.smolts.org Smolt] according to [http://smolts.org/smolt-wiki/Main_Page#Usage these instructions] | # Ensure you have reported your system information to [http://www.smolts.org Smolt] according to [http://smolts.org/smolt-wiki/Main_Page#Usage these instructions] | ||
# Ensure the ''readahead'' package is installed, with yum or the graphical package manager | # Ensure the ''readahead'' package is installed, with yum or the graphical package manager | ||
# Edit the file ''/etc/sysconfig/readahead'' and change ''READAHEAD="yes"'' to '' | # Edit the file ''/etc/sysconfig/readahead'' and change ''READAHEAD="yes"'' to ''READAHEAD="no"'' if it is currently set to yes | ||
# Using '''system-config-services''' or '''ntsysv''', ensure that only the following services are activated at boot: acpid, atd, auditd, cpuspeed, crond, cups, gpm, haldaemon, httpd, ip6tables, iptables, irqbalance, lm_sensors, mdmonitor, messagebus, microcode_ctl, mysqld, named, netfs, network, nfs, nfslock, nscd, ntpd, pcscd, portreserve, rpcbind, rpcgssd, rpcidmapd, rsyslog, sendmail, smartd, smolt, sshd, udev-post | # Using '''system-config-services''' or '''ntsysv''', ensure that only the following services are activated at boot: acpid, atd, auditd, cpuspeed, crond, cups, gpm, haldaemon, httpd, ip6tables, iptables, irqbalance, lm_sensors, mdmonitor, messagebus, microcode_ctl, mysqld, named, netfs, network, nfs, nfslock, nscd, ntpd, pcscd, portreserve, rpcbind, rpcgssd, rpcidmapd, rsyslog, sendmail, smartd, smolt, sshd, udev-post | ||
# Reboot the system | # Reboot the system | ||
# Log in, then run this command (from your home directory, or from a specially created directory if you want to keep things tidy): | # Log in, then run this command (from your home directory, or from a specially created directory if you want to keep things tidy): <pre>cp /var/log/bootchart.tgz ./Bootchart-`head -n1 /etc/sysconfig/hw-uuid`-server.tgz</pre> | ||
# Edit the file ''/etc/sysconfig/readahead'' and change ''READAHEAD="no"'' to '' | # Edit the file ''/etc/sysconfig/readahead'' and change ''READAHEAD="no"'' to ''READAHEAD="yes"'' if it is currently set to no | ||
# Type: <pre>touch /.readahead_collect</pre> | |||
# Reboot, then as soon as the system is fully booted, reboot again | # Reboot, then as soon as the system is fully booted, reboot again | ||
# Log in, then run this command (from your home directory, or from a specially created directory if you want to keep things tidy): | # Log in, then run this command (from your home directory, or from a specially created directory if you want to keep things tidy): <pre>cp /var/log/bootchart.tgz ./Bootchart-`head -n1 /etc/sysconfig/hw-uuid`-server-ra.tgz</pre> | ||
# Optionally, you can run the command ''bootchart'' as root to generate a bootchart image, then save that with a similar, unique filename | # Optionally, you can run the command ''bootchart'' as root to generate a bootchart image, then save that with a similar, unique filename | ||
|results= | |results= |
Latest revision as of 22:54, 24 February 2009
Description
This test case helps you generate and upload boot speed data when booting with a typical set of services for a server.
How to test
- Ensure Bootchart is installed according to these instructions
- Ensure you have reported your system information to Smolt according to these instructions
- Ensure the readahead package is installed, with yum or the graphical package manager
- Edit the file /etc/sysconfig/readahead and change READAHEAD="yes" to READAHEAD="no" if it is currently set to yes
- Using system-config-services or ntsysv, ensure that only the following services are activated at boot: acpid, atd, auditd, cpuspeed, crond, cups, gpm, haldaemon, httpd, ip6tables, iptables, irqbalance, lm_sensors, mdmonitor, messagebus, microcode_ctl, mysqld, named, netfs, network, nfs, nfslock, nscd, ntpd, pcscd, portreserve, rpcbind, rpcgssd, rpcidmapd, rsyslog, sendmail, smartd, smolt, sshd, udev-post
- Reboot the system
- Log in, then run this command (from your home directory, or from a specially created directory if you want to keep things tidy):
cp /var/log/bootchart.tgz ./Bootchart-`head -n1 /etc/sysconfig/hw-uuid`-server.tgz
- Edit the file /etc/sysconfig/readahead and change READAHEAD="no" to READAHEAD="yes" if it is currently set to no
- Type:
touch /.readahead_collect
- Reboot, then as soon as the system is fully booted, reboot again
- Log in, then run this command (from your home directory, or from a specially created directory if you want to keep things tidy):
cp /var/log/bootchart.tgz ./Bootchart-`head -n1 /etc/sysconfig/hw-uuid`-server-ra.tgz
- Optionally, you can run the command bootchart as root to generate a bootchart image, then save that with a similar, unique filename
Expected Results
- Two different sets of boot speed data should be generated and saved with unique file names.