1753594 Members
6173 Online
108796 Solutions
New Discussion юеВ

Command fcmsutil

 
SOLVED
Go to solution
Eli Daniel
Super Advisor

Command fcmsutil

Please, I need help
execute on host server1 command fcmsutil / dev / fcdx
shows all fiber channels.

Class I H/W Path Driver S/W State H/W Type Description
========================================================================
fc 0 0/3/1/0/4/0 fcd CLAIMED INTERFACE HP AB465-60001 PCI/PCI-X Fibre Channel 2-port 2Gb FC/2-port 1000B-T Combo Adapter (FC Port 1)
/dev/fcd0
fc 1 0/3/1/0/4/1 fcd CLAIMED INTERFACE HP AB465-60001 PCI/PCI-X Fibre Channel 2-port 2Gb FC/2-port 1000B-T Combo Adapter (FC Port 2)
/dev/fcd1
fc 2 0/6/1/0/4/0 fcd CLAIMED INTERFACE HP AB465-60001 PCI/PCI-X Fibre Channel 2-port 2Gb FC/2-port 1000B-T Combo Adapter (FC Port 1)
/dev/fcd2
fc 3 0/6/1/0/4/1 fcd CLAIMED INTERFACE HP AB465-60001 PCI/PCI-X Fibre Channel 2-port 2Gb FC/2-port 1000B-T Combo Adapter (FC Port 2)
/dev/fcd3
fc 4 0/7/1/0/4/0 fcd CLAIMED INTERFACE HP AB465-60001 PCI/PCI-X Fibre Channel 2-port 2Gb FC/2-port 1000B-T Combo Adapter (FC Port 1)
/dev/fcd4
fc 5 0/7/1/0/4/1 fcd CLAIMED INTERFACE HP AB465-60001 PCI/PCI-X Fibre Channel 2-port 2Gb FC/2-port 1000B-T Combo Adapter (FC Port 2)
/dev/fcd5


exist in the host server 3 Virtual Machine. I need to know which cards are allocated to each Virtual Machine. As I do?
22 REPLIES 22
Torsten.
Acclaimed Contributor
Solution

Re: Command fcmsutil

Did you assign "raw" disks, LVOLS or files???

hpvmstatus (per guest) will tell you.

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!   
Steven E. Protter
Exalted Contributor

Re: Command fcmsutil

Shalom,

Not exactly straightforward it seems:
root@hpvmhst1:/root # hpvmstatus -D -P winlab1
[Virtual Machine Details]
Virtual Machine Name VM # OS Type State
==================== ===== ======= ========
winlab1 11 WINDOWS On (OS)

[Authorized Administrators]
Oper Groups:
Admin Groups:
Oper Users:
Admin Users:

[Virtual CPU Details]
#vCPUs Entitlement Maximum
====== =========== =======
1 10.0% 100.0%

[Memory Details]
Total Reserved
Memory Memory
======= ========
8 GB 64 MB

[Storage Interface Details]
Guest Physical
Device Adaptor Bus Dev Ftn Tgt Lun Storage Device
======= ========== === === === === === ========= =========================
disk scsi 0 0 0 0 0 lv /dev/vg_01/rlvol2
dvd scsi 0 0 0 1 0 file /var/opt/hpvm/ISO-images/windows/SW_DVD5_Windows_Svr_Ent_2003_R2_64Bit_IA64_English_IA_64_DVD_MLF_X13-50179.ISO

[Network Interface Details]
Interface Adaptor Name/Num PortNum Bus Dev Ftn Mac Address
========= ========== ========== ======= === === === =================
vswitch lan landem 3 0 1 0 02-76-8c-a6-4e-1a

[Misc Interface Details]
Guest Physical
Device Adaptor Bus Dev Ftn Tgt Lun Storage Device
======= ========== === === === === === ========= =========================
serial com1 tty console


Now if you look at the logical volume assigned to the system and then go to the host OS you can from ioscan output and fcmsutil show what is attached.

Then you look at the vgdisplay output and you can figure out what fiber card is being used.

However guests do not get exclusive access to the fiber cards. They get access to resources given to them by the hpvm manager.

It is quite possible to take two luns off the same fiber card and assign them to two virtual guests.

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
Eli Daniel
Super Advisor

Re: Command fcmsutil

anex the information Virtual Machine
I do not see where is the path of fibra channel for Virtual Machine
Tingli
Esteemed Contributor

Re: Command fcmsutil

Use ioscan to find it out.
Eli Daniel
Super Advisor

Re: Command fcmsutil

sapl903 = Virtual Machine
commando ioscan:

SAPL903:/> ioscan
H/W Path Class Description
===================================================
root
0 ioa
0/0 ba Local Bus Adapter
0/0/0/0 ext_bus SCSI Ultra320
0/0/0/0.1 target
0/0/0/0.1.0 disk HP Virtual LvDisk
0/0/0/0.3 target
0/0/0/0.3.0 disk HP Virtual LvDisk
0/0/0/0.15 target
0/0/0/0.15.0 ctl Initiator
0/0/1/0 lan HP PCI/PCI-X 1000Base-T
0/0/2/0 lan HP PCI/PCI-X 1000Base-T
0/0/3/0 ba Legacy IO Core I/O Adapter (IFB)
0/0/3/0/1 tty Built-in RS-232C
0/0/4/0 ext_bus SCSI Ultra320
0/0/4/0.1 target
0/0/4/0.1.0 disk HP Virtual Disk
0/0/4/0.2 target
0/0/4/0.2.0 disk HP Virtual Disk
0/0/4/0.3 target
0/0/4/0.3.0 disk HP Virtual Disk
0/0/4/0.4 target
0/0/4/0.4.0 disk HP Virtual Disk
0/0/4/0.5 target
0/0/4/0.5.0 disk HP Virtual Disk
0/0/4/0.6 target
0/0/4/0.6.0 disk HP Virtual Disk
0/0/4/0.7 target
0/0/4/0.7.0 disk HP Virtual LvDisk
0/0/4/0.8 target
0/0/4/0.8.0 disk HP Virtual LvDisk
0/0/4/0.9 target
0/0/4/0.9.0 disk HP Virtual LvDisk
0/0/4/0.15 target
0/0/4/0.15.0 ctl Initiator
0/0/5/0 ext_bus SCSI Ultra320
0/0/5/0.0 target
0/0/5/0.0.0 disk HP Virtual LvDisk
0/0/5/0.1 target
0/0/5/0.1.0 disk HP Virtual LvDisk
0/0/5/0.2 target
0/0/5/0.2.0 disk HP Virtual LvDisk
0/0/5/0.15 target
0/0/5/0.15.0 ctl Initiator
0/1 ba Local Bus Adapter
0/2 ba Local Bus Adapter
0/3 ba Local Bus Adapter
0/4 ba Local Bus Adapter
0/5 ba Local Bus Adapter
0/6 ba Local Bus Adapter
0/7 ba Local Bus Adapter
120 processor Processor
121 processor Processor
250 ba Core I/O Adapter
250/0 ipmi IPMI Controller
250/1 acpi_node Acpi Hardware
Johnson Punniyalingam
Honored Contributor

Re: Command fcmsutil

from the HPVMHOST

# ioscan -fnC fc

from the Guest.

#ioscan -fnC fc
Problems are common to all, but attitude makes the difference
Kapil Jha
Honored Contributor

Re: Command fcmsutil

I think fc is not assigned to Virtual host, its just disks which are assigned.
So you would not be able to get any status of fc from ioscan in guest.

Remember when you create a new VM you don assign fc card anywhere :)

BR,
Kapil+
I am in this small bowl, I wane see the real world......
Torsten.
Acclaimed Contributor

Re: Command fcmsutil

From guest config:

disk scsi 0 4 0 6 0 disk /dev/rdsk/c41t7d5
disk scsi 0 4 0 7 0 lv /dev/vgeccLogR1/rlveccLogR11

So you use raw disks and LVOLs as virtual disks.

I assume the host is on 11.31 or 11.23 with multipath, you can be sure all FC HBAs are used for load balancing.


Now use ioscan and vgdisplay from HPVMhost to get the connection details.

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!   
Eli Daniel
Super Advisor

Re: Command fcmsutil

from what I understand, all cards chanell Host fiber can be used for any virtual machine???

The problem is this: be assigned to discs from the SAM VMHost and then assign them to the Virtual Machine. I need to know that fiber card uses the Virtual Machine.

Yes, my Operation System is 11.23 HP-UX