Showing results for 
Search instead for 
Did you mean: 

How to Create the HP-IVM

Go to solution
biman saha
Occasional Contributor

How to Create the HP-IVM

I have 1 balde Server BL860C & i want to create 2 IVM -HP-UX VMGUEST

Please Send Procedure.
Vinod Kumar Yadav
Trusted Contributor

Re: How to Create the HP-IVM


Creating a IVM Virtual Machine in the Itanium.

You can Install from Remote PC with insert DVD on that PC or with Ignite Server.

Please follow the step by step creation & installation of Virtual Machine.

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


(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
#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 and #hpvmstatus â  r

(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â Â
#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

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:-
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>

12. To switch between VM Host MP and VM Guest MP use cntl+x

13. 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.

14. To attach a tape drive to a VM Guest
Hpvmmodify -P vm00 -a tape: SCSI: attach: /dev/rscsi/c1t3d0 (it should be /dev/rmt/cXtXdXBEST)

Jai Shiv Shankar
biman saha
Occasional Contributor

Re: How to Create the HP-IVM

Hi All,

Thanks for the help