Coder Social home page Coder Social logo

Comments (5)

renxulei avatar renxulei commented on August 22, 2024

Hi, Mdaguete, thanks for your question.
About your question, Currently there is no redfish commands to support building raid volumes. I am tracking if there is solid plan to provide this capability in future, I will give you update once I got the results.

If you just want to implement building raid volume via network, lenovo provided other ways to support this, like via lenovo BMC's WebGui or command line tool. if you need further help about this, feel free to let me know.

Thanks.

from python-redfish-lenovo.

mdaguete avatar mdaguete commented on August 22, 2024

Thanks @renxulei, currently I'm using a ssh connection to console to build the raid, but using redfish would be a great improvement.

from python-redfish-lenovo.

samerhaj avatar samerhaj commented on August 22, 2024

@mdaguete Thank you for the suggestion. Yes this is a great improvement. Unfortunately, the redfish method to do this is not currently supported in the firmware. But once added, we will add a python/powershell example of how to manage the interface to achieve this.

from python-redfish-lenovo.

renxulei avatar renxulei commented on August 22, 2024

New firmware supported RAID configuration via Redfish, and added new scripts to support RAID configuration, so close this.
lenovo_create_raid_volume.py
lenovo_delete_raid_volume.py

from python-redfish-lenovo.

mastier avatar mastier commented on August 22, 2024

Hi @renxulei So far I see the request to the Redfish API does not send speicific physical disks
https://github.com/lenovo/python-redfish-lenovo/blob/master/examples/lenovo_create_raid_volume.py#L180-L184
For me it fails with code 500
I got 2x SSD 1TB and 8x8TB HDD on one conttroller and wants to create RAID1

Does the firmware support passing the actual drives ? So I could modify the lenovo-create_raid_volume.py script to pass list of drives in the request body ?
Similarly to iDRAC ? like https://jonamiki.com/2019/04/14/example-redfish-rest-calls-create-raid-volume/
Or it will work only when the list of drives matches the RAIDType ?
By guessing I tried passing drives or disks by guessing but none of them work

Url '/redfish/v1/Systems/1/Storage/RAID_Slot7/Volumes' response Error code 500
error_message: The property Drives is not in the list of valid properties for the resource

Also would be cool if the REST API guide was updated accordingly
also would like to know which firmware version supports it ?
I got mine SR650 updated to the newest firmware on all components
Mine BMC Version: 8.80 CDI3A2Q (09/22/2022)
https://sysmgt.lenovofiles.com/help/topic/com.lenovo.systems.management.xcc.restapi.doc/xcc_restapi_book.pdf

from python-redfish-lenovo.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.