Operating System - HP-UX
1822505 Members
2475 Online
109642 Solutions
New Discussion юеВ

Re: HP-UX 11.31 guest on Integrity VM

 
SOLVED
Go to solution
Francis Flan
Regular Advisor

HP-UX 11.31 guest on Integrity VM

Hi,

Finished installing Windows guest OS and now want to add a second guest - hpux v3.

When i hpvmcreate the VM it tells me that the other VM (windows) is using the dvd drive.

How can I disconnect the dvd drive from the Windows VM or whats the best way to proceed?


# hpvmcreate -P HPUXv3_VM -O hpux -c 1 -r 2G -a disk:scsi::disk:/dev/rdsk/c0t0d4 -a dvd:scsi::disk:/dev/rdsk/c12t2d0
HPVM guest HPUXv3_VM configuration problems:
Warning 1 on item /dev/rdsk/c12t2d0: Device file '/dev/rdsk/c12t2d0' in use by another guest.
These problems may prevent HPVM guest HPUXv3_VM from starting.
hpvmcreate: The creation process is continuing.
# hpvmstatus
[Virtual Machines]
Virtual Machine Name VM # OS Type State #VCPUs #Devs #Nets Memory Runsysid
==================== ===== ======= ========= ====== ===== ===== ======= ========
Win2k3_VM 12 WINDOWS On (OS) 1 2 1 5 GB 0
HPUXv3_VM 16 HPUX Off 1 2 0 2 GB 0
#

thanks,
Francis
15 REPLIES 15
melvyn burnard
Honored Contributor
Solution

Re: HP-UX 11.31 guest on Integrity VM

use hpvmmodify to delete the dvd from the windows guest before trying to add it to the Ux guest

hpvmmodify -p 12 -d dvd:scsi::disk:/dev/rdsk/c12t2d0

Assuming that this is the way the dvd was added to the windows guest.
to verify do:
hpvmstatus -v -p 12

My house is the bank's, my money the wife's, But my opinions belong to me, not HP!
Torsten.
Acclaimed Contributor

Re: HP-UX 11.31 guest on Integrity VM

Still on A.03.00, right?

You need to share the DVD device.

I'll post a command if I can open some documents on my PC ... :-(

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!   
Mike Shilladay
Esteemed Contributor

Re: HP-UX 11.31 guest on Integrity VM

Hi Francis,

You could also share the DVD between guests by using the command:

# hpdevmgmt -m gdev:/:attr:SHARE=YES

Use the command

# hpdevmgmt -l gdev

To show the attributes of all the guest devices.

(Use the above commands from the vmhost)

Mike.
Torsten.
Acclaimed Contributor

Re: HP-UX 11.31 guest on Integrity VM

Now the forum website is slow ...


Here we go:

# hpvmdevmgmt -m gdev:/dev/rdsk/c12t2d0:attr:SHARE=YES

A physical DVD drive is not shared by default.




@Melvyn:
What is your opinion about a "virtualization" sub-forum?
vPar and HPVM threads are "everywhere" in the hpux forum, because nobody knows to which subforum the question belongs.

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!   
Mike Shilladay
Esteemed Contributor

Re: HP-UX 11.31 guest on Integrity VM

@Melvyn

I would second Torsten's suggestion - it would make sense. Maybe the section could be "Partitioning", so as to include vPar and nPar ?

Mike
Francis Flan
Regular Advisor

Re: HP-UX 11.31 guest on Integrity VM

That worked a treat (sharing the dvd device)
thanks for that

Now that Im here if I may be so cheeky as to ask another question about the vswitch and vlan side of it!

When i created the windows guest vswitch i assigned it to lan 0.
When i try to do the same with the hpux guest it's also being used.
Can I share the lan or something like that.

# hpvmnet -c -S vswitch2 -n 0
# hpvmnet -b -S vswitch2
hpvmnet: WARNING (host): Unable to start vswitch 'vswitch2'. Lan in use.
hpvmnet: Unable to start the vswitch.
hpvmnet: Unable to continue.
#
Tryied to choose another lan but get error "hpvmnet: WARNING (host): Unable to start vswitch 'vswitch1' - 'lan2' lanadmin Operation Status is not up."
# lanscan
Hardware Station Crd Hdw Net-Interface NM MAC HP-DLPI DLPI
Path Address In# State NamePPA ID Type Support Mjr#
0/2/2/0 0x001B787A410C 2 UP lan2 snap2 1 ETHER Yes 119
0/1/1/0 0x0017A4777410 0 UP lan0 snap0 2 ETHER Yes 119
0/1/1/1 0x0017A4777412 1 UP lan1 snap1 3 ETHER Yes 119
0/2/2/1 0x001B787A410D 3 UP lan3 snap3 4 ETHER Yes 119
Torsten.
Acclaimed Contributor

Re: HP-UX 11.31 guest on Integrity VM

You don't need another switch - just assign the existing switch to your second HPVM.

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!   
Mike Shilladay
Esteemed Contributor

Re: HP-UX 11.31 guest on Integrity VM

Hi Francis,

If you run the command, from the vmhost.

# hpvmdevmgmt -l all

You should see the vlan as being shared. As Torsten says, you should just be able to add to existing vlan.

Mike.
Francis Flan
Regular Advisor

Re: HP-UX 11.31 guest on Integrity VM

didnt think of that!
super, thanks to all of you. You've made my day :-)
melvyn burnard
Honored Contributor

Re: HP-UX 11.31 guest on Integrity VM

right, third try at replying.

A few points
1. be careful about sharing the physical dvd between guests, it can cause issues

2. If you already did a create and a boot of a vswitch for the windows guest, you simply add the same vswitch into the ux guest, there is no need to recreate it.

3. I agree re the comments about a spearate partitioning sub-forum, but this may be turned down for variosu reasons.


just my two pence worth
My house is the bank's, my money the wife's, But my opinions belong to me, not HP!
melvyn burnard
Honored Contributor

Re: HP-UX 11.31 guest on Integrity VM

request for new sub-forum submitted, don't hold your breath
My house is the bank's, my money the wife's, But my opinions belong to me, not HP!
melvyn burnard
Honored Contributor

Re: HP-UX 11.31 guest on Integrity VM

well, that was a lot was easier than I expected. See where this thread now resides
My house is the bank's, my money the wife's, But my opinions belong to me, not HP!
Torsten.
Acclaimed Contributor

Re: HP-UX 11.31 guest on Integrity VM

Still in networking ;-)
But I'm sure this will be changed in a few moments.

Thank you very much Melvyn for your efforts.

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!   
Tim Nelson
Honored Contributor

Re: HP-UX 11.31 guest on Integrity VM

Another great option to avoid having to be a CD monkey.

Put ISO files from CDs in on VM Host. Then share them as a file based DVD backingstore to your guests.
melvyn burnard
Honored Contributor

Re: HP-UX 11.31 guest on Integrity VM

Francis
If this has helped answer your question, please close the thread and assign points if you feel like it

My house is the bank's, my money the wife's, But my opinions belong to me, not HP!