Operating System - HP-UX
1838243 Members
6149 Online
110125 Solutions
New Discussion

Re: Problem presenting DVD to Integrity VM

 
SOLVED
Go to solution
Tim Medford
Valued Contributor

Problem presenting DVD to Integrity VM

I have several Integrity VMs all running 11.23 and the host is also 11.23.

When initially creating the VMs, I always presented the DVD first, so by default the hardware address and device file names for DVD across all VMs is 0/0/0/0.0.0 and c0t0d0. I like it this way, it keeps things somewhat standardized. (hpvmmodify -P voyager -a dvd:scsi::disk:/dev/rdsk/c0t0d0)

Yesterday I presented a vdisk to one of the VMs, that did not happen to have the DVD presented at the time. The vdisk grabbed the first available address, which was 0.0.0 and c0t0d0. (hpvmmodify -P voyager -a disk:scsi::disk:/dev/rdsk/c6t0d4)

I want to preserve that address for DVD, so I un-presented the vdisk, ran rmsf -H 0/0/0/0.0.0, but now that hardware address seems to be in a bad state. If I try presenting the DVD again, the command hangs for about 60 seconds. It does not report an error, but silently fails. An ioscan on the VM takes forever, and then shows no DVD was added.

The VM seems to somehow think that address is still a vdisk, or is has the wrong driver tied to that address. Is there anything else I can do to clear up whatever is hung in the VM?

Thanks in advance,
Tim
4 REPLIES 4
Tim Nelson
Honored Contributor
Solution

Re: Problem presenting DVD to Integrity VM

How about trying to force the address with ?

-a dvd:scsi:0,0,0:disk:/dev/rdsk/cxtxdx
or better
-a dvd:scsi:0,0,0:null:/dev/rdsk/cxtxdx

How about taking downthe vGuest and executing again ?

Steven E. Protter
Exalted Contributor

Re: Problem presenting DVD to Integrity VM

Shalom,

The address given to the DVD is based on the scsi ID of the disk.

There was no need to do anything to preserve its location. The instant you install a DVD drive with the proper SCSI Id you will be able to detect it with ioscan, insf -c disk and use the drive.

SEP
Steven E Protter
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com
Tim Medford
Valued Contributor

Re: Problem presenting DVD to Integrity VM

Shutting down the VM seemed to help. I also specified the exact hardware addresses I wanted on the hpvmmodify commands. Not exactly sure what did the trick, but it's working the way I want now.

I also inserted a dvd into the vmhost. Not sure if that helped, but i know when presenting a tape drive this is a must.

Thanks
Tim Nelson
Honored Contributor

Re: Problem presenting DVD to Integrity VM

FYI,

If there is no media in the DVD you must present the DVD as a null device then use the vGuest IN and EJ vMP commands