Ä¿ÇǴнº, ½Ã½ºÅÛ ¿£Áö´Ï¾îÀÇ ½°ÅÍ Ä¿ÇÇÇâÀÌ ³ª´Â *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 over LAN(IPMI ³×Æ®¿÷ Á¢¼Ó) Æ®·¯ºí½´Æà ÀÛ¼ºÀÏ : 2014/12/23 18:31
 
  • ±Û¾´ÀÌ : ÁÁÀºÁøÈ£ ( http://coffeenix.net/ )
  • Á¶È¸¼ö : 17615
          [ ÀÌÀüÈ­¸é / ¼öÁ¤ ]   ºñ¹Ð¹øÈ£ :     Àμâ¿ë È­¸é
      Á¦  ¸ñ : IPMI over LAN(IPMI ³×Æ®¿÷ Á¢¼Ó) Æ®·¯ºí½´ÆÃ
    ÀÛ¼ºÀÚ : ÁÁÀºÁøÈ£(truefeel, http://coffeenix.net/ )
    ÀÛ¼ºÀÏ : 2014.11.28(±Ý)

    IPMI ³×Æ®¿÷ ¼³Á¤(IPMI over LAN)À» Çߴµ¥, 1) IPMI IP·Î pingÀÌ ¾ÈµÇ°Å³ª 2) pingÀº µÇ´Âµ¥ ÀÀ´äÀÌ ¾ø´Ù¸é ´ÙÀ½°ú °°Àº °ÍÀ» È®ÀÎÇغÁ¾ß ÇÑ´Ù.

     
    # ipmitool -I lan -H 10.10.20.120 -U root fru
    Password:     <--- ºñ¹Ð¹øÈ£ ÀÔ·Â ÈÄ ¿øÇÏ´Â °á°ú°¡ ³ª¿ÀÁö ¾Ê´Â´Ù¸é?
     



    1. ±âº»ÀûÀ¸·Î È®ÀÎÇÒ °Í

    1) IPMIÀÇ IP, Netmask, G/W IP µîÀ» È®ÀÎÇÑ´Ù.

    ipmitool -vv ¿É¼ÇÀ¸·Î »ó¼¼ÇÑ °á°ú¸¦ º¼ ¼ö ÀÖ´Ù.

     
    # ipmitool -vv -I lan -H 10.10.20.120 -U root power status
    Password:
    FRU Device Description : Builtin FRU Device (ID 0)
    ipmi_lan_send_cmd:opened=[0], open=[4525612]
    IPMI LAN host 10.10.20.120 port 623
    Sending IPMI/RMCP presence ping packet        <-- ÆÐŶÀ» º¸³ÂÀ¸³ª ÀÀ´ä(response packet)ÀÌ ¾øÀ½. ¿¬°á ÀÚü°¡ ¾ÈµÊ
    ipmi_lan_send_cmd:opened=[1], open=[4525612]
    ^C
     


    ¼³Á¤ È®ÀÎ ÈÄ ¸ÂÁö ¾ÊÀ¸¸é ¼ÂÆÃÇÑ´Ù.

     
    # ipmitool lan print 1
    IP Address Source       : Static Address
    IP Address              : 10.10.20.120
    Subnet Mask             : 255.255.255.0
    ... »ý·« ...
    Default Gateway IP      : 10.10.20.1
     


    2) ¹æÈ­º®¿¡¼­ UDP 623Æ÷Æ®¸¦ Â÷´ÜÇ߰ųª IPMI IP´ë¿ªÀÌ Â÷´ÜµÇ¾î ÀÖ´ÂÁö È®ÀÎÇÑ´Ù.

    3) LAN access °¡´ÉÇÏ°Ô µÇ¾î ÀÖ´ÂÁö È®ÀÎÇÑ´Ù.

    access°¡ disableµÇ¾î ÀÖ´Ù¸é ´ÙÀ½°ú °°ÀÌ ³ª¿Â´Ù.

     
    # ipmitool -vv -I lan -H 10.10.20.120 -U root power status
    Password:
    ipmi_lan_send_cmd:opened=[0], open=[4525612]
    IPMI LAN host 10.10.20.120 port 623
    Sending IPMI/RMCP presence ping packet
    Received IPMI/RMCP response packet:    <-- ÆÐŶ ÀÚü´Â Á¤»óÀûÀ¸·Î ÁÖ°í ¹ÞÀ½. Áï, ³×Æ®¿÷ ¼³Á¤Àº Á¤»ó.
      IPMI Supported
    ... »ý·« ...
    ipmi_lan_send_cmd:opened=[1], open=[4525612]
      No response from remote controller
    Get Auth Capabilities command failed
    ... »ý·« ...
    Error: Unable to establish LAN session
    Failed to open LAN interface
    Unable to get Chassis Power Status
     


    access onÀ¸·Î ¼³Á¤ÇÑ´Ù.

     
    # ipmitool channel info 1
    Channel 0x1 info:
    ... »ý·« ...
      Volatile(active) Settings
        Alerting            : disabled
        Per-message Auth    : disabled
        User Level Auth     : enabled
        Access Mode         : disabled <-- access off »óÅÂÀÓ. onÀÏ ¶§´Â always availableÀ¸·Î Ç¥½ÃµÈ´Ù.
      Non-Volatile Settings
        Alerting            : disabled
        Per-message Auth    : disabled
        User Level Auth     : enabled
        Access Mode         : disabled <-- access off »óÅÂÀÓ
    # ipmitool lan set 1 access on <-- access onÀ¸·Î Àüȯ
     



    4) Invalid useri nameÀ̶ó°í ³ª¿Â´Ù.

     
    # ipmitool -I lan -H 10.10.20.120 -U root power status
    Password:
    Invalid user name
    Error: Unable to establish LAN session
    Unable to get Chassis Power Status
     


    ÇØ´ç user ID°¡ ¾ø°Å³ª user°¡ disableµÇ¾î ÀÖ´Ù.

     
    # ipmitool user list 1     <-- user ¸ñ·Ï È®ÀÎ
    # ipmitool user summary 1  <-- enable µÈ À¯Àú ¼ö È®ÀÎ. ¸¸¾à 0À̶ó¸é ¸ðµç À¯Àú°¡ disableµÇ¾î ÀÖÀ½.
    # ipmi.sh user enable 2    <-- ÇØ´ç user(ID 2¹ø)¸¦ enableÇÑ´Ù.
     



    2. IPMI¿ë ÀÎÅÍÆäÀ̽º(interface) º¯°æ

    ±âº»ÀûÀ¸·Î ù¹ø° ³×Æ®¿÷ ÀÎÅÍÆäÀ̽º·Î IPMI Åë½ÅÀ» Çϴµ¥, ¼³Á¤ º¯°æÀ» ÅëÇØ 2¹ø° µî ´Ù¸¥ ÀÎÅÍÆäÀ̽º·Î Åë½ÅÀ» ÇÒ ¼ö ÀÖ´Ù.
    Dell ¼­¹ö¸¦ ±âÁØÀ¸·Î ¼³¸íÇÑ´Ù. ´Ù¸¥ ¼­¹öÀÇ °æ¿ì´Â freeipmiÅøÀÇl ipmi-oem¸í·ÉÀ¸·Î ÁöÁ¤ °¡´ÉÇÒ °Í(½ÇÁ¦ ´Ù¸¥ ¼­¹ö¿¡¼­ ¼ÂÆÃÇغ¸Áö ¾Ê¾Æ¼­ Á¤È®ÇÏÁö´Â ¾ÊÀ½)À¸·Î º¸ÀδÙ.

    1) Dell 1950

     
    # ipmitool delloem lan get
    shared
    # ipmitool delloem lan get active
    Error in getting Active LOM Status (Invalid command)

    # ipmitool delloem lan set "shared with failover lom2" <-- LOM2, Áï 2¹ø° NIC·Î failover°¡´ÉÇÏ°Ô ¼³Á¤
    configured successfully
    # ipmitool delloem lan get
    shared with failover lom2
     


    ipmitool delloem lan get ¸í·É¸¸ ³»¸®¸é, ¼³Á¤ °¡´ÉÇÑ mode(¿¹ : shared, shared with failover lom2, shared with Failover all loms)¸¦ È®ÀÎÇÒ ¼ö ÀÖ´Ù.

    2) Dell R610 (¼³Á¤ º¯°æÀº À§¿Í µ¿ÀÏÇÑ ¹æ¹ýÀ¸·Î)

     
    # ipmitool delloem lan get
    shared
    # ipmitool delloem lan get active <-- ÀÌ °ªÀº º¯°æ ºÒ°¡. read only.

    LOM1
     


    Âü°í·Î freeipmiÀÇ ipmi-oem ¸í·ÉÀ¸·Î È®ÀÎÇÑ ¿¹ÀÌ´Ù. ¼³Á¤ º¯°æÀº set-nic-selection ¿É¼ÇÀ¸·Î.
     
    # ipmi-oem Dell get-nic-selection
    shared
    # ipmi-oem Dell get-active-lom-status
    LOM 1
     


    3) Dell R620 (¼³Á¤ º¯°æÀº À§¿Í µ¿ÀÏÇÑ ¹æ¹ýÀ¸·Î)

     
    # ipmitool  delloem lan get
    Shared LOM   :  shared with lom1
    Failover LOM :  None
    # ipmitool  delloem lan get active

    LOM1
     



    3. Dell R610 ¼­¹ö¿¡¼­ IPMI Åë½ÅÀÌ ¾ÈµÉ °æ¿ì

    2011³â 3¿ù¿¡ ±¸¸ÅÇÑ Dell R610¼­¹ö¿¡¼­´Â ¸ðµÎ(?) NoneÀ¸·Î µÇ¾î ÀÖ¾ú´Ù. iDRAC6 Æß¿þ¾î ¹öÀüÀº 1.70.21.

     
    # ipmitool delloem lan get
    shared
    # ipmitool delloem lan get active

    None
    # ipmitoolmc info|grep sion
    Device Revision           : 0
    Firmware Revision         : 1.70
    IPMI Version              : 2.0
     


    À̶§ ¸¸µé¾îÁø ¼­¹ö´Â ¾Æ¸¶ ¼³Á¤À» Àß ¸øÇÏ°í Ãâ½ÃÇÑ °Í °°´Ù. ¸î °³¿ù Â÷ÀÌ·Î ±¸¸ÅÇÑ °°Àº ¸ðµ¨ ¼­¹ö´Â ÀüÇô ÀÌ·± ¹®Á¦°¡ ¾ø¾ú´Ù.
    NONEÀ¸·Î ³ª¿À´Â °ÍÀº NIC¿¡ Management Firmware ¼³Á¤ÀÌ diableµÇ¾î Àֱ⠶§¹®Àε¥, FreeBSDÀÇ ºÎÆ÷α׿¡¼­ NIC °ü·Ã ºÎºÐÀ» º¸¸é È®ÀÎÇÒ ¼ö ÀÖ´Ù. CentOS¿¡¼­´Â Flag°ªÀ» È®ÀÎÇÒ ¼ö ¾ø¾ú´Ù.

    1) IPMI over LAN µÇ´Â ¼­¹öÀÇ /var/run/dmesg.boot (FreeBSD ȯ°æ)

    bce0: mem 0xd6000000-0xd7ffffff irq 36 at device 0.0 on pci1
    bce0: ASIC (0x57092003); Rev (C0); Bus (PCIe x4, 2.5Gbps); B/C (5.2.3); Bufs (RX:2;TX:2;PG:8); Flags (SPLT|MSI|MFW); MFW (NCSI 2.0.11)

    2) IPMI over LAN ¾ÈµÇ´Â ¼­¹ö (FreeBSD ȯ°æ, Flags¿¡ MFW°¡ ¾øÀ½)

    bce0: mem 0xd6000000-0xd7ffffff irq 36 at device 0.0 on pci1
    bce0: ASIC (0x57092003); Rev (C0); Bus (PCIe x4, 2.5Gbps); B/C (5.2.3); Bufs (RX:2;TX:2;PG:8); Flags (SPLT|MSI)

    ¼³Á¤º¯°æÀº DOS À¯Æ¿À» »ç¿ëÇØ¾ß ÇϹǷΠºÎÆÃÀÌ ¹Ýµå½Ã ÇÊ¿äÇÏ´Ù.

    1) Dell »çÀÌÆ®¿¡¼­ Broadcom NetXtreme I and NetXtreme II DOS Utilities À» ¹Þ´Â´Ù.
       http://www.dell.com/support/home/us/en/04/Drivers/DriversDetails?driverId=29DKK
    2) Bcom_LAN_14.2.x_DOSUtilities_A03.exe ¾ÐÃàÀ» Ǭ´Ù.
    3) Userdiag/NetXtremeII/uxdiag.exe ÆÄÀÏÀ» USB(FAT32 ÆÄƼ¼Ç)¿¡ º¹»çÇÑ´Ù.
    4) DOS ºÎÆ®µð½ºÅ© ISO¸¦ ¹Þ¾Æ¼­ CD¸¦ ±Á´Â´Ù.
       http://www.allbootdisks.com/download/iso.html
    5) CD¸¦ ³Ö°í, USB¸¦ ²ÈÀº ´ÙÀ½¿¡ ºÎÆÃÀ» ÇÑ´Ù.
       DOS·Î ºÎÆÃÀÌ µÉÅÙµ¥, C: µå¶óÀ̺ê(USB)¿¡ uxdiag.exe ÆÄÀÏÀÌ ÀÖÀ» °ÍÀÌ´Ù.

    µð¹ÙÀ̽º Á¤º¸¸¦ È®ÀÎÇÑ´Ù.
     
    C:\>uxdiag -ver
    uxdiag -- Broadcom NetXtreme II diagnostics version 5.2.2
        Copyright (c) 2001-2009 Broadcom Corporation, all rights reserved.

    C:  Brd:Rv Bus      PCI     Spd Base   IRQ     MAC     FmwVer  Configuration
    1:5709C:C0 01:00:00 PCIE-4  2.5 0xD600 15 ....B5....02 5.2.3   auto
    2:5709C:C0 01:00:01 PCIE-4  2.5 0xD800 14 ....B5....04 5.2.3   auto
    3:5709C:C0 02:00:00 PCIE-4  2.5 0xDA00 15 ....B5....06 5.2.3   auto
    4:5709C:C0 02:00:01 PCIE-4  2.5 0xDC00 14 ....B5....08 5.2.3   auto
     


    Management FirmwareÀ» enable½ÃŲ´Ù. -t abcd¿É¼ÇÀº abcd ±×·ì¿¡ ´ëÇØ test(Áï, diag)¾øÀÌ ¼³Á¤¸¸ º¯°æÇϵµ·Ï ÇØÁØ´Ù. ¸¸¾à -t ¿É¼Ç¾øÀÌ ½ÇÇàÇϸé diagÇÏ´À¶ó ½Ã°£ÀÌ ¿À·¡°É¸°´Ù.

     
    C:\>uxdiag -t abcd -mfw 1
    ... »ý·« ...
    C:\>uxdiag -ver
    C:  Brd:Rv Bus      PCI     Spd Base   IRQ     MAC     FmwVer  Configuration
    1:5709C:C0 01:00:00 PCIE-4  2.5 0xD600 15 ....B5....02 5.2.3   MF,auto   <-- ¼³Á¤ º¯°æµÈ °ÍÀ» È®ÀÎ
    2:5709C:C0 01:00:01 PCIE-4  2.5 0xD800 14 ....B5....04 5.2.3   MF,auto
    3:5709C:C0 02:00:00 PCIE-4  2.5 0xDA00 15 ....B5....06 5.2.3   MF,auto
    4:5709C:C0 02:00:01 PCIE-4  2.5 0xDC00 14 ....B5....08 5.2.3   MF,auto
     



    4. Âü°íÀÚ·á

    * Re: IPMI Over LAN not working (Dell Server ¹®Á¦ °ü·Ã)
      http://permalink.gmane.org/gmane.linux.hardware.dell.poweredge/42033
      Ä¿ÇǴнº Ä«Æä ÃÖ±Ù ±Û
    [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ÀÏ~