English Community

Datacenter Systems ManagementLenovo XClarity
All Forum Topics
Options

2 Posts

04-25-2018

NL

4 Signins

130 Page Views

  • Posts: 2
  • Registered: ‎04-25-2018
  • Location: NL
  • Views: 130
  • Message 1 of 2

Ethernet Port/Link status from an XClarity Controller

2018-04-25, 8:51 AM

Hi everyone, I'm trying to find a way to get the current port/link status of the onboard and PCIe ethernet cards (and SAN Controllers) on a number of ThinkSystem SR650's. I see that via the 'Export' button on the Xclarity Controller console that the link status is reported in the cards inventory:

 

"connector" : "Onboard",
                            "portIndex" : 1,
                            "nbLogicalPort" : 1,
                            "permanentAddr" : "XXXXXXXXXXXXX",
                            "maxSpeed" : 10,
                            "linkSpeed" : 10000,
                            "linkStatus" : 3,
                            "txUtil" : 0,
                            "rxUtil" : 0,
                            "logicalPorts" : [

But with 100+ machines I would rather not have to log in to each controller individually and download the inventory export.

I've dug around the redfish API interface but can't seem to find the port statuses. We also have an XClarity Administrator but that doesn't seem to have any status information about the interface cards.

So... is there is a way to get this status via an API in the XClarity controller?

Any hints/tips/ideas would be most welcome :-)

Reply
Options

2 Posts

04-25-2018

NL

4 Signins

130 Page Views

  • Posts: 2
  • Registered: ‎04-25-2018
  • Location: NL
  • Views: 130
  • Message 2 of 2

Re: Ethernet Port/Link status from an XClarity Controller

2018-04-25, 15:02 PM

I think i've found an answer (and in case anyone else is after the same info... here's an update :-)

The newer versions of the LCC/BOM firmware provides more Ethernet interface information via the redfish API.

 

Eg, using LCC/BOM firmware version 1.43, only the following API URL works: https://x.x.x.x/redfish/v1/Systems/1/EthernetInterfaces/1 and this doesn't return much info:

Id	"1"
Description	"This resource is used to represent a NIC for a Redfish implementation."
@odata.type	"#EthernetInterface.v1_1_0.EthernetInterface"
@odata.id	"/redfish/v1/Systems/1/EthernetInterfaces/1"
PermanentMACAddress	"XX:XX:XX:XX:XX:XX"
Name	"1"
@odata.context	"/redfish/v1/$metadata#EthernetInterface.EthernetInterface"

 

On another machine with LCC/BOM firmware 1.70, there are new endpoints such as: https://x.x.x.x/redfish/v1/Systems/1/EthernetInterfaces/NIC1

and gives exactly what I was after:

 

Id	"NIC1"
InterfaceEnabled	true
MACAddress	"XXXXXXXXXXX"
Name	"External Ethernet Interface"
@odata.context	"/redfish/v1/$metadata#EthernetInterface.EthernetInterface"
SpeedMbps	null
@odata.id	"/redfish/v1/Systems/1/EthernetInterfaces/NIC1"
@odata.type	"#EthernetInterface.v1_3_0.EthernetInterface"
Status	
State	"Enabled"
Health	"OK"
LinkStatus	"LinkUp"
PermanentMACAddress	"XXXXXXXXXXX"
Description	"External Network Interface"

 

SAN links are also available via the NIC status. Eg: https://x.x.x.x/redfish/v1/Systems/1/EthernetInterfaces/NIC3

 

Id	"NIC3"
InterfaceEnabled	true
MACAddress	"XXXXXXXXXXXXXX"
Name	"External Ethernet Interface"
@odata.context	"/redfish/v1/$metadata#EthernetInterface.EthernetInterface"
SpeedMbps	16000
@odata.id	"/redfish/v1/Systems/1/EthernetInterfaces/NIC3"
@odata.type	"#EthernetInterface.v1_3_0.EthernetInterface"
Status	
State	"Enabled"
Health	"OK"
LinkStatus	"LinkUp"
PermanentMACAddress	"XXXXXXXXXXXXXX"
Description	"External Network Interface"

For these interfaces the MAC address is the WWPN and the speed is 16Gbps.

Reply
Forum Home

Community Guidelines

Please review our Guidelines before posting.

Learn More

Check out current deals!

Go Shop
X

Save