# (C) Copyright 2000-2008 Hewlett-Packard Development Company, L.P.
# README.txt
# RHEL "Guest Kit" Notes and Procedures:

Table of Contents
=================
    Contents of this Directory
    The HPVM-Guest bundle
    Known Issues
    How to install the HPVM bundles
    Running the SCSI timeout command

Contents of this Directory
--------------------------
    README.txt				This file.
    hpvm-4.1.0-x-rhel.ia64.rpm		RPM file, containing the 
					HPVM-Guest bundle for VMs running
					RHEL Linux.
    hpvmprovider-4.1.0-x-rhel.ia64.rpm	RPM file, containing the 
					vmprovider bundle for VMs running
					RHEL Linux.

NOTE: For the RPM files replace 'x' with the current number in the kit.


The HPVM-Guest bundle
--------------------- 
The Linux HPVM-Guest bundle enables performance improvements in the
virtual machine's (VM) operating system, and provides the hpvminfo and
hpvmcollect command-line interfaces (CLI).


The HPVM provider bundle
------------------------ 
The Linux HPVM provider bundle installs the Integrity VM WBEM provider.
To install this bundle the HPVM-Guest bundle must be installed.


Known Issues:
--------------
The default SCSI timeout in RHEL is 30 seconds. This is too low for
virtual devices and can result in these errors

<4>mptscsi: ioc0: attempting task abort! (sc=e000000039784d00)
<4>scsi0 : destination target 3, lun 0
<4>        command = Write (10) 00 00 1c 22 91 00 0f 48 00
<6>mptbase: ioc0: IOCStatus(0x004a): SCSI Task Management Failed
<4>mptscsi: ioc0: task abort: SUCCESS (sc=e000000039784d00)


How to install the HPVM bundles
-------------------------------
The Integrity VM product contains distribution media to install the
Integrity VM software bundles HPVM-Guest and HPVM-Provider.  This media
is in the form of Redhat Package Manager (RPM) file located in
OS-specific directories under /opt/hpvm/guest-images/linux/.


Installation Option - Install the provider, support files and 
SCSI timeout changes.
-------------------------------------------------------------
1) Connect to, and log into your Linux guest as root.

2) Change directory to /tmp (or some other location to place the file)
# cd /tmp

3) Connect to and log into your VM Host system as "root" using FTP.
Note: You may need to enable root ftp access on your VM Host.
(See ftpd(1M) on the VM Host for instructions)

Install Procedure:

# ftp VMHost.YourCompany.com
ftp> cd /opt/hpvm/guest-images/linux/RHEL
ftp> binary
ftp> get hpvm-4.1.0-x-rhel.i164.rpm
ftp> get hpvmprovider-4.1.0-x-rhel.i164.rpm
ftp> quit

4) Install the RPM files
# rpm -i hpvm-4.1.0-x-rhel.ia64.rpm
# rpm -i hpvmprovider-4.1.0-x-rhel.ia64.rpm


To uninstall the provider and support files
# rpm -e hpvmprovider
# rpm -e hpvm


Running the SCSI timeout command
--------------------------------
Once the HPVM-Guest bundle is installed, the SCSI disk timeout command
will automatically set the timeout from 30 to 300 seconds at every boot.

You can also run this script yourself.

To view the current timeout settings:

# /etc/rc.d/init.d/sdtimeout view

To set them to 300 seconds:

# /etc/rc.d/init.d/sdtimeout start

To set them back to 30 seconds:

# /etc/rc.d/init.d/sdtimeout stop

NOTE: This script will only set the timeout for those disks seen at boot
time. Disks added after boot time will still use the 30 sec default. Run
the script to change new disks to 300 sec.
