Comments (5)
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.
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.
@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.
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.
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)
- Lenovo redfish API document HOT 1
- firmware upgrades on all models and versions HOT 2
- Create raid or delete raid not working
- BIOS Setting Doesn't Set When in Max Performance Mode With No Error HOT 1
- SNMP settings HOT 4
- Change hostname HOT 3
- API to change between UEFI boot mode and legacy boot mode does not work HOT 2
- documentation details HOT 2
- Complex Password Setting on SR635/SR655 HOT 2
- about how to get XCC service data HOT 15
- Volume creation does not support passing specific disks in the controller HOT 1
- redfish issue with ThinkEdge SE450 and SR650 HOT 6
- LenovoSecurityService.GenerateCertificate HOT 2
- Setting for Complex Password Required HOT 6
- 'Step Level' for get_cpu_inventory.py HOT 2
- Documentation inside update_firmware.py does not reflect Lenovo Support
- Error: local variable 'export_uri' referenced before assignment HOT 2
- Delete user account fails on Whitely HOT 2
- Support StripSize option when creating RAID HOT 2
- How to setup DNS HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from python-redfish-lenovo.