DELL OpenManage Server Administrator (OMSA) 是一款适用于戴尔服务器的系统管理工具。大多数版本的 Microsoft Windows、Linux 和 ESXi 操作系统都支持 Dell OpenManage Server Administrator。
服务器安装OMSA后,可以通过两种方式访问 Dell OpenManage Server Administrator:
==集成的基于 Web 浏览器的用户界面 (UI)==

==通过操作系统显示的命令行界面 (CLI)==

下面收集整理了一些可与 OpenManage Server Administrator (OMSA) 配合使用的常用命令。
这些命令的使用的前提是需要在服务器操作系统上安装 OMSA ,通过 CLI 操作执行的。
服务器状态检查
| 对象 | 命令 |
|---|---|
| 检查内存状态 | omreport chassis memory |
| 检查system版本 | omreport system summary |
| 检查插槽 | omreport chassis slots |
| 检查每个信息,包括标签 | omreport chassis info |
| 检查 BIOS 设置 | omreport chassis biossetup |
| 检查 OMSA 版本 | omreport about |
| 检查电源状态 | omreport chassis pwrsupplies |
| 检查功耗 | omreport chassis pwrmonitoring |
omreport chassis pwrsupplies ##检查电源状态
C:\> omreport chassis pwrsupplies
Power Supplies Information
--------------------------------------
Main System Chassis Power Supplies: Ok
--------------------------------------
Individual Power Supply Elements
Index : 0
Status : Ok
Location : PS1 Status
Type : AC
Rated Input Wattage : 594 W
Maximum Output Wattage : 495 W
Firmware Version : 00.1B.53
Online Status : Presence Detected
Power Monitoring Capable : Yes
Index : 1
Status : Ok
Location : PS2 Status
Type : AC
Rated Input Wattage : 594 W
Maximum Output Wattage : 495 W
Firmware Version : 00.1B.53
Online Status : Presence Detected
Power Monitoring Capable : Yes
C:\>
收集和清除服务器日志
| 对象 | 命令 |
|---|---|
| 清除硬件日志 | omconfig system esmlog action=clear |
| 清除警报日志 | omconfig system alertlog action=clear |
| 查看硬件日志 | omreport system esmlog |
| 查看警报日志 | omreport system alertlog |
| 收集控制器日志 | omconfig storage controller action=exportlog controller=controller ID |
omreport system alertlog ## 查看警报日志
C:\> omreport system alertlog
Alert Log
Alert Log contains...
Severity : Ok
ID : CTL54
Date and Time : Sun Nov 19 12:12:49 2023
Category : Storage Service
Description : Severity: Informational, Category: Storage, MessageID: CTL54, Message: Controller 0 (PERC H330 Adapter) event log: Host driver is loaded and operational
Severity : Ok
ID : CTL54
Date and Time : Sun Nov 19 12:12:48 2023
Category : Storage Service
Description : Severity: Informational, Category: Storage, MessageID: CTL54, Message: Controller 0 (PERC H330 Adapter) event log: Inserted: PD 07(e0x20/s7)
Severity : Ok
ID : CTL54
Date and Time : Sun Nov 19 12:12:48 2023
Category : Storage Service
Description : Severity: Informational, Category: Storage, MessageID: CTL54, Message: Controller 0 (PERC H330 Adapter) event log: Global Hot Spare created on PD 07(e0x20/s7) (global,rev)
Severity : Ok
ID : CTL54
Date and Time : Sun Nov 19 12:12:48 2023
Category : Storage Service
Description : Severity: Informational, Category: Storage, MessageID: CTL54, Message: Controller 0 (PERC H330 Adapter) event log: Controller operating temperature within normal range, full operation restored
服务器存储相关
| 对象 | 命令 |
|---|---|
| 重建虚拟磁盘 | omconfig storage pdisk action=rebuild controller=controller ID pdisk=physical disk ID |
| 检查虚拟磁盘 | omreport storage vdisk controller=controller ID |
| 检查分配给虚拟磁盘的磁盘 | omreport storage pdisk controller=controller ID vdisk=virtual disk ID |
| 强制物理磁盘离线 | omconfig storage pdisk action=offline controller=controller ID pdisk=physical disk ID |