Discussion:
[Libstoragemgmt-devel] Finding information about the array target ports
Tony Asleson
2014-05-16 20:41:04 UTC
Permalink
Hi Gris,

I'm trying to figure out how we can get the following information
exposed in our library.

* User wants to know what type of transports are available( FC, iSCSI,
etc.)
* User wants to know the specifics of each transport(s)
- what the WWPNs are of each of the FC ports
- what the IP address(es), port number(s) and IQNs for iSCSI

Basically the information that the initiator side would find useful when
getting connected to the target side.

Looking at the the block services book, the target port subprofile seems
promising, and I am finding some of what I seek. For example I have
found port numbers and IQN's, but I haven't found out what IP addresses
they are served up on.

Can you help take a look at this? I know your SMI-S knowledge has
surpassed mine, especially with your work on pools and interop support.

Thanks,
Tony
Gris Ge
2014-05-18 08:24:29 UTC
Permalink
Post by Tony Asleson
Looking at the the block services book, the target port subprofile seems
promising, and I am finding some of what I seek. For example I have
found port numbers and IQN's, but I haven't found out what IP addresses
they are served up on.
Quick check would be:
"iSCSI Target Ports Subprofile"
1.6rev4 CommonProfile book, PDF Page 72:
Network Portal:
TCPProtocolEndpoint
IPProtocolEndpoint
EthernetPort

The association should be:
CIM_ComputerSystem
|
| CIM_SystemDevice
v
CIM_SystemSpecificCollection # iSCSI Portal group
|
| CIM_Dependency
v
CIM_iSCSIProtocolEndpoint # iSCSI Node name.
# AKA iSCSI Target IQN


CIM_ComputerSystem
|
| CIM_HostedAccessPoint
v
CIM_TCPProtocolEndpoint # Which port does target listen on.
|
| CIM_BindsTo
v
CIM_IPProtocolEndpoint # IPs (v4 or v6) iscsi target is listen on.
|
| CIM_BindsTo
v
CIM_EthernetPort # Which physical port in use.
Post by Tony Asleson
Thanks,
Tony
I never got a chance to test on any real device. But base on SPEC, they
should works.

Hope this helps.
Best regards.
--
Gris Ge
Tony Asleson
2014-05-19 15:08:46 UTC
Permalink
Post by Gris Ge
Post by Tony Asleson
Looking at the the block services book, the target port subprofile seems
promising, and I am finding some of what I seek. For example I have
found port numbers and IQN's, but I haven't found out what IP addresses
they are served up on.
"iSCSI Target Ports Subprofile"
TCPProtocolEndpoint
IPProtocolEndpoint
EthernetPort
CIM_ComputerSystem
|
| CIM_SystemDevice
v
CIM_SystemSpecificCollection # iSCSI Portal group
|
| CIM_Dependency
v
CIM_iSCSIProtocolEndpoint # iSCSI Node name.
# AKA iSCSI Target IQN
CIM_ComputerSystem
|
| CIM_HostedAccessPoint
v
CIM_TCPProtocolEndpoint # Which port does target listen on.
|
| CIM_BindsTo
v
CIM_IPProtocolEndpoint # IPs (v4 or v6) iscsi target is listen on.
|
| CIM_BindsTo
v
CIM_EthernetPort # Which physical port in use.
Post by Tony Asleson
Thanks,
Tony
I never got a chance to test on any real device. But base on SPEC, they
should works.
Hope this helps.
Thanks Gris!

-Tony

Loading...