- Community Home
- >
- Servers and Operating Systems
- >
- HPE ProLiant
- >
- Server Management - Remote Server Management
- >
- UEFI and Set-HPEiLOOneTimeBootOption - cdrom devic...
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
ā01-24-2019 11:56 AM
ā01-24-2019 11:56 AM
UEFI and Set-HPEiLOOneTimeBootOption - cdrom device name
Hello HPE community,
I'm starting to build a powershell script to automate the SPP update of our BL460c ESXi hosts.
The idea is to first mount the SPP with the Mount-HPEiLOVirtualMedia cmdlet. Then, use the Set-HPEiLOOneTimeBootOption cmdlet to select the CD and initiate a reboot.
The first challenge I came accross is the boot mode. Some of our blades have the LegacyBios mode, and some have UEFI. I will have to align all blades to one mode.
I didn't choose yet.
I like LegacyBios because it seems a lot easier to work with with the HPEiLOOneTimeBootOption cmdlet. Boot options are standard and have static names. But it's ''legacy' and I'm as bit afraid of compatibility issues in the future...
On the other hand, UEFI is newer but looks more complicated to work with. The name of the cdrom device seems to change from one system to another. So this will be more complicated to script.
Basically my question is:
How would you use Set-HPEiLOOneTimeBootOption when the boot mode is set to UEFI and the cdrom name is different from one system to another?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
ā01-28-2019 06:58 AM
ā01-28-2019 06:58 AM
Re: UEFI and Set-HPEiLOOneTimeBootOption - cdrom device name
hi ,
follow the power shell guide
https://support.hpe.com/hpsc/doc/public/display?docId=emr_na-c04633070&docLocale=en_US
check alt option to use ILO ISO image rather using CDROM Drive
I am a HPE Employee
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
ā01-29-2019 08:50 AM
ā01-29-2019 08:50 AM
Re: UEFI and Set-HPEiLOOneTimeBootOption - cdrom device name
Hi,
You can use below command to set CDROM as boot source when server is set to UEFI mode.
PS C:\> $connection = Connect-HPEiLO 10.20.30.1 -Username admin -Password admin123 -DisableCertificateAuthentication
PS C:\> ,$connection | Set-HPEiLOOneTimeBootOption -BootSourceOverrideEnable Continuous -BootSourceOverrideTarget CD
The CD option should not change in same generation servers like only in Gen10. But if you have combination of different genration servers then also it should work except don't provide -BootSourceOverrideEnable parameter. and boot option should be all UEFI or all Legacy.
If you have different boot options first thing is you need to set them to one boot option either UEFI or legacy. Later you look into the CRROM options.
Set-HPEiLOBootMode -PendingBootMode UEFI
Thanks,
Gokul
I am a HPE Employee