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