Jump to content
 English      
???en.wpa.text.hpweb2003.home??? ???en.wpa.text.hpweb2003.prodserv??? ???en.wpa.text.hpweb2003.support??? ???en.wpa.text.hpweb2003.solutions??? ???en.wpa.text.hpweb2003.buy???
» ???en.wpa.text.hpweb2003.contact???
     Forums advanced search
HP.com Home
IT Resource Center Forums > HP-UX > system administration

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

» 

IT Resource Center

» Login
» Register
» My profile
» Search knowledge base
» Forums
» Patch database
» Download drivers, software and firmware
» Warranty check
» Support Case Manager
» Software Update Manager
» Training and Education
» More maintenance and support options
» Online help
» Site map

Member icons
 
 HP moderator  HP moderator
 Expert in this area  Expert in this area
Member status
ITRC Pro ITRC Pro
250 points
ITRC Graduate ITRC Graduate
500 points
ITRC Wizard ITRC Wizard
1000 points
ITRC Royalty ITRC Royalty
2500 points
ITRC Pharaoh ITRC Pharaoh
7500 points
Olympian Olympian
20000 points
1-Star Olympian 1-Star Olympian
40000 points
2-Star Olympian 2-Star Olympian
80000 points
»  How to earn points
»  Support forums FAQs
Question status
Magical answer Magical answer
Message with a response that solved the author's question
Favorites status
Add to my favorites Add to my favorites
Delete from my favorites Delete from my favorites
This thread has been closed Thread closed
 

Content starts here
   Create a new message    Receive e-mail notification if a new reply is posted  Reply to this message
Author Subject: How to create a virtual machine (guest) on Integrity VM host      Add to my favorites
senthil_kumar
Nov 5, 2009 15:06:45 GMT   

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?
Note: If you are the author of this question and wish to assign points to any of the answers, please login first.For more information on assigning points ,click here


Sort Answers By: Date or Points
Torsten. Expert in this area This member has accumulated 40000 or more points
Nov 5, 2009 15:10:24 GMT  9 pts

Hi,

how about RTFM?

http://docs.hp.com/en/T2767-90180/index.html
senthil_kumar
Nov 5, 2009 15:13:42 GMT    N/A: Question Author

what is RTFM?
Torsten. Expert in this area This member has accumulated 40000 or more points
Nov 5, 2009 15:15:44 GMT  7 pts

This is something you must know.


Google this!



;-)
senthil_kumar
Nov 5, 2009 15:18:12 GMT    N/A: Question Author

Is it "Read The Fine Manual"?
Emil Velez Expert in this area This member has accumulated 2500 or more points
Nov 6, 2009 00:06:39 GMT  10 pts

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 Expert in this area This member has accumulated 500 or more points
Nov 6, 2009 15:01:28 GMT  10 pts

>>>>> 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 Expert in this area This member has accumulated 1000 or more points
Nov 7, 2009 04:45:53 GMT  9 pts

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
Michael Steele Expert in this area This member has accumulated 7500 or more points
Nov 7, 2009 05:49:11 GMT  9 pts

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.
Michael Steele Expert in this area This member has accumulated 7500 or more points
Nov 7, 2009 05:51:06 GMT  9 pts Attachement is 344367.txt 

Well the pdf is too freaking big. I'll try the text version.
Michael Steele Expert in this area This member has accumulated 7500 or more points
Nov 7, 2009 05:53:52 GMT  9 pts

Great. You now have a hard to read text version. See if you can find the pdf on the itrc.

One important note about a commonly made mistake, starting and modifying. When you modify the guest you have to restart all the guests on the host. Why? Because each guest keeps a mapping of how the host is divided up among the each, and this map of how the host resources are divided up has to be updated across each guest.

Good luck
Michael Steele Expert in this area This member has accumulated 7500 or more points
Nov 7, 2009 05:56:13 GMT  8 pts

Hi again

I just reread Emil's response and I believe he is giving you a hpvmclone procedure.
Michael Steele Expert in this area This member has accumulated 7500 or more points
Nov 7, 2009 06:02:22 GMT  7 pts

Hi Again

Found a shorter, intro, kinda doc that goes into things like entitlement.
Michael Steele Expert in this area This member has accumulated 7500 or more points
Nov 7, 2009 06:02:58 GMT  9 pts Attachement is 344368.pdf 

Hi Again

Found a shorter, intro, kinda doc that goes into things like entitlement.
 
Create a new message    Receive e-mail notification if a new reply is posted   Reply to this message
 
 
Printable version
Privacy statement Using this site means you accept its terms
© 2009 Hewlett-Packard Development Company, L.P.