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
linux:ilo [2015/08/17 16:35]
vondra
linux:ilo [2015/11/11 09:40] (current)
vondra [Setup network]
Line 6: Line 6:
 <​code>​ <​code>​
 alias ilossh='​ssh -o PasswordAuthentication=yes \ alias ilossh='​ssh -o PasswordAuthentication=yes \
--o ChallengeResponseAuthentication=no \ +-o ChallengeResponseAuthentication=no \ 
--o GSSAPIAuthentication=no \ +-o GSSAPIAuthentication=no \ 
--o HostbasedAuthentication=no \ +-o HostbasedAuthentication=no \ 
--o PubkeyAuthentication=no \ +-o PubkeyAuthentication=no \ 
--o RSAAuthentication=no \ +-o RSAAuthentication=no \ 
--o Compression=no \ +-o Compression=no \ 
--o ForwardAgent=no \ +-o ForwardAgent=no \ 
--o ForwardX11=no \ +-o ForwardX11=no \ 
--o KexAlgorithms=diffie-hellman-group1-sha1 \ +-o KexAlgorithms=diffie-hellman-group1-sha1 \ 
--o MACs=hmac-md5,​hmac-sha1 \ +-o MACs=hmac-md5,​hmac-sha1 \ 
--o Ciphers=aes128-cbc,​3des-cbc \ +-o Ciphers=aes128-cbc,​3des-cbc \ 
--o HostKeyAlgorithms=ssh-rsa,​ssh-dss '+-o HostKeyAlgorithms=ssh-rsa,​ssh-dss'​ 
 </​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>​ if it doesn'​t take effect you can try connect to iLo via ssh and run<​code>​reset map1</​code>​
 
linux/ilo.1439822119.txt.gz · Last modified: 2015/08/17 16:35 by vondra