IBM服务器BMC 远程管理

IBM服务器BMC 远程管理html

本公司目前在各地有许多服务器须要管理,因为主要采用IBM x346,因此对X346进行了研究。这款服务器,支持BMCBaseboard ManagementController,由于多集成于主板而得名),提供远程管理维护。本文主要演示一下如何经过BMC远程管理X346服务器。shell


智能平台管理接口(IPMIIntelligentPlatform Management Interface)是一项应用于服务器管理系统设计的标准,由IntelHPDellNEC公司于1998年共同提出,利用此接口标准设计有助于在不一样类服务器系统硬件上实施系统管理,使不一样平台的集中管理成为可能。IPMI管理平台中,BMC是核心控制器,系统管理软件对各个被管理器件的管理,都是经过与BMC通讯来实现的。windows

BMC管理示意图以下:服务器


151650942.jpg

151652346.jpg

固然,也能够不使用如图所示的方式,而直接使用smbridge 命令行链接BMC SERVER进行访问和控制。session









配置步骤以下:ide

1.设置服务器的BMC参数,使服务器能够经过BMC被管理;网站

2.安装SMBridge软件;ui

3.使用TELNET(本机或者远程)终端登陆SMBridge telnet server,管理服务器。this


一:BMCBIOS设置spa

1.F1进入BIOSAdvance->设置BMC IP 172.24.5.23/24;


2.若是还须要使用SOLSerial over LAN )(提供远程控制台)功能,则须要设置以下:

Advanced OptionsBaseboardManagement Controller (BMC) Settings,做以下设定:
– System-BMC SerialPort Sharing
设为 Enabled
– BMC Serial PortAccess Mode
设为 Dedicated

Devices and I/O Ports,做以下设定:
SerialPort A 设为 Auto-configure
SerialPort B 设为 Auto-configure
Remote Console Redirection
,做以下设定:
– Remote Console Active
设为Enabled
– Remote Console TextEmulation
设为 VT100/VT220
– Remote Console KeyboardEmulation
设为 VT100/VT220
– Remote Console Active AfterBoot
设为 Enabled
– Remote Console FlowControl
设为 Hardware

3.若是还须要使用SOL,须要WINDOWS 系统支持

windows命令行下,检查配置



151654413.jpg

若是不正确,进行相关以下:bootcfg /ems on/port com1 /baud 19200 /id 1;

注意参数与BIOS设置一致;



二:SMBridge软件安装

能够从站点http://www.ibm.com/pc/support/site.wss/MIGR-57729.html下载软件,http://www.ibm.com/pc/support/site.wss/MIGR-57816.html下载文档.



安装完成之后,有以下几个文件

pxyservice.exe服务进程,运行该程序,便可启动TELNET SERVER;

pxyservice.ini通常不须要配置

SMBridge.exeSMC处理进程。

smbridge.cfg

ip=127.0.0.1

port=623

session_timeout=30

power_off_timeout=60

其中IP设置SMBridge监听IP,

INADDR_ANY为任意;

127.0.0.1 只容许本机;

ip:监听一个具体IP;


PORT为监听端口,默认为623,能够随便更改。


运行pxyservice.exe,便可启动SMBridge服务。



三:启动管理客户端

能够在本机或责远程链接TELNET server.客户端软件可使用任何标准的TELNET客户端软件。


链接到服务器

telnet172.24.5.24 623

Username:administrator

Password:


administrator login successful.


OSA System Management Bridge (SMBridge), Version 1.0.3.8

Copyright (c) 2004 - OSA Technologies, an Avocent Company. All RightsReserved.


SMBridge>help

connect -ip<bmc-ip-address|bmc-host-name> [-u <username>] [-p <password>]

console

identify [on [-t<seconds>]|off]

power[status|off[-force]|on|reset|cycle]

reboot [-force]

sel get [[[-begin<indexF>][-max <count>|-end <indexL>]]|-last <index>]

|clear|status|set -time<YYYY/MM/DD hh:mm:ss>

sol [enable|disable|<config[-baud 9600|19200] [-priv admin|user|

operator] [-retrycount count][-retryinterval interval]>]

sysinfo [fru|id]


首先,链接到被管理服务器

SMBridge>connect -ip 172.24.5.23 -u USERID -p PASSW0RD


获取系统标识

SMBridge>sysinfo

DeviceID=32

DeviceRevision=0

FirmwareVersion=1.16

IpmiVersion=1.5

ManufacturerID=2

ProductID=3

Status=OK

SDRVersion=1.5

Guid=95243b5e-88a8-a5a1-124a-b4467c5a98da


访问事件日志

SMBridge>sel get

1=2007/09/04 17:35:31,#3Watchdog2,Timer interrupt (Interrupt type: none, Timeruse at expiration: BIOS FRB2)


2=2007/09/04 17:35:31,#3Watchdog2,Timer expired (Interrupt type: none, Timer useat expiration: BIOS FRB2)


3=2007/09/05 15:54:05,#3Watchdog2,Timer interrupt (Interrupt type: none, Timeruse at expiration: BIOS FRB2)


4=2007/09/05 15:54:05,#3Watchdog2,Timer expired (Interrupt type: none, Timer useat expiration: BIOS FRB2)


5=2007/09/06 14:49:03,#1PowerUnit,Power off/down


6=2007/09/06 14:52:28,#1PowerUnit,Power off/down (deassertion event)



系统电源管理

SMBridge>power status/reboot/on/off


SOL控制台

SMBridge>console

SAC>

开一个终端会话

SAC>cmd

Activating remote console now.

Remote console is now active and ready for user input.

SAC> ch检查会话

SAC> ch –si 1链接到会话1


若是系统正在上电自检:能够看到以下界面

151656601.jpg

这个界面F1不容易进入BIOS;F2进入诊断界面。

151658985.jpg

乱码是由于当前还不能很好支持中文,若是是英文界面,则以下所示



若是系统已经启动,会提示输入账号、密码,而后打开一个cmd shell

151700535.jpg

Name:Cmd0002
Description: Command Prompt
Type: <Esc><tab>0 to return to the SAC channel.
Use any other key to view this channel.


Please enter login credentials.
Username:
Domain:
Password:


Attempting to authenticate...


Microsoft Windows [Version 5.2.3790]
(C) Copyright 1985-2003

C:\WINDOWS\system32>

成功登陆后,显示以下界面,进入WINDOWS 控制台。



151703610.jpg

命令总结如图:


152122378.jpg

相关说明


0BMC和网卡1共享。


1X346BMC主要提供了如下4个方面的命令。对我来讲,主要是POWER,可让咱们在服务器死机后、停电又来电后,能够远程打开关闭服务器,同时查看BIOS自检过程,看是否有硬件故障。

命令

说明

identify

控制前面板上的标识 LED

sysinfo

检索和显示 Managed System 信息。

power

控制 Managed System 的电源状态。

sel

显示或删除 SEL 中的信息。


2.也可使用SMBridge.exe命令直接链接支持BMC的服务器进行管理。

如:

1. Display general system info ofremote server using LAN connection:

"smbridge -ip 192.168.0.100 -u root -p calvin sysinfo"


2. Turn on/off identification LEDthat exists on the server:

"smbridge -ip 192.168.0.100 -u root -p calvin identify on"

"smbridge -ip 192.168.0.100 -u root -p calvin identify off"


3. Power cycle the remote server:

"smbridge -ip 192.168.0.100 -u root -p calvin power cycle"


4. BMC提供的管理功能仍是颇有限。若是想要更好的功能,能够考虑选配其它管理组件,如RSA等管理卡。IBM还提供其余不少管理方法,BMC只是最基本的。具体信息能够http://www-900.ibm.com/cn/support/viewdoc/detail?DocId=JJLU-6FT2NYIBM系统管理方案介绍。


本文介绍的方法基本适用与DELL服务器,能够参考

http://support2.jp.dell.com/docs/software/smbmcmu/1.2/sc/ug/bmcugc0d.htm#1052395


从基本管理方法而言,HPILO提供的图形化界面,以及虚拟设备更为强大和简单,

具体能够参考HP官方网站。



附件是本文的WORD文档,以及本文所用的软件。

相关文章
相关标签/搜索