dell / iDRAC-Redfish-Scripting

Python and PowerShell scripting for Dell EMC PowerEdge iDRAC REST API with DMTF Redfish
GNU General Public License v2.0
584 stars 273 forks source link

Set-IdracLcSystemAttributesREDFISH function not working with idrac8 #262

Closed AciDCooL closed 11 months ago

AciDCooL commented 11 months ago

Hi guys,

I am getting the following error when trying on different idrac8 hosts. (trying to get all idrac values)

{"error":{"@Message.ExtendedInfo":[{"Message":"Unable to complete the operation because the resource Attributes entered is not found.","MessageArgs":["Attributes"],"MessageArgs@odata.count":1,"MessageId":"IDRAC.1.6.SYS403","RelatedProperties":[],"RelatedProperties@oda ta.count":0,"Resolution":"Enter the correct resource and retry the operation. For information about valid resource, see the Redfish Users Guide available on the support site.","Severity":"Critical"},{"Message":"The resource at the URI Attributes was not found.","Messa geArgs":["Attributes"],"MessageArgs@odata.count":1,"MessageId":"Base.1.2.ResourceMissingAtURI","RelatedProperties":[""],"RelatedProperties@odata.count":1,"Resolution":"Place a valid resource at the URI or correct the URI and resubmit the request.","Severity":"Critical "}],"code":"Base.1.2.GeneralError","message":"A general error has occurred. See ExtendedInfo for more information"}}

Idrac9 is fine btw. Perhaps this was not even there yet in the redfish for idrac8. I'm trying to set ipmi lan values on those idrac8 hosts. Perhaps a small change on the $uri on my end would be enough? If someone could point me in the right direction.

texroemer commented 11 months ago

Hi @AciDCooL

Get/Set iDRAC attribute scripts are only supported on iDRAC 9, iDRAC 8 does not have this OEM support. On iDRAC 8 to configure iDRAC attributes you must leverage iDRAC feature Server Configuration Profile (SCP) feature. See scripts below for SCP feature which can be leveraged to get and set iDRAC attributes.

ExportServerConfigurationLocalREDFISH ImportSystemConfigurationLocalREDFISH ImportSystemConfigurationLocalFilenameREDFISH

If you need an example of running these scripts to set specific iDRAC settings, please let me know.

Thanks Tex

AciDCooL commented 11 months ago

Hi Tex,

Thanks for taking the time to explain this, I thought as much since idrac8 is a bit older. I have used the scripts and seems to be working. Have a good one!

Regards AciD