Operating System - HP-UX
1834090 Members
2044 Online
110063 Solutions
New Discussion

Re: Create Virtual Machine

 
cheesytime
Regular Advisor

Create Virtual Machine

Hello,

I have an Itanium box lying around at work and threw Datacenter Edition on it, got IVM installed as well.

I would like to know wether if its possible to create a virtual machine using an ignite image I have on a remote box.

Anywhere to read on this?

THANKS
3 REPLIES 3
sujit kumar singh
Honored Contributor

Re: Create Virtual Machine

hi


u can do as follows
1) create the VM guests.
2) set up an ignite server of Golden Image
3) setup /etc/bootptab on the Ignite server putting the MAC Address of the VM guests and temporary IP address there in.
4) boot the VM, go to the VM console and do a network boot of the VM thru the ignite server and install HP-UX on the VMs.

you can refer to the IVM install and Config guide as the HP-UX as well as the IVM version.


One is

http://www.docs.hp.com/en/T2767-90180/T2767-90180.pdf


regards
sujit
Michal Kapalka (mikap)
Honored Contributor

Re: Create Virtual Machine

Vinod Kumar Yadav
Trusted Contributor

Re: Create Virtual Machine

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