Dell™ OpenManage™ Client Instrumentation 版本 7.8 用户指南 简介 安装和卸载 Dell™ OpenManage™ Client Instrumentation Windows 管理规范 警报 组件说明 故障排除 示例脚本和 BIOS 设置 注和小心 注 : "注"表示可以帮助您更好地使用计算机的重要信息。 小 心 : "注 意"表示如果不遵循说明,就有可能损坏 硬 件 或导致数据丢失 。 本说 明 文 件 中 的 信 息 如 有 更 改 , 恕 不另行 通 知 。 © 2010 Dell Inc. 版 权 所 有 , 翻 印 必 究 。 未经 Dell Inc. 书面许可,严禁以任何形式复制这些材料。 本文中使用的商标 Dell、DELL 徽标、OpenManage、Latitude、OptiPlex 和 Dell Precision 是 Dell Inc. 的商标;Intel 是 Intel Corporation 在美国 和其它国家/地区的商标;Altiris 是 Altiris Inc.
目录 简介 Dell™ OpenManage™ Client Instrumentation 版 本 7.
l l 数据 路 由 器 — 从数据提供程序层的系统组件中收集信息并将信息向上发送给 Dell WMI 提供程序层,而该层随后会提供给 CIMOM。 数据提 供 程 序 — 向数据路由器提供数据。数据提供程序收到数据路由器的请求后,将查询客户端系统的硬件、驱动程序和操作系统,以确定可用的工具。向数据路由器返回数据之 前,它会将所有平台及客户覆盖应用于数据。 例如,WMI 应用程序层中的管理控制台请求客户端系统硬盘驱动器上的可用空间。WMI 应用程序层通过网络向客户端系统上的 CIMOM(在 Dell WMI 提供程序层中)提出请求。CIMOM 会将请求路由给相应的 WMI 提供程序,而该程序会接着通过数据路由器层将请求路由到数据提供程序层中的磁盘数据提供程序。该信息随后会返回(按原路返回)管理控制台。 注 : Dell OpenManage IT Assistant (ITA) 8.x 不支持 OMCI 7.6 和更高版本。 图 1-1. Dell OpenManage Client Instrumentation 体 系结构 功能 以下是 OMCI 的重要功能: l 支持 CIM 2.
网络管理员可以通过计算机的系统设置或使用 WMI 管理应用程序来更改这些组件的设置。 小 心 : 更 改 LegacySelect 属性 ( 比 如 Integrated Drive Electronics (IDE) Controller) 可 能会造 成计算 机 系统 变 为不 可 用 。如 果发生这种情况,请 进入 客户端 系统的 系统 设置 程 序并更 改 相应的设置 。 远程 引导设备选择 远程引导设备选择使网络管理员可以远程配置系统尝试进行引导的设备的顺序。它包括两组:"Hard Disk Drive Sequence"( 硬盘 驱 动器顺序 )和"Boot Device Sequence"( 引 导 设 备 顺序 )。"Hard Disk Drive Sequence"( 硬盘 驱 动器顺序 )用于设置硬盘驱动器顺序,"Boot Device Sequence"( 引导 设 备 顺序 )用于设置引导设备顺序,如硬盘驱动 器、NIC、CD-ROM 驱动器和软盘驱动器。 WMI 安全性 WMI 在允许用户访问 CIM 数据和方法之前提供用户验证。访问权限由分布式组件对象模型 (DCOM) 安全
l Microsoft Windows Vista Enterprise、SP1 和 SP2 x86(32 位)和 x64(64 位)版本 l Microsoft Windows XP Professional SP2 x86(32 位)Tablet PC 版本 最新更新 有关 OMCI 的最新更新信息,请参阅位于安装目录下的自 述文件。典型 OMCI 安装的默认安装路径是 C:\Program Files\Dell\OpenManage\Client。 可能需要的其它 Dell 说明文件 除了该用户指南之外,还可以在 Dell 支持网站 support.dell.
目录 安装和卸载 Dell™ OpenManage™ Client Instrumentation Dell™ OpenManage™ Client Instrumentation 版 本 7.8 用户指 南 Windows Vista 和 Windows 7 中的用户帐户控制 本地安装 升级 OMCI 卸载 OMCI 无提示安装、卸载和升级 管理安装 Dell OpenManage Client Instrumentation (OMCI) 可以使用 OMCI 安装向导本地安装,也可以通过无提示或管理安装远程进行。 本 地 安装:OMCI 7.8 安装文件以两种格式提供:作为 Dell Update Package (DUP) 和作为 .
5. 选择安装语言并单击"OK"(确定 )。 可以将 OMCI 7.8 安装为英语、法语、德语、日语、西班牙语和简体中文。 将显示"InstallShield Wizard"(InstallShield 向导)窗口。 6. "InstallShield Wizard"(InstallShield 向导)窗口显示"Welcome"(欢迎)信息时,单击"Next"( 下 一步)。 "InstallShield Wizard"(InstallShield 向导)窗口显示信息"Setup Type"(安装类型)。 7. 单击以下选项之一以选择安装类型: l "Complete"( 完 全 )— 在默认目录下安装所有模块和 WMI 支持。 l "Custom"( 自 定义)— 使用户能够安装特定程序功能并指定安装目录。 8.
使用 DUP 升级 OMCI 1. 单击"Download Now"( 立 即 下载)从 Dell 支持网站 support.dell.com 下载安装文件。当"File Download"( 文 件 下载)窗口显示后,保存文件。 2. 双击 Dell OpenManage Client Instrumentation Update Package。 Dell OpenManage Client Instrumentation 屏幕显示的详细信息有:支持的设备、支持的操作系统、修复和增强。 3. 单击"Install"( 安装)。 显示以下信息:"The setup will perform an upgrade of OMCI. Do you want to continue?"(安装程序将执行 OMCI 升级。是否要继续?)单击"Yes"( 是 )并按照屏幕 说明操作。 4. 升级后,重新引导系统。 使用 .exe 升级 OMCI 1. 单击"Download Now"( 立 即 下载)从 Dell 支持网站 support.dell.
在无提示模式中安装客户端 在无提示模式(没有显示对话框)中,您可以执行完全安装和自定义安装。 注 : 键入命令时,按照本节示例所示准确输入空格。 在无提示模式中执行完全安装 在默认目录中以无提示、无人值守方式安装 OMCI 的所有组件: setup.exe /s /v/qn 其中 setup.exe 是 OMCI 的安装可执行文件。 使用 /L<语言 ID> 选项可指定安装语言,其中 <语言 ID> 是 1031(德语)、1033(英语)、1034(西班牙语)、1041(日语)、1036(法语)或 2052(简体中文)。如果未 指定安装语言,安装程序将选择默认操作系统语言,或者如果 OMCI 不支持操作系统语言,则使用英语。 例如,以下命令行在无提示模式中安装法语版本: setup.exe /s /L1036 /v/qn 在无提示模式中执行自定义安装 要指定自定义安装目录,请按如下所示修改命令行: setup.exe /s /v"/qn INSTALLDIR=<目标 >" 其中 <目标> 是自定义目录,且 INSTALLDIR 必须是大写。 例如,以下命令行在无提示模式中在目录 c:\destinatio
1. 使用 OMCI 安装软件包,运行以下命令行: setup.exe /a 出现"Choose Setup Language"(选 择安装语言 )对话框。 2. 选择语言,然后单击"OK"(确定 )。 3. "InstallShield Wizard"(InstallShield 向导)窗口显示"Welcome"(欢迎)信息时,单击"Next"( 下 一步)。 4. 在"Network Location"(网络位 置 )对话框中输入网络位置,并单击"Install"( 安装)开始安装。 "InstallShield Wizard"(InstallShield 向导)窗口显示信息"Installing OMCI"(正在安装 OMCI)。进度栏指示安装状态。安装完成后,信息更改为"InstallShield Wizard Completed"(InstallShield 向导已完成)。 5. 单击"Finish"( 完 成 )结束安装。 在指定位置创建 msi 文件 omci.
目录 Windows 管理规范 Dell™ OpenManage™ Client Instrumentation 版 本 7.8 用户指 南 WMI 概览 WMI 安全性 使用 SMS 2.
string BIOSVersion; [SMS_Report(TRUE), read: ToInstance ToSubClass] datetime BIOSDate; [SMS_Report(TRUE), read: ToInstance ToSubClass, key] string ServiceTag; [SMS_Report(TRUE), read: ToInstance ToSubClass, write: ToInstance ToSubClass] string AssetTag; }; #pragma namespace ("\\\\.\\Root\\cimv2") //************************************************************* //*** Registers Framework Provider (注册框架提供程序) *** //************************************************************* instance of __Win32Provider as $Q {
目录 警报 Dell™ OpenManage™ Client Instrumentation 版 本 7.8 用户指 南 概览 ASF 警报 WMI 警报 概览 系统的重要状态发生变化时将生成警报。存在两种基本警报类型:当前计算机用户的本地警报和管理应用程序的远程警报。Dell™ OpenManage™ Client Instrumentation (OMCI) 处 理这两种警报。 分布式管理综合小组 (DMTF) 已发布了警报标准格式 (ASF),此格式定义了警报和远程控制界面,可以在没有操作系统时对联网系统进行管理。其中包括装有非活动或无法运行的操作系统的 联网计算机,或者是处于低功率系统睡眠状态的联网计算机。ASF 规范可以从 www.dmtf.org 获取。支持 ASF 的 Dell 系统均附带 ASF 说明文件。 ASF 可以处理由传感器(例如温度、电气和风扇探测器以及机箱防盗传感器)检测到的环境事件的远程警报。ASF 还可以处理无操作系统环境中的其它警报。默认情况下,OMCI 处理所有事 件的远程警报。 ASF 2.
由于 Dell_IndicationStaticValues 类的实例存储在 WMI 存储库中,以上数据在关机、重新启动、睡眠、休眠和待机模式中持续存在。可以通过安装在启动时运行的脚本,在重新引导 时重设 OccurrencesCount。 注 : 不允许更改某些属性,其中包括 CIM 存储库中 Dell_IndicationStaticValues 类的 MaxDisplayNotifications 和 MaxNTEventLogNotifications 属性,除非将 Windows Vista 中的用户帐户控制 (UAC) 关闭或者该用户是 Administrator 帐户。 Dell_Configuration 类中的以下属性使用户可以根据事件严重性控制发送到 NT 事件日志和本地显示的通知: l GlobalNTEventLogSeverityLevel:根据事件严重级别控制发送到 NT 事件日志的通知 l GlobalDisplaySeverityLevel:根据事件严重级别控制发送到本地显示的通知 OMCI 识别以下八种 WMI 严重性级别(由整数 0 到 7 表示): l UNKN
NumberOfProcessorsDecreased 已卸下一个处理器。 WARNING_DEGRADED 3 已添加一个处理器。 WARNING_DEGRADED 3 硬盘驱动器发生异常情况,可能最终导致驱动器故障。 MAJOR 系统机箱侵入警报。 WARNING_DEGRADED 3 温度探测器已超过临界阈值。 CRITICAL 6 电压探测器已超过较小阈值。 MINOR 4 (107) NumberOfProcessorsIncreased (106) Smart 5 (108) ChassisIntrusion (1253) TemperatureProbe (1054) VoltageProbe (1153) 1 此事件是 OMCI 7.0 特有的事件。 2 此事件是 OMCI 7.
目录 组件说明 Dell™ OpenManage™ Client Instrumentation 版 本 7.8 用户指 南 表 5-1 列出 Dell™ 设备组件、它们的功能、默认安装位置以及其它相关信息。 小 心 : 更 改 或删除组件 文 件 可 能会造 成 Dell™ OpenManage™ Client Instrumentation (OMCI) 变得 不 可 用 。 注 : %ProgramFiles% 是一个表示 Program Files 目录路径的变量。默认情况下,该值为 C:\Program Files。 表 5-1. 设 备 组件 信 息 组件 默认位置或文件名 功能信息 CIM 提供程序 %ProgramFiles%\Dell\OpenManage\ Client\DellWMI.
CIM v26 LT MOF %ProgramFiles%\Dell\OpenManage\ Client\Mofs\cim26lt.mof MOF 文件,包含 DellOMCI.mof 的所有父类。这些类源于分布式管理综合小组 (DMTF) 标准 CIM 架构 2.6 版。 Dell OMCI MOF %ProgramFiles%\Dell\OpenManage\ Client\Mofs\DellOMCI.mof 定义 OMCI 的所有 CIM 类的 MOF 文件。 Dell OMCI 限制 %ProgramFiles%\Dell\OpenManage\ Client\Mofs\DellOMCI_Qualifiers.mof MOF 文件包含在 OMCI 中使用的限制器声明,但不是 CIM 标准的一部分。 %ProgramFiles%\Dell\OpenManage\ Client\Mofs\DellOMCI_Schema.mof MOF 文件,对于 OMCI 中的每个 MOF 文件包含 #pragma include 语句。 %ProgramFiles%\Dell\OpenManage
目录 故障排除 Dell™ OpenManage™ Client Instrumentation 版 本 7.8 用户指 南 通过 LAN 唤醒 远程连接至 WMI 和远程 BIOS 更新 安装问题 通过 LAN 唤醒 如果通过 LAN 唤醒功能在客户端计算机系统上不起作用,请执行以下检查: l 在客户端系统上使用 Dell™ OpenManage™ IT Assistant 或系统设置验证"Wakeup on LAN"(通过 LAN 唤醒)已启用。请参阅 Dell 系统说明文件获取详细信息。 l 确保已安装正确的网络接口卡 (NIC) 驱动程序。更新的驱动程序可从 Dell 支持网站 support.dell.com 获得。 l 请执行以下步骤: 1. 在"Device Manager"(设 备管 理 器 )中,双击 NIC 打开"NIC properties"(NIC 属性 )窗口。 2. 单击"Configure"( 配 置 )。 3.
l ¡ 单击"Start"(开始 ),单击"Run"(运行 ),键入 compmgmt.msc,然后单击"OK"(确定 )。 ¡ 导航至"Services and Applications"( 服务和应用 程 序 )下的"WMI Control"(WMI 控 制 )。 ¡ 右击"WMI Control"(WMI 控 制 ),然后单击"Properties"(属性 )。 ¡ 单击"Security"( 安 全 )选项卡,然后选择 Root 树下的 DellOMCI。 ¡ 单击"Security"( 安 全 )按钮。 ¡ 选择要控制访问权限的特定组或用户,然后使用"Allow"( 允许)或"Deny"( 拒绝)复选框配置权限。 执行以下步骤以使用 WMI CIM Studio 从远程系统连接到系统 WMI (root\dellomci): ¡ 在本地系统上随 CIM Studio 一起安装 WMI 工 具,并在远程系统上安装 Dell OMCI。 ¡ 为 WMI 远程连接相应配置系统的防火墙。例如,在 Windows 防火墙中打开 TCP 端口 135 和 445。 ¡ 对于本
目录 示例脚本和 BIOS 设置 Dell™ OpenManage™ Client Instrumentation 版 本 7.8 用户指 南 WMI 示例脚本 OMCI 7.8 中新增加的 BIOS 设置 WMI 示例脚本 清除机箱侵入状态 下面是将清除系统的机箱侵入状态的示例 VBScript。可以使用系统名称在本地或远程运行此脚本。 Namespace: root\DellOMCI Class Name: Dell_SMBIOSsettings Instance 'Key' Value: 0 Property Name: ChassisIntrusionStatus Property Value: 5 '**************************************************** '*** Name: SampleChassisIntrusionClear.vbs '*** Purpose: To clear the chassis intrusion status on a Dell OMCI client. '*** Usage: cscript.
strNameSpace & ":" & strClassName & "=" &_ Chr(34) & strKeyValue & Chr(34)) '*** Set the value of ChassisIntrusionStatus to'5' '***("Clear") '***Set the new value for the property and save the instance objInstance.Properties_.Item(strPropName).Value = 5 objInstance.Put_ '*** If any errors occurred, let the user know. If Err.Number <> 0 Then WScript.Echo "Clearing Chassis Intrusion Status failed.
'*** 检索 Dell_SMBIOSSettings '***类的实例(只能有 1 个实例)。 Set objInstance =GetObject("WinMgmts:{impersonationLevel=impersonate ,AuthenticationLevel=pktprivacy }//" &_ strComputerName & "/" & strNameSpace & ":" & strClassName & "=" &_ Chr(34) & strKeyValue & Chr(34)) '*** 将 ChassisIntrusionStatus 的值设置为"5" '***("清除") '***设置该属性的新值并保存实例 objInstance.Properties_.Item(strPropName).Value = 5 objInstance.Put_ '*** 如果出现任何错误,让用户知道。 If Err.Number <> 0 Then WScript.Echo "Clearing Chassis Intrusion Status failed.
'*** Initialize variables strNameSpace = "root/Dellomci" strComputerName = WScript.Arguments(0) strClassName = "Dell_IndicationStaticValues" strPropName = "MaxDisplayNotifications" '*** Establish a connection to the DellOMCI namespace Set objWMIService =GetObject("winmgmts:{impersonationLevel=impersonate," &_ "AuthenticationLevel=pktprivacy}\\" & strComputerName & "\" &_ strNameSpace) '*** Retrieve the instances of '***Dell_IndicationStaticValues class (there should be 16 instances – one for each alert type
(Wscript.Arguments.Count < 1) Then Call Usage() WScript.Quit End If '*** 初始化变量 strNameSpace = "root/Dellomci" strComputerName = WScript.Arguments(0) strClassName = "Dell_IndicationStaticValues" strPropName = "MaxDisplayNotifications" '*** 建立与 DellOMCI 名称空间的连接 Set objWMIService =GetObject("winmgmts:{impersonationLevel=impersonate," &_ "AuthenticationLevel=pktprivacy} \\" & strComputerName & "\" &_ strNameSpace) '*** 检索 '***Dell_IndicationStaticValues 类的实例(应有 16 个实例 – 每种警报类型一个实例)。 Set ColSystem=objWMIService.
'*** Initialize variables strNameSpace = "root/Dellomci" strComputerName = WScript.Arguments(0) strClassName = "Dell_Configuration" strPropValue = "Configuration" strMethod = "Shutdown" '*** Retrieve the Dell_Configuration class Set objInstance = GetObject("WinMgmts:{impersonationLevel=impersonate}//" &_ strComputerName & "/" & strNameSpace & ":" & strClassName) '*** Execute the Shutdown method Set ObjOutParam = objInstance.
Sub Usage() Dim strMessage strMessage = "语法不正确。应运行:" & vbCRLF & _ "cscript.exe //nologo SampleShutdown.vbs <系统名称>" WScript.Echo strMessage End Sub) 重 新启动远程 系统 下面是将远程重新启动 Dell OMCI 客户端的示例 VBScript。 '**************************************************** '*** Name: SampleRestart.vbs '*** Purpose: To restart a Dell OMCI client. '*** Usage: cscript.exe //nologo SampleRestart.
'**************************************************** 选项显式 '*** 声明变量 Dim strNameSpace Dim strComputerName Dim strClassName Dim strPropValue Dim objInstance Dim ObjOutParam Dim strMethod '*** 确认使用了正确的可执行文件运行脚本 '*** 并且所有参数均已传递 If (LCase(Right(WScript.FullName, 11)) = "wscript.exe" ) Or _ (Wscript.Arguments.Count < 1) Then Call Usage() WScript.Quit End If '*** 初始化变量 strNameSpace = "root/Dellomci" strComputerName = WScript.
'*** and that all parameters were passed If (LCase(Right(WScript.FullName, 11)) = "wscript.exe" ) Or _ (Wscript.Arguments.Count < 2) Then Call Usage() WScript.Quit End If '*** Initialize variables strNameSpace = "root/Dellomci" strComputerName = WScript.
'*** 检索 Dell_Configuration 类 Set objClass = GetObject("WinMgmts:{impersonationLevel=impersonate}//" & _ strComputerName & "/" & strNameSpace & ":" & strClassName) Set objMethod = objClass.Methods_(strMethod) '*** 将方法的 In 参数设置为 BIOS 标头文件的 URL Set objInParam = objMethod.inParameters.SpawnInstance_() objInParam.sUrl = WScript.Arguments(1) '*** 执行方法 Set ObjOutParam = objClass.ExecMethod_(strMethod, objInParam) '*** 让用户知道方法是否返回成功 '*** 注:如果返回值为 0,并不意味着系统的 BIOS '*** 已刷写,而只是意味着已成功启动刷写 '*** 方法。 If objOutParam.
objInstance.Properties_.Item(strPropName).Value = 3 objInstance.Put_ '*** If any errors occurred, let the user know If Err.Number <> 0 Then WScript.Echo "Setting PXE on next reboot failed." End If End If '*** Sub used to display the correct usage of the script Sub Usage() Dim strMessage strMessage = "incorrect syntax. You should run: " & vbCRLF & _ "cscript.exe //nologo SampleForcePXE.vbs " WScript.
下面是将启用 Dell OMCI 客户端上的"通过 LAN 唤醒"的示例 VBScript。 '**************************************************** '*** Name: SampleWuOLEnable.vbs '*** Purpose: To enable Wakeup On LAN on a Dell OMCI client. '*** Usage: cscript.exe //nologo SampleWuOLEnable.vbs '*** '*** This sample script is provided as an example only, and has not been '*** tested, nor is warranted in any way by Dell; Dell disclaims any '*** liability in connection therewith.
Dim Dim Dim Dim Dim strClassName strKeyValue objInstance strPropName strPropValue '*** 确认使用了正确的可执行文件运行脚本 '*** 并且所有参数均已传递 If (LCase(Right(WScript.FullName, 11)) = "wscript.exe" ) Or _ (Wscript.Arguments.Count < 1) Then Call Usage() WScript.Quit End If '*** 初始化变量 strNameSpace = "root/Dellomci" strComputerName = WScript.
End If '*** Initialize variables strNameSpace = "root/Dellomci" strComputerName = WScript.Arguments(0) strClassName = "Dell_SystemSummary" strKeyName = "Name" '*** WQL Query to retrieve instances of Dell_SystemSummary strWQLQuery = "SELECT * FROM " & strClassName & " WHERE " & _ strKeyName & "=" & Chr(34) & strComputerName & Chr(34) '*** Retrieve instances of Dell_Configuration class (there should only '*** be 1 instance).
Set colInstances = GetObject("WinMgmts:{impersonationLevel=impersonate}//"&_ strComputerName & "/" & strNameSpace).ExecQuery(strWQLQuery, "WQL", NULL) '*** 仅使用第一个实例检索资产标签、服务标签和 BIOS '*** 版本 For Each objInstance in colInstances strMessage = "资产标签:" strMessage = strMessage & objInstance.Properties_.Item ("AssetTag").Value strMessage = strMessage & vbCRLF & "服务标签:" strMessage = strMessage & objInstance.Properties_.Item ("ServiceTag").
WScript.Echo "Setting the BIOS password failed." End If '*** Sub used to display the correct usage of the script Sub Usage() Dim strMessage strMessage = "Incorrect syntax. You should run: " & vbCRLF & _ "cscript.exe //nologo SampleBIOSPwd.vbs " & Chr(34) & _ " space " & Chr(34) WScript.Echo strMessage End Sub ('**************************************************** '*** 名称:SampleBIOSPwd.vbs '*** 目的:更改 Dell OMCI 客户端的 BIOS 密码。 '*** 用法:cscript.exe //nologo SampleBIOSPwd.
l Camera l DRAMPrefetcher l EnableInstantON l EnableInternalWirelessUWB l EnableLatitudeONFlash l EnableMediaCard l eSATAPort l ExpressCard l HardDriveFreeFallProtection l HardwarePrefetchTrainingOnSoftwarePrefetch l HotkeyToToggleWxANRadio l HTAssist l MinicardSSDEnable l NetworkActivityLED l RearSingleUSB l SRIOV Global Enable l StrongPassword l SurroundView l USB30 l WatchdogTimer l WirelessAdapter l WirelessUWB l WxANRadio 注 : 有关 OMCI 类、属性及其说明的详情,请参阅 Dell 支持网