- Community Home
- >
- Servers and Operating Systems
- >
- HPE ProLiant
- >
- ProLiant Servers (ML,DL,SL)
- >
- Re: Automation tool to Configure RAID on an HPE Pr...
Categories
Company
Local Language
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Forums
Discussions
Discussions
Discussions
Forums
Discussions
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
- BladeSystem Infrastructure and Application Solutions
- Appliance Servers
- Alpha Servers
- BackOffice Products
- Internet Products
- HPE 9000 and HPE e3000 Servers
- Networking
- Netservers
- Secure OS Software for Linux
- Server Management (Insight Manager 7)
- Windows Server 2003
- Operating System - Tru64 Unix
- ProLiant Deployment and Provisioning
- Linux-Based Community / Regional
- Microsoft System Center Integration
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Community
Resources
Forums
Blogs
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-15-2023 04:14 AM - last edited on 11-16-2023 07:39 PM by support_s
11-15-2023 04:14 AM - last edited on 11-16-2023 07:39 PM by support_s
Automation tool to Configure RAID on an HPE ProLiant G10 ? iLO/cli
Hello,
Simple scenario: server with Total Drives 6 and raid 6 is needed. Do we have free simple way to configure RAID without clicking all the buttons throught bios ?
Dell have simple solution, you can upload raid config file via idrac. How about HPE?
Regards,
- Tags:
- Prolaint server
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-16-2023 09:24 AM
11-16-2023 09:24 AM
Re: Automation tool to Configure RAID on an HPE ProLiant G10 ? iLO/cli
Hello,
You may create an array either using the options in the server's BIOS or by using the HPE Smart Storage Administrator in the Boot menu (pressing key F10 during POST). It cannot be confiigured directly from the iLO or by uploading a config at iLO.
Regards,
I work at HPE
HPE Support Center offers support for your HPE services and products when and how you need it. Get started with HPE Support Center today.
[All opinions expressed here are mine, and not official statements on behalf of Hewlett Packard Enterprise]

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-16-2023 11:40 PM
11-16-2023 11:40 PM
Re: Automation tool to Configure RAID on an HPE ProLiant G10 ? iLO/cli
Sharing bash script. Seems with ilorest is posible to change some bios settings like workloadprofile and set desired ilo usrname and pass. It reads credentials file iloipaddress,iloadministratorpassword from file. Can be usefult preparing large batch of servers.
Sad that not possbile to export storage configuration
#!/bin/bash
input_file='HPEcredentials.csv'
# Check if the input file exists
if [ ! -f "$input_file" ]; then
echo "Error: Input file '$input_file' not found."
exit 1
fi
# Read IP addresses and passwords from the CSV file
while IFS=, read -r ip_address password; do
# Print IP address
echo "Processing server: $ip_address"
# Execute ilorest login command
/Applications/ilorest login "$ip_address" -u USERNAME -p "$password"
# Execute ilorest serverclone command
/Applications/ilorest serverclone load --auto -f "HPEconfig.json"
done < "$input_file"
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-17-2023 11:21 AM
11-17-2023 11:21 AM
Re: Automation tool to Configure RAID on an HPE ProLiant G10 ? iLO/cli
Hello,
The ilorest tool "serverclone" option is only designed to capture BIOS and iLO configuration information. The array can be configured using redfish as well, then pushed out to multiple servers. Please see the user guide with more information regarding this:
This can also be done via RAW redfish commands, but this would likely vary somewhat depending on what controller is in use in the servers. Gen11 servers have stricter adherence to the redfish specification, so the commands on the newer servers should be consistent across all of the controllers.
Regards
I work at HPE
HPE Support Center offers support for your HPE services and products when and how you need it. Get started with HPE Support Center today.
[Any personal opinions expressed are mine, and not official statements on behalf of Hewlett Packard Enterprise]

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-18-2023 01:33 AM - edited 11-18-2023 01:35 AM
11-18-2023 01:33 AM - edited 11-18-2023 01:35 AM
Re: Automation tool to Configure RAID on an HPE ProLiant G10 ? iLO/cli
Any ideas what i missed ?
iLOrest > createvolume quickdrive RAID6 6 SSD NVMe --locationtype=Internal --minimumsize=-1 --controller="Slot 12"
ERROR :
Our servers specs:
ProLiant DL325 Gen10 Plus v2
ilo5
Slot=12 Enabled HPE MR416i-a Gen10+ 0 Drives 6
Media type NVMe SSD
Create a volume with a minimal number of arguments (utilizes default values on the controller). This option is only for iLO5 or Gen10
example: createvolume quickdrive <raid-level> <num-drives> <media-type> <interface-type> --locationtype=Internal --minimumsize=0 --controller=1
positional arguments:
Raid_Level Specify the RAID level for the volume to be created.
Drives For quick drive creation, specify number of disks.
Drive_Media_Type Specify the drive media type of the physical disk(s) (i.e. HDD or SSD)
Drive_Interface_Type Specify the interface type of the physical disk(s) (i.e. SATA or SAS or NVMe)
--controller CONTROLLER
Use this flag to select the corresponding controller using either the slot number or index.
example: --controller=Slot 0 OR --controller=1
options:
--locationtype LOCATIONTYPE
Optionally specify the location of the physical disks(s) (i.e. Internal or External)
--minimumsize MINIMUMSIZE
Optionally include to set the minimum size of the drive in GiB. (usable in quick creation only,
use -1 for max size)
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-20-2023 04:32 AM
11-20-2023 04:32 AM
Re: Automation tool to Configure RAID on an HPE ProLiant G10 ? iLO/cli
I would like to create logical drive with RAID6, is it possible to do with ilorest createvolume ?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-20-2023 05:15 AM
11-20-2023 05:15 AM
Re: Automation tool to Configure RAID on an HPE ProLiant G10 ? iLO/cli
Hi,
Refer the document below to create the logical drive with ilo rest. Make sure to update the smart array controller firmware and use the latest version of ilorest tool
RESTful Interface Tool
https://support.hpe.com/hpesc/public/km/product/1008862654/Product?sp4ts.oid=1008862654#t=DriversandSoftware
I work at HPE
HPE Support Center offers support for your HPE services and products when and how you need it. Get started with HPE Support Center today.
[Any personal opinions expressed are mine, and not official statements on behalf of Hewlett Packard Enterprise]

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-30-2023 12:26 AM
11-30-2023 12:26 AM
Re: Automation tool to Configure RAID on an HPE ProLiant G10 ? iLO/cli
Hello @modestaso,
Let us know if you were able to resolve the issue.
If you have no further query and you are satisfied with the answer then kindly mark the topic as Solved so that it is helpful for all community members.