- Community Home
- >
- Servers and Operating Systems
- >
- ProLiant
- >
- ProLiant Servers (ML,DL,SL)
- >
- Problem creating logical RAID drives using REST / ...
-
- Forums
-
- Advancing Life & Work
- Advantage EX
- Alliances
- Around the Storage Block
- HPE Ezmeral: Uncut
- OEM Solutions
- Servers & Systems: The Right Compute
- Tech Insights
- The Cloud Experience Everywhere
- HPE Blog, Austria, Germany & Switzerland
- Blog HPE, France
- HPE Blog, Italy
- HPE Blog, Japan
- HPE Blog, Middle East
- HPE Blog, Russia
- HPE Blog, Saudi Arabia
- HPE Blog, South Africa
- HPE Blog, UK & Ireland
-
Blogs
- Advancing Life & Work
- Advantage EX
- Alliances
- Around the Storage Block
- HPE Blog, Latin America
- HPE Blog, Middle East
- HPE Blog, Saudi Arabia
- HPE Blog, South Africa
- HPE Blog, UK & Ireland
- HPE Ezmeral: Uncut
- OEM Solutions
- Servers & Systems: The Right Compute
- Tech Insights
- The Cloud Experience Everywhere
-
Information
- Community
- Welcome
- Getting Started
- FAQ
- Ranking Overview
- Rules of Participation
- Tips and Tricks
- Resources
- Announcements
- Email us
- Feedback
- Information Libraries
- Integrated Systems
- Networking
- Servers
- Storage
- Other HPE Sites
- Support Center
- Aruba Airheads Community
- Enterprise.nxt
- HPE Dev Community
- Cloud28+ Community
- Marketplace
-
Forums
-
Blogs
-
Information
-
English
- 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
- Email to a Friend
- Report Inappropriate Content
10-22-2018 05:39 PM
10-22-2018 05:39 PM
Hey all - looking for an assist. If I'm in the wrong place, please redirect me.
I'm trying to use the iLOrest RESTfulInterface Tool to create some logical drives. I have to replicate this across 50 servers, so I'm trying to script it up. I connected into the server I'm using a s a test (DL360 Gen10, fully patched, iLO5), and I can retrieve all the SmartArray info, drive info, etc. Then I'm trying to create a simple RAID1 mirror of two SSDs for the OS, and another RAID1 mirror of two more SSDs for Data. I'm using these commands:
createlogicaldrive customdrive Raid1 1,2 --name=OS --controller=1 createlogicaldrive customdrive Raid1 3,4 --name=Data --controller=1
So far so good... except when I execute either command, I get the following response:
The property you are trying to change has been updated. Please check entry again before manipulating it.
And nothing happens on the server. (The DeleteLogicalDrive command works just fine, but not the CreateLogicalDrive command.)
Any ideas? I'd even be open to other methods to script this up, and totally abandon this tool if there's a better route....
Thanks!
Mike
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
10-22-2018 10:54 PM
10-22-2018 10:54 PM
SolutionHi,
You can try Smart Array Power cmdlets which are available on HPE web and PowerShell gallery as well.
https://www.hpe.com/us/en/product-catalog/detail/pip.5440657.html
https://www.powershellgallery.com/packages/hpesmartarraycmdlets/1.0.0.1
All cmdlets has self description and has in-built help. Below is an example to fetch help of a cmdlet.
Thanks,
Gokul
You can refer below cmdlet for creation of logical drive.
C:\> help New-HPESALogicalDrive -Examples
PS C:\> $connection = Connect-HPESA -IP 10.20.30.40 -Username admin -Password admin123
PS C:\> $result = New-HPESALogicalDrive -Connection $connection -ControllerLocation "Slot 1" -LogicalDriveName LogicalDrive1 -Raid Raid0 -CapacityGiB -1 -DataDrive
@(,@("P1I:1:1","P1I:1:2"))
PS C:\> $result
IP : 10.20.30.40
Hostname : abc.domain.com
Status : Information
StatusInfo : @{Category=Usability; Message=Reboot of the target server is required. }
I am a HPE Employee
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
10-25-2018 05:31 PM
10-25-2018 05:31 PM
Re: Problem creating logical RAID drives using REST / iLOrest tool
The CMDlets did the trick. I had to modify them to fit our needs, but managed to get them working the way we needed. Thanks for the pointer!
Mike
Hewlett Packard Enterprise International
- Communities
- HPE Blogs and Forum
© Copyright 2021 Hewlett Packard Enterprise Development LP