For When You Can't Have The Real Thing
[ start | index | login ]
start > Sun > X2200-M2 > IPMI under Linux

IPMI under Linux

Created by dave. Last edited by dave, 13 years and 355 days ago. Viewed 5,463 times. #10
[diff] [history] [edit] [rdf]
(Notes for CentOS 4.x; validated under 4.7)

Setting Up The SC From Scratch

[root@x2200-01 ~]# chkconfig ipmi on
[root@x2200-01 ~]# service ipmi start
Starting ipmi drivers:                                     [  OK  ]
[root@x2200-01 ~]# ipmitool user set password 2 'foofoo'
[root@x2200-01 ~]# ipmitool lan set 1 ipsrc static
[root@x2200-01 ~]# ipmitool lan set 1 ipaddr
Setting LAN IP Address to
[root@x2200-01 ~]# ipmitool lan set 1 netmask
Setting LAN Subnet Mask to
[root@x2200-01 ~]# ipmitool lan set 1 defgw ipaddr
Setting LAN Default Gateway IP to

Assuming network connectivity is dealt with, you should now be able to either use remote IPMI commands or connect to the web interface on the SC.

New User Creation

# ipmitool user set name 2 root
# ipmitool user set password 2 'foofoo'
# ipmitool user set priv 2 4

Priv levels:

  • 1 Callback
  • 2 User
  • 3 Operator
  • 4 Administrator
I was doing a password rotation on the LOM interface and pooched the new password twice, so I couldn't get back in. I still had OS access to the system (having not pooched that rotation), so the fix is to change the password through IPMI from the host.

# ipmitool user list 1
ID  Name             Callin  Link Auth  IPMI Msg   Channel Priv Limit
1                    true    true       true       ADMINISTRATOR
2   root             true    true       true       ADMINISTRATOR
# ipmitool user set password 2 newpassword

You have to specify channel 1 to get the user list. You can then change the password of the root user, which in this case is user id 2.

Note that the obvious, ipmi user set password root newpassword is wrong because the root gets interpreted as 0, and there is no user with ID 0.

Chassis Event Log


$ ipmitool sel elist


$ ipmitool sel clear
no comments | post comment
This is a collection of techical information, much of it learned the hard way. Consider it a lab book or a /info directory. I doubt much of it will be of use to anyone else.

Useful: | Copyright 2000-2002 Matthias L. Jugel and Stephan J. Schmidt