跳转到主内容

什么是底板管理控制器( BMC )以及如何使用它?

Views:
1,359
Visibility:
Public
Votes:
3
Category:
fas-systems
Specialty:
hw
Last Updated:

适用场景

  • AFF A700
  • AFF A800、AFF C800
  • AFF A220、AFF A150、AFF C190、FAS2750、FAS2720
  • AFF A250、AFF C250、FAS500f
  • AFF A320
  • AFF A400、AFF C400、FAS8700、FAS8300
  • AFF A900、FAS9500

问题解答

底板管理控制器( BMC )提供远程管理功能、包括控制台重定向、传感器监控、日志记录和电源控制。

它还通过发送其他系统事件警报来扩展 AutoSupport 。AutoSupport 设置用于通过 BMC LAN 界面通过电子邮件发送这些警报。

如何配置BMC
  1. 首次设置存储系统时,将提示您配置 BMC 。

示例:
Would you like to configure the BMC? (y/n)? y
Would you like to enable DHCP on BMC LAN interface? (y/n)? n
Please enter the IP address for the BMC [ ]: 10.100.10.11
Please enter the netmask for the BMC [ ]: 255.255.255.0
Please enter the IP address for the BMC gateway [ ]: 10.100.10.1
Please enter the gratuitous ARP Interval for the BMC [(max 60)]: 60

  1. 通过 运行 system service-processor network Modify、还可以随时从ONTAP中重新配置BMC

::>system service-processor network modify -node <node_name> -address-family IPv<4/6> -enable true -dhcp <none/v4> -ip-address <ip_address> -netmask <mask> -gateway <gateway>


有时,需要重新启动 BMC 才能允许 SSH 连接。可以通过从bmc reboot命令行界面运行 " " 命令来重新启动 BMC 。

如何登录到BMC

访问 BMC 有两种方式:

  1. 在串行控制台端口上,通过按 Ctrl+G 访问 BMC Shell 并通过按 Ctrl+D 结束会话。在连接到控制台端口时按 Ctrl+G 组合键不会提示输入用户名或密码、即使设置了根密码。

  2. 通过以太网连接、通过 SSH 访问 BMC 。SSH 连接将提示输入用户名和密码。BMC 的凭据会从 ONTAP 同步,并且可以使用 "admin" 帐户。
    示例:
    login as: admin
    Password: xxxxxxxx
    BMC>

基本命令(大多数平台)
  • system log - 显示控制台的历史输出(bak- 添加此项将扩展控制台日志)
  • system console —将提示符从 BMC 切换到控制台。
  • system core —转储系统核心并重置节点
  • system fru show - 列出节点的所有 FRU
  • system fw [rev | upgrade]
    • rev —显示当前固件信息
    • upgrade —升级BMC固件
  • system power [cycle | off | on | status]
    • cycle —重新启动节点
    • off —关闭节点
    • on —启动节点
    • status —显示节点的状态
  • system reset [primary | backup| current] —重置控制器。
  • bmc reset —重置 / 重新启动 BMC
基本命令(特定于AFF A700s)

注意:此平台上的BMC提示符为: admin@BMC01:~$

  • system log console [bak] —显示控制台的历史输出(bak- 添加此输出将扩展控制台日志)
  • system log sel —显示系统事件日志; BMC 报告的事件
  • system console —将提示符从 BMC 切换到控制台。
    • 注意: 对于AFF A700s系统、要返回到BMC提示符、您需要使用"Esc-T"而不是"Ctrl-D"、这在SP和BMC中是很常见的
  • 要从控制台端口访问 BMC 提示符,请使用 "Ctrl-G"
BMC的ONTAP命令
  • system environment sensors show —显示当前报告传感器的状态
  • system environment shutdown [modify | show]
    • modify —修改自动关闭选项
    • show —显示自动关闭选项
  • system service-processor image [modify | show | update]
    • modify —修改当前安装的 BMC 映像
    • show —显示当前安装的 BMC 映像
    • update —更新当前安装的 BMC 映像
  • system service-processor image update-progress show —跟踪当前 BMC 升级操作的状态
  • system service-processor reboot-sp —重新启动 BMC
  • system service-processor network [modify | show]
    • modify —修改 BMC 网络配置
    • show —显示 BMC 网络配置

注意: 在AFF A700s、AFF A800和AFF C800上、BMC具有自己单独的以太网接口。它不会与ONTAP 使用的e0M端口共享"扳手"端口。

追加信息

其他有用信息

纯文本日志存储在主机ONTAP 节点上、用于收集可能有用的BMC信息。它们如下所示:

/mroot/etc/log/sp/latest/sp_configuration.txt
/mroot/etc/log/sp/latest/sp_system_event.txt


它们会通过AutoSupport 自动在中收集。您也可以在命令行界面终端会话中直接显示文件内容。用于显示它们的命令包括:

::>system node run -node <node_name> rdfile /etc/log/sp/latest/sp_configuration.txt
::>system node run -node <node_name> rdfile /etc/log/sp/latest/sp_system_event.txt

 

如果尚未配置BMC、是否仍可收集BMC日志?
  • 是您仍然可以使用控制台端口并按 Ctrl+G 从 BMC 收集命令输出
  • 控制台日志本身不会提交到磁盘、但即使重新初始化存储系统也会保留在内存缓冲区中。由于缓冲区空间有限、系统日志将根据需要被覆盖以容纳最新事件。
BMC详细信息
  • 从 AFF-A700s 型号开始、 BMC 与以前型号中显示的 SP 不同、正在使用。
  • 虽然许多命令都使用类似的语法,但请务必注意在未来平台上使用的较新版本 BMC 的适用命令。
NetApp provides no representations or warranties regarding the accuracy or reliability or serviceability of any information or recommendations provided in this publication or with respect to any results that may be obtained by the use of the information or observance of any recommendations provided herein. The information in this document is distributed AS IS and the use of this information or the implementation of any recommendations or techniques herein is a customer's responsibility and depends on the customer's ability to evaluate and integrate them into the customer's operational environment. This document and the information contained herein may be used solely in connection with the NetApp products discussed in this document.
Scan to view the article on your device