English Community

Datacenter SystemsConverged Systems - HX Series
All Forum Topics
Options

2 Posts

07-14-2020

BE

1 Signins

10 Page Views

  • Posts: 2
  • Registered: ‎07-14-2020
  • Location: BE
  • Views: 10
  • Message 1 of 4

XCC Redfish does not return data for all drives

2020-07-14, 18:44 PM

Hi,

 

I'm using the redfish API to pull health data from a HX3320 XCC.

 

Using this call I can get all the date from a drive:

https://10.116.254.51/redfish/v1/Systems/1/Storage/M.2_Slot5/Drives/Drive.M.2_Bay0

 

{

    "SerialNumber": "xx",

    "@odata.id": "/redfish/v1/Systems/1/Storage/M.2_Slot5/Drives/Drive.M.2_Bay0",

    "BlockSizeBytes": null,

    "Revision": "T87RA34",

    "PhysicalLocation": {

        "PartLocation": {

            "LocationType": "Bay",

            "ServiceLabel": "M.2 - 0",

            "LocationOrdinalValue": 0

        },

        "InfoFormat": "BayId",

        "Info": "M.2 Bay0",

        "Info@Redfish.Deprecated": "The property is deprecated. Please use PartLocation instead.",

        "InfoFormat@Redfish.Deprecated": "The property is deprecated. Please use PartLocation instead."

    },

    "SKU": "00YK353",

    "AssetTag": "",

    "CapableSpeedGbs": null,

    "Manufacturer": "LEN",

    "StatusIndicator": "OK",

    "PartNumber": "SSD0L20505",

    "EncryptionStatus": null,

    "MediaType": "SSD",

    "Description": "This resource is used to represent a drive for a Redfish implementation.",

    "Id": "Drive.M.2_Bay0",

    "RotationSpeedRPM": 0,

    "NegotiatedSpeedGbs": null,

    "EncryptionAbility": null,

    "FailurePredicted": false,

    "Protocol": "SATA",

    "Name": "128GB M.2 SATA SSD",

    "Links": {

        "Volumes": [

            {

                "@odata.id": "/redfish/v1/Systems/1/Storage/M.2_Slot5/Volumes/0"

            }

        ],

        "Chassis": {

            "@odata.id": "/redfish/v1/Chassis/1"

        },

        "PCIeFunctions": []

    },

    "CapacityBytes": 128000000000,

    "Identifiers": [

        {

            "DurableName": "0000000000000000",

            "DurableNameFormat": "UUID"

        }

    ],

    "@odata.type": "#Drive.v1_6_0.Drive",

    "HotspareType": "None",

    "PredictedMediaLifeLeftPercent": null,

    "@odata.etag": "\"378fe616250886ed02fe7999c7132782\"",

    "Model": "LITEON CV3-8D128",

    "Status": {

        "State": "Enabled",

        "Health": "OK"

    }

}

 

 

However, for the disks on another controller, I don't get this response, but only some metadata:

 

 

https://10.116.254.51/redfish/v1/Systems/1/Storage/RAID_Slot4/Drives/Disk.1

{

    "@odata.etag": "\"5f6f9673043ba6b95cf4a4cd5276ff4f\"",

    "@odata.type": "#Drive.v1_6_0.Drive",

    "@odata.id": "/redfish/v1/Systems/1/Storage/RAID_Slot4/Drives/Disk.1"

}

 

Why am I not getting data for this disk?

 

 

Thanks

Reply
Options

82 Posts

09-18-2015

CN

101 Signins

1512 Page Views

  • Posts: 82
  • Registered: ‎09-18-2015
  • Location: CN
  • Views: 1512
  • Message 2 of 4

XCC Redfish does not return data for all drives

2020-07-15, 2:18 AM
Dears, What does your "another controller" mean? Does it mean a different machine type or not? What‘s the machine type for "another controller"? What's the XCC version? As far as I know, redfish is a new feature and need XCC's support. So it is better to write out the brackground. Thanks.. Karl
Reply
Options

2 Posts

07-14-2020

BE

1 Signins

10 Page Views

  • Posts: 2
  • Registered: ‎07-14-2020
  • Location: BE
  • Views: 10
  • Message 3 of 4

Re:XCC Redfish does not return data for all drives

2020-07-15, 7:34 AM

Hi,

 

All the info:

 

ThinkAgile HX3320 Appliance

Power On (Booting OS or in undetected OS)

Machine Type/Model 7X83CTO3WW

Serial No. xxx

System Name xxx

Front USB Ownership Shared mode: owned by HOST  

BMC License

Lenovo XClarity Controller Enterprise Upgrade  

BMC IP Address 10.116.254.51  

BMC Hostname xxx  

BMC Version V3.08 (Build ID: CDI340V)  

UEFI Version V2.13 (Build ID: IVE136X)  

LXPM Version V1.50 (Build ID: PDL118Z)  

 

 

I mean another controller on the same device. It does support redfish as I can get almost all the data as specified here: https://sysmgt.lenovofiles.com/help/topic/com.lenovo.systems.management.xcc.doc/REST_API_user_manual.pdf

 

At https://10.116.254.51/redfish/v1/Systems/1/Storage you get all the storagecollection instances, 2 in this case:

 

 

{

    "Members": [

        {

            "@odata.id": "/redfish/v1/Systems/1/Storage/RAID_Slot4"

        },

        {

            "@odata.id": "/redfish/v1/Systems/1/Storage/M.2_Slot5"

        }

    ],

    "@odata.type": "#StorageCollection.StorageCollection",

    "@odata.id": "/redfish/v1/Systems/1/Storage",

    "Name": "StorageCollection",

    "@odata.etag": ""4bde8b42b65e368fe997c56d22314963"",

    "Members@odata.count": 2,

    "Description": "A collection of storage resource instances"

}

 

 

 

After calling https://10.116.254.51/redfish/v1/Systems/1/Storage/M.2_Slot5 you get the details for this resource, including the related drives:

 

{

    "Drives": [

        {

            "@odata.id": "/redfish/v1/Systems/1/Storage/M.2_Slot5/Drives/Drive.M.2_Bay0"

        },

        {

            "@odata.id": "/redfish/v1/Systems/1/Storage/M.2_Slot5/Drives/Drive.M.2_Bay1"

        }

    ],

    "Id": "M.2_Slot5",

    "Status": {

        "State": "Enabled",

        "Health": "OK",

        "HealthRollup": "OK"

    },

    "Links": {

        "Enclosures": [

            {

                "@odata.id": "/redfish/v1/Chassis/1"

            }

        ]

    },

    "Name": "M.2 Storage",

    "StorageControllers@odata.count": 1,

    "Drives@odata.count": 2,

    "@odata.type": "#Storage.v1_7_0.Storage",

    "StorageControllers": [

        {

            "SerialNumber": "xx",

            "SupportedDeviceProtocols": [

                "SATA"

            ],

            "@odata.id": "/redfish/v1/Systems/1/Storage/M.2_Slot5#/StorageControllers/0",

            "AssetTag": "",

            "MemberId": "0",

            "PartNumber": "SR17A04514",

            "FirmwareVersion": "2.3.10.1199",

            "Status": {

                "State": "Enabled",

                "Health": "OK"

            },

            "SupportedRAIDTypes": [

                "RAID1"

            ],

            "SKU": "01KN512",

            "SupportedControllerProtocols": [

                "AHCI"

            ],

            "Oem": {

                "Lenovo": {

                    "SupportedRaidLevels@Redfish.Deprecated": "The property is deprecated. Please use SupportedRAIDTypes instead.",

                    "Mode": "RAID/JBOD",

                    "SupportedRaidLevels": "0/1"

                }

            },

            "Location": {

                "PartLocation": {

                    "LocationType": "Slot",

                    "ServiceLabel": "PCI 5",

                    "LocationOrdinalValue": 5

                },

                "InfoFormat": "Slot X",

                "Info": "Slot 5",

                "Info@Redfish.Deprecated": "The property is deprecated. Please use PartLocation instead.",

                "InfoFormat@Redfish.Deprecated": "The property is deprecated. Please use PartLocation instead."

            },

            "Identifiers": [

                {

                    "DurableNameFormat": "UUID",

                    "DurableName": "49B0305D305311E993829BF848B20252"

                }

            ],

            "Manufacturer": "Lenovo",

            "CacheSummary": {

                "PersistentCacheSizeMiB": null,

                "TotalCacheSizeMiB": null,

                "Status": {

                    "State": "Disabled"

                }

            },

            "Model": "88SE9230",

            "Name": "ThinkSystem M.2 with Mirroring Enablement Kit"

        }

    ],

    "@odata.id": "/redfish/v1/Systems/1/Storage/M.2_Slot5",

    "@odata.etag": ""349e328644edd7aeca2b3a8ad7175ce6"",

    "Volumes": {

        "@odata.id": "/redfish/v1/Systems/1/Storage/M.2_Slot5/Volumes"

    },

    "Description": "This resource is used to represent a storage for a Redfish implementation."

 

 

Calling the drive url gives detailed info:

 

 

{

    "SerialNumber": "xx",

    "@odata.id": "/redfish/v1/Systems/1/Storage/M.2_Slot5/Drives/Drive.M.2_Bay0",

    "BlockSizeBytes": null,

    "Revision": "T87RA34",

    "PhysicalLocation": {

        "PartLocation": {

            "LocationType": "Bay",

            "ServiceLabel": "M.2 - 0",

            "LocationOrdinalValue": 0

        },

        "InfoFormat": "BayId",

        "Info": "M.2 Bay0",

        "Info@Redfish.Deprecated": "The property is deprecated. Please use PartLocation instead.",

        "InfoFormat@Redfish.Deprecated": "The property is deprecated. Please use PartLocation instead."

    },

    "SKU": "00YK353",

    "AssetTag": "",

    "CapableSpeedGbs": null,

    "Manufacturer": "LEN",

    "StatusIndicator": "OK",

    "PartNumber": "SSD0L20505",

    "EncryptionStatus": null,

    "MediaType": "SSD",

    "Description": "This resource is used to represent a drive for a Redfish implementation.",

    "Id": "Drive.M.2_Bay0",

    "RotationSpeedRPM": 0,

    "NegotiatedSpeedGbs": null,

    "EncryptionAbility": null,

    "FailurePredicted": false,

    "Protocol": "SATA",

    "Name": "128GB M.2 SATA SSD",

    "Links": {

        "Volumes": [

            {

                "@odata.id": "/redfish/v1/Systems/1/Storage/M.2_Slot5/Volumes/0"

            }

        ],

        "Chassis": {

            "@odata.id": "/redfish/v1/Chassis/1"

        },

        "PCIeFunctions": []

    },

    "CapacityBytes": 128000000000,

    "Identifiers": [

        {

            "DurableName": "0000000000000000",

            "DurableNameFormat": "UUID"

        }

    ],

    "@odata.type": "#Drive.v1_6_0.Drive",

    "HotspareType": "None",

    "PredictedMediaLifeLeftPercent": null,

    "@odata.etag": ""378fe616250886ed02fe7999c7132782"",

    "Model": "LITEON CV3-8D128",

    "Status": {

        "State": "Enabled",

        "Health": "OK"

    }

}

 

 

So for storage collection M.2_Slot5 it works fine. But doing the same for RAID_Slot4 via https://10.116.254.51/redfish/v1/Systems/1/Storage/RAID_Slot4/Drives/Disk.0 gives:

 

{

    "@odata.etag": ""8787212625043f632a849f0a070300b8"",

    "@odata.type": "#Drive.v1_6_0.Drive",

    "@odata.id": "/redfish/v1/Systems/1/Storage/RAID_Slot4/Drives/Disk.0"

}

 

So no health data etc.

 

Looking in the XCC the data is present:

 

But for some reason the data is not returned via /redfish/v1/Systems/1/Storage/RAID_Slot4/Drives/Disk.0

 

 

I hope this makes is a bit more clear..

Thanks

Reply
Options

617 Posts

09-04-2018

US

877 Signins

18489 Page Views

  • Posts: 617
  • Registered: ‎09-04-2018
  • Location: US
  • Views: 18489
  • Message 4 of 4

Re:XCC Redfish does not return data for all drives

2020-07-16, 4:07 AM

Hi michelp,

 

What's the result if you request the RAID_slot 4 information: https://<XCC IP>/redfish/v1/Systems/1/Storage/RAID_Slot4 ?

Are all drives displayed? If all drives are displayed, could you please request other disks information and check whether the result is the same or not. 

Reply
Forum Home

Community Guidelines

Please review our Guidelines before posting.

Learn More

Check out current deals!

Go Shop
X

Save

X

Delete