You can use IPMI tools for configuring iDrac, CIMC and similar remote management systems quickly.

–> Install IPMI Tools

#  yum install OpenIPMI OpenIPMI-tools

–> Start ipmi service automatically

#  chkconfig ipmi on

–> Print current configuration.

#  ipmitool lan print -1

Set in Progress : Set Complete
Auth Type Support : NONE MD2 MD5 PASSWORD
Auth Type Enable : Callback :
: User :
: Operator :
: Admin :
: OEM :
IP Address Source : Static Address
IP Address : 1.2.3.4
Subnet Mask : 255.255.255.0
MAC Address : ab:aa:vv:cc:xx:dd
SNMP Community String : public
IP Header : TTL=0x40 Flags=0x00 Precedence=0x00 TOS=0x10
BMC ARP Control : ARP Responses Disabled, Gratuitous ARP Disabled
Gratituous ARP Intrvl : 2.0 seconds
Default Gateway IP : 1.2.3.4
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 : 0,1,2,3,4,5,6,7,8,9,10,11,12,13,14
Cipher Suite Priv Max : XXXaaaXXaaaXaaa
: X=Cipher Suite Unused
: c=CALLBACK
: u=USER
: o=OPERATOR
: a=ADMIN
: O=OEM

–> Set Ip Adress source static

#  ipmitool lan set 1 ipsrc static

–> Set IP address

#  ipmitool lan set 1 ipaddr 1.2.3.4

–> Set Netmask

#  ipmitool lan set 1 netmask 255.255.255.0

–> Set Default Gateway

#  ipmitool lan set 1 defgw ipaddr 1.2.3.4

–> Print user list.

# ipmitool user list 1

ID   Name    Callin    Link Auth       IPMI   Msg    Channel Priv Limit
1      admin    true          false              true                ADMINISTRATOR
2                     true          false              true                CALLBACK
3     test         true          false              true                USER

4                     true         false               true                CALLBACK
5                     true         false               true                CALLBACK
6                     true         false               true                CALLBACK
7                     true         false               true                CALLBACK

–> Create User (3 is the ID of user)

#  ipmitool user set name 3 test

–> Set password for user test

#  ipmitool user set password 3

Password for user 3:

–> Give Administrator Privilege

Possible privilege levels are:
1 Callback level
2 User level
3 Operator level
4 Administrator level

# ipmitool channel setaccess 1 2 link=on ipmi=on callin=on privilege=4

Leave a Reply

Your email address will not be published. Required fields are marked *