值得收藏的常用DELL OpenManage Server Administrator (OMSA) 的命令列表

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

推荐阅读

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包

打赏作者

Par@ish

你的鼓励将是我创作的最大动力

¥1 ¥2 ¥4 ¥6 ¥10 ¥20
扫码支付:¥1
获取中
扫码支付

您的余额不足,请更换扫码支付或充值

打赏作者

实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值