HPVM - Integrity Virtual Machine Installation and Configuration Steps

INTEGRITY VIRTUAL MACHINE INSTALLATION AND CONFIGURATION

Advantages:
This is installed on servers which do not support vPar or nPar. Resources such as processors, memory disk devices can be assigned from the VM Host and can be modified later at any point of time. Modifying of resources such as cpu, memory as of now in version 3 is not dynamic and requires a reboot of the VM Guest. Dynamic assigning will be possible after release of version 3.5 in Dec’07.

Pre-Requisites to Installation:

Install the OS on the physical server where the virtual servers will be installed. The physical server on which the virtual servers will reside is called VM Host and virtual servers called as VM Guests.

Integrity Virtual Machine can be installed only from OS Media HPUX 11.23 May 2005 or later.
Install software Integrity Virtual Machine product # T2767AC
Install the two required patches PHKL_32158 & PHKL_33312 (please check at ITRC for the superseded patch)


Installation Procedure:

1. Create a virtual network switch
#hpvmnet –c –S vmsw1 –n 1

Where ‘c’ is for create, ‘S’ is for the virtual switch name and ‘n’ is the lan port so in this case it is lan1

Stop and start the vm by:
#cd /sbin/init.d
#./hpvm stop
#./hpvm start

Check the config for virtual switch

#hpvmnet

(Kindly remember to restart the hpvm services whenever a virtual switch is presented. If two virtual switch is required then assign both virtual switches and then once restart the hpvm services)

2. Create VM Guest with dedicated processor and memory

#hpvmcreate –P vm00 –c3 –r12G
                                Or
#hpvmcreate –P vm00 –e30 –r12G

Where “c” is the no of cpu , “e” is the percentage of cpu and “r” is the amount of memory in GB and ‘vm00’ is the VM Guest


3. Present an OS virtual disk to the VM Guest
#hpvmmodify –P vm00 -a disk:scsi::disk:/dev/rdsk/c2t0d0
(Use raw device in case of scsi device)

As per best practice in case of San LUN create a vg then an lv and map the lv to the VM Guest by following command
# hpvmmodify –P vm00 -a disk:scsi::lv:/dev/vg01/rlvol1
Raw devices from SAN also can be presented.

4. Present the DVD for installaion to the VM Guest
#hpvmmodify –P vm00 -a dvd:scsi::disk:/dev/rdsk/c0t0d0

5. For creating a global disk which will be shared among multiple guests
#hpvmdevmgmt -a gdev:/dev/rdsk/c8t0d3
#hpvmdevmgmt -m gdev:/dev/rdsk/c8t0d3:attr:SHARE=YES

6. Present the virtual switch to the VM Guest
#hpvmmodify –P vm00 -a network:lan::vswitch:vmsw1

7. Check the VM Guest resources
#hpvmstatus
(It would show all the VM Guests with disks, lans and dvd )

8. Boot the vm Guest and install OS:-
#hpvmconsole -P vm00 –Ffi –c ‘pc –on’
                                Or
#hpvmconsole –P vm00
Then go to CM and type command “PC”
(This will boot the VM Guest and start the installation, go to advanced installation and provide system details)

9. Installation reboots the VM Guest twice and then it comes to the login prompt.

10. After the installation is complete unpresent the DVD drive to take out the OS media :
#hpvmmodify –P vm00 -d dvd:scsi::disk:/dev/rdsk/c0t0d0

11. In order to access a VM Guest console from the VM Host: -

# hpvmconsole –P vm00

This will bring the vm00 (VM Guest) MP menu as follows:-

   MP MAIN MENU

         CO: Console
         CM: Command Menu
         CL: Console Log
         SL: Show Event Logs
         VM: Virtual Machine Menu
         HE: Main Help Menu
          X: Exit Connection

[vm00] vMP>

11. To switch between VM Host MP and VM Guest MP use cntl+x
12. Procedure to insert  and eject DVD from the VM Guest :
type “VM” from the MP of VM Guest
                Then type “in” to insert or “ej” to eject.




0 comments:

Post a Comment

Blogger Tips and TricksLatest Tips And TricksBlogger Tricks