Skip to main content
  • Place orders quickly and easily
  • View orders and track your shipping status
  • Create and access a list of your products
  • Manage your Dell EMC sites, products, and product-level contacts using Company Administration.

在 Linux 作業系統上提供 iDRAC URL 和 IP 位址

Summary: 請參閱作業系統中可用的 iDRAC 相關資訊,特別是 BMC 的 IP 位址,以及 iDRAC Web 主控台的 URL,這非常有用。

This article may have been automatically translated. If you have any feedback regarding its quality, please let us know using the form at the bottom of this page.

Article Content


Symptoms

這是一篇文章中關於在 Linux 作業系統和 iDRAC 之間交換資訊的持續性。

請參閱作業系統中可用的 iDRAC 相關資訊,特別是 BMC 的 IP 位址,以及 iDRAC Web 主控台的 URL,這非常有用。雖然 URL 可用來建立 iDRAC Web 主控台的會話,但 IP 可以用來設定需要與 iDRAC 通訊的其他服務 (待日後文章討論)。兩者皆可透過 IPMI 擷取。

查詢每個 LAN 通道即可擷取 IP 位址:

        # ipmitool lan print <channel>

Accessing the URL 需要新的子命令,才能在 ipmitool 中取得 getsysinfo (1.8.12 及更新版本),並可使用以下方式擷取:

        # ipmitool mc getsysinfo delloem_url

Exchange-bmc-os-info指令檔可讓許可權使用者使用此資訊作為 Shell 環境變數:BMC_URL和BMC_IPv4。
 

使用 Exchange-bmc-os-info 存取 URL 和 IP

  • 若要開始使用 iDRAC URL 或 IP,請依照 前一個 POST 說明的安裝指示安裝 Exchange-bmc-os-info 套件,並確保服務已啟動。
  • URL 和 IP 將提供 /var/run/bmc-info。請務必在登入時使用 /etc/profile.d/set-bmc-url.sh
  • 設定並以根使用者身分登入後,我們可以在 iDRAC 的 Web 主控台開啟瀏覽器會話,其中包含:


                          # su user –c 「xdg-open $BMC_URL」 

SLN312324_en_US__1icon 注意: xdg-open,因為不鼓勵根。 
  • 我們可以使用下列功能連線至 iDRAC 的 ssh 埠:

                        # ssh root@$BMC_IPv4

讓我們瞭解您對此有何看法,請 HTTPs://lists.us.dell.com/

Cause

 

Resolution

 

Article Properties


Last Published Date

30 Jan 2023

Version

4

Article Type

Solution