メイン コンテンツに進む
  • すばやく簡単にご注文が可能
  • 注文内容の表示、配送状況をトラック
  • 会員限定の特典や割引のご利用
  • 製品リストの作成とアクセスが可能
  • 「Company Administration(会社情報の管理)」では、お使いのDell EMCのサイトや製品、製品レベルでのコンタクト先に関する情報を管理できます。

Making iDRAC URL and IP address available on Linux operating systems

概要: 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.

この記事は自動翻訳されたものである可能性があります。品質に関するフィードバックがある場合は、このページの下部にあるフォームを使用してお知らせください。

文書の内容


現象

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.
 

Using exchange-bmc-os-info to access URL and IP

  • To start using the iDRAC URL or IP, follow the installation instructions described in the previous post to install the exchange-bmc-os-info package and ensure the service is started.
  • The URL and IP will be available in /var/run/bmc-info. We ensure this is set at login with /etc/profile.d/set-bmc-url.sh
  • Once set up and logged in as the root user, we can open a browser session to iDRAC's web console with:


                          # su user –c "xdg-open $BMC_URL" 

SLN312324_en_US__1icon Note: xdg-open as root is discouraged. 
  • We can connect to the iDRAC’s ssh port with:

                        # ssh root@$BMC_IPv4

 Let us know what you think about this at https://lists.us.dell.com/

原因

 

解決方法

 

文書のプロパティ


最後に公開された日付

30 1月 2023

バージョン

4

文書の種類

Solution