This is in continuation of the previous article on exchanging information between Linux OS and the iDRAC.
It is useful to have some information about the iDRAC available in the OS, notably the IP address of the BMC and the URL to iDRAC’s web console. While the URL can be used to establish a session with the iDRAC’s web console, the IP can be used to configure other services that require communication with the iDRAC (to be discussed in future articles). Both of these can be retrieved over IPMI.
The IP address can be retrieved by querying each lan channel:
# ipmitool lan print <channel>
Accessing the URL requires a new sub-command to getsysinfo in ipmitool (in 1.8.12 and later) and can be retrieved with:
# ipmitool mc getsysinfo delloem_url
The exchange-bmc-os-info script can make this information available to privileged users as shell environment variables: BMC_URL and BMC_IPv4.
# su user –c "xdg-open $BMC_URL"
# ssh root@$BMC_IPv4
Let us know what you think about this at https://lists.us.dell.com/mailman/listinfo/linux-poweredge
Article ID: SLN312324
Last Date Modified: 08/14/2018 01:05 AM
Thank you for your feedback.