Operating System - HP-UX
1753776 Members
7333 Online
108799 Solutions
New Discussion юеВ

Re: How to create a virtual machine (guest) on Integrity VM host

 
SOLVED
Go to solution
senthil_kumar_1
Super Advisor

How to create a virtual machine (guest) on Integrity VM host

Hi All,

I want to create a virtual machine (guest) on Integrity VM host.

I have queries about creating VMs

1)What is the command and syntax is used to create VMs?

2)How to allocate cpu, memory, disks and other important things?


3)Is the disk space taken form available space of host?

4)can we assign the LUN (storage disk) directly to VMs?

13 REPLIES 13
Torsten.
Acclaimed Contributor

Re: How to create a virtual machine (guest) on Integrity VM host

Hi,

how about RTFM?

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

Hope this helps!
Regards
Torsten.

__________________________________________________
There are only 10 types of people in the world -
those who understand binary, and those who don't.

__________________________________________________
No support by private messages. Please ask the forum!

If you feel this was helpful please click the KUDOS! thumb below!   
senthil_kumar_1
Super Advisor

Re: How to create a virtual machine (guest) on Integrity VM host

what is RTFM?
Torsten.
Acclaimed Contributor

Re: How to create a virtual machine (guest) on Integrity VM host

This is something you must know.


Google this!



;-)

Hope this helps!
Regards
Torsten.

__________________________________________________
There are only 10 types of people in the world -
those who understand binary, and those who don't.

__________________________________________________
No support by private messages. Please ask the forum!

If you feel this was helpful please click the KUDOS! thumb below!   
senthil_kumar_1
Super Advisor

Re: How to create a virtual machine (guest) on Integrity VM host

Is it "Read The Fine Manual"?
Emil Velez
Honored Contributor
Solution

Re: How to create a virtual machine (guest) on Integrity VM host


Its very very easy if the system has the correct software loaded.

HP has a RAIL (remote) class which covers all of the options just on Virtual Machines

http://www.hp.com/education

# first create a virtual switch sharing lan0
hpvmnet -c -S switch1 -n 0
hpvmnet -b -S switch1
# create a vm called vm1 with 20% CPU
hpvmcreate -P vm1 -e 20
# add a lan card to the VM
hpvmmodify -P vm1 -a network:lan:1,0,aabbccdd0005:vswitch:switch1
# add a disk for the vm that is dedicated to it.

ioscan -funCdisk
hpvmmodify -P vm1 -a disk:scsi:0,0,4:disk:/dev/rdsk/c0t1d0

hpvminfo -p hpvm1
# log into its console and boot it.
hpvmconsole -p vm1

Now comes the fun part you need to register the mac address with a ignite server so you can boot it over the lan.


Viveki
Trusted Contributor

Re: How to create a virtual machine (guest) on Integrity VM host

>>>>> 1)What is the command and syntax is used to create VMs?

To create a virtual machine, enter the hpvmcreate command. See full descriptions at
http://docs.hp.com/en/T2767-90180/ch03s03.html

>>>>> 2)How to allocate cpu, memory, disks and other important things?

You need use appropriate options with hpvmcreate while creating. Using hpvmmodify you can modify the parameters.

>>>> 3)Is the disk space taken form available space of host?

Yes

>>>> 4)can we assign the LUN (storage disk) directly to VMs?

You cannot assign directly to guests. You can present LUNs to host and from hosts you will be able to allocate the same to guests


Kranti Mahmud
Honored Contributor

Re: How to create a virtual machine (guest) on Integrity VM host

Hi Senthil,

Check the followings:

http://docs.hp.com/en/T2767-90141/index.html
http://www.manualshark.org/manualshark/files/28/pdf_26969.pdf.

Rgds-Kranti
Dont look BACK as U will miss something INFRONT!
Michael Steele_2
Honored Contributor

Re: How to create a virtual machine (guest) on Integrity VM host

Hi

I don't see the proper order being given here else I wouldn't have responded. The create a virtual nic command first in particular. Pray tell how, exactly, do your create a virtual nic if there's no virtual host created first for it to bind to?

Also, a virtual disk is usually a flat file residing atop the host machine. No doubt about it, "...more than one disk system file can point to the same disk...".

I'll give you the broad strokes in this response and also try to attach a pdf file "HP Integrity Virtual Machines Version 4.1 Installation, Configuration, and
Administration", but it will probably be too big to be attached. If so I'll respond with the hard to read text version.

From the command line of the VM HOST

hpvmcreate -P host1 (* this is your guest *)

hpvmcreate -P host1 -O linux (* HP-UX, Linux, or windows O/S must be specified *)

hpvmcreate -P host1 -c 2 (* allocate CPU's *)

hpvmcreate -P host1 -e 20 (* entitlement - how you guarantee CPU processing power - load balancing CPU's across several guests *)

hpvmcreate -P host1 -r 3G (* RAM in GB *)

Cell Local Memory-or- Interleave Local Memory (* this is a decision you have to make but is too complex to discuss in a sentence *)

Now you create the virtual nic

hpvmnet -c -S vswitch-name -n nic-id (* first create *)

hpvmnet -b -S vswitch-name (* then start *)

Creating Virtual Storage Devices
├в disk
├в dvd
├в tape
├в changer
├в burner

Note you can't virtualize a DVD or other backup devices, but you can use hpvmmodify to reassign the backup device from guest to guest.

Virtual disk creation is not a simple subject. I suggest you spend a lot of time reading the doc and planning on paper before starting. When you're ready you'll be using commands like this

hpvmmodify -P guest1 -d disk:avio_stor:0,5,0:disk:/dev/rdisk/disk11

Be prepared for questions like this for example, "...Do you want the 'file' sharable across guests?..."

Get a test box, take the class.
Support Fatherhood - Stop Family Law
Michael Steele_2
Honored Contributor

Re: How to create a virtual machine (guest) on Integrity VM host

Well the pdf is too freaking big. I'll try the text version.
Support Fatherhood - Stop Family Law