[CentOS] IPMI ??

John R Pierce pierce at hogranch.com
Mon Sep 19 01:03:04 UTC 2016


On 9/18/2016 4:03 PM, Keith Keller wrote:
> On 2016-09-18, Boris Epstein<borepstein at gmail.com>  wrote:
>> >Is there a little setup display right on the box? Just asking because I
>> >have seen that on some boxes.
> You mean for configuring the IPMI interface?  I've never seen that but
> it sounds very cool.  Do you have specific references for systems which
> you've seen that on?

the SUpermicro IPMI's I've used, you'd configure from linux after 
installing ipmitools and starting the ipmi service.

    # ipmitool mc status
    Invalid mc/bmc command: status
    MC Commands:
       reset <warm|cold>
       guid
       info
       watchdog <get|reset|off>
       selftest
       getenables
       setenables <option=on|off> ...
         recv_msg_intr         Receive Message Queue Interrupt
         event_msg_intr        Event Message Buffer Full Interrupt
         event_msg             Event Message Buffer
         system_event_log      System Event Logging
         oem0                  OEM 0
         oem1                  OEM 1
         oem2                  OEM 2
       getsysinfo <argument>
       setsysinfo <argument> <string>
         primary_os_name     Primary operating system name
         os_name             Operating system name
         system_name         System Name of server(vendor dependent)
         delloem_os_version  Running version of operating system
         delloem_url         URL of BMC webserver

    # ipmitool lan print 1    #<< if this command gives an error, try
    '2' instead of 1, and use '2' on all following commands
    Set in Progress         : Set Complete
    Auth Type Support       : MD2 MD5 OEM
    Auth Type Enable        : Callback : MD2 MD5 OEM
                             : User     : MD2 MD5 OEM
                             : Operator : MD2 MD5 OEM
                             : Admin    : MD2 MD5 OEM
                             : OEM      :
    IP Address Source       : Static Address
    IP Address              : 10.100.16.15
    Subnet Mask             : 255.255.248.0
    MAC Address             : 00:25:xxxxxx
    SNMP Community String   : AMI
    IP Header               : TTL=0x00 Flags=0x00 Precedence=0x00 TOS=0x00
    BMC ARP Control         : ARP Responses Enabled, Gratuitous ARP Disabled
    Gratituous ARP Intrvl   : 0.0 seconds
    Default Gateway IP      : 10.100.16.1
    Default Gateway MAC     : 00:00:00:00:00:00
    Backup Gateway IP       : 0.0.0.0
    Backup Gateway MAC      : 00:00:00:00:00:00
    802.1q VLAN ID          : Disabled
    802.1q VLAN Priority    : 0
    RMCP+ Cipher Suites     : 1,2,3,6,7,8,11,12,0
    Cipher Suite Priv Max   : aaaaXXaaaXXaaXX
                             :     X=Cipher Suite Unused
                             :     c=CALLBACK
                             :     u=USER
                             :     o=OPERATOR
                             :     a=ADMIN
                             :     O=OEM


    # ipmitool lan set 1 ipsrc static
    # ipmitool lan set 1 ipaddr 10.100.16.15
    Setting LAN IP ....
    # ipmitool lan set 1 netmask 255.255.248.0
    Setting LAN Subnet Mask ...
    # ipmitool lan set 1 defgw ipaddr 10.100.16.1
    ....
    # ipmitool lan set 1 arp respond on
    # ipmitool lan set 1 set access on

    # ipmitool lan print 1
    ....verify all values...

    # ipmitool user list 1
    ...userlist, note last ID, use ID+1 for '3' below
    # ipmitool user set name 3 somename
    # ipmitool user set password 3
    .... enter password twice...
    # ipmitool channel setaccess 1 3 callin=on link=on ipmi=on privilege=4

now try a web browser on https;//ipaddr-specified-above/ and log in as 
somename with the given password...



-- 
john r pierce, recycling bits in santa cruz




More information about the CentOS mailing list