A startup script that can do these:
1. Set OS Name, Version, System Hostname in BMC
2. Get BMC URL/IP address from BMC
Would benefit:
1. users who would like to fetch hostname/OS Name/Version.
2. launch web-interface to BMC where supported with "xdg-open $BMC_URL"
3. Use the BMC_IP for other purposes like
3a. snmp proxy from host to BMC when BMC agent present.
3b. expose BMC IP/URL via other systems management interfaces (like wsman).
Added startup script and config file that accomplishes this to this tracker.
There are four pieces of information that are exchanged here:
1. OS Name - this is a standard IPMI command
2. OS Hostname - this is a standard IPMI command
3. OS Version - this is a delloem command. The script has provision to include other OEMs if they
support this command.
5. BMC IP - this is a standard IPMI command
6. BMC URL - this is a delloem command. Although, on non-dell systems, this would simply be
"https://$BMC_IP:443"
So, with the exception of #3, all of them should work on any system that supports the respective
commands.
While I developed these for RHEL, I would like to have this working on popular Linux distros. I will
include a debian and suse version of the script soon (one this one is accepted). There is a systemd
unit coming up as well.
exchange-bmc-os-info config file v0.71
systemd service unit
exchange-bmc-os-info startup script v0.72
in cvs