Operating System - HP-UX
1832087 Members
3047 Online
110037 Solutions
New Discussion

Integrity VM host A.03.50 runnin on 11iv3 and disks

 
SOLVED
Go to solution
Tom Haddad
Super Advisor

Integrity VM host A.03.50 runnin on 11iv3 and disks

I have a VM host running VM 3.50 with 3 virual guests. All 4 hosts are 11iv3.
I recently mapped new disks to the hosts and need to allocate them to one of virtual guest.

The drive status/assignments of this virtual guest is attached. My question is the HPVMMODIFY and the next bus/dev/target values to use for the next disk.
You can see that for device 1 there are 14 targets at this time (0,1,0 thru 0,1,13). What is the scsi limit on the target per device..is it 0, 1, 14 or should I start at 0,2,0...

Command would look like:

hpvmmodify -p 3 -a disk:scsi:0,2.0:disk:/dev/rdsk/c..t..d.

I have assigned disks to other physical hosts but worked with my co-worker a little on assigning disks to virtual guests..
Thanks
10 REPLIES 10
likid0
Honored Contributor

Re: Integrity VM host A.03.50 runnin on 11iv3 and disks

is not a must to specify the bus/dev/target value.

you can just leave it blank and it will be automaticly assigned by the host.

for example:

hpvmmodify -p 2 -a disk:scsi:lv:/dev/vgS/rlvi4vg00

You should also use the avio_stor driver, for better IO performance on your virtual guests, take a look on how to configure it on the HPVM admin doc

for example:

hpvmmodify -P vm2 -a disk:avio_stor:0,4,0:disk:dev/rdsk/c8t0d3"
Windows?, no thanks
Tom Haddad
Super Advisor

Re: Integrity VM host A.03.50 runnin on 11iv3 and disks

thanks..I understand let it assign the value
but if I choose so, I can start with a b/d/t of 0,2,0 correct?
Bhadresh
Trusted Contributor

Re: Integrity VM host A.03.50 runnin on 11iv3 and disks

>>> I understand let it assign the value but if I choose so, I can start with a b/d/t of 0,2,0 correct?

Yes, itâ s correct.

Regards,
Bhadresh
Tom Haddad
Super Advisor

Re: Integrity VM host A.03.50 runnin on 11iv3 and disks

Thanks for the help and good innformation.
Tom Haddad
Super Advisor

Re: Integrity VM host A.03.50 runnin on 11iv3 and disks

one more question...I dont have to restart the VM guest (after running the HPVMMODIFY to add the disk) do I?
Eric SAUBIGNAC
Honored Contributor
Solution

Re: Integrity VM host A.03.50 runnin on 11iv3 and disks

Bonsoir Tom,

If you assign disks to a new bus/device, that is 0,2 in your case, and whatever the scsi id you choose, 0 in your case, you will HAVE TO REBOOT the VM.

Adding a new disk can be done online only if you already have a disk on the same bus/device.

Imagine that when you add a disk on a bus/device that is not already present in the VM it is the same thing than adding a new scsi card in a physical box without OLAR capability.

Eric
Tom Haddad
Super Advisor

Re: Integrity VM host A.03.50 runnin on 11iv3 and disks

So if i keep on the same bus number (0) but use device 2.I have to reboot.
My last device on the guest if c1t13d0 (vm status shows as bus 0 device 1 ftn 0 tgt 13 and lun 0) If I stay with device 1 can I go beyond 13?
Eric SAUBIGNAC
Honored Contributor

Re: Integrity VM host A.03.50 runnin on 11iv3 and disks

Well, did not used scsi virtual disks for a while ...

I clearly remember that the limit for the whole VM is 30 VIO, that is 30 virtual disks in scsi emulated mode ... you are not so far from the limit : actually 23 VIO.

Now for the limit on the bus itself I don't remember exactly the higher number you can assign. I guess it was 15 (16 devices on a physical SCSI card) but I am not sure.

Anyway, to check, just create a foo VM with just one file disk at 0,1,14 . Also try 15 and 16. You will see the exact limit. Then just remove the VM.

I am to leave

HTH

Eric
Tom Haddad
Super Advisor

Re: Integrity VM host A.03.50 runnin on 11iv3 and disks

thanks..there is an example in the VM configure guide (using the same bus/dev/target setting of 0,2,0) When changing controller, in my case from 1 to 2, the guest needs restarted.
Guide says.
when you run HPVMMODIFY to add the disk, the command response will be
UNABLE to DYNAMICALLY CREATE DEVICE DISK:SCSI:0,2,0....PROTOCOL ERROR. GUEST NEEDS TO BE RESTARTED FOR ALL CHANGES TO TAKE EFFECT.

so i can run hpvmmodify to add all new devices, then hpvmstop to halt the guest,then hpvmstart to start it up again then hpvmstatus to confirm the list of disks

Or show I stop the guest first..add disk then start it up..

After that point I can run IOSCAN to get to confirm device status/name..etc
Eric SAUBIGNAC
Honored Contributor

Re: Integrity VM host A.03.50 runnin on 11iv3 and disks

Bonjour,

"GUEST NEEDS TO BE RESTARTED FOR ALL CHANGES TO TAKE EFFECT."

In this case the modifications are done in the "next" configuration file. You can check the configuration that will be used after the next reboot of the VM with the deferred option (-D) of hpvmstatus :

-D : Displays resource assignments that takes effect the next time the virtual machine is started (deferred mode).

If I understand correctly your latest question, both methods are equivalent : add the disk + reboot, or stop the VM + add disk + start VM.

Eric