本公司目前在各地有许多服务器需要管理,由于主要采用IBM x346,所以对X346进行了研究。这款服务器,支持BMC(Baseboard Management Controller,因为多集成于主板而得名),提供远程管理维护。本文主要演示一下如何通过BMC远程管理X346服务器。 智能平台管理接口(IPMI:Intelligent Platform Management Interface)是一项应用于服务器管理系统设计的标准,由Intel、HP、Dell和NEC公司于1998年共同提出,利用此接口标准设计有助于在不同类服务器系统硬件上实施系统管理,使不同平台的集中管理成为可能。在IPMI管理平台中,BMC是核心控制器,系统管理软件对各个被管理器件的管理,都是通过与BMC通信来实现的。 BMC管理示意图如下: 当然,也可以不使用如图所示的方式,而直接使用smbridge 命令行连接BMC SERVER进行访问和控制。 配置步骤如下: 1. 设置服务器的BMC参数,使服务器可以通过BMC被管理; 2. 安装SMBridge软件; 3. 使用TELNET(本机或者远程)终端登录SMBridge telnet server,管理服务器。 |
一:BMC的BIOS设置 1. 按F1进入BIOS,Advance->设置BMC IP 为 172.24.5.23/24; 2. 如果还需要使用SOL(Serial over LAN )(提供远程控制台)功能,则需要设置如下: Advanced Options,Baseboard Management Controller (BMC) Settings,作如下设定: – System-BMC Serial Port Sharing 设为 Enabled – BMC Serial Port Access Mode 设为 Dedicated Devices and I/O Ports,作如下设定: – 将Serial Port A 设为 Auto-configure。 – 将Serial Port B 设为 Auto-configure。 Remote Console Redirection,作如下设定: – Remote Console Active 设为 Enabled – Remote Console Text Emulation 设为 VT100/VT220 – Remote Console Keyboard Emulation 设为 VT100/VT220 – Remote Console Active After Boot 设为 Enabled – Remote Console Flow Control 设为 Hardware 3. 如果还需要使用SOL,需要WINDOWS 系统支持 windows 命令行下,检查配置 如果不正确,进行相关如下:bootcfg /ems on /port com1 /baud 19200 /id 1; 注意参数与BIOS设置一致; |
三:启动管理客户端 可以在本机或责远程连接TELNET server.客户端软件可以使用任何标准的TELNET客户端软件。 连接到服务器 telnet 172.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 Rights Reserved. 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, #3 Watchdog2, Timer interrupt (Interrupt type: none, Timer use at expiration: BIOS FRB2) 2= 2007/09/04 17:35:31, #3 Watchdog2, Timer expired (Interrupt type: none, Timer use at expiration: BIOS FRB2) 3= 2007/09/05 15:54:05, #3 Watchdog2, Timer interrupt (Interrupt type: none, Timer use at expiration: BIOS FRB2) 4= 2007/09/05 15:54:05, #3 Watchdog2, Timer expired (Interrupt type: none, Timer use at expiration: BIOS FRB2) 5= 2007/09/06 14:49:03, #1 Power Unit, Power off/down 6= 2007/09/06 14:52:28, #1 Power Unit, 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 如果系统正在上电自检:可以看到如下界面. 这个界面F1不容易进入BIOS;按F2进入诊断界面。 |
如果系统已经启动,会提示输入帐号、密码,然后打开一个cmd shell 乱码是因为当前还不能很好支持中文,如果是英文界面,则如下所示 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 Microsoft Windows [Version 5.2.3790] (C) Copyright 1985-2003 C:\WINDOWS\system32> |
本文发布于:2023-05-06 20:10:00,感谢您对本站的认可!
本文链接:https://patent.en369.cn/patent/2/89573.html
版权声明:本站内容均来自互联网,仅供演示用,请勿用于商业和其他非法用途。如果侵犯了您的权益请与我们联系,我们将在24小时内删除。
留言与评论(共有 0 条评论) |