Operating System - HP-UX
1753765 Members
5749 Online
108799 Solutions
New Discussion юеВ

Re: How to Create the HP-IVM

 
SOLVED
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.
2 REPLIES 2
Vinod Kumar Yadav
Trusted Contributor
Solution

Re: How to Create the HP-IVM

Hi,

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.

IVM - INTEGRITY VIRTUAL MACHINE INSTALLATION AND CONFIGURATION 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 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├Г┬в├В ├В
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>

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)

Thanks
Jai Shiv Shankar
biman saha
Occasional Contributor

Re: How to Create the HP-IVM

Hi All,


Thanks for the help