- Community Home
- >
- Servers and Operating Systems
- >
- HPE ProLiant
- >
- ProLiant Servers (ML,DL,SL)
- >
- Re: Remote Smart Array configuration using CLI/API...
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
тАО06-22-2017 05:43 AM
тАО06-22-2017 05:43 AM
I'm working on automated bare-metal provisioning - precisely HP ProLiant Gen9 series. So far I was able to configure boot order and some bios settings using Redfish API. However disk array is tricky part. It is not possible to do configurion using redfish/RESTful approach. These settings are read-only (supporting only GET/HEAD requests).
I was considering so called "Default Settings" accessible in Inteligent Provisioning where you can configure profile (zipped XML files) which can be deployed via python-hpilo. However disk array options are very limited - only RAID level and stripsize can be configured. You cannot create and customize array. More on this topic: Working with Intelligent Provisioning Deployment Settings and python-hpilo
Only scenario I can think of is booting pre-configured live ISO image with HP SSA/hpacucli and automatic script upon boot which will do this task and optionally reboot to target ISO image that installs final OS (this image shouldn't be modified, therefore it cannot contain 3rd party software like HP SSA).
Is there is better way to do this using low level ROM/iLO CLI utility (like ORCA) which could be automated? (SSH to iLO => TEXTCONS/VSP approaches the goal but I think it won't be possible to automate.)
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО06-22-2017 08:03 AM
тАО06-22-2017 08:03 AM
Re: Remote Smart Array configuration using CLI/API through iLO (without OS)
Take a look at the HPE Scripting Toolkit. It contains all the utilites needed to configure the hardware. You can create scripts to set system ROM settings, iLO and configure the arrays.. You can do this via PXE or boot from media
https://www.hpe.com/us/en/product-catalog/detail/pip.5219389.html
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО06-27-2017 07:57 AM - edited тАО06-27-2017 08:00 AM
тАО06-27-2017 07:57 AM - edited тАО06-27-2017 08:00 AM
Re: Remote Smart Array configuration using CLI/API through iLO (without OS)
Hello Jimmy,
thanks for this hint. I've read the data sheet but what it covers is only how great it is and all the work it can achieve. So either I'm missing something or it lacks documentation. It's not clear what has to be installed/run where, requirements and such. From what I've understood utilities should be userspace binaries, thus some kind of OS has to be run. Basically this is the same idea I already proposed - to prepare and boot preconfigured ISO image with scripts and utilities that will do our work.
I've installed the RPM binaries on provisioning Linux (not the HW itself) to explore it. Again manual pages provide no indication if it allows remote provisioning or not. They obviously require to be run directly on the HW to be configured.
At this stage I will need to boot an ISO image on the target HW and explore the utilities, write scripts and pre-configure custom ISO that will do all the configuration (especially disk array part).
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО06-27-2017 08:50 AM - edited тАО06-27-2017 08:52 AM
тАО06-27-2017 08:50 AM - edited тАО06-27-2017 08:52 AM
Re: Remote Smart Array configuration using CLI/API through iLO (without OS)
When I was actively using the toolkit utilities for bare metal deployment (instructed many labs on this at HPE Discover events several years ago) my methodology was as follows:
PXE boot into the toolkit image, run tools -
conrep - Configure System ROM settings
hponcfg - Configure iLO settings
hpssacli - Configure array settings
I would then carve out a small chunk of disk space on /dev/sda and copy down the installer kernal and initrd images along with the boot syntax. one of the tool commands would force a one time disk boot. System would then reboot and do a network installation. I still think they put some of the examples in the toolkit tarball, listed under the contrib directory.
You can make the scripts very simple, or create complex ones to create system personalization on the fly.
You can create it all to run from an ISO, but PXE is much easier to deal with. Another custom toolkit operation I created many years ago would best be described as a quick restore. It contained a gold image of the OS , applications and the toolkit. If they needed to reset a system, they could boot the DVD and this would set the system back to a known good state as the utilities in the toolkit would reconfigure the system settings and then restore the backup golden image
This was all created in the days before software like Puppet, Ansible, and Chef were available.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО06-30-2017 08:37 AM
тАО06-30-2017 08:37 AM
SolutionUnfortunately PXE is not an option for me as the target HW will be in different subnet than provisioning system.
However I explored the HPE STK toolkit. It looks nice. I just need to modify the ISO little bit so it boots automatically on it's own and run my script.
Just for the record, image can be automatically loaded by redfish/iLO restful API using "Image" and "Oem/Hp/BootOnNextServerReset" attributes in VirtualMedia section. More details on data model reference page. Perhaps it helps somebody.