메인 콘텐츠로 이동
  • 빠르고 간편하게 주문
  • 주문 보기 및 배송 상태 추적
  • 제품 목록을 생성 및 액세스
  • 회사 관리를 사용하여 Dell EMC 사이트, 제품 및 제품 수준 연락처를 관리하십시오.

Using ledmon/ledctl utilities on Linux to manage backplane LEDs for PCIE SSD Software RAID drives

요약: Dell OS and Applications Solutions on Dell TechCenter - Project Sputnik, Microsoft Windows, Red Hat Linux, SUSE, Ubuntu, and more

이 문서는 자동으로 번역되었을 수 있습니다. 번역 품질에 대한 의견이 있는 경우 페이지 하단의 양식을 사용해 알려 주시기 바랍니다.

문서 콘텐츠


증상

Ledmon and ledctl are two utilities for Linux that can be used to control LED status on drive backplanes.  Normally drive backplane LEDs are controlled by a hardware RAID controller (PERC), but when using Software RAID on Linux (mdadm) for PCIE SSD, the ledmon daemon will monitor the status of the drive array and update the status of drive LEDs.

Dell systems use a three-LED status on their backplane.  The activity LED is caused by drive activity, read or write.  Dell uses the following patterns:
 offline  - No LED
 online - Steady green LED
 identify - Slow blinking green LED
 rebuild - Fast blinking green LED
 fail - Orange LED

Ledmon uses the International Blinking Pattern Interpretation (IBPI) specification for displaying which state the drives are in. According to the specification, there can be several states for drive LEDs:
 online
 offline
 identify
 rebuild
 fail
 hotspare
 in critical array
 in failed array

The latest ledmon package ships with RHEL6.3. SLES11 SP2 however uses an older version of ledmon that must be updated in order to support Dell PCIE SSD devices.

Ledmon can be run as a daemon to constantly monitor the status of drives and Software RAID and set the drive LEDs appropriately.  Ledctl can be used to identify an individual drive on a backplane, useful when determining which drive maps to which drive bay slot.  On Dell SSD systems using ledctl and ledmon requires the ipmi drivers to be loaded.

On RedHat Enterprise Linux 6.3:
    # yum install OpenIPMI (or use rpm to install OpenIPMI/OpenIPMI-libs rpms directly)
    # chkconfig --add ipmi
    # service ipmi start
    # ledmon

ledctl usage:
    # ledctl locate=/dev/rssda will blink drive LED
    # ledctl locate={ /dev/rssda /dev/rssdb } will blink both drive LEDs
    # ledctl locate_off=/dev/rssda will turn off the locate LED

If running ledctl and ledmon concurrently, ledmon will eventually override the ledctl settings.

References:
 SGPIO specification: ftp://ftp.seagate.com/sff/SFF-8485.PDF
 IBPI specification: ftp://ftp.seagate.com/sff/SFF-8489.PDF
 Sourceforge project: http://ledmon.sourceforge.net/

문서 속성


마지막 게시 날짜

21 2월 2021

버전

3

문서 유형

Solution