HP Insight Management WBEM Providers User Guide For Windows® Server® 2003 and Windows® Server® 2008 Part Number 481592-006 March 2010 (Sixth Edition)
© Copyright 2008, 2010 Hewlett-Packard Development Company, L.P. The information contained herein is subject to change without notice. The only warranties for HP products and services are set forth in the express warranty statements accompanying such products and services. Nothing herein should be construed as constituting an additional warranty. HP shall not be liable for technical or editorial errors or omissions contained herein. Confidential computer software.
Contents Introduction .................................................................................................................................. 5 Overview ................................................................................................................................................. 5 Windows Management Instrumentation ........................................................................................................ 5 Installing the HP Insight Providers .....................
Scripting examples .................................................................................................................................. 32 WMIC example ............................................................................................................................ 32 Scripting references ................................................................................................................................. 32 Support information ...........................................
Introduction Overview This document applies to the HP Insight Management WBEM Providers for Windows Server® 2003 and Windows Server® 2008 on ProLiant servers, version 2.5.0 (Insight Providers). This release of the Insight Providers supports ProLiant servers running Windows Server® 2003 and Windows Server® 2008. For details regarding supported servers, options, and operating system versions, see "Support information (on page 33)".
Installing the HP Insight Providers Insight Providers Smart Components HP Insight Providers include server, storage, and network providers as well as WMI-based SMH. These providers are all packaged in a single Smart Component, which is included with the Windows® PSP. This feature enables you to install, uninstall, and update the Insight Providers as a single entity. For Insight Providers 2.5.0, two Smart Components are available for supporting Windows Server® 2003 and Windows Server® 2008: • The cp011396.
2. Verify that the target server has a supported operating system installed. See "Operating system support (on page 33)." 3. Log in as an administrator on the target server. 4. To begin the installation, run HPSUM.exe. This action initiates the HP Smart Update Manager graphical interface. The Inventory Progress Screen appears while the HP Smart Update Manager builds the inventory. After the inventory process is complete, the Select Installation host screen appears. 5.
3. Begin the normal HP SmartStart installation using the CD for SmartStart 8.00 or later. For detailed installation instructions, see the HP SmartStart documentation. 4. At the Server Deployment - Management Instrumentation screen, select HP Insight Management WBEM Providers for Windows (WMI-based providers). The HP SmartStart installation continues and installs the Insight Providers with the PSP contents.
o Configure WBEM / WMI o Use an HP SIM WBEM certificate o Configure a non-administrative account for HP SIM to access WMI data o Configure SNMP o Configure secure shell (SSH) access o Set Trust relationship to Trust by Certificate o Configure Version Control Agent (VCA) o Set administrator password for Insight Management Agents version 7.1 or earlier For more information, see the HP SIM user documentation. 10.
2. Verify that the target server has a supported operating system installed. See "Operating system support (on page 33)." 3. Log in as an administrator on the target server. 4. Install the Insight Providers Smart Component: o For 32-bit Windows® environments, execute the cp011396.exe Smart Component by doubleclicking the file or by invoking it in a script. o For x64 64-bit Windows® environments, execute the cp011395.exe Smart Component by double-clicking the file or by invoking it in a script.
— Read Security — Edit Security SNMP agent compatibility The Insight Providers are compatible with the SNMP-based HP Insight Management Agents for Windows®. They can both be installed and used on a ProLiant server simultaneously. The Insight Providers do not have dependencies on the HP Insight Management Agents and can be installed on ProLiant servers that do not have SNMP agents installed.
Uninstalling SNMP-Based HP Insight Management Agents Introduction This section provides instructions for uninstalling the SNMP-based HP Insight Management Agents. Uninstalling HP Insight Management Agents on a single local server To uninstall HP Insight Management Agents on a single local server: 1. Choose one of the following options: o For Windows Server® 2003, open the Windows® Add or Remove Programs interface. o For Windows Server® 2008, open the Windows® Programs and Features interface. 2.
4. Choose one of the following options: o For Windows Server® 2003, click Remove. o For Windows Server® 2008, right-click, and select Uninstall. 5. At the prompt, to confirm the removal of HP Insight Management Agents from the system, click Yes. 6. If the HP System Management Homepage is active in a browser window, close and reopen it to verify that it reflects the change.
If OpenSSH is not installed, install it on the target servers: a. From the HP SIM menu, select Deploy > Deploy Drivers, Firmware, and Agents. b. Select Install OPENSSH. c. 5. Follow the instructions to install OpenSSH on the target servers.
Scripting commands for HP Insight Management Agents 7.70 or later To uninstall HP Insight Management Agents, run the following Microsoft® Visual Basic Scripting Edition (VBScript) code from a Windows® command prompt on a target system: strComputer = "." SW = "HP Insight Management Agents" Set objWMIService = GetObject("winmgmts:" _ & "{impersonationLevel=impersonate}!\\" _ & strComputer & "\root\cimv2") Set colSoftware = objWMIService.
Using the SMH with the Insight Providers Introduction to SMH The layout of the SMH remains the same as the last version; however, there are changes on subpages. The content and pertinent information are similar, but the layout has been redesigned to be more userfriendly. Change Data Source The SMH now enables data collected from the Insight Providers or SNMP agents. After the Insight Providers are installed, SMH defaults to WBEM as the data source. To change this setting: 1.
Thresholds are now set. The value of these thresholds is persistent and is not lost during a reboot. If the Insight Providers are upgraded, these threshold values are preserved. If utilization surpasses a threshold, an indication is generated.
Security Security concerns Users can increase security by switching from SNMP Agent-based server management to Insight Providerbased server management. The HP Insight Management WBEM Providers for Windows® use Windowsbased authentication for local and remote access to server management data. Implementation The Insight Providers for Windows® are implemented as a set of WMI providers. The access control is in the form of standard Windows® account level access restrictions.
Configuring Insight Provider Security for a User Account using HP SIM Configure and Repair Agents NOTE: When you must configure a non-administrator account on an x64 target server, verify that the system is identified to HP SIM as a server and that it has the system subtype. For more information, see the HP SIM help file. The following procedure provides access rights to allow a standard user account to view most management information.
c. In the Password (Verify) field, re-enter the password. d. If the user account is a domain account, enter the Windows domain in the Domain field. If configuring a nonadministrative user is successful, these credentials are saved as the System Protocol settings for WBEM access in HP SIM. 9. Choose one of the following options: o Click Run Now. o Click Schedule, and then set up a schedule to run this task at a later time. The Task Results page appears and displays the following information. 10.
Windows Server 2008 Firewall configuration Firewall configuration introduction This section describes a configuration method for enabling direct remote WMI access on a server running the Windows Server® 2008 Firewall. There are many methods to establish remote communication with WMI. Locally privileged programs can establish communication with WMI locally and serve up a private or standardized remote management interface.
This command updates a portion of a rule group (a single rule). It can also be done in the user interface, using the following procedure: 1. Click Administrative Tools > Windows Firewall with Advanced Security > Inbound Rules. 2. Enable the Network Discovery (NB-Name-In) rules. 3. Select the rule, and then click Action > Enable Rule. This rule and its equivalent rule appear in the Network Discovery and the File and Printer Sharing firewall rule groups, respectively.
Insight Providers architecture Architecture overview The following architecture diagram gives an overview of Insight Provider components. The diagram is color-coded to distinguish between Microsoft®-provided components, HP components, and ProLiant WMI components. The Insight Providers extend the industry-standard CIM data model to support information that is specific to ProLiant platforms. The Insight Providers collect data from sources such as drivers and system firmware to populate the data model.
• • • o Computer system information, including physical location, unit ID visual indicator, IML, system ROM, and aggregate computer system status (rollup of connected components and devices) o Computer system indications, including ASR reboot, POST error, and thermal reboot Network providers o Network controller information and indications o 10/100 Mb Ethernet o 1 Gb Ethernet o 10 Gb Ethernet o NIC teaming o IPv6 support Storage providers o Storage controller information and indications
Profile name Version Link DSP1011—Physical Asset Profile 1.0 http://www.dmtf.org/standards/published_ documents/DSP1011_1.0.1.pdf (http://www.dmtf.org/standards/published_ documents/DSP1011_1.0.1.pdf) DSP1013—Fan Profile 1.0 http://www.dmtf.org/standards/published_ documents/DSP1013_1.0.1.pdf (http://www.dmtf.org/standards/published_ documents/DSP1013_1.0.1.pdf) DSP1014—Ethernet Port Profile (specialized) 1.0 http://www.dmtf.org/standards/published_ documents/DSP1014_1.0.0.pdf (http://www.dmtf.
Profile name Version Watchdog Profile Link (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_1.0.0.pdf (http://www.dmtf.org/standards/published_ documents/DSP1052_1.0.0.pdf) DSP1075—PCI Device Profile 1.0 http://www.dmtf.org/standards/published_ documents/DSP1075_1.0.0.pdf (http://www.dmtf.org/standards/published_ documents/DSP1075_1.0.0.
Profile name Version File name P00103—HP Power Supply Profile 1.3 P00103_-_HP_Power_Supply_Profile.pdf P00104—HP Sensor Profile 1.1 P00104_-_HP_Sensors_Profile.pdf P00105—HP Base Server Profile 1.1 P00105_-_HP_Base_Server_Profile.pdf P00106—HP CPU Profile 1.0 P00106_-_HP_CPU_Profile.pdf 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.
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. The following are example codes for accessing Insight Provider data using VBScript code. This VBScript code is used to display computer system operational status information: strComputer = ".
For Each objComputerSystemChassis in colComputerSystemChassis WScript.Echo "Model: " & objComputerSystemChassis.Model WScript.Echo "Serial number: " & objComputerSystemChassis.SerialNumber WScript.Echo "Asset tag: " & objComputerSystemChassis.UserTracking Next This VBScript code is used to list system memory modules and their capacities: strComputer = "." strNamespace = "\root\hpq" Set objWMIService = GetObject("winmgmts:\\" & strComputer & strNamespace) Set colMemoryModule = objWMIService.
For Each objFan in colFan WScript.Echo "Caption: " & objFan.Caption WScript.Echo "Description: " & objFan.Description For Each objStatusDescription in objFan.StatusDescriptions WScript.Echo "Status description: " & objStatusDescription Next For Each objOperationalStatus in objFan.OperationalStatus WScript.Echo "Operational status: " & objOperationalStatus Next WScript.Echo Next This VBScript code is used to clear the record log: strComputer = ".
• The SMH for Windows® Smart Component that is included with the ProLiant Support Packs for Windows®. This is the SMH framework. • The web application plug-in (SMH WebApp) that is installed with the Insight Providers. This provides the web pages that show management data using the Insight Providers. HP SIM 5.2 and later support the Insight Providers. For information on configuring HP SIM for use with the Insight Providers, see Chapters 4 and 12 of the HP Systems Insight Manager 5.
Scripting Scripting examples This section provides examples for accessing data exposed by the Insight Providers using scripting. WMIC example You can also write scripts to obtain data from the Insight Providers using WMIC and Microsoft® Windows® PowerShell.
Support information Operating system support The operating systems in the following table are supported by version 2.5.0 of the Insight Providers. For details about the operating system versions supported by each server platform, see the Windows Server® Operating System Support (http://h10018.www1.hp.com/wwsolutions/windows/index-all.html) on HP Servers website.
Operating System Comments Windows Unified Data Storage Server® 2003 x64 Editions — Windows Unified Data Storage Server® 2003 R2 x64 Editions — Windows® Web Server 2008 — Windows Server® 2008 Standard 32-bit Edition — Windows Server® 2008 Enterprise 32bit Edition — Windows Server® 2008 Datacenter 32Bit Edition — Windows Server® 2008 Standard Edition — Windows Server® 2008 Enterprise Edition — Windows Server® 2008 Datacenter — Windows® Essential Business Server 2008 — Windows® Small Busi
PSPs are available from the SmartStart CDs and the HP software and drivers website (http://welcome.hp.com/country/us/en/support.html). NOTE: Installing the PSP also installs the SNMP-based HP Insight Management Agents. If you do not want SNMP agents installed, uninstall them after installing the PSP.
Technical support Reference documentation For more information about PSPs, see the PSP website (http://www.hp.com/servers/psp). To download the latest PSPs, see the software and drivers download page (http://www.hp.com/servers/swdrivers). For general information on management products, see the ProLiant Essentials website (http://www.hp.com/servers/proliantessentials). For information about operating systems supported by ProLiant servers, see the operating system support matrices (http://www.hp.
Acronyms and abbreviations API application program interface ASR Automatic Server Recovery CIM common information model CPU central processing unit DCOM Distributed Component Object Model DMTF Distributed Management Task Force HP SIM HP Systems Insight Manager ID identification IML Integrated Management Log MOF managed object format MSDN Microsoft® Developer Network POST Power-On Self Test Acronyms and abbreviations 37
PSP ProLiant Support Pack SAS serial attached SCSI SATA serial ATA SMASH System Management Architecture for Server Hardware SMH System Management Homepage SMI-S Storage Management Initiative Specification WBEM Web-Based Enterprise Management WMI Windows Management Instrumentation WMIC Windows Management Instrumentation Command-line Acronyms and abbreviations 38
Index A access rights, setting user 10, 18, 19, 20 accessing data and events 30 architecture 23 authorized reseller 36 auto-refresh setting 16 B bundles, WMI support 5 C compatibility 5, 11 D data models 24 DMTF (Distributed Management Task Force) 24 DMTF profiles 24 documentation 31, 36 drivers 34 F firewall 21 firewall settings, configuring 18, 21 H hardware supported 34 HP profile extensions 24 HP SIM 8 I Insight Providers, installation 6, 7, 8, 9 Insight Providers, integration with HP SIM 8, 23 In
support bundles, WMI 6 supported hardware 34 supported operating systems 33 supported options 34 supported servers 34 System Management Homepage 16, 17 System Management Homepage, changing data source 16 System Management Homepage, creating threshold settings 16 System Management Homepage, data collection 17 System Management Homepage, enabling AutoRefresh 16 T technical support 36 thresholds, configuring 16 U uninstalling 12, 13 uninstalling the SNMP Agents uninstalling the SNMP Agents, servers 13 uninst