Operating System - HP-UX
1833858 Members
3031 Online
110063 Solutions
New Discussion

Re: Show relationship between VM host disk and VM guest disk

 
Jim Naylor
Advisor

Show relationship between VM host disk and VM guest disk

I am trying to find a way to determine which lun on the guest is the same lun on the host. We are running HP-UX 11.31 using VSE virtualization software. The host is connected to an EMC Symmetrix via fiber. I allocate a disk to the host and it creates the device name of disk25. I then do hpmodify to add that disk to the VM guest. The guest then see that disk as disk 5. If I have several disk on the guest and do not document which belongs to which on the host, is there a way to determine this?
4 REPLIES 4
Torsten.
Acclaimed Contributor

Re: Show relationship between VM host disk and VM guest disk

"I...do not document which belongs to which on the host..."


You should do this.

hpvmstatus will tell you. Run this on the host, get controller, bus and target and compare this to the client disks.

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!   
Jim Naylor
Advisor

Re: Show relationship between VM host disk and VM guest disk

Thanks Torsten. By getting the controler, target, and lun from the hpvmstatus and running an ioscan -NfnC disk on the guest and also running an ioscan -m hwpath on the guest, I was able to establish the relatonship of the disks between the guest and the host. I did however have to enable legacy paths on the guest (insf -L) to get the correct information to display on the ioscan -m hwpath.
Jim Naylor
Advisor

Re: Show relationship between VM host disk and VM guest disk

Problem is resolve using previous reply.
Andy Underhill
Occasional Contributor

Re: Show relationship between VM host disk and VM guest disk

Hi Jim,

I've just been looking at this same problem myself and concluded roughly what you did;

hpvmmodify -P vm -a disk:avio_stor:$BUS,$ADP,$TGT:disk:/dev/rdisk/diskxxx

BUS, ADPaptor, and TarGeT are set accordingly.

In the guest the ioscan will show the matching $BUS, $ADP and $TGT. That's your tie up as you know.

I used

ioscan -Fem lun /dev/rdisk/diskxxx

This will show you the legacy and agile DSF which you may find helpful

Cheers