this is obsolete doc -- see http://doc.nethence.com/ instead

HPVM (Integrity VM) installation 

 

 

Introduction 

To install HPVM, you need one of those : 

- Base OE + HPVM (on Application Software DVD1 and DVD2) 

- VSOE (VMKernelSW on DVD1 and the rest on DVD2) 

 

 

System post-installation 

View what's already installed, 

swlist | grep -i 'integrity vm'

Note. after the installation you should get those, 

T2767BC                       B.04.00        Integrity VM
VMGuestLib                    B.04.00        Integrity VM Guest Support Libraries
VMKernelSW                    B.04.00        Integrity VM Kernel Software

 

Exrequesties 

Make sure there's *no* HFS entry in the fstab, 

grep -i hfs /etc/fstab

make sure *none* of the both bundles are installed, 

swlist | grep HPSIM-HP-UX
swlist -l bundle | grep VirtualPartition

 

 

HPVM installation 

Here's various ways to install HPVM. Take your pick. 

 

a) During the installation with VSOE 

You need HP/UX VSOE. During installation, add those -OE- Optional : 

Yes       T2767BC(OE)          Integrity VM
Yes       VMKernelSW(OE)       Integrity VM Kernel

Note. and eventually those, 

No        VseAssist(OE)        Virtual Server Envi
No        VSEMgmt(OE)          Virtual Server Envi

 

b) With the DVDs 

On Base OE, you need Application Software DVD1 and 2. 

On VSOE, you need VSOE DVD 1 and 2. 

 

Look for CD/DVD device, 

ioscan -fnC disk

 

Put DVD1 in tray, mount it and install the Integrity VM kernel bundle, 

mkdir -p /cdrom
mount /dev/deviceFileSystem/Usb/MassStorage/dsk/disk@... /cdrom
swlist -s /cdrom | grep -i kernel
cd /
swinstall -x autoreboot=true -s /cdrom VMKernelSW

note. no need to unmount, reboot in progress... 

note. absolute path to '/cdrom' is mandatory (otherwise it trys to contact a hostname) 

 

Once rebooted put DVD2 in tray, mount it and install the Integrity VM bundle, 

mount /dev/deviceFileSystem/Usb/MassStorage/dsk/disk@... /cdrom
swlist -s /cdrom | grep VM
cd /
swinstall -x autoreboot=true -s /cdrom T2767BC
umount /cdrom

 

c) With ISO images 

Send the ISO image through FTP and prepare the mount points (11.31 method), 

lvcreate -n cdrom1 -L 5000 vg00
lvcreate -n cdrom2 -L 5000 vg00
cd /var/tmp
dd if=baseoe1.iso of=/dev/vg00/rcdrom1 bs=4096k
dd if=baseoe2.iso of=/dev/vg00/rcdrom2 bs=4096k
#dd if=vsoe1.iso of=/dev/vg00/rcdrom1 bs=4096k
#dd if=vsoe2.iso of=/dev/vg00/rcdrom2 bs=4096k
  mkdir -p /cdrom1
  mkdir -p /cdrom2

Note. lvcreate -L in MB 

Note. dd against the raw device (rcdx) 

 

Install the Integrity VM kernel bundle, 

mount /dev/vg00/cdrom1 /cdrom1
swlist -s /cdrom1 | grep -i kernel
swinstall -x autoreboot=true -s /cdrom1 VMKernelSW

note. no need to unmount, reboot in progress... 

note. absolute path to '/cdrom1' is mandatory (otherwise it trys to contact a hostname) 

 

Install the Integrity VM bundle, 

mount /dev/vg00/cdrom2 /cdrom2
swlist -s /cdrom2 | grep VM
swinstall -x autoreboot=true -s /cdrom2 T2767BC
umount /cdrom2

 

 

HPVM post-installation 

Check everything's fine, 

hpvmstatus

Note. if you get "HPVM currently not running", disable Hyperthreading and reboot, 

setboot -m off
shutdown -r -y now

 

Create a test guest, check it and remove it, 

hpvmcreate -P testguest
hpvmstatus
hpvmremove -P testguest

 

 

References 

HP Integrity Virtual Machines : http://docs.hp.com/en/vse.html#HP%20Integrity%20Virtual%20Machines 

4.0 relnotes : http://docs.hp.com/en/T2767-90179/index.html 

4.0 config : http://docs.hp.com/en/T2767-90141/index.html 

4.1 relnotes : http://docs.hp.com/en/T2767-90191/index.html 

4.1 config : http://docs.hp.com/en/T2767-90180/index.html 

Software Deport home : http://software.hp.com/