HP Insight Management WBEM Providers on Integrity Servers User's Guide Abstract This guide is intended for individuals who are familiar with the configuration and operation of Microsoft® Windows®, Windows Server® 2008 R2, Windows Server® 2008 SP2, and Web-Based Enterprise Management Providers. Because of the risk of data loss, only individuals experienced with using this software should implement the procedures in this guide.
© Copyright 2011 Hewlett-Packard Development Company, L.P. Confidential computer software. Valid license from HP required for possession, use or copying. Consistent with FAR 12.211 and 12.212, Commercial Computer Software, Computer Software Documentation, and Technical Data for Commercial Items are licensed to the U.S. Government under vendor's standard commercial license. The information contained herein is subject to change without notice.
Contents About This Document.....................................................................................4 HP Encourages Your Comments..................................................................................................4 1 Introduction...............................................................................................5 Overview................................................................................................................................
About This Document HP Encourages Your Comments 4
1 Introduction This document applies to the HP Insight Management Web-Based Enterprise Management (WBEM) Providers for Windows Server® 2008 R2 and Windows Server® 2008 SP2 on Integrity servers, version 7.1.0.0 (Insight Providers). This release of the Insight Providers supports Integrity servers running Windows Server® 2008 R2 and Windows Server® 2008 SP2. For information regarding supported servers, options, and operating system versions, see Chapter 6 (page 21).
2 Security Security is a major concern and one of the primary reasons to switch from SNMP Agent-based server management to Insight Provider-based server management. The HP Insight Management WBEM Providers for Windows use Windows-based authentication for local and remote access to server management data. Implementation The Insight Providers for Windows are implemented as a set of Windows Management Instrumentation (WMI) providers.
3. Invoke the EnableRWMI.
3 Microsoft Windows Server™ 2008 Firewall configuration This section describes a configuration method for enabling direct remote WMI access on a server running the Microsoft Windows Server 2008 Firewall. These configuration steps were derived from testing on RC1 of Microsoft Windows Server 2008, and so might not apply to the latest version of Microsoft Windows Server 2008 Firewall. There are many methods to establish remote communication with WMI.
If the Windows Firewall has either of these already enabled, this latter command does not affect a change, and only first command is necessary. You can create similar rules that are more restrictive, but that allow remote WMI access in specific circumstances (such as restricting which users, computers, and network addresses can remotely access), depending on the details of your setup.
4 Insight Providers architecture Figure 1 shows an overview of Insight Provider components. The figure is color-coded to distinguish between Microsoft-provided components, HP components, and Integrity WMI components. Figure 1 Insight Providers Architecture HP SIM Property pages Data collection Identification Indications Status polling WMI Proxy Custom Scripting (VBS, Powershell, etc.
• • • ◦ Computer system information, including physical location, unit ID visual indicator, IPMI System Event Log (SEL), system ROM, and aggregate computer system status (rollup of connected components and devices) ◦ Computer system indications, including ASR reboot, POST error, and thermal reboot Network providers ◦ Network controller information and indications ◦ 10/100 Megabit Ethernet ◦ Gigabit Ethernet ◦ NIC teaming Storage providers ◦ Storage controller information and indications ◦
Table 1 DMTF profiles included in the data model (continued) Profile Name Version Link DSP1023 - Software Inventory Profile 1.0.1 http://www.dmtf.org/standards/published_documents/ DSP1023_1.0.1.pdf DSP1026 – System Memory Profile 1.0.0 http://www.dmtf.org/standards/published_documents/ DSP1026_1.0.0.pdf DSP1027 – Power State Management 1.0.1 Profile http://www.dmtf.org/standards/published_documents/ DSP1027_1.0.1.pdf DSP1029 – OS Status Profile 1.0.0 http://www.dmtf.
Table 2 SMI-S profiles, subprofiles and packages included in the data model (continued) Profile/Subprofile Name Version SAS Target Port Subprofile 1.2.0 SPI Target Port Subprofile 1.2.0 Table 3 lists the set of HP profile extensions included in the data model implemented by this version of the Insight Providers. Table 3 HP profile extensions included in the data model Profile Name Version File Name P00100 – HP Profile Registration Profile 1.0.0 P00100_-_HP_Profile_Registration Profile.
Table 3 HP profile extensions included in the data model (continued) Profile Name Version File Name P00129 – HP Standalone Tape Drive Profile 1.0.0 P00129_-_HP_Standalone_Tape_Drive_profile.pdf P00130 – HP Host Attached SATA Profile 1.0.0 P00130_-_HP_Host_Attached_SATA_profile.pdf Insight Provider usage You access data and events from the Insight Providers using the SMH supplied in the Integrity Support Pack (ISP), HP SIM, other client application, or script that supports WMI and SMASH.
Additional documentation In addition to this User Guide, the following Insight Provider documentation is available at http:// www.hp.com/go/hpwbem: • Profiles — A separate document exists for each HP profile extension. • Provider Data Sheet, HP Insight Management WBEM Provider Data Sheet for Integrity Servers.pdf —This document describes indication details and class implementations not defined in an MOF or profile.
5 Scripting examples This section provides examples for accessing data exposed by the Insight Providers using scripting. Microsoft Visual Basic Scripting Edition examples You can write scripts to obtain data from the Insight Providers using Microsoft Visual Basic Scripting Edition (VBScript) or any other scripting language that supports Microsoft ActiveX. This section shows examples for accessing Insight Provider data using VBScript code.
Example 1 Displaying computer operational status information strComputer = "." strNamespace = "\root\hpq" Set objWMIService = GetObject("winmgmts:\\" & strComputer & strNamespace) Set colComputerSystem = objWMIService.ExecQuery("Select * from HP_WinComputerSystem") For Each objComputerSystem in colComputerSystem WScript.Echo "Caption: " & objComputerSystem.Caption For Each objStatusDescription in objComputerSystem.StatusDescriptions WScript.
Example 4 Listing system memory modules and their capacities strComputer = "." strNamespace = "\root\hpq" Set objWMIService = GetObject("winmgmts:\\" & strComputer & strNamespace) Set colMemoryModule = objWMIService.ExecQuery("Select * from HP_MemoryModule") For Each objMemoryModule in colMemoryModule WScript.Echo "Caption: " & objMemoryModule.Caption WScript.Echo "Capacity (bytes): " & objMemoryModule.Capacity Wscript.
Example 7 Clearing the record log strComputer = "." strNamespace = "\root\hpq" Set objWMIService = GetObject("winmgmts:\\" & strComputer & strNamespace) Set colCommonRecordLog = objWMIService.ExecQuery("Select * from HPQ_CommonRecordLog") Wscript.Echo “Clearing the record log…” For Each objCommonRecordLog in colCommonRecordLog objCommonRecordLog.ClearLog() Next Example 8 Receiving an alert indication strComputer = ".
• WMI Command-line (http://msdn2.microsoft.com/en-us/library/aa394531.aspx) • Windows PowerShell (http://msdn2.microsoft.com/en-us/library/bb905330.aspx) • WMIC (http://msdn2.microsoft.com/en-us/library/aa394531.
6 Support and other resources Operating system support Table 4 lists the operating systems supported by version 7.1.0.0 of the Insight Providers. For information about the operating system versions supported by each server platform, see the Windows Server Operating System Support on HP Servers website at http://h10018.www1.hp.com/ wwsolutions/windows/index-all.html.
If you have purchased a Care Pack (service upgrade), call 1-800-633-3600. For more information about Care Packs, see the HP website at http://www.hp.com. In other locations, see the Contact HP worldwide (in English) webpage at: http://welcome.hp.com/country/us/en/wwcontact.html Documentation feedback HP welcomes your feedback. To make comments and suggestions about this document, send a message to http://www.hp.com/bizsupport/feedback/ww/webfeedback.html.