- Community Home
- >
- Software
- >
- HPE OneView
- >
- REST change boot order
-
- 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
03-18-2016 07:37 AM
03-18-2016 07:37 AM
REST change boot order
Hello,
I'm having a really hard time to change to boot order on servers managed by one view, from the REST API.
I have done it with ilo rest api before, with ease, but i'm not having any luck with one view.
Moreover, i can't get any example in the docs or from my research.
Did anyone managed to do it ?
Thanks in advance.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
03-18-2016 03:04 PM
03-18-2016 03:04 PM
Re: REST change boot order
Boot order management is performed in the Server Profile. Have you not looked at PUT /rest/server-profiles/{id} ? Here is an example of a Server Profile with the Boot Order configured:
{ "uri": "/rest/server-profiles/{id}", "type": "ServerProfileV5", "name": "Profile101", "serverHardwareUri": "/rest/server-hardware/{id}", "affinity": "Bay", "hideUnusedFlexNics":true, "connections": [], "bootMode": { "manageMode": true, "mode": "BIOS" }, "boot": { "manageBoot": true, "order": ["PXE", "HardDisk", "CD", "Floppy", "USB"] }, "bios": { "manageBios": false }, "localStorage": { "controllers": [{ "slotNumber": "0", "managed": true, "mode": "RAID", "initialize": false, "importConfiguration": false, "logicalDrives": [ { "driveName": "Operating System", "raidLevel": "RAID0", "bootable": true, "driveTechnology": null, "numPhysicalDrives": "1" }, { "driveName": "Recovery Volume", "raidLevel": "RAID1", "bootable": false, "driveTechnology": "SasHdd", "numPhysicalDrives": "2" }] }] }, "firmware": { "manageFirmware": true, "firmwareBaselineUri": "/rest/firmware-drivers/{fwBaselineId}", "forceInstallFirmware": false }
I am an HPE employee
Hewlett Packard Enterprise International
- Communities
- HPE Blogs and Forum
© Copyright 2021 Hewlett Packard Enterprise Development LP