- [Show pagesource]
- [Old revisions]
- [[unknown link type]]
- []
Table of Contents
iLo
Pro ssh pristup je nutne pouzit parametry:
ssh -o ForwardAgent=no -o ForwardX11=no -o HostKeyAlgorithms=ssh-rsa,ssh-dss user@ip
Pro novejsi OpenSSH je treba pouzit nasledujici alias:
alias ilossh='ssh -o PasswordAuthentication=yes \ -o ChallengeResponseAuthentication=no \ -o GSSAPIAuthentication=no \ -o HostbasedAuthentication=no \ -o PubkeyAuthentication=no \ -o RSAAuthentication=no \ -o Compression=no \ -o ForwardAgent=no \ -o ForwardX11=no \ -o KexAlgorithms=diffie-hellman-group1-sha1 \ -o MACs=hmac-md5,hmac-sha1 \ -o Ciphers=aes128-cbc,3des-cbc \ -o HostKeyAlgorithms=ssh-rsa,ssh-dss'
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
apt-get install ipmitool
- the service job usually fails to run so you have to load following kernel modules in order to use ipmitool
modprobe ipmi_msghandler modprobe ipmi_devintf modprobe ipmi_si
- try to start the service again
service ipmievd start
Setup users
- list users:
ipmitool user list
- change password for desired user - in this case user no 3
ipmitool user set password 3 my-password ipmitool user enable 3
- set this user as administrator
ipmitool user priv 3 4
Setup network
- find out the lan channel
for i in `seq 1 14`; do ipmitool lan print $i 2>/dev/null | grep -q ^Set && echo Channel $i; done
let the output be
Channel 2
- show network configuration
ipmitool lan print 2
- setup static ip adress
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
- do a cold reset
ipmitool mc reset cold
if it doesn't take effect you can try connect to iLo via ssh and run
reset map1
linux/ilo.txt · Last modified: 2015/11/11 09:40 by vondra