Dell OpenManage Server Administrator 版本 7.
注、小心和警告 注: “注”表示可以帮助您更好地使用计算机的重要信息。 小心: “小心”表示可能会损坏硬件或导致数据丢失,并说明如何避免此类问题。 警告: “警告”表示可能会造成财产损失、人身伤害甚至死亡。 © 2012 Dell Inc.
目录 注、小心和警告...........................................................................................................................2 章 1. 简介......................................................................................................................................11 此发行版中的新功能............................................................................................................................................11 访问 Windows 命令提示符以运行 CLI 命令.......................................................
Omreport Chassis Memory 或 Omreport Mainsystem Memory......................................................................31 Omreport Chassis Nics 或 Omreport Mainsystem Nics..................................................................................33 Omreport Chassis Ports 或 omreport Mainsystem Ports.................................................................................34 Omreport Chassis Processors 或 Omreport Mainsystem Processors............................................................
Omconfig Chassis Info 或 Omconfig Mainsystem Info....................................................................................77 Omconfig Chassis Leds 或 Omconfig Mainsystem Leds..................................................................................77 Omconfig Chassis Memorymode 或 Omconfig Mainsystem Memorymode....................................................78 Omconfig Chassis Pwrmanagement 或 Omconfig Mainsystem Pwrmanagement.........................................
添加服务信息的命令示例...........................................................................................................................109 添加支持信息......................................................................................................................................................109 添加支持信息的命令示例...........................................................................................................................110 添加系统信息......................................................................
Omconfig 清除物理磁盘...............................................................................................................................128 Omconfig 取消清除物理磁盘.......................................................................................................................129 Omconfig 启用设备写入高速缓存...............................................................................................................129 Omconfig 禁用设备写入高速缓存.........................................................................
Omconfig 设置后台初始化率.......................................................................................................................149 Omconfig 设置重新构建率...........................................................................................................................150 Omconfig 设置检查一致性率.......................................................................................................................150 Omconfig 导出控制器日志.........................................................................
Omconfig 重命名 Cachecade........................................................................................................................161 章 9. 使用 CLI 命令结果...........................................................................................................163 命令结果的输出选项..........................................................................................................................................163 控制命令输出显示...............................................................................
1 简介 Dell OpenManage Server Administrator (OMSA) 通过集成的、基于 Web 浏览器的图形用户界面 (GUI) 或命令行界 面 (CLI) 提供了全面的、一对一的系统管理解决方案。Server Administrator 适合系统管理员在本地或远程管理网 络中的系统。通过提供全面的一对一系统管理,Server Administrator 使系统管理员可以管理整个网络。 对于 Server Administrator 来说,系统可以是独立的系统、在单独机箱中连接有网络存储单元的系统,或者是由 模块化机柜中的一个或多个服务器模块组成的刀片系统。 Server Administrator 通过一组全面的集成管理服务提供易于使用的对本地和远程系统的管理和监控。Server Administrator 是被管理的系统上唯一的安装,可以通过 Server Administrator 主页进行本地和远程访问。 Server Administrator 通过拨号、LAN 或无线连接远程访问受监测的系统。 配置功能使 Server Administrator 可以执行以下各节中
– 有关图形用户界面 (GUI) 的物理磁盘固件报告有助于用户识别新固件版本可用的磁盘。您可以在 控制器或系统级别上生成此报告以获得连接到服务器的所有物理磁盘的整合信息。 – 简化并减少“创建虚拟磁盘向导”中的画面数以获得更好的用户体验。 • • 注: 有关更多信息,请参阅 dell.com/support/manuals 上的 Dell OpenManage Server Administrator Storage Management User’s Guide(Dell OpenManage Server Administrator Storage Management 用 户指南)。 增加了对增强消息的支持,包括用于增强的 SNMP 陷阱变量绑定的唯一系统标识符(系统服务标签、 机箱服务标签和系统 FQDN)和消息标识符(消息 ID)。您可以使用唯一的系统标识符将事件与相应的 服务器关联。有关更多信息,请参阅 dell.
注: 不要在运行对话框中键入 command 来启动命令行窗口;这会激活 MS-DOS 仿真程序 command.
注: 由于限制,某些命令即使成功执行也无法更改系统设置。这是可预期的行为。 故障消息 CLI 故障消息可提供某些命令不成功的原因。命令失败的常见原因包括语法错误和组件不存在。许多错误消息 提供成功执行命令的语法信息。 如果您为系统配置中不存在的组件或功能执行命令,错误消息就会表明该组件不存在。 以下是故障消息的一些示例: 命令 omconfig chassis volts index=3 minwarnthresh=3.3000 消息 错误!小数点后的位数超过了 3 位,读数为 3.3000 此命令所指定的值在其小数点后超过了 3 位数。有效的电压最小警告阈值在其小数 点后最多保留 3 位。 修改后的命令 omconfig chassis volts index=3 minwarnthresh=3.300 当输入经过修改后保留 3 位小数点的命令时,会得到另一个错误消息: 消息 错误!电压探测器最小警告阈值必须在 11.400 和 12.480 之间。 修改后的命令 omconfig chassis volts index=3 minwarnthresh=11.
更复杂一些的命令包含 1 级和 2 级命令。例如,所有的 about 命令都是具有 2 级复杂性的命令。omconfig about 和 omreport about 命令会显示简短的摘要。此摘要显示系统上安装的系统管理软件的版本信息,例如 Server Administrator 1.
使用 omhelp 命令 2 omhelp 命令及其对等形式 -? 可访问命令行界面 (CLI) 的详细帮助文本界面。您可在多个详细级别上 获得帮助。 每个完全限定的 CLI 命令可能都具有若干不同的部分:命令(1 级命令)、一个或多个子命令(2 级命令和 3 级 命令,如果存在),以及一个或多个名称=值对。 通过将 -?(空格-短划线-问号)附加到任意命令,您可以获得有关该命令的帮助。 帮助命令示例 键入 omconfig -? 获得有关 omconfig 命令的一般帮助。此级别的帮助将列出 omconfig 的可用子命令: • about • preferences • chassis • system 如果您键入 omconfig system -?,CLI 帮助将会列出 omconfig system 可用的所有子命令: • alertaction • alertlog • assetinfo • cmdlog • esmlog • events • platformevents • pedestinations • reco
如果键入 omconfig system assetinfo -?,显示的帮助将提供有关如何为名称和选项字段分配值的信 息。请求 omconfig system assetinfo -? 的部分结果: assetinfo 设置资产信息。 对于一个信息值,可指定一个或多个可选参数: 下表显示 info=acquisition 的可选参数: 表.
3 omreport: 使用 Instrumentation Service 查看系 统状况 使用 omreport 命令查看有关系统组件的详细信息。您也可以同时检索多个系统组件的摘要,或获得有关特定组 件的详细信息。本章将介绍如何获得具有所需详细级别的报告。 本章所述的命令会因其定义的字段是否显示在特定 omreport 命令的结果中而异。仅定义具有特殊或罕见用途的 字段。 和所有其他组件一样,可以使用 omreport 查看组件状况,并使用 omconfig 管理组件。有关配置组件以进行管 理的信息,请参阅 omconfig: 使用 Instrumentation Service 管理组件。 使用 omreport 命令获得执行 omconfig 命令所需的信息。例如,要编辑温度探测器警告事件的最低温度,您必 须知道所要配置的探测器的索引。使用 omreport chassis temps 显示探测器及其索引的列表。 系统上可用的 omreport 命令取决于系统配置。下表列出 omreport 命令适用的系统: 表.
下表列出可供 about、system 和 main system chassis 使用的 omreport 命令。 表.
1 级命令 2 级命令 3 级命令 所需的用 户权限 用途 pwrsupplies U、P、A 显示电源设备的属性。 remoteaccess U、P、A 显示有关远程访问的常规信息。 插槽 U、P、A 显示系统的扩展槽和其他类型插槽的属性。 temps U、P、A 显示系统温度传感器的状况和阈值。 volts U、P、A 显示系统电压传感器的状况和阈值。 removableflash media U、P、A 显示系统的虚拟闪存 (vFlash) 和安全数字 (SD) 卡详细信息。 licenses U、P、A 显示系统的已安装硬件设备的数字许可证。 存储 U、P、A 请参阅使用 Storage Management Service。 system 或 servermodule U、P、A 显示系统组件的高级摘要。 alertaction U、P、A 显示警告和故障阈值,以及在重要组件检测 到警告或故障状态时所采取的配置好的措 施。 alertlog U、P、A 使管理员可以显示警报日志。 assetinfo U、P、A 显示系统
有关 omreport 命令的帮助 使用 omreport -? 命令可以获得 omreport 的可用命令列表。 使用 omreport -? 可获得有关 2 级命令 about、chassis 和 system 的帮助。以下有关 omreport system -? 的信息也可以获得关于 omreport chassis 命令的帮助。 要查看 omreport system 的有效命令列表,请键入: omreport system -? | more omreport modularenclosure 使用 omreport modularenclosure 命令查看刀片系统的详细信息。键入: omreport modularenclosure 注: 当 Dell 刀片系统上安装了 Dell OpenManage Server Administrator 时,此 CLI 命令就可用。 Server Administrator 显示关于(可用的)模块化机柜和机箱管理控制器 CMC 的信息: 注: 输出视系统的配置而有所不同。 模块化机箱信息 机箱信息 属性 : 型号
Value : 动态源 属性 : IP 地址类型 Value : IPv4 属性 : 远程连接界面 Value : 启动 CMC Web 界面 omreport about 使用 omreport about 命令了解系统中安装的系统管理应用程序的产品名称和版本号。以下为 omreport about 命 令的一个输出示例: Product name : Dell OpenManage Server Administrator Version : x.x.x Copyright : Copyright (C) Dell Inc. xxxx-xxxx. All rights reserved. Company : Dell Inc.
严重 : 侵入 良好 : 内存 良好 : 电源设备 良好 : 温度 良好 : 电压 Omreport Chassis Acswitch 或 Omreport Mainsystem Acswitch 如果系统具有配置在故障转移线路上的冗余交流电源线路,则可以使用 omreport chassis acswitch 或 omreport mainsystem acswitch 命令。键入: omreport chassis acswitch 或 omreport mainsystem acswitch Server Administrator 将显示以下输出: 交流故障转移开关 交流开关冗余 冗余状况 : 完全 完全冗余所需的设备数 : 2 冗余模式 : 冗余配置 : 输入源线路 1,在冗余还原后返回线路 1 交流电源线 状态 : 良好 位置 : 交流电源线路 1 交流电存在 : 电源存在 活动源 : 活动 状态 : 良好 位置 : 交流电源线路 2 交流电存在 : 电源存在 活动源 : 不活动 Server Administrator 将报告冗
或 omreport mainsystem batteries Omreport Chassis Bios 或 Omreport Mainsystem Bios 使用 omreport chassis bios 或 omreport mainsystem bios 命令查看当前 BIOS 信息。键入: omreport chassis bios 或 omreport mainsystem bios Server Administrator 显示系统 BIOS 信息的摘要。 Omreport Chassis Biossetup 或 Omreport Mainsystem Biossetup 使用 omreport chassis biossetup 或 omreport mainsystem biossetup 命令查看通常仅在系统引导过程中才能看到的 BIOS 设置参数。键入: omreport chassis biossetup 或 omreport mainsystem biossetup 注: 为保持命令的一致性,已更改该命令的输出格式。请相应地更改用户脚本。 要查看简易格式的 BIOS 设置参数,
Parameter Description Processor C1-E Displays the Processor C1-E status. CPU Execute Disable Displays whether the Execute Disable (XD) option is enabled or disabled. Processor C State Control Displays whether the Processor C State Control option is enabled or disabled. Processor CMP Displays the number of cores enabled per processor. User accessible USB Ports Displays whether the user-accessible USB port is enabled or disabled.
Parameter Description Diskette Displays whether the diskette is disabled, auto enabled, or read-only. Demand Based Power Management (DBS) Displays whether DBS is enabled or disabled on the system. Embedded Hypervisor Displays whether the embedded hypervisor is enabled or disabled. IDE Displays whether the drive is enabled or disabled. IDE Primary Drive 0 Displays whether the device is automatically detected and enabled or if the device is disabled.
PowerEdge yx2x 系统上的 BIOS 设置组 下表列出了 PowerEdge yx2x 系统上可用的 BIOS 设置参数组。 注: 根据硬件配置,属性在特定的组中可能有所不同。 表.
index 为可选参数。如果您未指定索引,Server Administrator 将显示系统中存在的所有风扇探测器的状况、读数 和阈值设置的摘要。如果您指定了索引,Server Administrator 将显示指定风扇探测器的摘要。 Omreport Chassis Firmware 或 Omreport Mainsystem Firmware 使用 omreport chassis firmware 或 omreport mainsystem firmware 命令查看当前固件属性。如果键入: omreport chassis firmware 或 omreport mainsystem firmware Server Administrator 将显示系统固件属性的摘要。 注: 为保持命令的一致性,已更改该命令的输出格式。请相应地更改用户脚本。 注: 如果已安装 iDRAC,Server Administrator 会显示 Lifecycle Controller 版本。如果已安装 BMC,Server Administrator 会显示 Unified Server Configurator (U
注: 此命令仅适用于某些支持 PMBus 的 Dell yx0x 系统。 根据系统的配置,可能会产生以下输出: 硬件性能 索引 : 0 探测器名称 : 系统板电源已优化 状态 : 正常 原因 : [不适用] Omreport Chassis Info 或 Omreport Mainsystem Info 使用 omreport chassis info 或 omreport mainsystem info 命令查看已安装组件版本的摘要。键入: omreport chassis info index=n 或 omreport mainsystem info index=n index 参数指定机箱编号,且为可选参数。 如果您未指定索引,Server Administrator 将显示每个机箱的机箱信 息摘要。如果您指定了索引,Server Administrator 将显示指定机箱的摘要信息。 注: 如果已安装 iDRAC,Server Administrator 会显示 Lifecycle Controller 版本。如果已安装 BMC,Server Administrator 会显示 USC
侵入信息 运行状况 : 良好 索引 : 0 状态 : 良好 探测器名称 : 侵入 状态 : 机箱已关闭 Omreport Chassis Leds 或 Omreport Mainsystem Leds 使用 omreport chassis leds 或 omreport mainsystem leds 命令了解是否支持清除硬盘驱动器故障以及使 LED 亮起 的严重性级别。键入: omreport chassis leds index=n 或 omreport mainsystem leds index=n index 为可选参数。如果您未指定索引,Server Administrator 将显示机箱 0 的 LED 摘要。如果您指定了索引, Server Administrator 将显示指定机箱的摘要。 以下为输出示例: Main System Chassis Flash chassis identify LED state : Off Flash chassis identify LED timeout value : 300 Omreport Chassis Memory
可用总槽数 : 24 已用插槽 : 8 纠错 : 多位 ECC 内存阵列总数 安装总容量 : 65536 MB 操作系统可用的总安装容量 : 64386 MB 最大总容量 : 786432 MB 内存阵列 1 的详细资料 索引 : 0 状态 : 良好 状态 : 良好 状态 : 良好 连接器名称 : DIMM_A1 类型 : DDR3 - 带同步寄存器(缓冲) 大小 : 8192 MB 索引 : 1 状态 : 良好 连接器名称 : DIMM_A2 类型 : DDR3 - 带同步寄存器(缓冲) 大小 : 8192 MB 索引 : 2 状态 : 良好 连接器名称 : DIMM_A3 类型 : DDR3 - 带同步寄存器(缓冲) 大小 : 8192 MB 索引 : 3 状态 : 良好 连接器名称 : DIMM_A4 类型 : DDR3 - 带同步寄存器(缓冲) 大小 : 8192 MB 如果您指定索引,Server Administrator 将显示指定内存模块的摘要,其中显示运行状况、设备名称、类型、速
内存设备信息 运行状况: 良好 状态 : 良好 设备名称 : DIMM_A1 大小 : 8192 MB 类型 : DDR3 带同步寄存器(缓冲) 速率 : 0.
Omreport Chassis Ports 或 omreport Mainsystem Ports 使用 omreport chassis ports 或 omreport mainsystem ports 命令查看系统并行端口和串行端口的属性。 注: OMSA 不枚举连接刀片服务器的 CMC USB 端口。 Server Administrator 显示下列字段的值:端口类型、外部名称、基本 I/O 地址、IRQ 级别、连接器类型和最高速 度。下表提供了各个字段的说明: 表.
特定处理器的功能和高速缓存属性 要查看给定连接器上处理器的高速缓存属性,请键入: omreport chassis processors index=n 或 omreport mainsystem processors index=n index 为可选参数。如果您未指定索引,Server Administrator 将显示所有处理器的属性。 如果您指定了索引, Server Administrator 将显示指定处理器的属性。 下表列出用于定义特定微处理器上的功能的字段: 表.
字段 说明 速率 指高速缓存可以将数据从主内存转发到处理器的速率。 最大值 高速缓存可以容纳的最大内存容量,以 KB 为单位。 已安装容量 高速缓存的实际容量。 类型 表明高速缓存属于主要级别高速缓存或次要级别高速缓存。 位置 高速缓存在处理器上或在处理器外面的芯片集上的位置。 写入策略 说明高速缓存如何处理写入循环。在回写策略中,高速缓存的作用就像缓冲 区。当处理器启动写入周期时,高速缓存会接收数据并停止周期。然后高速 缓存会在系统总线可用时将数据回写到主内存中。 在直写策略中,处理器将高速缓存直写入主内存中。直到将数据存储到主内 存中之后,写入周期才完成。 关联性 指主内存内容在高速缓存上的存储方式。 • • 完全关联高速缓存允许将主内存中的任意行存储在高速缓存中的任 意位置。 n 路成组关联高速缓存将内存中 n 个特定行直接映射至高速缓存中相 同的 n 行。例如,将内存中任意页的行 0 存储到高速缓存存储器的 行 0 中。 高速缓存设备支持的类型 设备可以支持的静态随机存取存储器 (SRAM) 的类型。 当前的高速缓存设备类型 当前安装的、高速缓存支持的 SRAM
名称 = 值对 说明 config=profile 显示电源配置文件信息。 注: 在 PowerEdge 12G 系统上,profile 选项为 SysProfile,并且分组在 BIOS 设置组的系统配 置文件设置下。有关更多信息,请参阅 PowerEdge yx2x 系统上的 BIOS 设置。 对于系统中的每个电源管理配置文件,将显示以下字段的值:Maximum Performance、Active Power Controller、 OS Control 和 Custom。 自定义属性有:CPU Power and Performance Management、Memory Power and Performance Management 和 Fan Power and Performance Management。 以下为输出示例: Power Inventory and Budget Power Inventory System Idle Power : 92 W System Maximum Potential Power : 344 W Power Budget Attribut
• 能耗 • 测量开始时间 • 测量结束时间 • 读数 • 系统峰值功率 • 系统峰值安培 注: omreport chassis pwrmanagement 或 omreport mainsystem pwrmonitoring 命令适用于 PowerEdge yx0x 系统 以后的支持 PMBus 并且具有可热交换电源设备的系统,不适用于安装有固定的非冗余电源设备的系统。 注: 功耗监测需要用于报告详细信息的许可证。如果未安装适当的许可证或许可证过期,系统将不显示系 统功耗的详细信息。有关更多信息,请参阅 dell.
测量自 : Mon May 18 16:03:20 2011 读取时间 : Tue May 19 04:06:32 2011 峰值读数 : 2.
名称 = 值对 说明 config=serial 报告 BMC 或远程访问的串行端口信息。 config=serialoverlan LAN 上串行连接的 BMC/iDRAC 或远程访问信息。 config=terminalmode 报告串行端口的终端模式设置。 config=user 报告关于 BMC/iDRAC 或远程访问用户的信息。 Omreport Chassis Removableflashmedia 或 Omreport Mainsystem Removableflashmedia 使用 omreport chassis removableflashmedia 或 omreport mainsystem removableflashmedia 查看系统上的可移动闪 存介质详细信息及其运行状况。键入: omreport chassis removableflashmedia 或 omreport mainsystem removableflashmedia Server Administrator 将显示系统可移动闪存介质信息的摘要。 注: 如果 vFlash 或 SD 卡的大小
: 512 MB 存储大小 Omreport Chassis Slots 或 Omreport Mainsystem Slots 使用 omreport chassis slots 或 omreport mainsystem slots 命令可以查看系统插槽的属性。键入: omreport chassis slots index=n 或 omreport mainsystem slots index=n index 为可选参数。如果您未指定索引,Server Administrator 将显示系统中所有插槽的属性。如果您指定了索 引,Server Administrator 将显示指定插槽的属性。 注: 为保持命令的一致性,已更改该命令的输出格式。请相应地更改用户脚本。 对于系统中的每个插槽,下表显示了系统将对以下字段显示的值: 表.
Omreport Licenses 使用 omreport licenses 命令查看系统的已安装硬件设备的数字许可证。键入: omreport licenses 以下为 omreport licenses 命令的一个输出示例: 设备索引 : 0 设备状态 : 良好 设备 : iDRAC7 设备说明 : iDRAC 设备 ID : xxxx 许可证索引 : 0 说明 : iDRAC7 Enterprise Evaluation License 状态 : 良好 建议操作 : 不适用 许可证类型 : 试用 EntitlementID : xxxx 过期日期 : yyyy-mm-dd hh:mm:ss Omreport System Commands 或 Omreport Servermodule Commands 使用 omreport system 或 omreport servermodule 命令查看日志、阈值、拥有成本信息,以及关于如何配置关机操 作和恢复操作的信息。 Omreport System 或 Omreport Servermodule 使用 o
Critical : Storage 查看日志的命令 可以使用 omreport system 或 omreport servermodule 命令查看以下日志:警报日志、命令日志、硬件或 ESM 日 志。 注: 如果警报日志或命令日志显示无效 XML 数据(比如为所选内容生成的 XML 数据格式错误),则必须 清除日志并解决此问题。要清除日志,请键入:omconfig system alertlog action=clear 或 omconfig system cmdlog action=clear。如果需要保留日志信息以便日后参考,则应在清除日 志前保存一份日志副本。有关清除日志的更多信息,请参阅清除日志的命令。 要查看警报日志的内容,请键入: omreport system alertlog 或 omreport servermodule alertlog 要查看命令日志的内容,请键入: omreport system cmdlog 或 omreport servermodule cmdlog 要查看 ESM 日志的内容,请键入: omreport system esmlog 或 omreport
具有查看警报措施的组件和事件 如果系统上存在组件/事件,则可查看以下组件或事件的警报措施属性: 44 • 电池警告 • 电池故障 • 机箱入侵 • 电流探测器警告 • 电流探测器故障 • 风扇警告 • 风扇故障 • 内存预故障 • 内存故障 • 系统电源探测器警告 • 系统电源探测器检测到故障 • 系统峰值功率 • 电源设备警告 • 电源设备故障 • 降级冗余 • 无冗余 • 温度警告 • 温度故障 • 电压警告 • 电压故障 • 处理器警告 • 处理器故障 • 硬件日志警告 • 硬件日志已满 • 监督 Asr • 存储系统警告 • 存储系统故障 • 存储控制器警告 • 存储控制器故障 • 物理磁盘警告 • 物理磁盘故障 • 虚拟磁盘警告 • 虚拟磁盘故障 • 机柜警告 • 机柜故障 • 存储控制器电池警告 • 存储控制器电池故障 • 可移动闪存介质存在 • 可移动闪存介质已卸下 • 可移动闪存介质故障
注: 存储控制器电池警告和存储控制器电池故障事件在刀片系统上不可用。 注: 系统电源探测器警告不适用于刀片系统。 Omreport System Assetinfo 或 Omreport Servermodule Assetinfo 使用 omreport system assetinfo 或 omreport servermodule assetinfo 命令来查看系统的拥有成本数据,如 采购、折 旧和保修信息。要设置其中任何字段,可使用 omconfig system assetinfo 或 omconfig servermodule assetinfo 命 令。有关更多信息,请参阅 Omconfig System 或 Servermodule Assetinfo:编辑拥有成本值。 Omreport System Events 或 Omreport Servermodule Events 使用 omreport system events 或 omreport servermodule events 命令可以查看当前已启用或已禁用的 SNMP 陷阱。 输入: omreport system event
名称 = 值对 说明 type=fanenclosures 报告风扇罩壳事件 type=fans 报告风扇事件 type=intrusion 报告机箱侵入事件 type=log 报告日志事件 type=memory 报告内存事件 type=powersupplies 报告电源设备事件 type=redundancy 报告冗余事件 type=systempower 报告系统电源事件 type=temps 报告温度事件 type=removableflashmedia 报告可移动闪存介质事件 type=volts 报告电压事件 以下为输出示例: Current SNMP Trap Configuration ------- System ------- Settings Enable: Informational, Warning, and Critical Disable: None ----------- Fans Group ---------- Settings Enable: Informational, Warning, and Critical Dis
表.
Omreport System Recovery 或 Omreport Servermodule Recovery 使用 omreport system recovery 或 omreport servermodule recovery 命令了解是否已为挂起的操作系统配置了措 施。您还可以查看将操作系统视为挂起之前所必须经过的秒数。 Omreport System Shutdown 或 Omreport Servermodule Shutdown 使用 omreport system shutdown 或 omreport servermodule shutdown 命令查看系统的所有待定关机操作。如果已 配置了关机属性,执行此命令将显示这些属性。 注: 由于特定操作系统(例如,VMware ESXi)的限制,此版本的 OpenManage Server Administrator 不提供 某些特定功能。 Omreport System Summary 或 Omreport Servermodule Summary 使用 omreport system summary 或 omreport serverm
: Remote Access Controller Data Populator 7.x.x : Remote Access Controller Managed Node 7.x.x : Secure Port Server 7.x.x : Server Administrator Common Framework 7.x.x : Server Administrator Core files 7.x.x : Storage Management 4.x.x : Sun Java Runtime Environment 1.x.x 操作系统 名称 : Microsoft Windows Server 2008 R2, Enterprise x64 Edition 版本 : Version 6.
电压 : 1200 W 内存 安装总容量 : 2048 MB 操作系统可用的内存 : 2048 MB 最大总容量 : 786432 MB 内存阵列计数 : 1 内存阵列 1 位置 : 系统板或母板 用途 : 系统内存 安装容量 : 2048 MB 最大容量 : 786432 MB 可用总槽数 : 24 已用插槽 : 1 Slot PCI1 Adapter : [未占用] 类型 : PCI E Gen 3 X16 数据总线宽度 : 8x 或 x8 速率 : [未获取,请参见插卡文档] 插槽长度 : 长 电压供应 : 3.3 伏特 插槽 PCI2 适配器 : [未占用] 类型 : PCI E Gen 3 X16 数据总线宽度 : 8x 或 x8 速率 : [未获取,请参见插卡文档] 插槽长度 : 长 电压供应 : 3.3 伏特 BIOS 信息 制造商 : Dell Inc. 版本 : 0.3.5 发布日期 : 05/16/2011 固件信息 名称 : iDRAC7 版本 : 1.
网络数据 --------------网络接口 0 IP 地址 : 10.94.22.111 子网掩码 : 255.255.254.0 默认网关 : 10.94.22.
处理器 内存 内存阵列 BIOS 固件 以下列出了系统中每个处理器的信息: • 处理器品牌 • 处理器系列 • 处理器版本 • 当前速度 • 最高速度 • 外部时钟速率 • 电压 • 安装总容量 • 操作系统可用内存 • 最大总容量 • 内存阵列计数 以下列出了系统中每个内存板或内存模块(例如,指定插槽号的系统板或内存模块)的 详细信息: • 位置 • 用途 • 安装容量 • 最大容量 • 可用总槽数 • 已用插槽 • ECC 类型 • 制造商 • BIOS Version • 发布日期 • 名称 • 版本 网络数据 以下列出了每个 NIC 和组队接口的详细信息(如果系统中已配置组队接口): • IP 地址 • 子网掩码 • 默认网关 • MAC 地址 存储机柜 以下列出了系统连接的每个存储机柜的详细信息: 52 • 名称 • Service Tag
Omreport System Thrmshutdown 或 Omreport Servermodule Thrmshutdown 使用 omreport system thrmshutdown 或 omreport servermodule thrmshutdown 命令查看为热关机操作配置的属性。 为热关机显示的三种属性分别为禁用、警告或故障。如果 CLI 显示以下消息,则已禁用热关机功能: Thermal protect shutdown severity: disabled(热保护关机严重程度:禁用) 如果将系统配置为在温度探测器检测到警告或故障事件时关机,则会显示以下消息之一: Thermal protect shutdown severity: warning(热保护关机严重程度:警告) Thermal protect shutdown severity: failure(热保护关机严重程度:故障) Omreport System Version 或 Omreport Servermodule Version 使用 omreport system version 或 omreport serve
输出显示如下: Event Message Format : enhanced Omreport Preferences Webserver 使用 omreport preferences webserver 命令查看 URL 详细信息和当前密钥签署算法。 下表列出 omreport preferences webserver 的可用属性。 表.
Omconfig:使用 Instrumentation Service 管理 组件 4 omconfig 命令使用户可以为定义警告事件、配置警报措施、清除日志和配置系统关闭这些操作提供值,还可以 执行其他系统管理任务。 omconfig 功能的示例包括: • 用于清除命令、警报和硬件日志的管理员权限 • 用于配置和执行系统关闭的管理员权限 • 用于为风扇、电压探测器和温度探测器上的警告事件指定值的高级用户和管理员权限 • 在发生侵入、风扇、电压探测器和温度探测器警告或故障事件的情况下用于设置警报措施的高级用户 和管理员权限 有关如何使用 omconfig 命令查看和管理拥有成本信息 (assetinfo) 的更多信息,请参阅 Omconfig System 或 Servermodule Assetinfo 编辑拥有成本值。 通常情况下,您必须使用 omreport 命令获得执行 omconfig 命令所需的信息。例如,要编辑温度探测器警告事 件的最低温度,您必须知道探测器的索引。使用 omreport chassis temps 或 omreport mainsystem temp 命令可
注: 尽管下表列出了所有可以使用的 omconfig 命令,但是在您的系统上可用的命令将取决于您的系统配 置。如果您尝试获得尚未安装在系统中的组件的帮助信息或为其运行命令,Server Administrator 会显示在 系统中未找到该组件或功能的消息。 注: 禁用 CSIOR(重新启动时收集系统资源清册)时,omconfig 不允许配置 BIOS 设置。 表.
1 级命令 2 级命令 3 级命令 所需的用 户权限 用途 thrmshutdown A 设置热事件触发系统关机的严重性级别。 webserver A 启动或停止 Web Server。 biossetup A 配置由 BIOS 控制的特定系统组件的行为。 fans P、A 将风扇探测器的警告阈值配置为默认值或特定值。 chassis 或 mainsystem 注: 您不能更改嵌入式服务器管理 (ESM3) 和 Dell PowerEdge x8xx 系统上的阈值。 frontpanel A 配置系统的电源按钮、非屏蔽中断 (NMI) 按钮、加 密访问以及 LCD 显示屏。 info P、A 使您可以设置资产标签或机箱名称的初始值,或编 辑它们的值。 leds P、A 指定机箱故障 LED 或机箱标识 LED 何时闪烁,并使 您可以清除系统硬盘驱动器的 LED。 memorymode A 启用或禁用备用内存、镜像、raid 和双设备数据纠 正 (DDDC) 内存模式,同时指定使用哪个模式。 pwrmanagemen P、A t 允许在系统最佳节能和
命令用法 说明 omconfig preferences -? 显示 omconfig preferences 的可用命令,例如 cdvformat,这是自定义分隔符格式 (cdv)。 omconfig preferences cdvformat -? 显示 cdv 分隔符值列表。 omconfig system <3 级命 显示执行特定 omconfig system 命令必须使用的参数列表。 令> -? omconfig system alertaction -? 显示 omconfig system alertaction 的有效参数列表。 omconfig system shutdown -? 显示 omconfig system shutdown 的有效参数列表。 omconfig system alertaction -? | more 显示 omconfig system alertaction 的有效参数列表并且使命令输出每次滚动一屏。其 中,| more 使您可以通过按空格键查看下一屏 CLI 帮助输出。 omconfig system alertaction -?
OpenManage Inventory Collector 6.x.x OpenManage Tools 6.x.x Remote Access Controller 4 Data Populator 4.x.x Remote Access Controller 4 Managed Node 4.6.3 Secure Port Server 1.x.x Server Administrator Framework 6.x.x Agent for Remote Access 1.x.x Storage Management 3.x.x Sun Java Runtime Environment 1.x.
表.
名称=值对 1 属性= attribute=conredirect 名称=值对 2 设置= setting=enabled | disabled 说明 • disabled: 当系统不使用时, 不会使处理器进入深度睡眠 状态。 • enabled: 从串行端口 1 重定 向 BIOS 屏幕。从串行端口 2 重定向键盘和文本输出。 disabled: 关闭 BIOS 控制台 重定向。 • attribute=crab setting=enabled | disabled • • enabled: 在系统重新引导后 启用 BIOS 控制台重定向。 disabled: 禁用 BIOS 控制台 重定向。 注: 属性 crab 只对 Dell PowerEdge x9xx 系统有效。 attribute=cpucle setting=enabled | disabled • • attribute=cpuht setting=enabled | disabled • • attribute=cpuvt setting=enabled | disabled attribute=cp
名称=值对 1 属性= 名称=值对 2 设置= attribute=dbs setting=enable | disable 说明 • • attribute=diskette setting=off | auto | writeprotect attribute=dualnic setting=off | on | pxeboth | nic1pxe | nic2pxe | isciboth | nic1isci | nic2isci | nic1pxenic2isci | nic1iscinic2pxe | onpxeboth | onpxenone | onpxenic1 | onpxenic2 enable: 在系统上启用按需切 换 (DBS)。 disable: 在系统上禁用 DBS。 • • • off: 禁用软盘驱动器。 auto: 自动启用软盘驱动器。 writeprotect: 软盘驱动器只 能以只读格式提供。使软盘 驱动器为只读。 • off: 禁用网络接口控制器 (NIC)。 on: 启用网络接口(PXE 或 iSCSI 没有在任何 NIC 上启 用)。 pxe
名称=值对 1 属性= 名称=值对 2 设置= attribute=embhypvisor setting=enabled | disabled 说明 • • attribute=embvideoctrl setting=enabled | disabled • • attribute=esataport setting=off | auto • • attribute=extserial setting=com1 | com2 | rad • • • attribute=fbr setting=9600 | 19200 | 57600 | 115200 • • • • attribute=htassist setting=enabled | disabled • • enabled: 启用嵌入式虚拟机 监控程序。 disabled: 禁用嵌入式虚拟机 监控程序。 enabled: 启用嵌入式视频控 制器作为主要视频设备。 disabled: 禁用嵌入式视频控 制器作为主要视频设备。 off: 将嵌入式 SATA 端口值设 置为 off。 auto: 将嵌入式 SATA
名称=值对 1 属性= 名称=值对 2 设置= 说明 • attribute=intusb[1..
名称=值对 1 属性= 名称=值对 2 设置= 说明 果系统有 iSCSI,请打开 iSCSI)。 attribute=nic3 setting=enabled | enabledwithpxe | disabled | enabledonly | enablednonepxe | enabledwithiscsi • • • • • • attribute=nic4 setting=enabled | enabledwithpxe | disabled | enabledonly | enablednonepxe | enabledwithiscsi • • • • • • attribute=numlock setting=on | off attribute=numa setting=enabled | disabled setting=off | lpt1 | lpt2 | lpt3 enabled: 在系统引导过程中 启用第四个 NIC。 enabledwithpxe: 在系统引导 过程中启用第四个 NIC(如 果系统有 PXE,请打开 PXE)。 disab
名称=值对 1 属性= 名称=值对 2 设置= 说明 • • • attribute=ppmode setting=at | ps2 | ecp | epp • • • • attribute=primaryscsi attribute=romb setting=on | off force=true setting=raid | off | scsi force=true • • • on: 启用此设备。 off: 禁用此设备。 force=true: 验证设置更改。 • raid: 指示 BIOS 将母板作为 RAID 设备检测。 off: 在系统引导期间禁用母 板 RAID。 scsi: 指示 BIOS 将母板 RAID 设备作为 SCSI 设备检测。 force=true: 验证设置更改。 • • setting=raid | scsi force=true • • • attribute=rombb setting=raid | scsi force=true • • • attribute=sata 66 setting=off | ata | raid
名称=值对 1 属性= 名称=值对 2 设置= attribute=sataport (0...7) 或 (a...
名称=值对 1 属性= 名称=值对 2 设置= attribute=serialport2 setting=off | auto | com2 | com4 说明 • • • • attribute=speaker setting=on | off attribute=cputurbomode setting=enabled | disabled • • • setting=on | backonly | off • • • attribute=usb setting=enabled | disabled on: 启用扬声器。 off: 禁用扬声器。 在系统于散热、功率或电流限值以 下运行时,CPU Turbo 模式可以提 高 CPU 频率。 • attribute=uausb off: 禁用串行端口 2。 auto: 将串行端口 2 映射到 COM 端口。 com2: 将串行端口 2 映射到 COM 端口 2。 com4: 将串行端口 2 映射到 COM 端口 4。 • • enabled: 启用 CPU Turbo 模 式。 disabled: 禁用 CPU Turb
PowerEdge yx2x 系统上的 BIOS 设置 下表列出了 PowerEdge yx2x 系统上支持的 BIOS 设置属性。在 PowerEdge yx2x 系统上,属性将进行分组。根据 硬件配置,可用的属性在特定的组中可能有所不同。omconfig chassis biossetup 命令在不显示只读属性。 注: 如果您已配置设置密码,请在配置任何 BIOS 设置时始终设置相同密码。 表. 22: PowerEdge yx2x 系统上的 BIOS 设置 组 名称=值对 1 属性= 名称=值对 2 设置= BIOS Boot Settings (BIOS 引导设 置) attribute=BootSeq sequence=aliasname1, aliasname2,..... aliasnameN attribute=HddSeq sequence=aliasname1, aliasname2,.....
组 名称=值对 1 属性= 名称=值对 2 设置= 注: Volt15V 代表 1.
组 名称=值对 1 属性= 名称=值对 2 设置= attribute=Proc2Brand setting= attribute=Proc2Id setting= attribute=Proc2L2Cache setting= attribute=Proc2L3Cache setting= attribute=Proc2NumCores setting= attribute=Proc3Brand setting= attribute=Proc3Id setting= attribute=Proc3L2Cache setting= attribute=Proc3L3Cache setting= attribute=Proc3NumCores setting= attribute=Proc4Brand setting= attribute=Proc4Id setting=
组 72 名称=值对 1 属性= 名称=值对 2 设置= attribute=SataPortACapacity setting= attribute=SataPortADriveType setting= attribute=SataPortAModel setting= attribute=SataPortB setting=Off | Auto attribute=SataPortBCapacity setting= attribute=SataPortBDriveType setting= attribute=SataPortBModel setting= attribute=SataPortC setting=Off | Auto attribute=SataPortCCapacity setting= attribute=SataPortCDriveType setting= attribute=SataPortCModel
组 名称=值对 1 属性= 名称=值对 2 设置= Serial Communication (串行通信) attribute=ConTermType setting=Vt100Vt220 | Ansi attribute=ExtSerialConnector setting=Serial1 | Serial2 | RemoteAccDevice attribute=FailSafeBaud setting=115200 | 57600 | 19200 | 9600 attribute=RedirAfterBoot setting=Enabled | Disabled attribute=SerialComm setting=OnNoConRedir | OnConRedirCom1 | OnConRedirCom2 | Off attribute=SerialPortAddress setting=Serial1Com1Serial2Com2 | Serial1Com2Serial2Com1 | Com1 | Com2 attribute=Slot1 setting=Ena
组 System Security (系统安全) 名称=值对 1 属性= 名称=值对 2 设置= attribute=SysProfile setting=PerfPerWattOptimizedOs | PerfPerWattOptimizedDapc | PerfOptimized | Custom | DenseCfgOptimized attribute=AcPwrRcvry setting=On | Off | Last attribute=AcPwrRcvryDelay setting=Immediate | User | Random attribute=AcPwrRcvryUserDelay setting= attribute=AesNi setting=Enabled | Disabled attribute=BiosUpdateControl setting=Unlocked | Limited | Locked attribute=IntelTxt setting=On | Off attribute=NmiButton sett
风扇警告阈值的有效参数 下表显示用于设置风扇警告阈值的有效参数: 表.
– 服务标签、系统名 – 远程访问 MAC 地址 – 系统电源 – 远程访问 IP 地址 – 系统的环境温度 – 远程访问 IPv4 地址 – 远程访问 IPv6 地址 • 指定并配置 LCD 行号 • 查看 LCD 加密状态报告 • 配置 LCD 在具有基于内核的虚拟机 (KVM) 时指示活动远程会话 注: 只有系统上存在电源和 NMI 按钮时才能配置这些按钮。 下表显示了该命令的有效参数: 表.
名称=值对 1 名称=值对 2 说明 security=disabled 不适用 提供对 LCD 文本的有限访问。 remoteindication=true 不适用 系统检测到活动远程会话时 LCD 闪烁。 注: 选项 ipv4idrac、ipv6idrac 及 macidrac 已弃用。 Omconfig Chassis Info 或 Omconfig Mainsystem Info 使用 omconfig chassis info 或 omconfig mainsystem info 命令输入系统的资产标签名称和机箱名称。对于刀片系 统,请同时为模块化组件输入资产标签名称。下表显示该命令的有效参数: 表.
表.
名称=值对 1 说明 opmode=mirror | optimizer | advecc mirror:在故障模块出现不可纠正内存事件时将系统 切换至内存的镜像副本。在 mirror 模式下,系统重新 引导之前,操作系统不会切换回原来的内存模块。 optimizer:使 DRAM 控制器能够在 64 位模式下独立工 作并提供优化的内存性能。 advanced ECC (advecc):使两个 DRAM 控制器能够在 128 位模式下组合使用并提供优化的可靠性。控制器 不进行组队的内存不会报告给操作系统。 Omconfig Chassis Pwrmanagement 或 Omconfig Mainsystem Pwrmanagement 使用 omconfig chassis pwrmanagement 或 omconfig mainsystem pwrmanagement 命令配置功率限额并管理控制电 源利用的配置文件。 注: 此命令只对 PowerEdge yx2x 系统之前的系统有效。 下表显示了该命令的有效参数: 表.
名称=值对 1 名称=值对 2 说明 注: 只有在选择自定义配置文件 后,这些选项才可用。 memorypowermode=min | 800 | 1067 | 1333 | max min: 将模式设置为最低电源利用。 800 | 1067 | 1333: 将模式设置为 800、 1067 或 1333 MHz。 max: 将模式设置为最高性能。 注: 只有在选择自定义配置文件 后,这些选项才可用。 fanmode=min | max min: 将风扇模式设置为最低电源利 用。 max: 将风扇模式设置为最高电源利 用。 注: 只有在选择自定义配置文件 后,这些选项才可用。 注: 重新引导系统以便电源配置文件设置选项生效。 Omconfig Chassis Pwrmonitoring 或 Omconfig Mainsystem Pwrmonitoring 使用 omconfig chassis pwrmonitoring 或 omconfig mainsystem pwrmonitoring 命令配置功耗信息。 下表显示了该命令的有效参数: 表.
或 omconfig mainsystem pwrmonitoring config=probe index=0 warnthresh=settodefault 不能将其中一个设置为默认值,而将另一个设置为其他值。如果将最小警告阈值设置为默认值,则需要将最大 警告阈值也设置为默认值。 指定警告阈值的值 如果要指定功耗探测器警告阈值的值,则必须指定要配置的探测器的编号以及警告阈值。将值配置为以 BTU/ 小时为单位显示值或以瓦特为单位显示值。在以下示例中,要配置的探测器为探测器 4: omconfig chassis pwrmonitoring config=probe index=4 warnthresh=325 unit=watt 或 omconfig mainsystem pwrmonitoring config=probe index=4 warnthresh=325 unit=btuphr 发出该命令后,系统将设置您指定的值,然后显示以下消息: 功耗探测器警告阈值已成功设置。 Omconfig Chassis Remoteaccess 或 Omconfig Mainsystem Remoteacc
名称=值对 1 配置= 名称=值对 2 说明 注: 此选项需要许可证才可启用或禁用 IPv6。 如果未安装适当的许可证或许可证过期,系统 将显示错误消息。有关更多信息,请参阅 dell.
名称=值对 1 配置= 名称=值对 2 说明 注: failovernw 选项在从 PowerEdge yx2x 系统以 后的系统上受支持。配置 primarynw 和 failovernw 以设置 nicselection。primarynw 和 failovernw 选项不能拥有相同的值。 注: Failovernw 需要许可证才能配置端口。如果 未安装适当的许可证或许可证过期,系统将显 示错误消息。有关更多信息,请参阅 dell.
名称=值对 1 配置= config=serial 名称=值对 2 说明 prefdnsserverv6= 验证首选 DNS 服务器以进行配置。 baudrate=9600 | 19200 | 38400 | 57600 | 9600: 将连接速度设置为 9600 位/秒。 115200 19200: 将连接速度设置为 19200 位/秒。 注: PowerEdge 1800、1850、2800 和 2850 系统上 支持 9600 和 19200 波特率。 38400: 将易失性和非易失性连接速度设置为 38400 位/秒。 57600: 将易失性和非易失性连接速度设置为 57600 位/秒。 注: PowerEdge x9xx 系统上支持 19200、38400 和 57600 波特率。 115200: 将易失性和非易失性连接速度设置为 115200 位/秒。 注: 在某些装有 DRAC 5 的系统上可支持 115200 的波特率。 注: 在装有 iDRAC 的 yx0x 系统上支持 19200、 57600 和 115200 波特率。 flowcontrol=none | rt
名称=值对 1 配置= 名称=值对 2 说明 注: PowerEdge 1800、1850、2800 和 2850 系统上 支持 9600 和 19200 波特率。 38400: 将易失性和非易失性连接速度设置为 38400 位/秒。 57600: 将易失性和非易失性连接速度设置为 57600 位/秒。 注: PowerEdge x9xx 系统上支持 19200 和 57600 波特率。 115200: 将易失性和非易失性连接速度设置为 115200 位/秒。 注: 在某些装有 DRAC 5 的系统上可支持 115200 的波特率。 注: 在装有 iDRAC 的 yx0x 系统上支持 19200、 57600 和 115200 波特率。 privilegelevel=administrator | operator administrator: 将在 LAN 信道串行上接受的最大权限 级别设置为 Administrator(管理员)。 | user operator: 将在 LAN 信道串行上接受的最大权限级别 设置为 Operator(操作员)。 user: 将在 LAN 信道串行上接受的最大权限级别
名称=值对 1 配置= 名称=值对 2 说明 id=number enableserialoverlan=true | false id=number: 所配置用户的 ID(以数字格式)。 enableserialoverlan=true: 启用 LAN 上的串行。 enableserialoverlan=false: 禁用 LAN 上的串行。 注: enableserialoverlan 选项只在 PowerEdge x9xx 系统上受支持。 id=number name=text id=number: 所配置用户的 ID(以数字格式)。 name=text: 用户名。 id=number newpw=text confirmnewpw=text id=number: 所配置用户的 ID(以数字格式)。 newpw=text: 用户的新密码。 confirmnewpw=text: 确认新密码。 id=number serialaccesslevel=administrator | operator | user | none id=number: 所配置用户的 ID(以数字格式)。 se
名称=值对 1 配置= 名称=值对 2 说明 extipmiusergroup=none: 不启用用户权限。 Dracusergroup=custom 的用法 下表显示 dracusergroup=custom 的用法。 表.
温度警告阈值的有效参数 下表显示用于设置温度警告阈值的有效参数: 表.
表. 34: Omconfig Chassis Volts 或 Omconfig Mainsystem Volts 的有效参数 名称 = 值对 说明 index= 探测器索引(指定)。 warnthresh=default 将最小和最大警告阈值设置为默认值。 minwarnthresh= 设置最小警告阈值(保留三个小数位)。 maxwarnthresh= 设置最大警告阈值(保留三个小数位)。 指定最小和最大警告阈值的值 要指定电压探测器警告阈值的值,则必须指定要配置探测器的编号以及最小和/或最大警告阈值。 在以下示例中,要配置的探测器为探测器 0: omconfig chassis volts index=0 minwarnthresh=1.900 maxwarnthresh=2.250 或 omconfig mainsystem volts index=0 minwarnthresh=1.900 maxwarnthresh=2.
表. 35: Omconfig Preferences Dirservice 的有效参数 名称 = 值对 说明 prodname= 指定要应用 Active Directory 配置更改的产品。prodname 是指在 omprv32.
名称 = 值对 说明 confirmnewpw= 确认新的 SNMP 根密码。 当您键入 omconfig preferences snmp setting=rootpw 时,系统将提示您为所需参数提供值。 键入 omconfig preferences snmp 时,您必须在一开始的命令行中提供所有参数。例如: omconfig preferences snmp setting=rootpw oldpw=openmanage newpw=serveradmin confirmnewpw=serveradmin 表.
表.
或 omconfig servermodule alertaction event=powersupply broadcast=true 事件是电源设备故障,措施是对所有 Server Administrator 用户广播消息。 可用的警报措施 下表允许您配置警报措施的每个组件的警报措施: 表.
事件名称 说明 event=powersupplywarn 设置电源设备探测器检测到警告值时的措施。 event=processorwarn 设置处理器探测器检测到警告值时的措施。 event=processorfail 设置处理器探测器检测到故障值时的措施。 event=redundegrad 设置冗余组件不可运行从而导致该组件不能完全冗余时的措施。 event=redunlost 设置一个或多个冗余组件不可运行从而导致该组件处于丢失或“无冗余组件工 作”状态时的措施。 event=tempwarn 设置温度探测器检测到警告值时的措施。 event=tempfail 设置温度探测器检测到故障值时的措施。 event=voltwarn 设置电压探测器检测到警告值时的措施。 event=voltfail 设置电压探测器检测到故障值时的措施。 event=watchdogasr 设置当对一个挂起操作系统进行监督自动系统恢复 (ASR) 后 Server Administrator 在下一次系统启动时将执行的措施。 event=removableflashmediap 设
设置警报措施命令示例 以下示例为有效命令的示例。对于每个成功发出的命令,系统将显示以下消息: 警报措施已成功配置。 电流探测器措施示例 要在电流探测器检测到警告事件时禁用系统控制台警报,请键入: omconfig system alertaction event=currentwarn alert=false 或 omconfig servermodule alertaction event=currentwarn alert=false 要在电流探测器检测到故障事件时启用广播消息,请键入: omconfig system alertaction event=currentfail broadcast=true 或 omconfig servermodule alertaction event=currentfail broadcast=true 风扇探测器措施示例 要在风扇探测器检测到故障值时生成警报,请键入: omconfig system alertaction event=fanfail alert=true 或 omconfig servermodule alertaction event=fa
或 omconfig servermodule esmlog action=clear 注: 有关警报消息的更多信息,请参阅 dell.com/support/manuals 上的 Dell OpenManage Server Administrator Messages Reference Guide(Dell OpenManage Server 管理员消息参考指南)。 Omconfig System Pedestinations 或 Omconfig Servermodule Pedestinations 使用 omconfig system pedestinations 或 omconfig servermodule pedestinations 命令设置警报目标的 IP 地址。 下表显示了该命令的有效参数。 注: 既可以将索引和 IP 地址作为参数一起指定,也可以将团体字符串单独设为参数。 注: 索引 1 到 4 接受 IPv4 地址,索引 5 到 8 接受 IPv6 地址。 表.
操作 说明 注: 此操作只适用于 PowerEdge yx1x 系统之前的 PowerEdge 机架和塔式系统。 action=reboot 强制操作系统关闭并启动系统,执行 BIOS 检查并重新载入操作系统。 平台事件的组件和事件 下表列出了可以设置平台事件的组件和事件。组件按字母顺序列出,但组件的警告事件始终列在故障事件之 前。 表.
事件名称 说明 event=removableflashmediapresent 设置 Server Administrator 在系统检测到可移动闪存介质时执行的措施。 event=removableflashmediawarn 设置 Server Administrator 在显示可移动闪存介质警告时执行的措施。 event=removableflashmediafail 设置 Server Administrator 在可移动闪存介质出现故障时执行的措施。 event=tempfail 设置在温度探测器检测到温度太高或太低而无法正常运行时的措施或启用 或禁用警报生成。 event=voltfail 设置在电压探测器检测到电压太低而无法正常运行时的措施或启用或禁用 警报生成。 event=intdualsdcardcritical 设置 Server Administrator 在出现内部双 SD 卡严重事件时执行的措施。 event=intdualsdcardwarn 设置 Server Administrator 在显示内部双 SD 卡警告时执行的措施。 event=int
名称 = 值对 说明 type=fans 配置风扇事件。 type=intrusion 配置机箱侵入事件。 type=log 配置日志事件。 type=memory 配置内存事件。 type=powersupplies 配置电源设备事件。 type=redundancy 配置冗余事件。 type=systempower 配置系统电源事件。 type=temps 配置温度事件。 type=volts 配置电压事件。 type=systempeakpower 配置系统峰值功率事件。 type=removableflashmedia 配置可移动闪存介质事件。 严重性 在配置事件的上下文中,严重性用于确定组件类型的事件达到何种严重程度时 Server Administrator 才通知您此 事件。如果同一系统机箱中有多个同类组件,可以使用 index= 参数指定是否要按组件编号接收关于事件严 重性的通知。下表显示了有效的严重性参数。 表.
命令 结果 说明 type= severity=none 索引 索引表示特定组件的事件编号。如果您省略索引参数,则将配置指定类型的所有组件(例如所有风扇)的事 件。例如,当系统包含多个风扇时,您可以启用或禁用某个特定风扇的事件通知。命令示例如下: omconfig system events type=fan index=0 severity=critical 或 omconfig servermodule events type=fan index=0 severity=critical 该命令示例的结果为:Server Administrator 仅在系统机箱中的第一个风扇(索引 0)达到严重风扇 RPM 时发送 SNMP 陷阱。 Omconfig System Webserver 或 Omconfig Servermodule Webserver 使用 omconfig system webserver 或 omconfig servermodule webserver 命令启动或停止 Web Server。下表显示了该 命令的有效参数。 表.
或 omconfig servermodule recovery action=powercycle 要设置系统在启动恢复操作之前挂起 120 秒,请键入: omconfig system recovery timer=120 或 omconfig servermodule recovery timer=120 Omconfig System Shutdown 或 Omconfig Servermodule Shutdown 使用 omconfig system shutdown 或 omconfig servermodule shutdown 命令确定系统关机方式。在系统关机的过程 中,默认设置是关闭操作系统,然后再关闭系统电源。关闭操作系统时,将首先关闭文件系统,然后再关闭系 统电源。如果您不想首先关闭操作系统,可以使用参数 osfirst=false。下表显示了该命令的有效参数。 注: 由于特定操作系统(例如,VMware ESXi)的限制,此版本的 OpenManage Server Administrator 不提供 某些特定功能。 表.
名称 = 值对 说明 warning: 检测到温度警告事件时执行关机操作。当机箱内的任何一个温 度探测器读取的温度(摄氏度)超过最大温度警告阈值时,会发生警告 事件。 failure: 检测到温度故障事件时执行关机操作。当机箱内的任何一个温度 探测器读取的温度(摄氏度)超过最大温度故障阈值时,会发生故障事 件。 热关机命令示例 要在温度探测器检测到故障事件时触发热关机,请键入: omconfig system thrmshutdown severity=failure 或 omconfig servermodule thrmshutdown severity=failure 要禁用热关机以使管理员必须启动 omconfig system shutdown,请键入: omconfig system thrmshutdown severity=disabled 或 omconfig servermodule thrmshutdown severity=disabled 102
5 Omconfig System 或 Servermodule Assetinfo: 编辑拥有成本值 omconfig system assetinfo 或 omconfig servermodule assetinfo 命令帮助您编辑组成系统总体拥有成本的一组综合 参数。本节将介绍使用 omconfig system assetinfo 或 omconfig servermodule assetinfo 命令报告和配置的参数。 您可以使用 omconfig system assetinfo 或 omconfig servermodule assetinfo 命令为可配置对象设置控制值。 例如, assetinfo 的配置功能可为以下设置值:系统物主、购买价格、任何有效租赁的详细信息、折旧方法和比率、系 统的位置、保修和延长保修期限、外包详细信息和服务级别协议。 注: 高级用户和管理员均可添加和编辑资产信息。 下表列出 omconfig 命令适用的系统: 表.
1 级命令 2 级命令 3 级命令 名称=值对 1 名称=值对 2 说明 purchasecost= 物主购买系统的 价格。 purchasedate= 物主购买系统的 日期。 signauth= 批准购买系统的 人员的姓名或系 统上的服务电 话。 waybill= 送货人提供的所 收货物的收据。 添加购置信息的命令示例 要为购置参数提供一个值,请键入以下形式的命令:omconfig system assetinfo info=acquisition <名称=值对 2> 或 omconfig servermodule assetinfo info=acquisition <名称=值对 2>。例如,键入: omconfig system assetinfo info=acquisition purchasedate=122101 或 omconfig servermodule assetinfo info=acquisition purchasedate=122101 随即显示以下信息: 资产信息已成功设置。 可以同时输入多个 omconfi
表.
添加延长保修信息的命令示例 要为延长保修参数提供一个值,请键入以下形式的命令:omconfig system assetinfo info=extwarranty <名称=值对 2> 或 omconfig servermodule assetinfo info=extwarranty <名称=值对 2>。例如,键入: omconfig system assetinfo info=extwarranty enddate=012503 或 omconfig servermodule assetinfo info=extwarranty enddate=012503 随即显示以下信息: 资产信息已成功设置。 可以同时输入多个 omconfig system assetinfo 或 omconfig servermodule assetinfo 命令,前提是“名称=值对 2”的 所有参数都属于同一个“名称=值对 1”。有关示例,请参阅添加购置信息的命令示例。 添加租赁信息 租赁是在特定时间范围内有偿使用系统的协议。出租人保留系统的所有权。下表显示了该命令的有效参数。 表.
添加维护信息 维护是指使系统保持良好运行状态所需采取的措施。下表显示了可用于添加维护信息的有效参数。 表.
1 级命令 2 级命令 3 级命令 名称=值对 1 名称=值对 2 说明 signauth= 签署或授权服务的 人员。 添加外包信息的命令示例 要为外包参数提供一个值,请键入以下形式的命令:omconfig system assetinfo info=outsource <名称=值对 2> 或 omconfig servermodule assetinfo info=outsource <名称=值对 2>。例如,键入: omconfig system assetinfo info=outsource providerfee=75 或 omconfig servermodule assetinfo info=outsource providerfee=75 随即显示以下信息: 资产信息已成功设置。 可以同时键入多个 omconfig system assetinfo 或 omconfig servermodule assetinfo 命令,前提是“名称=值对 2”的 所有参数都属于同一个“名称=值对 1”。 有关示例,请参阅添加购置信息的命令示例。 添加物主信息 物主是指拥有系统合
添加服务合约信息 服务合约是指定系统的预防性维护和维修费用的协议。下表显示了可用于添加合约信息的有效参数。 表.
添加支持信息的命令示例 要为支持参数提供一个值,请键入以下形式的命令:omconfig system assetinfo info=support <名称=值对 2> 或 omconfig servermodule assetinfo info=support <名称=值对 2>。例如,键入: omconfig system assetinfo info=support outsourced=true 或 omconfig servermodule assetinfo info=support outsourced=true 随即显示以下信息: 资产信息已成功设置。 可以同时键入多个 omconfig system assetinfo 或 omconfig servermodule assetinfo 命令,前提是“名称=值对 2”的 所有参数都属于同一个“名称=值对 1”。有关示例,请参阅添加购置信息的命令示例。 添加系统信息 系统信息包括系统的主用户、主用户的电话号码和系统的位置。下表显示了可用于添加系统信息的有效参数。 表.
表.
6 使用 Storage Management Service Storage Management 的 CLI 使用户能够从操作系统命令解释程序执行 Storage Management 报告、配置和管理功 能。Storage Management CLI 也使您能够编写命令序列脚本。 Storage Management CLI 提供了 Dell OpenManage Server Administrator omreport 和 omconfig 命令的扩展选项。 注: 有关更多信息,请参阅 Dell OpenManage Server Administrator Installation Guide(Dell OpenManage Server Administrator 安装指南)和 Dell OpenManage Management Station Software Installation Guide(Dell OpenManage Management Station 软件安装指南)。有关 Storage Management 的更多信息,请参阅 Storage Management 联
表.
Omreport Storage 命令 7 omreport 命令可以查看磁盘、控制器、机柜、电池、全局存储属性、作为存储系统组成部分的连接器和 cachecade 的存储组件信息。本章将介绍如何获得具有所需详细级别的报告。omreport 命令将帮助获得具有所 需详细级别的报告。 此命令会因其定义的字段是否显示在特定 omreport 命令的结果中而异。仅定义具有特殊或罕见用途的字段。 以下部分提供了所需的 omreport 命令语法,用于显示各种存储组件的信息。 要查看 omreport storage 的有效命令列表,请键入: omreport storage -? 下表提供 omreport storage 命令语法。 表.
表.
表. 69: Omreport 控制器命令 所需命令级别(1、 2、3) 可选“名称=值”对 omreport storage controller 用途 显示连接到系统的所有控制器的属性信息。 controller=id,其中 id 是控制 器号。例如,controller=0 显示指定控制器和所有连接的组件,例如机柜、虚拟 磁盘、物理磁盘等。 controller=id info=foreignkeyids 显示要执行导入或清除操作的已锁定外部配置信息。 controller=id info=pdslotreport 显示控制器中机柜的闲置插槽和已占用插槽的详细信 息。 注: 此命令在 Blackplane、SCSI 和 SWRAID 控制器 上不受支持。 Omreport 机柜状况 以下各节介绍执行机柜命令所需的 omreport storage enclosure 命令语法。下表说明 omreport Enclosure 命令的语 法。 表.
所需命令级别(1、2、3)和名称= 可选“名称=值”对 值对 用途 示例:controller=0 enclosure=1:2 info=temps controller=id enclosure= info=temps index=n,其中 id 是控制 器号, 是机柜号, n 是温度探测器号。例如: controller=0 enclosure=2 info=temps index=1 显示指定机柜的温度探测器。 Omreport 风扇状况 下表介绍了 omreport 风扇命令的语法。 表.
表. 73: Omreport 电源设备命令 所需命令级别(1、2、3)和名称= 值对 可选“名称=值”对 omreport storage enclosure 用途 显示连接到系统的所有机柜的属性 信息。 显示指定机柜的电源设备。 controller=id enclosure= info=pwrsupplies,其中 id 是控制器 号,ENCLOSUREID 是机柜号。例 如:controller=0 enclosure=2 显示指定的电源设备。 controller=id enclosure= info=pwrsupplies index=n,其中 id 是控制器号,ENCLOSUREID 是机柜 号,而 n 是电源设备号。例如: controller=0 enclosure=2 info=pwrsupplies index=1 Omreport EMM 状况 下表介绍了 omreport EMM 命令的语法。 注: 如果 EMM 固件中存在不匹配,则 EMM 状况会显示为降级。 表.
表. 75: Omreport 机柜插槽占用报告命令 所需命令级别(1、2、3)和名称= 值对 可选“名称=值”对 omreport storage enclosure 用途 显示连接到系统的所有机柜的属性 信息。 显示指定机柜中闲置插槽和已占用 controller=id 插槽的详细信息。 enclosure= 注: 此命令在 Blackplane、SCSI info=pdslotreport,其中 id 是控制器 和 SWRAID 控制器上不受支 号,ENCLOSUREID 是机柜号。例 持。 如:controller=0 enclosure=2 Omreport 电池状况 下表介绍了 omreport 电池命令的语法 表.
表. 78: Omreport 连接器命令 所需命令级别(1、2、3) 可选“名称=值”对 omreport storage connector 用途 显示系统中所有控制器上存在的所有连 接器。 注: 只有当指定了控制器 ID 时,此 命令才有效。 controller=id,其中 id 是控制器 显示指定控制器上的连接器。 号。例如:controller=0 controller=id connector=id,其 中 id 是连接器号。例如: connector=0 显示指定的连接器。 注: 当连接器以冗余路径模式连接到 机柜时,连接器的名称显示为逻辑 连接器。 Omreport Cachecade 状况 下表介绍了 omreport Cachecade 命令的语法 表.
Omconfig Storage 命令 8 omconfig 命令允许您配置物理磁盘、虚拟磁盘、控制器、机柜、电池、全局信息、连接器和 Cachecade。 要查看 omreport storage 的有效命令列表,请键入: omconfig storage -? 下表提供 omconfig storage 命令语法: 表.
所需命令级别(1、2、3) 可选“名称=值”对 action=initialize controller=id pdisk= action=offline controller=id pdisk= action=online controller=id pdisk= action=assignglobalhotspare controller=id pdisk= assign= action=rebuild controller=id pdisk= action=cancelrebuild controller=id pdisk= action=cancelreplacemember controller=id pdisk= action=clear controller=id pdisk= action=cancelclear controller=id pdisk= action=enabledevicewritecache
注: 要获得这些值,键入 omreport storage controller 以显示控制器 ID,然后键入 omreport storage pdisk controller=ID 以显示连接到控制器的 物理磁盘的 ID。 例如, 停止闪烁控制器 1 的连接器 0 上的物理磁盘 0。在 SAS 控制器上,物理磁盘位于机柜 2 中。 SCSI、SATA 和 ATA 控制器的示例 omconfig storage pdisk action=unblink controller=1 pdisk=0:0 SAS 控制器的示例 omconfig storage pdisk action=unblink controller=1 pdisk=0:2:0 Omconfig 准备卸下物理磁盘 表.
Omconfig 初始化物理磁盘 说明 初始化物理磁盘。 语法 omconfig storage pdisk action=initialize controller=id pdisk=id,其中 id 是由 omreport 命令报告的控制器 ID 和物理磁盘 ID。 注: 要获得这些值,键入 omreport storage controller 以显示控制器 ID,然后键入 omreport storage pdisk controller=ID 以显示连接到控制器的 物理磁盘的 ID。 例如, 初始化控制器 1 上的物理磁盘 4 示例 omconfig storage pdisk action=initialize controller=1 pdisk=4 Omconfig 使物理磁盘脱机 说明 使物理磁盘脱机。 语法 omconfig storage pdisk action=offline controller=id pdisk=,其中 id 是 控制器 ID。 变量指定物理磁盘。 注: 要获得这些值,键入 omreport storage
SAS 控制器的示例 omconfig storage pdisk action=online controller=1 pdisk=0:2:30 Omconfig 分配全局热备用 说明 将物理磁盘分配为全局热备用。 语法 omconfig storage pdisk action=assignglobalhotspare controller=id pdisk= assign=yes,其中 id 是控制器 ID。 变量 指定物理磁盘。 注: 要获得这些值,键入 omreport storage controller 以显示控制器 ID,然后键入 omreport storage pdisk controller=ID 以显示连接到控制器的 物理磁盘的 ID。 例如, 将控制器 1 的连接器 0 上的物理磁盘 3 分配为全局热 备用。在 SAS 控制器上,物理磁盘位于机柜 2 中。 SCSI、SATA 和 ATA 控制器的示例 omconfig storage pdisk action=assignglobalhotspare controller=1 p
请参阅 Dell OpenManage Online Help(Dell OpenManage 联机帮助)。 语法 omconfig storage pdisk action=cancelrebuild controller=id pdisk=,其中 id 是控制器 ID。 变量指定物理磁盘。 注: 要获得这些值,键入 omreport storage controller 以显示控制器 ID,然后键入 omreport storage pdisk controller=ID 以显示连接到控制器的 物理磁盘的 ID。 例如, 取消对控制器 1 的连接器 0 上的物理磁盘 3 的重建。 在 SAS 控制器上,物理磁盘位于机柜 2 中。 SCSI、SATA 和 ATA 控制器的示例 omconfig storage pdisk action=cancelrebuild controller=1 pdisk=0:3 SAS 控制器的示例 omconfig storage pdisk action=cancelrebuild controller=1 pdisk=0
Omconfig 取消清除物理磁盘 说明 取消在某个物理磁盘上正在进行的清除操作。 语法 omconfig storage pdisk action=cancelclear controller=id pdisk=,其中 id 是控制器 ID。 变量指定物理磁盘。 注: 要获得这些值,键入 omreport storage controller 以显示控制器 ID,然后键入 omreport storage pdisk controller=ID 以显示连接到控制器的 物理磁盘的 ID。 例如, 取消对控制器 1 的连接器 0 上的物理磁盘 3 的清除。 在 SAS 控制器上,物理磁盘位于机柜 2 中。 SCSI、SATA 和 ATA 控制器的示例 omconfig storage pdisk action=cancelclear controller=1 pdisk=0:2:3 Omconfig 启用设备写入高速缓存 说明 对 PCIe SSD 控制器启用物理磁盘上的写入高速缓存。 语法 omconfig storage pdisk action=
SAS 控制器的示例 omconfig storage pdisk action=disabledevicewritecache controller=1 pdisk=0:2:3 Omconfig 导出可靠性日志 说明 导出物理磁盘或 PCIe SSD 控制器上的日志。 语法 omconfig storage pdisk action=exportreliabilitylog controller=id pdisk=,其中 id 是 控制器 ID。 变量指定物理磁盘。 注: 要获得这些值,键入 omreport storage controller 以显示控制器 ID,然后键入 omreport storage pdisk controller=ID 以显示连接到控制器的 物理磁盘的 ID。 例如, 导出控制器 1 的连接器 0 上的物理磁盘 3 中的日志。 在 SAS 控制器上,物理磁盘位于机柜 2 中。 SAS 控制器的示例 omconfig storage pdisk action=exportreliabilitylog controller=1
controller=id pdisk=,其中 id 是 控制器 ID。 变量指定物理磁盘。 注: 要获得这些值,键入 omreport storage controller 以显示控制器 ID,然后键入 omreport storage pdisk controller=ID 以显示连接到控制器的 物理磁盘的 ID。 注: 要将指定控制器上的多个非 RAID 转换为 RAID,请使用 omconfig storage controller action=convertnonraidtoraid 命令。有关更多信 息,请参阅 omconfig 将多个非 RAID 转换为 RAID。 例如, 将控制器 1 的连接器 0 上的物理磁盘 3 中的非 RAID 转 换为 RAID。在 SAS 控制器上,物理磁盘位于机柜 2 中。 SAS 控制器的示例 omconfig storage pdisk action=nonraidtoraid controller=1 pdisk=0:2:3 Omconfig 虚拟磁盘命令 下表提供了所需的 omconfig 命令语法,用于执行虚
所需命令级别(1、2、3) 可选“名称=值”对 action=reconfigure controller=id vdisk=id raid= pdisk= [size= vdcapacityexpansion=yes sizeinpercent=<1 to 100>] action=securevd controller=id vdisk=id action=clearvdbadblocks controller=id vdisk=id ction=changepolicy controller=id vdisk=id [readpolicy= | writepolicy= | cachepolicy= diskcachepolicy=] action=replacememberdisk controller=id vdisk=id source=
注: 要获得这些值,键入 omreport storage controller 以显示控制器 ID,然后 键入 omreport storage vdisk controller=ID 显示连接到控制器的虚拟磁盘的 ID。 例如, 暂停对控制器 1 上的虚拟磁盘 4 运行检查一致性 示例 omconfig storage vdisk action=pausecheckconsistency controller=1 vdisk=4 Omconfig 恢复检查一致性 说明 在检查一致性暂停后进行恢复。 语法 omconfig storage vdisk action=resumecheckconsistency controller=id vdisk=id,其中 id 是由 omreport 命令报告的控制器 ID 和虚拟 磁盘 ID。 注: 要获得这些值,键入 omreport storage controller 以显示控制器 ID,然后键入 omreport storage vdisk controller=ID 显示连接到控制器的虚拟磁盘的 ID。 例如, 恢复对控制器 1 上的虚拟
Omconfig 初始化虚拟磁盘 说明 初始化虚拟磁盘。 语法 omconfig storage vdisk action=initialize controller=id vdisk=id,其中 id 是由 omreport 命令报告的控制器 ID 和虚拟磁盘 ID。 注: 要获得这些值,键入 omreport storage controller 以显示控制器 ID,然后键入 omreport storage vdisk controller=ID 显示连接到控制器的虚拟磁盘的 ID。 例如, 初始化控制器 1 上的虚拟磁盘 4 示例 omconfig storage vdisk action=initialize controller=1 vdisk=4 Omconfig 快速初始化虚拟磁盘 说明 快速初始化虚拟磁盘。 小心: 如果尝试删除系统或引导分区,可能会收到警告消息。但是,不会总是生 成此警告消息。确保使用该命令时不会删除系统或引导分区或其他重要数据。 语法 omconfig storage vdisk action=fastinit controller=id vdisk
Omconfig 取消初始化虚拟磁盘 说明 取消初始化虚拟磁盘。 语法 omconfig storage vdisk action=cancelinitialize controller=id vdisk=id,其中 id 是由 omreport 命令报告的控制器 ID 和虚拟磁盘 ID。 注: 要获得这些值,键入 omreport storage controller 以显示控制器 ID,然后键入 omreport storage vdisk controller=ID 显示连接到控制器的虚拟磁盘的 ID。 例如, 取消控制器 1 上虚拟磁盘 4 的初始化。 示例 omconfig storage vdisk action=cancelinitialize controller=id vdisk=id Omconfig 取消后台初始化 说明 取消虚拟磁盘上的后台初始化进程。 语法 omconfig storage vdisk action=cancelbginitialize controller=id vdisk=id,其中 id 是由 omreport 命令报告的控制器 ID 和虚
小心: 删除虚拟磁盘会破坏虚拟磁盘上包括文件系统和卷在内的所有信息。如果 尝试删除系统或引导分区,可能会收到警告消息。但是,不会总是生成此警告 消息。确保使用该命令时不会删除系统或引导分区或其他重要数据。 语法 omconfig storage vdisk action=deletevdisk controller=id vdisk=id,其中 id 是由 omreport 命令报告的控制器 ID 和虚拟磁盘 ID。 注: 要获得这些值,键入 omreport storage controller 以显示控制器 ID,然后键入 omreport storage vdisk controller=ID 显示连接到控制器的虚拟磁盘的 ID。 注: 在有些情况下,如果此命令会导致删除系统或引导分区,您可能收到一个警 告信息。可以通过使用 force=yes 参数来覆盖此警告。在这种情况下,语法如 下: omconfig storage vdisk action=deletevdisk controller=id vdisk=id force=yes 例如, 删除控制器 1 上的虚拟磁盘 4 示例 omco
注: 仅在 PERC H700 和 PERC H800 控制器上支持 vdcapacityexpansion 参数。如果 设置 vdcapacityexpansion=yes,请指定 sizeinpercent。如果未设置 vdcapacityexpansion,请指定 size。 Omconfig 加密虚拟磁盘 说明 加密虚拟磁盘。 语法 omconfig storage vdisk action=securevd controller=id vdisk=id,其中 id 是由 omreport 命令报告的控制器 ID 和虚拟磁盘 ID。 注: 要获得这些值,键入 omreport storage controller 以显示控制器 ID,然后键入 omreport storage vdisk controller=ID 显示连接到控制器的虚拟磁盘的 ID。 例如, 加密控制器 1 上的虚拟磁盘 4。 示例 omconfig storage vdisk action=securevd controller=1 vdisk=4 Omconfig 清除虚拟磁盘坏块 说明 清除虚拟磁盘坏块。
Omconfig 更换成员虚拟磁盘 说明 用目标磁盘更换给定虚拟磁盘的成员。 语法 omconfig storage vdisk action=replacememberdisk controller=id vdisk=id source= destination=,其中 id 是由 omreport 命令报告的控制器 ID 和虚拟磁盘 ID。 变量指定物理磁盘。 注: 要获得这些值,键入 omreport storage controller 以显示控制器 ID,然后键入 omreport storage vdisk controller=ID 显示连接到控制器的虚拟磁盘的 ID。 例如, 对于虚拟磁盘 4,用物理磁盘 5 更换其控制器 1 的连接器 0 上的物理磁盘 3。在串行 连接 SCSI (SAS) 控制器上,物理磁盘位于机柜 2 中。 SCSI、SATA 和 ATA 控 制器的示例 omconfig storage vdisk action=replacememberdisk controller=1 vdisk=4 source=0
所需命令级别(1、2、3) 可选“名称=值”对 action=createvdisk controller=id raid= size= pdisk= [stripesize=< 2kb | 4kb | 8kb | 16kb | 32kb | 64kb | 128kb | 256kb | 512kb | 1mb >] [cachepolicy=] [readpolicy=] [writepolicy=] [diskcachepolicy=] [name=] [spanlength=] | [secureflag=yes] 注: 对于固件版本为 6.
所需命令级别(1、2、3) 可选“名称=值”对 action=setpatrolreadmode controller=id mode= action=startpatrolread controller=id action=stoppatrolread controller=id action=createcachecade controller=id pdisk= [name=] action=enablelkm controller=id keyid= passphrase= [escrow=yes] [filepath=] 注: 如果设置 escrow=yes,请指定 escrow 文件路径。 action=switchtolkm controller=id keyid= passphrase= [escrow=yes] [filepath=
Omconfig 禁用控制器警报 说明 禁用控制器警报。有关更多信息,请参阅 Dell OpenManage Online Help(Dell OpenManage 联机帮助)。 语法 omconfig storage controller action=enablealarm controller=id,其中 id 是由 omreport storage controller 命令报告的控制器 ID。 例如, 禁用控制器 1 上的警报。 示例 omconfig storage controller action=disablealarm controller=1 Omconfig 静音控制器警报 表.
在有些情况下,如果此命令会导致删除系统或引导分区,您可能会收到一 个警告信息。可以通过使用 force=yes 参数来覆盖此警告。在这种情况 下,语法如下: omconfig storage controller action=resetconfig controller=id force=yes 例如, 重设控制器 1 上的配置。 示例 omconfig storage controller action=resetconfig controller=1 omconfig 创建虚拟磁盘 Dell OpenManage Online Help(Dell OpenManage 联机帮助)提供了关于创建虚拟磁盘的附加信息。 用于创建虚拟磁盘的 omconfig 语法具有若干参数。必须指定以下参数: • Controller (controller=id) • RAID level (raid= • Size (size=)> 物理磁盘指定为: • 对于 SCSI
唯一需要指定的是有关控制器、RAID 级别、虚拟磁盘大小和物理磁盘选择的参数。Storage Management 为其 他所有未指定的参数提供默认值。有关该控制器支持的读、写和高速缓存策略的信息,请参阅 Dell OpenManage Online Help(Dell OpenManage 联机帮助)。 用于创建和重新配置虚拟磁盘的参数规范 以下部分显示如何指定 omconfig storage controller action=createvdisk 参数: 表. 88: 参数和类型 参数 类型 controller=id 必需 raid= 必需 size= 必需 pdisk=
下表显示如何指定 size= 表.
表. 93: 读取策略参数 读取策略 readpolicy=ra | ara | nra | rc | nrc 参数规范 预读 readpolicy=ra 自适应预读 readpolicy=ara 不预读 readpolicy=nra 读取高速缓存 readpolicy=rc 无读取高速缓存 readpolicy=nrc writepolicy=] 不同控制器支持不同的写入策略。下表显示如何为各个写入策略指定 writepolicy= 参 数。 表.
RAID 级别或连锁 raid=n 参数规范 连锁 raid=c size= 参数 下表显示如何指定 size= 表.
表. 98: 磁盘高速缓存策略参数 磁盘高速缓存策略 diskcachepolicy=disabled | enabled 参数规范 已禁用 diskcachepolicy=disabled 已启用 diskcachepolicy=enabled Readpolicy=] 不同控制器支持不同的读取策略。下表显示了如何为各个读取策略指定 readpolicy= 参 数。 表.
Omconfig 设置控制器重建率 说明 设置控制器重建率。 语法 omconfig storage controller action=setrebuildrate controller=id rate=<0 to 100>,其中 id 是由 omreport storage controller 命令报告的控制器 ID。 例如, 设置控制器 1 上的重建率为 50。 示例 omconfig storage controller action=setrebuildrate controller=1 rate=50 omconfig 更改控制器属性 表.
注: 如果检测到外部配置,则使用 force=disabled 选项的处理命令会失败。 为避免数据 丢失,请导入外部配置并将保留的高速缓存清除至磁盘。要强制丢弃保留的高速缓存,请 清除外部配置并运行处理命令,或运行使用 force=enabled 选项的处理命令。 Omconfig 创建加密密钥 说明 为控制器创建加密密钥。 语法 omconfig storage controller action= createsecuritykey controller=id keyid= passphrase=[escrow= yes] [filepath=] 例如, 为控制器创建加密密钥。 示例 omconfig storage controller action= createsecuritykey controller=1 keyid=Dell_123 passphrase=Dell_123 escrow=yes filepath= C:/escrow.
Omconfig 设置重新构建率 说明 设置重新构建率。 语法 omconfig storage controller action= setreconstructrate controller=id rate=<0 to 100>,其中 id 是由 omreport storage controller 命令报告的控制器 ID。 例如, 设置控制器 1 上的重新构建率为 50。 示例 omconfig storage controller action= setreconstructrate controller=1 rate=50 Omconfig 设置检查一致性率 说明 设置检查一致性率。 语法 omconfig storage controller action= setcheckconsistencyrate controller=id rate=<0 to 100>,其中 id 是由 omreport storage controller 命令报告的控 制器 ID。 例如, 设置控制器 1 上的检查一致性率为 50。 示例 omconfig storage contr
Omconfig 导入外部配置 说明 导入位于新连接到控制器的物理磁盘上的所有虚拟磁盘。 语法 omconfig storage controller action= importforeignconfig controller=id,其中 id 是由 omreport storage controller 命令报告的控制器 ID。 注: 此命令只在固件版本 5.0.x 中受支持。 例如, 导入控制器 1 上的外部配置。 示例 omconfig storage controller action= importforeignconfig controller=1 Omconfig 导入或恢复外部配置 说明 导入和恢复位于新连接到控制器的物理磁盘上的所有虚拟磁盘。 语法 omconfig storage controller action= importrecoverforeignconfig controller=id, 其中 id 是由 omreport storage controller 命令报告的控制器 ID。 注: 此命令只在固件版本 5.1.
例如, 使未配置的驱动器或无人值守的热备用停止旋转 30 分钟 示例 omconfig storage controller action= setpdiskpwrmanagement spindownunconfigureddrives= enabled spindownhotspares=enabled spindowntimeinterval=30 controller=1 Omconfig 设置巡检读取模式 说明 设置控制器的巡检读取模式。 语法 omconfig storage controller action= setpatrolreadmode controller=id mode= manual|auto|disable,其中 id 是由 omreport storage controller 命令报告的控制器 ID。 例如, 设置控制器 1 上的巡检读取为手动模式 示例 omconfig storage controller action= setpatrolreadmode controller=1 mode=manual Omconfig 启动巡检读取 说明
Omconfig 启用 LKM 控制器 说明 为控制器启用 LKM 模式和创建加密密钥。 语法 omconfig storage controller action=enablelkm controller=id keyid= passphrase= [escrow=yes] [filepath= ,其中 id 是由 omreport storage controller 命令报告的控制器 ID。 例如, 为控制器创建加密密钥。 示例 omconfig storage controller action=enablelkm controller=1 keyid=Dell_123 passphrase=Dell_123 escrow= yes filepath=C:/escrow.
Omconfig 机柜命令 下表提供了所需的 omconfig 命令语法,用于执行机柜任务。 表.
Omconfig 设置机柜资产标签 表. 104: Omconfig 设置机柜资产标签 说明 指定机柜资产标签。 语法 omconfig storage enclosure action=setassettag controller=id enclosure= assettag=,其中 id 是控制器 ID。 变量指定机柜。 在此语法中, 是用户指定的字母数字字符串。 例如, 将与控制器上连接器 2 相连的机柜上的资产标签指定为 encl20。 SCSI、SATA 和 ATA 控 制器的示例 omconfig storage enclosure action=setassettag controller=1 enclosure=2 assettag=encl20 SAS 控制器的示例 omconfig storage enclosure action=setassettag controller=1 enclosure=1:2 assettag=encl20 Omconfig 设置机柜资产名称 表.
Omconfig 重设温度探测器阈值 表. 107: Omconfig 重设温度探测器阈值 说明 将最小和最大警告温度阈值重设为默认值。 注: 此命令在 SAS 控制器上不受支持。 语法 omconfig storage enclosure action=resettempprobes controller=id enclosure= index=id,其中 id 是控制器 ID 和温度探测器 ID。 变量指定机柜。 在此语法中,n 是用户指定的字母数字字符串。 例如, 将位于连接到控制器 1 上连接器 2 的机柜中的温度探测器 3 的阈值重设为默认值。 SCSI、SATA 和 ATA 控 制器的示例 omconfig storage enclosure action=resettempprobes controller=1 enclosure=2 index=3 注: 此时,温度探测器 3 位于连接到控制器 1 上连接器 2 的机柜中。 Omconfig 设置所有温度探测器阈值 表.
Omconfig 闪烁 表. 110: omconfig 闪烁 说明 使机柜上的发光二极管 (LED) 闪烁。 语法 omconfig storage enclosure action=blink controller=id enclosure=,其中 id 是控制器 ID。 变量指定 机柜。 例如, 使连接到控制器 1 上连接器 2 的机柜 3 的 LED 闪烁。 SAS 控制器的示例 omconfig storage enclosure action=blink controller=1 enclosure=2:3 SCSI、SATA 和 ATA 控 制器的示例 omconfig storage enclosure action=blink controller=1 enclosure=2 Omconfig 电池命令 下表显示了用于执行电池任务所需的 omconfig 命令语法。 表.
例如, 将控制器 1 上的记忆周期推迟 3 天另 12 小时。 示例 omconfig storage battery action=delaylearn controller=1 battery=0 days=3 hours=12 Omconfig 全局命令 下表显示了执行全局命令所需的 omconfig 命令语法。执行时,这些命令会应用到所有控制器。这些全局命令 也对应于存储树视图对象的信息/配置子选项卡所提供的全局任务。 表.
Omconfig 全局重新扫描控制器 说明 重新扫描系统上的所有控制器。有关全局重新扫描控制器的更多信息,请参阅 Dell OpenManage Online Help(Dell OpenManage 联机帮助)。 语法 omconfig storage globalinfo action=globalrescan 例如, 执行所有控制器的全局重新扫描。用于重新扫描系统上的所有控制器的 omconfig 命 令语法不需要指定控制器或机柜 ID。 注: 全局重新扫描在非 RAID SCSI 和 SAS 控制器上不受支持。重新引导系统,使 配置更改在非 RAID SCSI 控制器上显示。 示例 omconfig storage globalinfo action=globalrescan Omconfig 设置热备用保护策略 表. 115: Omconfig 设置热备用保护策略 说明 为专用或全局热备用设置热备用保护策略。有关更多信息,请参阅 dell.
omreport storage connector controller=ID 显示连接到控制器的连接器 的 ID。 例如, 重新扫描控制器 1 上的连接器 2。 示例 omconfig storage connector action=rescan controller=1 connector=2 Omconfig Cachecade 命令 下表显示了执行 Cachecade 任务所需的 omconfig 命令语法。 表.
Omconfig 删除 Cachecade 说明 删除 Cachecade。 语法 omconfig storage cachecade action=deletecachecade controller=id cachecade=id,其中 id 是由 omreport 命令报告的控制器 ID 和 Cachecade ID。 要获得这些值,键入 omreport storage controller 来显 示控制器 ID,然后键入 omreport storage connector controller=ID 来显 示控制器的 Cachecade ID。 在有些情况下,您可能会收到一个警告消息。可以通过使用 force=yes 参数来覆 盖此警告。在这种情况下,语法如下: omconfig storage cachecade action=deletecachecade controller=id cachecade=id force=yes 例如, 删除控制器 1 上的 Cachecade 4。 示例 omconfig storage cachecade action=deletecach
9 使用 CLI 命令结果 Server Administrator 命令行界面 (CLI) 用户可以通过多种方式使用命令输出。本章将说明如何将命令输出保存到 一个文件,以及如何根据不同的目的为命令结果选择格式。下表显示 omreport 命令适用的系统。 表.
将命令结果保存到可以覆盖的文件中 如果要覆盖存储于以前编写的文件中的数据,请使用 -outc 选项。例如,您在上午 11:00 点捕获到系统风扇探测 器 0 的风扇探测器 RPM 读数,并将结果写入名为 fans.txt 的文件。您键入: omreport chassis fans index=0 -outc fans.txt 或 omreport mainsystem fans index=0 -outc fans.txt 写入文件的部分结果为: 索引 :0 状态 : 良好 探测器名称 : 系统板风扇 1 RPM 读数 : 2380RPM 最小警告阈值 : 600RPM 最大警告阈值 : 5700RPM 最小故障阈值 : 500RPM 最大故障阈值 : 6000RPM 四小时之后,您重复该命令。您已不需要上午 11:00 点时写入 fans.txt 的快照。您键入相同的命令: omreport chassis fans index=0 -outc fans.txt 或 omreport mainsystem fans index=0 -outc fans.
将命令结果附加到现有文件中 如果要将新命令结果附加到存储在以前编写的文件中的数据,请使用 -outa 选项。例如,您在上午 11:00 点捕获 到系统风扇探测器 0 的风扇探测器 RPM 读数,并将结果写入名为 fans.txt 的文件。 要用这些结果与四小时之后 获得的同一探测器的输出进行比较,则可以使用 -outa 命令将新的输出附加到 fans.txt。 键入: omreport chassis fans index=0 -outa fans.txt 或 omreport mainsystem fans index=0 -outa fans.txt Fans.
• 表 (tbl) • 自定义分隔符格式 (cdv) 格式化选项的语法为: <命令> -fmt <格式选项> 例如,键入: omreport system summary -fmt tbl 或 omreport servermodule summary -fmt tbl 其中,-fmt tbl 指定表格式。 您可以将格式化选项与将输出定向到文件的选项组合在一起。例如,键入: omreport system summary -fmt tbl -outa summary.txt 或 omreport servermodule summary -fmt tbl -outa summary.txt 其中,-fmt tbl 指定表格式,而 -outa 指定将命令结果附加到名为 summary.
分号分隔值 (ssv) 使用 ssv 格式化选项输出分号分隔值格式结果。这个格式也让您将命令输出结果导入到 Microsoft Excel 等电子 表格程序,或数据库程序中。要以分号分隔值格式显示以下示例命令输出,请键入: omreport system summary -fmt ssv 或 omreport servermodule summary -fmt ssv 示例输出将显示如下: ------------------------------ Network Data -----------------------------Network Interface 0 IP Address;143.166.152.108 Subnet Mask;255.255.255.0 Default Gateway;143.166.152.