HP Insight Management WBEM Providers on Integrity Servers User's Guide HP Part Number: 5992-5585 Published: April 2009 Edition: 2
© Copyright 2009 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.
Table of Contents About This Document.........................................................................................................7 Typographic Conventions......................................................................................................................7 HP Encourages Your Comments............................................................................................................7 1 Introduction.........................................................................
List of Figures 4-1 4 Insight Providers Architecture......................................................................................................
List of Tables 4-1 4-2 4-3 6-1 DMTF profiles included in the data model...................................................................................16 SMI-S profiles, subprofiles and packages included in the data model.........................................17 HP profile extensions included in the data model........................................................................17 Supported operating systems.............................................................................................
List of Examples 5-1 5-2 5-3 5-4 5-5 5-6 5-7 5-8 6 Displaying computer operational status information...................................................................22 Displaying the system firmware version......................................................................................22 Displaying computer system chassis model name, serial number, and asset tag........................22 Listing system memory modules and their capacities............................................................
About This Document This guide is intended for individuals who are familiar with the configuration and operation of Microsoft® Windows®, Windows Server® 2003, Windows Server® 2008, 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. Typographic Conventions This document uses the following typographical conventions: Command A command name or qualified command phrase.
1 Introduction This document applies to the HP Insight Management Web-Based Enterprise Management (WBEM) Providers for Windows Server® 2003 SP2 and Windows Server® 2008 on Integrity servers, version 6.1.0.0 (Insight Providers). This release of the Insight Providers supports Integrity servers running Windows Server® 2003 SP2 and Windows Server® 2008. For information regarding supported servers, options, and operating system versions, see Chapter 6 (page 27).
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.
3. Select the rule, and click Action→Enable Rule. This rule and an equivalent rule appear in the “Network Discovery” and the “File and Printer Sharing” firewall rule groups, respectively. If the Windows Firewall has either of these already enabled, this latter command does not affect a change, and only first command is necessary.
4 Insight Providers architecture Figure 4-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 4-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 Mb Ethernet — Gb Ethernet — NIC teaming • Storage providers — Storage controller information and indications — Ultra3 and Ultra320 SCSI
Table 4-1 DMTF profiles included in the data model (continued) Profile Name Version Link DSP1035 – Host LAN Network Port Profile 1.0 http://www.dmtf.org/standards/published_documents/DSP1035.pdf DSP1036 – IP Interface Profile 1.0 http://www.dmtf.org/standards/published_documents/DSP1036.pdf DSP1040 – Platform Watchdog Profile 1.0 http://www.dmtf.org/standards/published_documents/ DSP1040_1.0.0.pdf DSP1052 – Computer System Profile 1.0 http://www.dmtf.org/standards/published_documents/DSP1052.
Table 4-3 HP profile extensions included in the data model (continued) Profile Name Version File Name P00107 – HP CPU Consolidated Status Profile 1.0 P00107_-_HP_CPU_Consolidated_Status_Profile.pdf P00108 – HP CPU Physical Asset Profile 1.0 P00108_-_HP_CPU_Physical_Asset_Profile.pdf P00109 – HP Record Log Profile 1.0 P00109_-_HP_Record_Log_Profile.pdf P00110 – HP Memory Profile 1.0 P00110_-_HP_Memory_Profile.pdf P00111 – HP Memory Physical Asset 1.
• • • Using WMI (http://msdn2.microsoft.com/en-us/library/aa393964.aspx) Scripting Access to WMI (http://msdn2.microsoft.com/en-us/library/aa393256.aspx) Further Information (http://msdn2.microsoft.com/en-us/library/aa390436.aspx) For sample scripts for use with the Insight Providers, see Chapter 5 (page 21). Specific information about HP Integrity WBEM classes and properties for servers, storage controllers, and network controllers can be found in the profiles, MOF files, and data sheet.
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 5-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 5-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 5-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 5-8 Receiving an alert indication strComputer = ".
• • Windows PowerShell (http://msdn2.microsoft.com/en-us/library/bb905330.aspx) WMIC (http://msdn2.microsoft.com/en-us/library/aa394531.
6 Support information Operating system support Table 6-1 lists the operating systems supported by version 6.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.
7 Technical support HP contact information For the name of the nearest HP authorized reseller: In the United States, see the HP US service locator webpage at: http://www.hp.com/service_locator In other locations, see the Contact HP worldwide (in English) webpage at: http://welcome.hp.com/country/us/en/wwcontact.html For HP technical support: In the United States, for contact options see the Contact HP United States webpage at: http://welcome.hp.com/country/us/en/contact_us.