Ä¿ÇǴнº, ½Ã½ºÅÛ ¿£Áö´Ï¾îÀÇ ½°ÅÍ Ä¿ÇÇÇâÀÌ ³ª´Â *NIX
Ä¿ÇǴнº
½Ã½ºÅÛ/³×Æ®¿÷/º¸¾ÈÀ» ´Ù·ç´Â °÷
* HanIRCÀÇ #coffeenix ¹æ
[ Àåºñ ¹× ȸ¼± ÈÄ¿ø ]
HOME > ½Ã½ºÅÛ °ü¸® / ¼­¹ö¿î¿µ µµ¿ò¸»
°Ë»ö : »çÀÌÆ® WHOIS À¥¼­¹ö Á¾·ù

ÃÖÀûÈ­ / Æ©´× / ¼º´É°³¼± (6, ±Û 1, ÀÚ·á 3)
µð½ºÅ© ÄõÅÍ(quota) (3, ±Û 1, ÀÚ·á 3)
µð½ºÅ© °ü¸® / ÆÄÀϽýºÅÛ / mount (34, ±Û 13, ÀÚ·á 12)
¹é¾÷(backup) / ½Ã½ºÅÛ º¹±¸ (14, ±Û 6, ÀÚ·á 11)
¼­¹ö¿î¿µ (8, ±Û 2, ÀÚ·á 9)
ÇÁ¸°ÅÍ °ü¸® / ÇÁ¸°Æà (7)
ÆÐÅ°Áö °ü¸® / ÆÐÄ¡ / rpm (10, ±Û 5, ÀÚ·á 1)
ºÎÆÃ, boot / LILO / GRUB (10, ±Û 5, ÀÚ·á 9)
¼­¹ö ¸ð´ÏÅ͸µ (10, ±Û 5, ÀÚ·á 2)
·Î±×ÀÎ / ·Î±×¾Æ¿ô (1)
·Î±×(log) / syslog (5, ±Û 3, ÀÚ·á 3)
¸Þ¸ð¸®, ½º¿Ò(swap), ·¥µð½ºÅ©(ramdisk) (3, ±Û 2)
»ç¿ëÀÚ °ü¸®(°èÁ¤ °ü¸®) (1, ÀÚ·á 1)

  IPMI ¼ÂÆðú ÀÌ¿ë ÀÛ¼ºÀÏ : 2014/12/23 18:29
 
  • ±Û¾´ÀÌ : ÁÁÀºÁøÈ£ ( http://coffeenix.net/ )
  • Á¶È¸¼ö : 49840
          [ ÀÌÀüÈ­¸é / ¼öÁ¤ ]   ºñ¹Ð¹øÈ£ :     Àμâ¿ë È­¸é
      Á¦  ¸ñ : IPMI ¼ÂÆðú ÀÌ¿ë
    ÀÛ¼ºÀÚ : ÁÁÀºÁøÈ£(truefeel, http://coffeenix.net/ )
    ÀÛ¼ºÀÏ : 2014.11.25(È­)

    IPMI(Intelligent Platform Management Interface)´Â ¼­¹ö¸¦ Æ÷ÇÔÇÑ ÄÄÇ»Å͸¦ °ü¸®ÇÏ°í ¸ð´ÏÅ͸µ ÇÒ ¼ö ÀÖ´Â ±â´ÉÀ» Á¦°øÇϴ ǥÁØ Ç÷§ÆûÀÌ´Ù. Á¦Á¶»ç¿¡ »ó°ü¾øÀÌ H/W°¡ IPMI¸¦ Áö¿øÇÏ¸é µ¿ÀÏÇÑ ¹æ½ÄÀ¸·Î ±­¸®¿Í ¸ð´ÏÅ͸µÀ» ÇÒ ¼ö ÀÖ´Ù. (Á¦Á¶»çº°·Î Ãß°¡µÈ ÀϺΠ¸í·ÉÀÌ ÀÖÀ½) IPMI¸¦ ÀÌ¿ëÇÏ¸é ¼­¹ö CPU, FAN, ÆÄ¿ö, ¸Þ¸ð¸®, ¿Âµµ µî °¢Á¾ ¼¾¼­ Á¤º¸¸¦ ¸ð´ÏÅ͸µÇÒ ¼ö ÀÖ°í, H/W À̺¥Æ® ¹ß»ý(¸Þ¸ð¸® ¹®Á¦, Power ¹®Á¦)½Ã syslog¸¦ ÅëÇØ ¹Ù·Î È®ÀÎÇÒ ¼ö ÀÖ´Ù. ±×¸®°í IPMI ³×Æ®¿÷ȯ°æÀ» ÅëÇØ ¿ø°Ý¿¡¼­ ¼­¹ö¸¦ ÄÑ°í ²ø ¼ö ÀÖÀ» »Ó ¾Æ´Ï¶ó ÄܼÖÈ­¸éÀ» ±×´ë·Î º¼ ¼ö ÀÖ´Ù.
    H/W Àå¾Ö½Ã ºü¸¥ ´ëÀÀ°ú °ü¸® ÆíÀǼºÀ» Á¦°øÇÏ´Â IPMI´Â ¼­¹ö °ü¸®¿¡ Çʼö »çÇ×ÀÌ´Ù.


    1. IPMI Áغñ

    ¿À·¡µÈ ¼­¹öµéµµ IPMI¸¦ Áö¿øÇÏÁö¸¸, ½ÇÁ¦ Áö¿øÇÏ´ÂÁö È®ÀÎÇÏ°í ½Í´Ù¸é dmidecode·Î ¾Ë ¼ö ÀÖ´Ù. IPMIÁ¤º¸°¡ ³ª¿À¸é Áö¿øÇÏ´Â °ÍÀÌ´Ù. ´Ü ¹öÀüÀÌ 2.0º¸´Ù ³·´Ù¸é(¿¹¸¦µé¾î 1.5¶ó´øÁö) ÀÌ¿ëÇϴµ¥ Á¦¾àÀÌ »ý±æ ¼ö ÀÖ´Ù.

     
    # dmidecode | grep -A10 IPMI
     


    1) Linux¿¡¼­ (CentOS)

    IPMI ÆÐÅ°Áö¸¦ ¼³Ä¡ÇÑ´Ù. freeipmi, ipmitool µî ¿©·¯ ÅøÀÌ ÀÖÁö¸¸ ipmitoolÀ» »ç¿ëÇÏ°Ú´Ù.

     
    # yum install ipmitool OpenIPMI
    # ipmitool lan print 1 <-- IPMI Ä¿³Î ¸ðµâÀ» ·ÎµùÇÏÁö ¾Ê¾Æ¼­ ±×·¸´Ù.
    Could not open device at /dev/ipmi0 or /dev/ipmi/0 or /dev/ipmidev/0: No such file or directory
     


    IPMI Ä¿³Î ¸ðµâÀ» ·ÎµùÇÑ´Ù.

     
    # service ipmi start
    # lsmod |grep ipmi
    ipmi_devintf            7729  2
    acpi_ipmi               3745  1 power_meter
    ipmi_si                44687  2 acpi_ipmi
    ipmi_msghandler        38826  3 ipmi_devintf,acpi_ipmi,ipmi_si
     


    2) FreeBSD¿¡¼­

    ipmitool ÆÐÅ°Áö¸¦ ¼³Ä¡ÇÏ°í Ä¿³Î ¸ðµâÀ» ·ÎµùÇÑ´Ù.

     
    # pkg install ipmitool
    # kldload ipmi
    # kldstat | grep ipmi
    3    1 0xffffffff80fdc000 f970     ipmi.ko
     


    ºÎÆýÿ¡ IPMI¸ðµâÀÌ ÀÚµ¿À¸·Î ¿Ã¶ó¿Àµµ·Ï /boot/loader.conf ¿¡ ´ÙÀ½À» Ãß°¡ÇÑ´Ù. ´Ü, FreeBSD 8.1¿¡¼­´Â ¹ö±×(?)·Î ÀÎÇØ ºÎÆýà kernel panicÀÌ ÀϾ ¼ö ÀÖÀ¸´Ï, ºÎÆà ÀÌÈÄ µû·Î ·ÎµùÇϵµ·Ï.

     
    ipmi_load="YES"
    coretemp_load="YES"
     



    2. IPMI ÀÌ¿ë ¿¹

    1) ½Ã½ºÅÛ À̺¥Æ® ·Î±×(System Event Log, SEL) È®ÀÎ

     
    # ipmitool sel list
       1 | 06/20/2012 | 21:32:52 | Event Logging Disabled #0x72 | Log area reset/cleared | Asserted
       2 | 07/18/2012 | 14:19:01 | Power Supply #0x63 | Power Supply AC lost | Asserted
       3 | 07/18/2012 | 14:19:11 | Power Supply #0x74 | Redundancy Lost | Asserted
    ... »ý·« ...
     


    2) FRU(Field Replaceable Unit) Á¤º¸ È®ÀÎ. ¼­¹ö ¸ðµ¨¸í, Àåºñ Á¦Á¶»ç, ÆÄ¿ö ¼­ÇöóÀÌ Á¤º¸, ¸Þ¸ð¸® Á¤º¸ µîÀ» È®ÀÎÇÒ ¼ö ÀÖ´Ù. ¼­¹ö ¾÷ü¿¡ µû¶ó Ç¥½ÃµÇ´Â Ç׸ñµéÀÌ ´Ù¸£´Ù.

     
    # ipmitool fru
    ... »ý·« ...
    FRU Device Description : iDRAC7          
    Board Mfg Date        : Wed May  2 17:27:00 2012
    Board Mfg             : DELL
    Board Product         : PowerEdge R620                
    ... »ý·« ...

    FRU Device Description : PS1 (ID 1)
    Board Mfg Date        : Mon Jun  4 18:14:00 2012
    Board Mfg             : DELL
    Board Product         : PWR SPLY,750WP,RDNT,DELTA    
    ... »ý·« ...

    FRU Device Description : PS2 (ID 2)
    Board Mfg Date        : Mon Jun  4 18:44:00 2012
    Board Mfg             : DELL
    Board Product         : PWR SPLY,750WP,RDNT,DELTA    
    ... »ý·« ...
     


    3) °¢Á¾ ¼¾¼­ Á¤º¸ È®ÀÎ

     
    # ipmitool sensor
    ... »ý·« ...
    FAN MOD 1A RPM   | 4320.000   | RPM        | ok    | na        | 1920.000  | na        | na        | na        | na        
    FAN MOD 2A RPM   | 4440.000   | RPM        | ok    | na        | 1920.000  | na        | na        | na        | na        
    FAN MOD 3A RPM   | 4320.000   | RPM        | ok    | na        | 1920.000  | na        | na        | na        | na        
    ... »ý·« ...
     


    4) SDR(Sensor Data Repository) Á¤º¸ È®ÀÎ

    SDR(Sensor Data Repository) Á¤º¸ Áß¿¡ FAN Á¤º¸¸¸ º¸·Á¸é type fan ¿É¼ÇÀ» Ãß°¡ÇÑ´Ù. ÀÌ ¿Ü¿¡ ¿Âµµ Á¤º¸(type temp), Voltage Á¤º¸(type voltage), ¹èÅ͸® Á¤º¸(type batt)¸¸ µî ´Ù¾çÇÑ ¼¾¼­Á¤º¸¸¸ º°µµ·Î È®ÀÎÇÒ ¼ö ÀÖ´Ù.

     
    # ipmitool sdr
    ... »ý·« ...
    Current 1        | 0.40 Amps         | ok
    Current 2        | 0.20 Amps         | ok
    Voltage 1        | 216 Volts         | ok
    Voltage 2        | 216 Volts         | ok
    PS Redundancy    | 0x00              | ok
    ... »ý·« ...
    # ipmitool sdr type
    # ipmitool sdr type fan
    Fan1A RPM        | 30h | ok  |  7.1 | 2400 RPM
    Fan2A RPM        | 32h | ok  |  7.1 | 2280 RPM
    Fan3A RPM        | 34h | ok  |  7.1 | 2400 RPM
    Fan4A RPM        | 36h | ok  |  7.1 | 2160 RPM
    Fan5A RPM        | 38h | ok  |  7.1 | 2280 RPM
    Fan6A RPM        | 3Ah | ok  |  7.1 | 2280 RPM
    Fan Redundancy   | 75h | ok  |  7.1 | Fully Redundant
    ... »ý·« ...
     


    5) Power »óÅ ȮÀÎ. power ¸í·ÉÀº ¿ø°ÝÁö¿¡¼­ ¼­¹ö Àü¿øÀ» ÄѰųª ²ô°Å³ª, ¸®ºÎÆÃÇÒ ¶§ ÁÖ·Î »ç¿ëÇÑ´Ù.

     
    # ipmitool power status
    Chassis Power is on
     


    6) Boot Device º¯°æ

    ºÎÆýà PXE ºÎÆÃ, CDROM ºÎÆõǵµ·Ï ¼³Á¤ÇÒ ¼ö ÀÖ´Ù. ¶Ç´Â ÀÚµ¿À¸·Î BIOS ¼Â¾÷È­¸éÀ¸·Î µé¾î°¥ ¼öµµ ÀÖ´Ù.
    ÇÏÁö¸¸ IPMI SOL(Serial Over LAN)À» ÀÌ¿ëÇϸé ÄܼÖÈ­¸éÀ» ¿ø°Ý¿¡¼­ º¼ ¼ö ÀÖÀ¸´Ï, ÀÌ ¸í·ÉÀ» ÀÌ¿ëÇÏÁö ¾Ê°íµµ ¿ø°Ý¿¡¼­ BIOSÈ­¸éÀ» º¸¸é¼­ ºÎÆà µð¹ÙÀ̽º¸¦ º¯°æÇÒ ¼ö ÀÖ´Ù. µû¶ó¼­ ÀÌ ¸í·ÉÀº IPMI SOLÀ» ÀÌ¿ëÇÒ ¼ö ¾ø´Â »óȲ¿¡¼­ À¯¿ëÇÏ´Ù. (¡Ø SOL¿¡ ´ëÇؼ­´Â º°µµ ±Û¿¡¼­ ¼³¸íÇÏ°Ú´Ù.)

     
    # ipmitool chassis bootdev
    bootdev [clear-cmos=yes|no]
    bootdev [options=help,...]
      none  : Do not change boot device order
      pxe   : Force PXE boot
      disk  : Force boot from default Hard-drive
      safe  : Force boot from default Hard-drive, request Safe Mode
      diag  : Force boot from Diagnostic Partition
      cdrom : Force boot from CD/DVD
      bios  : Force boot into BIOS Setup
      floppy: Force boot from Floppy/primary removable media
    #
    # ipmitool chassis bootdev cdrom     <-- CD/DVD ºÎÆõǵµ·Ï ÇÑ´Ù.
    Set Boot Device to cdrom
    # ipmitool chassis bootparam get 5
    Boot parameter version: 1
    Boot parameter 5 is valid/unlocked
    Boot parameter data: 8014000000
    Boot Flags :
       - Boot Flag Valid                                     <-- Invalid -> Valid·Î ¹Ù²ñ
       - Options apply to only next boot                     <-- À̹ø Boot Device¼³Á¤Àº ÀÏȸ¼º
       - BIOS PC Compatible (legacy) boot
       - Boot Device Selector : Force Boot from CD/DVD       <-- No override -> Force Boot ...·Î ¹Ù²ñ
       - Console Redirection control : System Default
       - BIOS verbosity : Console redirection occurs per BIOS configuration setting (default)
       - BIOS Mux Control Override : BIOS uses recommended setting of the mux at the end of POST
    #
    # ipmitool chassis bootdev bios      <-- ºÎÆÃÇÒ ¶§ BIOS ¼Â¾÷È­¸éÀ¸·Î µé¾î°£´Ù.
    Set Boot Device to bios
    # ipmitool chassis bootparam set bootflag force_bios <-- ¶Ç´Â chassis bootparam ¼³Á¤À¸·Îµµ µ¿ÀÏÇÑ
    Set Boot Device to force_bios
     


    ºÎÆà µð¹ÙÀ̽º º¯°æÀº ÀÏȸ¼ºÀÌ¿©¼­ ÇÑ ¹ø ºÎÆà ÈÄ¿¡´Â ¿ø·¡ ¼³Á¤À¸·Î µ¹¾Æ°£´Ù. ¸¸¾à ¸Å¹ø ¹Ù²ï ¼³Á¤ÀÌ À¯ÁöµÇµµ·Ï ÇÏ·Á¸é persistent ¿É¼ÇÀ» Ãß°¡ÇÏ¸é µÈ´Ù. Dell 1950¼­¹ö´Â persistent ¿É¼ÇÀÌ À¯ÁöµÇ¾úÁö¸¸, R610¼­¹ö¿¡¼­´Â ºÎÆà ÈÄ ÀÌÀü »óÅ·Πµ¹¾Æ°¡¹ö·È´Ù. °³ÀÎÀû °æÇèÀÌ´Ï R610¼³Á¤À» Á¦°¡ Àß ¸ø ÇÑ °ÍÀÏ ¼öµµ. ^^

     
    # ipmitool chassis bootdev none  options=help        <-- ´Ù¾çÇÑ ¿É¼Ç È®ÀÎ
    # ipmitool chassis bootdev cdrom options=persistent  <-- ºÎÆÃÇÒ ¶§¸¶´Ù °è¼Ó CDROM BIOSÈ­¸éÀ¸·Î µé¾î°¡µµ·Ï ÇÑ´Ù.
    # ipmitool chassis bootparam get 5
    ... »ý·« ...
    Boot Flags :
       - Boot Flag Valid
       - Options apply to all future boots                   <-- º¯°æ À¯Áö
    ... »ý·« ...
     


    7) ÀÌ¿Ü¿¡ °³ÀÎÀûÀ¸·Î ÀÚÁÖ »ç¿ëÇÏ´Â ¸í·Éµé

    ipmitool mc info        : Management Controller Á¤º¸¸¦ È®ÀÎÇÒ ¼ö ÀÖ´Ù. IPMI firmwareÁ¤º¸, Á¦Á¶»ç, ..
    ipmitool channel info 1 : Management Controller ä³Î Á¤º¸¸¦ È®ÀÎÇÑ´Ù. IPMI LAN ¼³Á¤½Ã access on/off »óÅÂ(Access Mode) È®ÀÎÇÒ ¶§ Æí¸®ÇÏ´Ù.
    ipmitool sol info 1     : SOL(Serial-over-LAN), Áï ¿ø°ÝÁö¿¡¼­ ÄܼÖÈ­¸éÀ» º¸±âÀ§ÇÑ ¼³Á¤ Á¤º¸¸¦ È®ÀÎÇÑ´Ù. ÀÎÁõ Çã¿ë ¿©ºÎ, Serial BPS µî
    ipmitool delloem mac    : Dell ¼­¹ö¸¸ ÇØ´çµÇ´Â OEM ¸í·ÉÀ¸·Î LAN Interfaceº° MACÁÖ¼Ò¿Í IPMI MACÁÖ¼Ò¸¦ È®ÀÎÇÒ ¼ö ÀÖ´Ù.
    ipmitool delloem powermonitor : Dell ¼­¹ö¸¸ ÇØ´çµÇ´Â ¸í·ÉÀ̸ç, Àü·Â »ç¿ë·® Á¤º¸¸¦ È®ÀÎÇÑ´Ù.

     
    # ipmitool delloem mac

    System LOMs
    NIC Number¡¡¡¡¡¡MAC Address¡¡¡¡¡¡¡¡¡¡¡¡Status

    0¡¡¡¡¡¡¡¡¡¡¡¡??:??:fd:??:??:ba¡¡¡¡¡¡Enabled
    1¡¡¡¡¡¡¡¡¡¡¡¡??:??:fd:??:??:bb¡¡¡¡¡¡Enabled
    2¡¡¡¡¡¡¡¡¡¡¡¡??:??:fd:??:??:b8¡¡¡¡¡¡Enabled
    3¡¡¡¡¡¡¡¡¡¡¡¡??:??:fd:??:??:b9¡¡¡¡¡¡Enabled

    iDRAC7 MAC Address ??:??:fd:??:??:54
    # ipmitool delloem powermonitor
    Power Tracking Statistics
    Statistic      : Cumulative Energy Consumption
    Start Time     : Thu Mar 31 16:05:44 2011
    Finish Time    : Mon Nov 24 18:21:01 2014
    Reading        : 1142.4 kWh
    ... »ý·« ...
     


    ipmitool¿¡¼­ Áö¿øÇÏÁö ¾Ê´Â OEMº° ¸í·ÉÀ» freeipmiÀÇ ipmi-oem¸í·É¿¡¼­ Áö¿øÇÒ ¼ö ÀÖÀ¸´Ï, ÇÊ¿ä½Ã ÇÔ²² »ç¿ëÇÏ´Â °Íµµ ÁÁÀ» °Í °°´Ù.

     
    # ipmi-oem dell get-power-consumption-data <-- ipmitool delloem powermonitor¿Í µ¿ÀÏÇÑ ¸í·É
    Cumulative Energy Start Time : 03/31/11 - 16:05:44
    Cumulative Energy            : 1142.39 kWh
    ... »ý·« ...
     



    3. ¿ø°Ý °ü¸®¸¦ À§ÇÑ IPMI IP ¼ÂÆÃ

    IPMI¿ë IP¸¦ ¼ÂÆÃÇÏÁö ¾ÊÀ¸¸é ·ÎÄÿ¡¼­¸¸ IPMI °á°ú¸¦ º¼ ¼ö ÀÖ´Ù. ·ÎÄÿ¡¼­¸¸ »ç¿ëÇÏ´Â °Ç IPMIÀÇ ´É·Â(?)À» ¹ÝÀÇ ¹Ý¸¸ »ç¿ëÇÏ´Â °ÍÀÌ´Ù.
    IPMI IP¸¦ ¼ÂÆÃÇÏ¸é ¿ø°Ý¿¡¼­ ¼­¹ö¸¦ ÄѰųª ¸®ºÎÆÃÇÒ ¼ö ÀÖ°í, ÄܼÖÈ­¸éÀ» ¿ø°Ý¿¡¼­ ±×´ë·Î º¼ ¼ö ÀÖ´Ù. ±×¸®°í FAN RPM, ÆÄ¿ö ¼­ÇöóÀÌ Á¤º¸, Àü·Â»ç¿ë·®, °¢Á¾ ¼¾¼­ Á¤º¸¸¦ ¿ø°Ý¿¡¼­µµ ±×´ë·Î »Ì¾Æ¿Ã ¼ö ÀÖ´Ù.

    IPMI IP¼ÂÆÃÀ» À§Çؼ­´Â º°µµ ³×Æ®¿÷¸ÁÀ» ±¸ÃàÇØ¾ß Çϴ°¡? ¾Æ´Ï´Ù. ³×Æ®¿÷¸ÁÀ» º¯°æ¾øÀÌ ±×´ë·Î »ç¿ëÇÏ°í, IPMI IP¸¸ ¼­¹ö¿¡ Ãß°¡ÇØÁÖ¸é µÈ´Ù.
    ´Ü ¼­¹öÀÇ IP¿Í´Â ´Ù¸¥ IP¸¦ »ç¿ëÇؾßÇϸç, ³×Æ®¿÷ ½ºÀ§Ä¡¿¡´Â IPMI¿ë °ÔÀÌÆ®¿þÀÌ IP¸¦ Ãß°¡ ¼ÂÆÃÇØÁà¾ß ÇÑ´Ù.

    IPMI IP ¼ÂÆà ¸í·ÉÀº ´ÙÀ½°ú °°´Ù.

     
    # ipmitool lan set 1 ipsrc static
    # ipmitool lan set 1 ipaddr
    # ipmitool lan set 1 netmask
    # ipmitool lan set 1 defgw ipaddr
    # ipmitool lan set 1 access on
     


    ´ÙÀ½°ú °°Àº ȯ°æÀ¸·Î ¼ÂÆÃÇÑ´Ù°í ÇÏÀÚ.

     
    - ¼­¹ö IP : 10.10.1.120  (ifconfig°á°ú¿¡ ³ª¿À´Â IP. IPMI¿Í ¹«°üÇÔ)
    - IPMI IP : 10.10.20.120
    - IPMI GW : 10.10.20.1   (³×Æ®¿÷ ½ºÀ§Ä¡¿¡ ÀÌ IP°¡ ÀÖ¾î¾ß ´Ù¸¥ IPMI¼­¹ö³¢¸® Åë½ÅÀ» ÇÒ ¼ö ÀÖ´Ù.)
     


     
    # ipmitool lan print 1
    Set in Progress         : Set Complete
    Auth Type Support       : NONE MD2 MD5 PASSWORD
    Auth Type Enable        : Callback : MD2 MD5
                            : User     : MD2 MD5
                            : Operator : MD2 MD5
                            : Admin    : MD2 MD5
                            : OEM      :
    IP Address Source       : Static Address       <-- static
    IP Address              : 192.168.0.120        <-- ¼ÂÆà Àü
    Subnet Mask             : 255.255.255.0
    MAC Address             : ??:??:c4:ee:??:??
    SNMP Community String   : public
    IP Header               : TTL=0x40 Flags=0x40 Precedence=0x00 TOS=0x10
    BMC ARP Control         : ARP Responses Enabled, Gratuitous ARP Disabled
    Default Gateway IP      : 192.168.0.1
    Default Gateway MAC     : 00:00:00:00:00:00
    ... »ý·« ...
    # ipmitool lan set 1 ipsrc static    <-- DHCP·Î µÇ¾î ÀÖÀ¸¸é ¾Æ·¡ ¸í·É ÀÚü°¡ ¸ÔÁö ¾Ê´Â´Ù. º¸Åë staticÀ¸·Î ÀÌ¹Ì µÇ¾î ÀÖÀ½.
    # ipmitool lan set 1 ipaddr 10.10.20.120
    Setting LAN IP Address to 10.10.20.120
    # ipmitool lan set 1 netmask 255.255.255.0
    Setting LAN Subnet Mask to 255.255.255.0
    # ipmitool lan set 1 defgw ipaddr 10.10.20.1
    Setting LAN Default Gateway IP to 10.10.20.1
    # ipmitool lan set 1 access on
    #
    # ipmitool lan print 1
    Set in Progress         : Set Complete
    Auth Type Support       : NONE MD2 MD5 PASSWORD
    Auth Type Enable        : Callback : MD2 MD5
                            : User     : MD2 MD5
                            : Operator : MD2 MD5
                            : Admin    : MD2 MD5
                            : OEM      :
    IP Address Source       : Static Address
    IP Address              : 10.10.20.120          <-- ¼ÂÆà ÈÄ
    Subnet Mask             : 255.255.255.0
    MAC Address             : ??:??:c4:ee:??:??
    SNMP Community String   : public
    IP Header               : TTL=0x40 Flags=0x40 Precedence=0x00 TOS=0x10
    BMC ARP Control         : ARP Responses Enabled, Gratuitous ARP Disabled
    Default Gateway IP      : 10.10.20.1            <-- ¼ÂÆà ÈÄ
    Default Gateway MAC     : 00:00:00:00:00:00
    ... »ý·« ...
     


    IPMI¸¦ 2´ë ÀÌ»ó ¼ÂÆÃÇÏ°í, ¼ÂÆÃµÈ ´Ù¸¥ ¼­¹ö¿¡¼­ ping 10.10.20.120À» Çغ»´Ù. pingÀÌ µÇ¾î¾ß Á¤»ó.
    pingÀÌ ¾ÈµÈ´Ù¸é 'IPMI over LAN(IPMI ³×Æ®¿÷ Á¢¼Ó) Æ®·¯ºí½´ÆÃ'À» Àо±æ ¹Ù¶õ´Ù.


    4. IPMI user ¼ÂÆÃ

    ¿ø°ÝÁö¿¡¼­ ÀÎÁõÇÒ user¸¦ ¼³Á¤ÇÑ´Ù.

     
    # ipmitool user list 1
    ID  Name¡¡¡¡¡¡     Callin  Link Auth¡¡¡¡¡¡IPMI Msg   Channel Priv Limit
    2   root             true    true       true       ADMINISTRATOR
    # ipmitool user set password 2 <-- ¼ýÀÚ 2´Â À§ÀÇ IDÇʵ忡 Ç¥½ÃµÈ À¯Àú ID¸¦ ¸»ÇÔ. À§¿¡¼­´Â 'root' ID.
    Password for user 2:  <-- PW ÀÔ·Â
    Password for user 2:  <-- PW ÀçÀÔ·Â
    # ipmitool user summary 1
    Maximum IDs¡¡¡¡¡¡    : 16
    Enabled User Count  : 1   <-- enable À¯Àú°¡ 1¸í ÀÖÀ½.
    Fixed Name Count    : 1
     


    ¸¸¾à Enabled User°¡ 0À¸·Î ³ª¿Â´Ù¸é ipmitool user enable 2 ¸í·ÉÀ¸·Î enable½ÃŲ´Ù. ºñ¹Ð¹øÈ£´Â interactiveÇÏ°Ô ÀÔ·ÂÇÏÁö ¾Ê°í, ipmitool user set password 2 <ºñ¹Ð¹øÈ£> ó·³ ¼ÂÆÃÇÒ ¼ö ÀÖ´Ù. ½ºÅ©¸³Æ®·Î ¼ÂÆÃÇϸé ÀÌ ¹æ¹ýÀÌ À¯¿ë

     
    # ipmitool -I lan -H 10.10.20.20 -U root power status
    Password:
    Chassis Power is on
    # ipmitool -I lan -H 10.10.20.20 -U root -P <ºñ¹Ð¹øÈ£> power status
    Chassis Power is on
     



    5. IPMI event µ¥¸ó

    ipmievd µ¥¸óÀº SEL(System Event Log, ipmitool sel info·Î È®ÀÎ °¡´É)À» 10ÃÊ°£°ÝÀ¸·Î üũÇؼ­ syslog·Î º¸³»ÁÖ´Â µ¥¸óÀÌ´Ù. µ¥¸óÀº syslogÀÇ LOCAL4 facility°ªÀ¸·Î º¸³»ÁØ´Ù. CPU, FAN, ¸Þ¸ð¸® H/W ¹®Á¦, RAID ¹èÅ͸® ¹®Á¦, ÆÄ¿ö Redundancy ¸Þ½ÃÁö, Disk ±³Ã¼ ¸Þ½ÃÁö µî °¢Á¾ H/W ¸Þ½ÃÁö¸¦ SEL °á°ú°ªÀ¸·Î È®ÀÎÇÒ ¼ö ÀÖ´Ù.

    1) Linux¿¡¼­ (CentOS)

    /etc/sysconfig/ipmievd ¼ÂÆÃÇÑ´Ù. (120ÃÊ °£°ÝÀ¸·Î üũÇϵµ·Ï ¼³Á¤)
     
    IPMIEVD_OPTIONS="sel timeout=120 pidfile=/var/run/ipmievd.pid"
     


    # service ipmievd start

    2) FreeBSD¿¡¼­

    ipmievd¿ë rc ½ºÅ©¸³Æ®´Â Á¦°øµÇÁö ¾ÊÀ¸¹Ç·Î ´ÙÀ½°ú °°ÀÌ /usr/local/etc/rc.d/ipmievent ½ºÅ©¸³Æ®¸¦ ¸¸µé°í, rc.conf ¿¡ ipmievent_enable="YES" ¸¦ Ãß°¡ÇÑ´Ù.

    # service ipmievent start

    [ ipmievent rc ½ºÅ©¸³Æ® : ipmievent ]
     
    #!/bin/sh
    #
    # ipmievd daemon
    #
    # PROVIDE: ipmievent
    # REQUIRE: LOGIN
    # BEFORE:  securelevel
    # KEYWORD: shutdown
    #
    # Add the following lines to /etc/rc.conf to enable 'ipmievd':
    # ipmievent_enable="YES"
    #
    # by truefeel (ÁÁÀºÁøÈ£, http://coffeenix.net/)

    . /etc/rc.subr

    ipmievent_enable=${ipmievent_enable:-"NO"}

    name="ipmievent"
    rcvar="ipmievent_enable"¡¡¡¡¡¡¡¡¡¡¡¡# `set_rcvar`
    command="/usr/local/sbin/ipmievd"

    [ -z "${ipmievent_flags}" ] && ipmievent_flags="timeout=120"
    ipmievent_flags=" sel ${ipmievent_flags}"
    required_files="/dev/ipmi0"
    pidfile="/var/run/ipmievd.pid0"

    load_rc_config $name
    run_rc_command "$1"
     


    3) IPMI event ·Î±×¸¦ ¼öÁýÇÏ´Â syslog¼­¹ö°¡ º°µµ·Î ÀÖ´Ù¸é, °¢ ¼­¹ö¿¡´Â ´ÙÀ½°ú °°ÀÌ

    - syslogÀÇ °æ¿ì (/etc/syslog.conf)
     
    # IPMI
    local4.debug¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡@10.10.1.123
     


    - rsyslogÀÇ °æ¿ì (/etc/rsyslog.d/ipmi.conf )
     
    # IPMI
    local4.debug¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡@10.10.1.123:514
     



    6. ¼­¹ö LCD ¹Ù²Ù±â (Dell ¼­¹öÀÇ °æ¿ì)

    Dell¼­¹ö´Â LCDÈ­¸é¿¡ Ç¥½ÃµÉ Á¤º¸(¶Ç´Â ¸Þ½ÃÁö)¸¦ ¹Ù²Ü ¼ö ÀÖ´Ù. µðÆúÆ®·Î ¼­¹ö ½Ã¸®¾ó³Ñ¹ö(Service Tag)°¡ Ç¥½ÃµÈ´Ù. coffeenix.netÀ¸·Î º¯°æÇÑ ¿¹ÀÌ´Ù.



     
    # ipmitool delloem lcd
    ... »ý·« ...
       lcd set mode {none}|{modelname}|{ipv4address}|{macaddress}|
       {systemname}|{servicetag}|{ipv6address}|{ambienttemp}
       {systemwatt }|{assettag}|{userdefined}
    ... »ý·« ...
    # ipmitool delloem lcd set mode userdefined coffeenix.net
    LCD info
        Setting: User defined
        Text:    coffeenix.net

    # ipmitool delloem lcd set mode servicetag
    LCD info
        Setting:   System Tag
     

      Ä¿ÇǴнº Ä«Æä ÃÖ±Ù ±Û
    [12/25] Àνº&#5
    [10/20] Cross Compiler ±ò
    [07/14] SSL ¬¡¬°
    [04/26] Re: µµ½ºÈ­¸é ¿ø°ÝÁ¶Á¾ ¿©ºÎ
    [04/25] µµ½ºÈ­¸é ¿ø°ÝÁ¶Á¾ ¿©ºÎ
    [10/30] Cshell¿¡¼­ ³­¼ö ¼³Á¤
    [10/23] °øÇ×öµµÁÖ½Äȸ»ç SE ±¸ÀÎ Ëì
    [01/26] Re: wgetÀ¸·Î ´Ù¸¥¼­¹ö¿¡ÀÖ´Â µð·ºÅ丮¸¦ °¡Á®¿À·Á°íÇÕ´Ï´Ù.
    [01/25] wgetÀ¸·Î ´Ù¸¥¼­¹ö¿¡ÀÖ´Â µð·ºÅ丮¸¦ °¡Á®¿À·Á°íÇÕ´Ï´Ù.
    [01/11] ƯÁ¤ ¾Èµå·ÎÀ̵å WebView ¹öÀü¿¡¼­ SSL ¹®Á¦ (WebView ¹ö±×)
    [08/01] DNS forwarder (Àü´ÞÀÚ) ¼­¹ö¸¦ ÅëÇؼ­ Äõ¸®ÇÏ¸é ¿ª¹æÇâÀ» ¹Þ¾Æ¿ÀÁú ¸øÇÕ´Ï´Ù.
    [05/16] (ÁÖ)ÈÄÀÌÁî ½Ã½ºÅÛ¿£Áö´Ï¾î (°æ·ÂÀÚ) ¸ðÁý
    [02/15] [AWS] Cloudfront edge È®ÀÎÇϱâ
    [01/20] Mobile Service/eCommerce ±â¾÷¿¡¼­ Server / Java / PHP °³¹ßÀÚ ±¸ÀÎ
    [01/11] źźÇÑ ÆÛºí¸®½Ì ¸ð¹ÙÀϱâ¾÷¿¡¼­ Mobile °³¹ßÀÚ¸¦ ¸ð½Ê´Ï´Ù.
      New!   ÃÖ±Ù¿¡ µî·ÏÇÑ ÆäÀÌÁö
      KiCad EDA Suite project (Free/Libre/Open-Source EDA Suite) (CAD)
      ¿ÀÇÂij½ºÄÉÀ̵å ijµå (OpenCASCADE CAD)
      QCad for Windows --- GNU GPL (Free Software)
      The Hello World Collection
      IPMI¸¦ È°¿ëÇÑ ¸®´ª½º ¼­¹ö°ü¸®
      DNS ¼³Á¤ °Ë»ç
      nagiosgraph ¼³Ä¡ ¹æ¹ý
      Slony-I ¼³Ä¡ ¹æ¹ý (postgresql replication tool)
      Qmail±â¹ÝÀÇ Anti spam ½Ã½ºÅÛ ±¸ÃàÇϱâ
      clusterssh

    [ ÇÔ²²ÇÏ´Â »çÀÌÆ® ]




    ¿î¿µÁø : ÁÁÀºÁøÈ£(truefeel), ¾ß¼ö(yasu), ¹ü³ÃÀÌ, sCag
    2003³â 8¿ù 4ÀÏ~