Unsolved
This post is more than 5 years old
3 Posts
0
2117
July 16th, 2019 03:00
Next boot to Lifecycle Controller via REST/Redfish API
Hey there...
I´m trying to figure out how to set the One time Boot to Lifecycle Controllere via the REST/Redfish API.
As far as I can tell from the manual, I have to perform a HTTP(S) Patch request to this URI: /redfish/v1/Managers/iDRAC.Embedded.1/Attributes
containing this data: {'Boot':{'BootSourceOverrideTarget':'Utilities'}}
My complete request in python looks like this:
r = requests.patch('https://192.168.195.124/redfish/v1/Systems/System.Embedded.1', headers={'content-type':'application/json'}, verify=False, auth=('root','calvin'), json={'Boot':{'BootSourceOverrideTarget':'Utilities'}})
However, I´m only getting into the Boot Manager menu.
From the list specified under BootSourceOverrideTarget@Redfish.AllowableValues, I can´t find anything that fits.
Has anyone gut a clue what the required value is for the parameter? Is it even possible to perform this operation via Redfish or do I have to use SSH? I´m currently trying to get away from SSH for my automation tools...
Thanks



Dell-DylanJ
4 Operator
•
2.9K Posts
0
July 16th, 2019 08:00
Hello,
I'm looking into this and testing also, but I wanted to see what servers you're working with, so I can use similar platforms. If you could share some of the models and iDRAC revisions, it may be helpful with testing. I don't expect much difference from one platform to the next, but I don't want to dismiss it as a possibility, either.
np-mast
3 Posts
0
July 17th, 2019 00:00
Hi,
I was using Dell R740(xd)s.
Firmware is 3.32.32.32 and the machines are fresh out of the box.
Dell-DylanJ
4 Operator
•
2.9K Posts
0
July 18th, 2019 07:00
I haven't been able to find documentation identifying the specific syntax to boot to the LCC by Redfish API, unfortunately. I've looked at all the documentation I can find and I also spoke with some of our System Management support members, but couldn't find anything. There's one other resource I'm going to check today, I'll post another reply if I can get an answer.
DELL-Shine K
4 Operator
•
3K Posts
0
July 18th, 2019 08:00
Can you try patch on below URI https://192.168.195.124/redfish/v1/Managers/iDRAC.Embedded.1/Attributes
Body
{"Attributes" : {"ServerBoot.1.FirstBootDevice": "F10"}}