ProLiant Deployment and Provisioning
1753546 Members
5690 Online
108795 Solutions
New Discussion

Re: PXE boot once

 
AndySteady
Occasional Visitor

PXE boot once

Hi,

 

I'm looking for a way to PXE boot an HP ProLiant server once by ssh. By once I mean that the next boot should be PXE, but subsequent boots should revert to the normal/previous boot order (hard disk first).

 

The ilo version is iLO 4 Standard 1.22

 

It has ipmi but I don't know an easy way to execute ipmi commands remotely - e.g. via ssh. The ipmi session type is IPMIv2/RMCP+

 

Thanks in advance for any help,

 

Andy

 

2 REPLIES 2
AndySteady
Occasional Visitor

Re: PXE boot once

In the end I found I was able to do this:

 

set /system1/bootconfig1/bootsource5 bootorder=1

power reset

set /system1/bootconfig1/bootsource3 bootorder=1

 

Unfortunatley there needs to be a sleep between the 2nd and 3rd line as the ilo won't accept the 3rd command so soon after the reboot issue.

 

Andy


@AndySteady wrote:

Hi,

 

I'm looking for a way to PXE boot an HP ProLiant server once by ssh. By once I mean that the next boot should be PXE, but subsequent boots should revert to the normal/previous boot order (hard disk first).

 

The ilo version is iLO 4 Standard 1.22

 

It has ipmi but I don't know an easy way to execute ipmi commands remotely - e.g. via ssh. The ipmi session type is IPMIv2/RMCP+

 

Thanks in advance for any help,

 

Andy

 

ssrepfler
New Member

Re: PXE boot once

It actually CAN be done, but not on iLO

You must login to Onboard Admin (OA) via ssh

Then you can use command (e.g. to reboot bay2 blade with PXE)

reboot server 2 PXE

 

See OA CLI reference manual for more info