Skip to content

Commit edc1b4d

Browse files
committed
Update Blog “storage-management-with-redfish”
1 parent 0be37f8 commit edc1b4d

File tree

1 file changed

+11
-10
lines changed

1 file changed

+11
-10
lines changed

content/blog/storage-management-with-redfish.md

Lines changed: 11 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -15,23 +15,25 @@ tags:
1515
- ProLiant
1616
- iLO5
1717
---
18-
Updated: June, 2022
18+
Updated: July 26, 2023
1919

2020
## Introduction
2121

2222
Integrated Lights-Out ([iLO](https://www.hpe.com/info/ilo)) is an HPE ProLiant and Synergy server-embedded technology that delivers the core foundation for server intelligence along with out-of-band and in-band management facilities. This technology is a combination of the iLO ASIC that is part of the server board and the firmware that powers the ASIC. Out of the box, HPE iLO simplifies server setup, provides access to server health information, and enables server management at scale, including basic remote administration. Different generations of ProLiant Servers carry different versions of the iLO ASIC.
2323

2424
In HPE ProLiant and Synergy Gen10 servers, HPE iLO 5 introduced the management of storage controllers via its graphical user interface and via the [Redfish](http://www.dmtf.org/redfish) RESTful API standard. Although [videos](https://www.youtube.com/channel/UCIZhrIYcNh3wHLiY4ola5ew/search?query=logicaldrive) already exist that cover the graphical user interface, I wanted to address this feature with a pure Redfish API approach, bypassing the `ilorest` [interface tool](http://www.hpe.com/info/resttool) and its Smart Array macro commands.
2525

26-
In this article you start by learning how to cleanup and prepare a SmartRAID (SR) storage Controller for receiving a configuration with one or more logical drives using an HPE proprietary OEM process. Then, on this fresh environment, you will learn how to create a simple RAID array configuration prior to more complex ones to complement the [API reference documentation](https://hewlettpackard.github.io/ilo-rest-api-docs/ilo5/?python#smartstorageconfig).
26+
In this article you start by learning how to cleanup and prepare a SmartRAID (SR) storage Controller for receiving a configuration with one or more logical drives using an HPE proprietary OEM process. Then, on this fresh environment, you will learn how to create a simple RAID array configuration prior to more complex ones.
27+
28+
**NOTE**: The HPE proprietary `SmartStorageConfig` introduced with HPE iLO 5 has been [deprecated](https://servermanagementportal.ext.hpe.com/docs/redfishservices/ilos/ilo6/ilo6_adaptation/#hpe-smart-storage-model-oem-deprecated) in iLO 6 based servers (Gen11) in favor of the standard [DMTF storage model](https://servermanagementportal.ext.hpe.com/docs/redfishservices/ilos/supplementdocuments/storage/). For backward compatibility, HPE iLO 5 implements both models.
2729

2830
## Foreword
2931

3032
I've used the [Postman](https://www.getpostman.com/) API development to illustrate our examples. This should give you the ability to implement these raw examples using your own preferred language.
3133

3234
The reader should have the knowledge of HTTP [request methods](https://en.wikipedia.org/wiki/Hypertext_Transfer_Protocol#Request_methods) like `GET`, `PUT` and `PATCH`.
3335

34-
Moreover, it is assumed that the reader knows how to manage Redfish sessions as described in the [Redfish API Reference documentation](https://hewlettpackard.github.io/ilo-rest-api-docs/ilo5/#authentication-and-sessions). More hints for managing iLO sessions with Redfish can be found in this [article](/blog/managing-ilo-sessions-with-redfish).
36+
Moreover, it is assumed that the reader knows how to manage Redfish sessions as described in the [Redfish API Reference documentation](https://servermanagementportal.ext.hpe.com/docs/concepts/redfishauthentication/). More hints for managing iLO sessions with Redfish can be found in this [article](/blog/managing-ilo-sessions-with-redfish).
3537

3638
## Storage data models
3739

@@ -70,15 +72,15 @@ Upon reboot, and once the server has finished its Pre-OS Tasks (POST), you shoul
7072

7173
## The `DataGuard` property
7274

73-
The management of HPE Smart Storage devices requires a proper understanding of the `DataGuard` property part of the `SmartStorageConfig` sub-tree. The value of this attribute "_indicates whether or not data destructive actions are allowed_" as explained in the [API Reference documentation](https://hewlettpackard.github.io/ilo-rest-api-docs/ilo5/#dataguard).
75+
The management of HPE Smart Storage devices requires a proper understanding of the `DataGuard` property part of the `SmartStorageConfig` sub-tree. The value of this attribute "_indicates whether or not data destructive actions are allowed_" as explained in the [API Reference documentation](https://servermanagementportal.ext.hpe.com/docs/redfishservices/ilos/ilo5/ilo5_290/ilo5_other_resourcedefns290/#dataguard).
7476

7577
This property is set in the pending settings (`SmartStorageConfig/Settings`) along with the directives to be performed by the Smart Storage device (i.e. Logical Volume Creation, Deletion...). During the next POST, the firmware checks its value and performs, or does not perform, the requested directives.
7678

7779
If the value is `Strict`, which is the default value when not changed in the pending settings, the firmware denies any destructive data action (create/delete logical drives or clear drive metadata....).
7880

7981
If the value is set to `Disabled`, destructive data actions are allowed. Finally, when the value is `Permissive`, only destructive data actions are allowed on the specified objects.
8082

81-
Refer to the [iLO RESTful API documentation](https://hewlettpackard.github.io/ilo-rest-api-docs/ilo5/#delete-logical-drives) for more information.
83+
Refer to the [iLO RESTful API documentation](https://servermanagementportal.ext.hpe.com/docs/redfishservices/ilos/supplementdocuments/storage/) for more information.
8284

8385
## Storage controller and physical disks preparation
8486

@@ -130,12 +132,11 @@ To delete a specific logical drive you have to send a `PUT` request to the `Smar
130132

131133
### Sanitizing / disk drives
132134

133-
In addition to the removal of logical drives and the meta data cleanup of physical drives, you may want to [erase / sanitize](https://hewlettpackard.github.io/ilo-rest-api-docs/ilo5/#sanitize-drives) a list of physical drives. To perform this (long) operation, send the following `PATCH` action with the correct list of the drives to erase, separated by a comma. Don't forget to disabled the `DataGuard` property as well:
135+
In addition to the removal of logical drives and the meta data cleanup of physical drives, you may want to erase / sanitize a list of physical drives. To perform this (long) operation, send the following `PATCH` action with the correct list of the drives to erase, separated by a comma. Don't forget to disabled the `DataGuard` property as well:
134136

135137
![Sanitize physical disk drives](https://redfish-lab.sourceforge.io/media/redfish-wiki/StorageManagementWithRedfifsh/5-SanitizePhysicalDrive.png)
136138

137-
The `ErasePattern` property supports the following [values](https://hewlettpackard.github.io/ilo-rest-api-docs/ilo5/#actions-array):
138-
139+
The `ErasePattern` property supports the following [values](https://servermanagementportal.ext.hpe.com/docs/redfishservices/ilos/ilo5/ilo5_290/ilo5_other_resourcedefns290/#actions-array):
139140

140141
````text
141142
SanitizeRestrictedBlockErase
@@ -157,7 +158,7 @@ As mentioned above, the sanitize process is extremely long and you can retrieve
157158

158159
Logical drives can be created using the `PUT` method. In some circumstances a `PATCH` can be used. To keep things simple, I'll only use the `PUT` method.
159160

160-
For this section, start with the clean infrastructure generated previously to create a 100GB RAID1 logical drive with a [`Roaming`](https://hewlettpackard.github.io/ilo-rest-api-docs/ilo5/#sparerebuildmode) spare drive.
161+
For this section, start with the clean infrastructure generated previously to create a 100GB RAID1 logical drive with a `Roaming` spare drive.
161162

162163
Then, add a RAID0 Logical drive located on a single hard disk without spare drive and spanning the entire disk (300GB).
163164

@@ -204,7 +205,7 @@ The following screenshot shows the characteristics of the added RAID0 logical dr
204205

205206
![Adding a logical drive in an existing array](https://redfish-lab.sourceforge.io/media/redfish-wiki/StorageManagementWithRedfifsh/12-AddLogicalDriveToExistingArray.png)
206207

207-
After reboot, the requested RAID0 logical drive is visible in the current configuration. Note that the `SpareRebuildMode` has been automatically adjusted to [`Dedicated`](https://hewlettpackard.github.io/ilo-rest-api-docs/ilo5/#sparerebuildmode) since `Roaming` is not a valid value anymore.
208+
After reboot, the requested RAID0 logical drive is visible in the current configuration. Note that the `SpareRebuildMode` has been automatically adjusted to `Dedicated` since `Roaming` is not a valid value anymore.
208209

209210
![Current configuration after the addition of logical drive in an existing array](https://redfish-lab.sourceforge.io/media/redfish-wiki/StorageManagementWithRedfifsh/13-RunningZoneAfterAddition.png)
210211

0 commit comments

Comments
 (0)