206 The Virtualization Cookbook for Red Hat Enterprise Linux 5.2
and Red Hat RHEL 4 and RHEL 5 have been enabled for the kernel to gather performance
data. There is a package called the Linux RMF™ PM Data Gatherer (also called rmfpms) that
runs as a user application. Both of these data gatherers work in conjunction with the IBM
z/VM Performance Toolkit.
14.3.1 Monitoring Linux with rmfpms
As a user application, the Linux RMF PM Data Gatherer (rmfpms) can be used. Currently it is
not part of an IBM product and is intended for evaluation purposes only. A description of
rmfpms is as follows:
rmfpms is a modular data gatherer for Linux. The gathered data can be analyzed using the
RMF PM client application. The performance data is accessible through XML over HTTP
so you can easily exploit it in your own applications.
The following Web site is a starting point:
http://www-03.ibm.com/servers/eserver/zseries/zos/rmf/rmfhtmls/pmweb/pmlin.html
To download the data gatherer, scroll down and look for the following text and links:
* 31 bit data gatherer (kernel24 - 630 KB, kernel26 - 1040 KB).
* 64 bit data gatherer (kernel24 - 650 KB, kernel26 - 666 KB).
You can download the appropriate gatherer using a browser, or if you have access to the
Internet, you can use an FTP client. You will want one of two files, depending on whether you
have a 31-bit or 64-bit kernel:
rmfpms_s390_kernel26.tgz - for 31-bit distributions
rmfpms_s390x_kernel26.tgz - for 64-bit distributions
If you cannot access Internet directly from your Linux image, download the tar file to your
workstation and copy it to Linux. Following is an example of downloading the tar file for 64-bit
distributions directly from the Internet. Get an SSH session on the controller or any other
virtual server.
1. Change directory to /usr/local/src/:
# cd /usr/local/src
2. Download the appropriate tar file with the wget command. For a 64-bit SLES 9 and for
SLES 10, use:
# wget ftp://ftp.software.ibm.com/eserver/zseries/zos/rmf/rmfpms_s390x_kernel26.tgz
--17:26:26--
ftp://ftp.software.ibm.com/eserver/zseries/zos/rmf/rmfpms_s390x_kernel26.tgz
=> `rmfpms_s390x_kernel26.tgz'
Resolving ftp.software.ibm.com... 9.17.252.40
Connecting to ftp.software.ibm.com[9.17.252.40]:21... connected.
Logging in as anonymous ... Logged in!
...
100%[====================================>] 1,097,125 538.93K/s
17:26:32 (537.12 KB/s) - `rmfpms_s390x_kernel26.tgz' saved [1097125]
3. For RHEL 4 and RHEL 5, use the following wget command:
# wget ftp://ftp.software.ibm.com/eserver/zseries/zos/rmf/rmfpms_s390x_kernel26_rhel4.tgz
4. Untar the file with the tar command and change to the rmfpms/ directory:
# tar xzf rmfpms_s390x_kernel26.tgz
# ls
rmfpms rmfpms_s390x_kernel26.tgz
# cd rmfpms/
Comentarios a estos manuales