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

在 Linux 上使用 ledmon/ledctl 公用程式來管理 PCIE SSD 軟體 RAID 磁碟機的背板面 LED

Summary: Dell TechCenter 上的 Dell 作業系統和應用程式解決方案 - Project Sputnik、Microsoft Windows、Red Hat Linux、SUSE、Ubuntu 等等

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

Ledmon 和 ledctl 是 Linux 的兩個公用程式,可用來控制磁碟機背板上的 LED 狀態。  通常,磁碟機背板面 LED 是由硬體 RAID 控制器 (PERC) 控制,但在 PCIE SSD 上使用 Linux 上的軟體 RAID (mdadm) 時,ledmon 精靈將會監控磁碟機陣列的狀態,並更新磁碟機 LED 的狀態。

Dell 系統的背板使用三 LED 狀態。  活動 LED 是由磁碟機活動、讀取或寫入所導致。  Dell 使用下列模式:
離線 - 線上無 LED
- 持續綠色 LED
識別 - 緩慢閃爍綠色 LED
重建 - 快速閃爍綠色 LED
故障 - 橙色 LED

Ledmon 使用國際閃爍模式解釋 (IBPI) 規格來顯示磁碟機所處的狀態。根據規格,磁碟機 LED 可能有幾種狀態:
線上
離線
識別

在故障陣列

的關鍵陣列
中重建故障
熱備援
最新的 ledmon 套件隨附 RHEL6.3。然而,SLES11 SP2 使用舊版的 ledmon,必須更新此版本才能支援 Dell PCIE SSD 裝置。

Ledmon 可作為精靈執行,以持續監控磁碟機和軟體 RAID 的狀態,並適當地設定磁碟機 LED。  Ledctl 可用來識別背板上的個別磁碟機,在判斷哪個磁碟機對應到哪個磁碟機槽插槽時很有用。  在使用 ledctl 和 ledmon 的 Dell SSD 系統上,需要載入 IPMI 驅動程式。

在 RedHat Enterprise Linux 6.3 上:
    # yum install OpenIPMI (或使用 rpm 直接安裝 OpenIPMI/OpenIPMI-libs rpms)
# chkconfig --add ipmi
# service ipmi start
# ledmon

ledctl usage:
    # ledctl locate =/dev/rssda 會閃爍磁碟機 LED
# ledctl locate = { /dev/rssda /dev/rssdb } 會閃爍兩個磁碟機 LED
# ledctl locate_off=/dev/rssda 會關閉定位 LED

如果同時執行 ledctl 和 ledmon,ledmon 最終會覆寫 ledctl 設定。

參考資料:
SGPIO規範:ftp://ftp.seagate.com/sff/SFF-8485.PDF
 IBPI規範:ftp://ftp.seagate.com/sff/SFF-8489.PDF
 Sourceforge專案:http://ledmon.sourceforge.net/

Article Properties


Last Published Date

21 Feb 2021

Version

3

Article Type

Solution