IPMI是智能型平台管理接口(Intelligent Platform Management Interface)
BMC(Baseboard Management Controller )
1.BIOS配置
Serial communication - On with console redir via COM2 (SOL必须)
External serial - Remote Access Device (随便)
Baud rate - 57600 (起到Linux时必须,不知原因)
remote term type - vt100/vt220
redir after boot - enabled (想看到grub及以后的东西时必须)
2.BMC配置
启动后看到这一行是按配置ip,子网掩码,网关,用户,密码等等。。。
Pressa2for0Remote Access Setup within 5 sec...
4. 是用ipmi shell管理
# ipmish -ip 10.224.106.100 -u root -p pass sysinfo
# ipmish -ip 10.224.106.100 -u root -p pass sysinfo fru
# ipmish -ip 10.224.106.100 -u root -p pass power status
# ipmish -interactive
IPMISH>connect -ip 10.224.106.100 -u root -p pass
IPMISH>power status
Status = on
IPMISH>power off -force
IPMISH>power status
Status = on
IPMISH>power status
Status = off
IPMISH>power on
IPMISH>power reset
IPMISH>power status
Status = on
IPMISH>quit
5. SOL proxy 管理
Serial Over LAN (SOL)
# telnet localhost 623
Trying 127.0.0.1...
Connected to localhost.localdomain (127.0.0.1).
Escape character is '^]'.
Powered by Avocent
BMC Management Utility - SOLProxy v4.1 Release 0
Copyright 2009 - Avocent Corporation()
No connection
1:Connect to the Remote Server's BMC
2:Configure the Serial-Over-LAN for the Remote Server
3:Activate Console Redirection
4:Reboot and Activate Console Redirection
5:Help
6:Exit
Please select the item(press 1, 2, 3, 4, 5, 6):1
Server Address:10.224.106.100
Username:root
Password:
Key:
SOLProxy Status:Connected.
Powered by Avocent
BMC Management Utility - SOLProxy v4.1 Release 0
Copyright 2009 - Avocent Corporation()
Current connection:10.224.106.100:root
1:Connect to the Remote Server's BMC
2:Configure the Serial-Over-LAN for the Remote Server
3:Activate Console Redirection
4:Reboot and Activate Console Redirection
5:Help
6:Exit
Please select the item(press 1, 2, 3, 4, 5, 6):3
Activating remote console now.
Remote console is now active and ready for user input.
6. SOL Proxy管理grub
将grub.conf中图片取消。
#splashimage=(hd0,0)/grub/splash.xpm.gz
#hiddenmenu
7. SOL Proxy管理linux
a.配置grub.conf
title CentOS-4 i386 (2.6.17.14.WBXsmp)
root (hd0,0)
kernel /vmlinuz-2.6.17.14.WBXsmp ro root=LABEL=/ rhgb quiet enforcing=0 console=ttyS1,57600 console=tty0
initrd /initrd-2.6.17.14.WBXsmp.img
此时,服务启动的信息会显示在终端上(tty0), 如果进入单用户模式, 也只会在终端(tty0)上提示输入root密码, 如果需要将服务启动的信息也输出到串口上, 可修改两个console参数的顺序, 即修改为console=tty0 console=ttyS1,57600
b.允许从串口登陆linux
修改/etc/inittab文件, 增加如下内容
S1:2345:respawn:/sbin/mingetty ttyS1
则会启动完成后会允许从串口登陆到linux.
c.允许root从ttyS1登录
修改/etc/securetty
增加ttyS1
阅读(2471) | 评论(0) | 转发(0) |