Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
Last revision Both sides next revision
linux:ilo [2015/08/17 16:40]
vondra
linux:ilo [2015/11/11 09:35]
vondra [Setup network]
Line 20: Line 20:
  
 </​code>​ </​code>​
 +
 +===== Setup LO100 =====
 +LO100 is poor man's iLo that can be found in HP DL1xx - it is derived from IBM BCM
 +
 +following commands should work on all machines equipped either with LO100 or iLO 3 and higher (maybe other management consoles - e.g. Dell, IBM, Sun)
 +==== Install ipmitool ====
 +the ipmitool utility allows you to change iLo settings without rebooting the server
 +  - install the package<​code bash>
 +apt-get install ipmitool
 +</​code>​
 +  - the service job usually fails to run so you have to load following kernel modules in order to use ipmitool<​code bash>
 +modprobe ipmi_msghandler
 +modprobe ipmi_devintf
 +modprobe ipmi_si</​code>​
 +  - try to start the service again<​code bash>
 +service ipmievd start</​code>​
 +
 +==== Setup users ====
 +  - list users:<​code>​
 +ipmitool user list
 +</​code>​
 +  - change password for desired user - in this case user no 3<​code>​
 +ipmitool user set password 3 my-password
 +ipmitool user enable 3
 +</​code>​
 +  - set this user as administrator<​code>​
 +ipmitool user priv 3 4
 +</​code>​
 +
 +==== Setup network ====
 +  - find out the lan channel<​code bash>
 +for i in `seq 1 14`; do ipmitool lan print $i 2>/​dev/​null | grep -q ^Set && echo Channel $i; done</​code>​let the output be <code bash>​Channel 2</​code>​
 +  - show network configuration<​code bash>
 +ipmitool lan print 2</​code>​
 +  - setup static ip adress<​code>​
 +ipmitool lan set 2 ipsrc static
 +ipmitool lan set 2 ipaddr 10.0.255.x
 +ipmitool lan set 2 netmask 255.255.255.0
 +ipmitool lan set 2 defgw ipaddr 10.0.255.1</​code>​
 +  - do a cold reset<​code bash>
 +ipmitool mc reset cold</​code>​
 
linux/ilo.txt · Last modified: 2015/11/11 09:40 by vondra