05-03-2012 09:28 AM
I have been adding memory and CPUs to HPVM Guests in the past and am quiet familiar with it. However, I do not remember how to add a virtual HBA to a guest. I need to add HBAs and a few disks to a guest. Can you please guide me?
I see from the man page that the option -a is used for it. How do I view the virtual IOs? I see a command hpvmresources in man page to view the free resources - but, I dont find the command on the server by itself. How do I proceed? Any input from your end would be most appreciated.
These are the commands that I have been using in the past and have worked for adding CPUs and Memory.
# hpvmstop -P SERVERNAME
# hpvmmodify -P SERVERNAME -r 12G
# hpvmmodify -P SERVERNAME -c 4
# hpvmstart -P SERVERNAME
05-03-2012 10:02 AM
I assume you're running either v4.3 with the January patch kit or v6.1 since those are the only Integrity VM versions that support NPIV. The instructions for adding NPIV vHBAs are included in the v6.1 Admin Guide found here:
There are also NPIV white papers on that site that cover this as well.
05-03-2012 10:57 AM
hpvmresources is not a command. It's a man page which describes resource specifications that can be used
in hpvm commands like hpvmmodify or hpvmcreate.
So you would do:
hpvmmodify -P vmXY -a <resource>
where resource is statement from hpvmresources page.
So for example:
hpvmodify -P vmXY -a hba:aviostor:,,0x...,0x....:npiv:/dev/fcd3
05-04-2012 07:05 AM
When I add disks to a HPVM Guest, I check if the the disks that are being added to the guest are free and available by running:
b) strings /etc/lvmtab
I run both the above commands on the HPVM Host.
If the disks that are being added to the guest are not in the outputs of the above commands is it safe to assume that they are free and available? Any other suggestions? Is this fool-proof enough?