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

Table of Contents
=================
    Contents of this Directory
    The HPVM-Guest bundle
    How to install the HPVM-Guest bundle
	Installation Option #1
	Installation Option #2
    Verifying Installation

Contents of this Directory
--------------------------
    README.txt				This file.
    11iv2/				Directory with 11iv2-specific
					files.
    11iv2/hpvm_guest_depot.11iv2.sd	SD depot file, containing the
    					HPVM-Guest bundle for VMs running
					HP-UX 11iv2.
    11iv3/				Directory with 11iv3-specific
					files.
    11iv3/hpvm_guest_depot.11iv3.sd	SD depot file, containing the
    					HPVM-Guest bundle for VMs running
					HP-UX 11iv3.
    <other OS-named directory>		Directory with OS-specific files.
    patterns.vmmpat			Symbolic link to common patterns
					file.

The HPVM_Guest bundle
---------------------
The HP-UX HPVM-Guest bundle enables performance improvements in the
virtual machine's (VM) operating system, and provides the hpvminfo,
hpvmmgmt, and hpvmcollect command-line interfaces (CLI).  The HPVM-Guest
prerequisite bundle, VMGuestLib, is also included in the SD depot file.

The Integrity VM WBEM provider (bundle name VMProvider) may then be
installed on the VM (T2767BC-WBEM-PROVIDER), providing WBEM support for
that VM.

How to install the HPVM-Guest bundle
------------------------------------
The Integrity VM product contains distribution media to install the
Integrity VM software bundle HPVM-Guest.  This media is in the form of
Software Distributor (SD) tape distribution files (SD depot file)
located in OS-specific directories under /opt/hpvm/guest-images/hpux/.

Note that installation of the HPVM-Guest bundle will cause a reboot of
the VM.

This SD depot file may be used to install the HPVM-Guest bundle in two
ways.

    Installation Option #1 - Using a standard SD depot and depot server
    -------------------------------------------------------------------
Create a general-purpose SD depot on the depot server 'depot-host' at
'depot-path' (e.g., myhost.corporate.com:/your/depot) as follows:

1. Create the general-purpose depot.  Note you will need
permission to create a depot on the target host (depot-host).  See sd(5)
and swacl(1m) for more details.  To copy the depot, the following
command may be used:

# swcopy -x enforce_dependencies=false -s /opt/hpvm/guest-images/hpux/11iv2/hpvm_guest_depot.11iv2.sd \* \
@ <depot-host>:<depot-path>

For example,
# swcopy -x enforce_dependencies=false -s /opt/hpvm/guest-images/hpux/11iv2/hpvm_guest_depot.11iv2.sd \* \
@ sd.chicago.corp.com:/depot.hpvm_guest


2. Login to the 'depot-host' and register the new depot on depot-host:

# swreg -l depot <depot-path>

3. Login to the guest(s) of your choice and install:

# swinstall -x autoreboot=true -s <depot-host>:<depot-path> HPVM-Guest VMProvider


    Installation Option #2 - Install directly from SD depot file
    ------------------------------------------------------------
1. Copy the SD depot file (e.g., 11iv2/hpvm_guest_depot.11iv2.sd) to the
VM using ftp or another network copy mechanism.

2. Log in to the VM and install the bundle:

# swinstall -x autoreboot=true -s <full-path-to-depot-file> HPVM-Guest VMProvider

For example, if the 11iv2 SD depot file is in /tmp,

# swinstall -x autoreboot=true -s /tmp/hpvm_guest_depot.11iv2.sd HPVM-Guest VMProvider


Verifying the Installation
--------------------------
It is always good practice to verify the installation of any SD bundle.
For the HPVM-Guest bundle, this is accomplished with swverify as
follows:

# swverify HPVM-Guest
