- Community Home
- >
- Servers and Operating Systems
- >
- HPE ProLiant
- >
- ProLiant Servers (ML,DL,SL)
- >
- Problem creating logical RAID drives using REST / ...
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
Discussions
Discussions
Forums
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
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
тАО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
- 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
- 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