Method to obtain the system uuid from the system? #7
Comments
Maybe you could use IPMI "Get System GUID" command below:
Get MAC Address command:
The details could be refer to the IPMI Spec "22.14 Get System GUID Command" |
Please note that "Get System GUID" command is optional. Not all BMCs may have it implemented. |
It took me some time to process this and the question remains unanswered.
However! The bios has a dmi table which includes things like FRU data as well as the serial number and also, most importantly, a product UUID which is a globally unique ID which identifies that system not the BMC. The UUID that I am after is the smbios/dmi table UUID which is what ipxe will return. This is discussed in section 22.14 of the above document, but there doesn't seem to be anywhere in the documentation on how execute the get_system_UUID, only the before mentioned management controller guid. To reiterate the question: what is the command, if it exists, to obtain the system's smbios uuid? |
DMI table could not be read by BMC directly. According to the PXE boot, maybe you could try "Set System Boot Options" command to force system to pxe boot in next reboot.
|
I appreciate the traction, however setting the machine to pxeboot is not the issue. The issue is identifying the machine to tell it what to install after it pxe boots. The system UUID is the best option for me since my systems are all using many many different nics which makes MAC addresses unreliable. Sigh.. It's never easy is it. |
If your machine has own BMC chip, maybe you could use the Device GUID as reference. |
Most probably, there is no easy solution to your problem. What most people usually do not realize is that BMC is quite a passive device. It can not fetch arbitrary data or interfere with host system operation in an arbitrary way. It can only provide two types of info:
What you want is that last item in the list. Unless your BIOS pushes that data into BMC using an OEM command and there is a known to you OEM command to fetch that info from BMC, there is no way to know what you want. |
@chiabinglee , If I use the BMC's guid as a refference, then I have to be able to get the BMC's GUID from ipxe after it boots, which is getting the system UUID at present. It quickly turns into a case of which poison to pick. @AlexanderAmelkin , It sounds like it should be acceptable to get the vendor of the motherboard using a script and then script out getting the UUID using the vendor specific command based on the vendor. |
Sure. You can even ask them to provide patches to ipmitool to their respectime |
Please also note that 'System GUID' in BMC that may be available via raw command
However, my previous comment regarding availability of this information in your particular system is still valid. You vendor's BIOS must send this information to your BMC before it can be retrieved by |
Oh gracious masters of the all-powerful ipmitool! Is there a way to read the system’s uuid using ipmi so that we can perform PXE boots without logging into the system? I have several threads on several different places and I would only contact you as a last resort… The information is in the DMI table, I just am not sure how to use the tools I have to read it and reading the mac addresses and the uuid would be powerful allies in our quest to automate everything.
The text was updated successfully, but these errors were encountered: