HP Insight Management WBEM Providers User Guide Part Number: edition: September 2010 (Eighth Edition)
Notices © 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 1 Introduction ....................................................................................... 5 Overview ................................................................................................................................... 5 Windows Management Instrumentation ......................................................................................... 5 2 Installing the HP Insight Providers .........................................................
Architecture overview ................................................................................................................ Data model .............................................................................................................................. Microsoft Visual Basic Scripting Edition examples .......................................................................... Insight Providers usage ..........................................................................................
1 Introduction Overview This document applies to the HP Insight Management WBEM Providers for Windows Server® 2003, Windows Server® 2008, and Windows HPC R2 2008 Server on ProLiant servers, version 2.7.0 (Insight Providers). This release of the Insight Providers supports ProLiant servers running Windows Server® 2003, Windows Server® 2008, and Windows HPC R2 2008 Server.
Introduction
2 Installing the HP Insight Providers Insight Providers Smart Component 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.7.0, two Smart Components are available for supporting Windows Server® 2003 and Windows Server® 2008: • The cp012931.
4. To begin the installation, run setup.exe or HPSUM.exe. This action initiates the HP Smart Update Manager graphical interface and opens the Source Selection Screen. Click Start Inventory. The Inventory Progress Screen appears while the HP Smart Update Manager builds the inventory. After the inventory process is complete, the Select Installation Hosts screen appears. 5. Select the local or remote host for installation, and then click Next. For remote hosts, provide the login credentials, and press OK.
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. To uninstall the Insight Providers, use Add or Remove Programs for Windows Server® 2003 or Programs and Features for Windows Server® 2008.
NOTE: The Configure or Repair Agents tool can update multiple target systems, each of which might have different results. The log results indicate whether the attempt to configure or repair the target system was successful. 9. Configure the target system with the following options: • Configure WBEM / WMI. • Use an HP SIM WBEM certificate. • Configure a non-administrative account for HP SIM to access WMI data. • Configure SNMP. • Configure secure shell (SSH) access.
You can install the Insight Providers individually using an Insight Providers Smart Component. Perform this type of installation to install the Insight Providers without performing a full PSP installation or without using SmartStart. NOTE: You must install PSP 8.60 (or later) before or with Insight Providers 2.7.0. For ProLiant 100 Series G6 servers, you must install the Easy Set-up CD components. To install the Insight Providers Smart Component: 1. 2. 3. 4.
d. e. f. Select the Security tab. Select the namespace. Click the Security button. For the standard user, verify that permissions are set as follows: • Execute Methods • Full Write • Partial Write • Provider Write • Enable Account • Remote Enable • 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.
3 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: • For Windows Server® 2003, open the Windows® Add or Remove Programs interface. • For Windows Server® 2008, open the Windows® Programs and Features interface. 2. 3.
• For Windows Server® 2003, click Remove. • For Windows Server® 2008, right-click, and select Uninstall. 5. 6. At the prompt, to confirm the removal of HP Insight Management Agents from the system, click Yes. If the HP System Management Homepage is active in a browser window, close and reopen it to verify that it reflects the change.
4. Verify that OpenSSH is installed on the target servers. 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. Follow the instructions to install OpenSSH on the target servers. 5.
command resets the HP System Management Homepage. 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.
4 Using the SMH with the Insight Providers 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. 2. 3. 4. Log in to the SMH, and then click Settings > Select SMH Data Source > Select. Click the WBEM or SNMP radio button. Click Select. Log out of the SMH. 5. Log back in to the SMH.
• • • • • • HP_ThresholdIndication CIM_ThresholdIndication CIM_AlertIndication CIM_ProcessIndication CIM_Indication CIM_OperatingSystem If the server is being managed by HP SIM, the threshold values can be captured and pushed to other HP SIM-managed servers through the replicate agent settings functionality. Data collection The SMH enables data collected from the Insight Providers or SNMP agents. After the Insight Providers are installed, SMH defaults to WBEM. To change this setting: 1. 2.
5 Security Security concerns Users can increase security by switching 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 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.
a. In the User name field, enter a user name. b. In the Password field, enter the password for the user. 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: • Click Run Now.
• EnableRWMI -a:domain\user 22 Security
6 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.
An additional firewall rule is needed to enable a remote user to establish a WMI session. It can be enabled with the following command: netsh advfirewall firewall set rule name="Network Discovery (NB-Name-In)" new enable=yes 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. 2. 3. Click Administrative Tools > Windows Firewall with Advanced Security > Inbound Rules. Enable the Network Discovery (NB-Name-In) rules.
7 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.
• Sensor information and indications, including redundancy, fans, temperature sensors, and power supplies • Computer system information, including physical location, unit ID visual indicator, IML, 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 • 1 Gb Ethernet • 10 Gb Ethernet • NIC teaming
Profile name Version Link DSP1013 Fan Profile 1.0.1 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.0 http://www.dmtf.org/standards/published_documents/DSP1014_1.0.0.pdf (http://www.dmtf.org/standards/published_documents/DSP1014_1.0.0.pdf) DSP1015 Power Supply Profile 1.1.0 http://www.dmtf.org/standards/published_documents/DSP1015_1.1.0.pdf (http://www.dmtf.
Profile/Subprofile name Version Block Services Package 1.2.0 Disk Drive Lite Subprofile 1.3.0 Multiple Computer System Subprofile 1.2.0 Disk Sparing Subprofile 1.3.0 Physical Package 1.3.0 Location Subprofile 1.3.0 Extent Mapping Subprofile (deprecated) 1.3.0 Direct Attach (DA) Ports Profile 1.2.0 Parallel SCSI (SPI) Initiator Ports Profile 1.2.0 Software Subprofile 1.3.0 FC HBA Profile 1.2.0 Host Discovered Resources Profile 1.2.0 Media Access Device Profile 1.3.
Profile name Version File name P00107 HP CPU Consolidated Status Profile 1.0.0 P00107_-_HP_CPU_Consolidated_Status_Profile.pdf P00108 HP CPU Physical Asset Profile 1.0.0 P00108_-_HP_CPU_Physical_Asset_Profile.pdf P00109 HP Record Log Profile 1.1.0 P00109_-_HP_Record_Log_Profile.pdf P00110 HP Memory Profile 1.0.0 P00110_-_HP_Memory_Profile.pdf P00111 HP Memory Physical Asset Profile 1.0.0 P00111_-_HP_Memory_Physical_Asset_Profile.pdf P00113 HP Consolidated Status Profile 1.0.
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 = ".
Set colComputerSystemChassis = objWMIService.ExecQuery("Select * from HP_ComputerSystemChassis" 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 = ".
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 = ".
Insight Providers usage Access data and events from the Insight Providers using the SMH supplied in the PSP, HP SIM, other client applications, or scripts that supports WMI and SMASH. The SMH provides a web interface for accessing management data locally or remotely. SMH support for the Insight Providers is composed of two components • The SMH for Windows® Smart Component that is included with the ProLiant Support Packs for Windows®. This is the SMH framework.
Insight Providers architecture
8 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.
Scripting
9 Support information Operating system support The operating systems in the following table are supported by version 2.7.0 of the Insight Providers. For details about the operating system versions supported by each server platform, see the Windows Server® Operating System Support on the HP Servers website at http://h10018.www1.hp.com/ wwsolutions/windows/index-all.html.
Operating System Comments Windows Server® 2008 Enterprise 32-bit Edition — Windows Server® 2008 Datacenter 32-Bit Edition — Windows Server® 2008 Standard Edition — Windows Server® 2008 Enterprise Edition — Windows Server® 2008 Datacenter — Windows® Essential Business Server 2008 — Windows® Small Business Server 2008 — Windows® 2008 R2 — Windows® HPC Server 2008 R2 — Hardware support For a list of supported ProLiant server platforms and options, see the hardware support matrix (http:/ /ww
10 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.
Technical support
Acronyms and abbreviations API application program interface ASR Automatic Server Recovery CIM common information model DMTF Distributed Management Task Force HP SIM HP Systems Insight Manager IML Integrated Management Log MOF managed object format MSDN Microsoft® Developer Network POST Power-On Self Test 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 Managem
Acronyms and abbreviations
Index H A access rights, setting user Configuring Insight Provider Security using the Windows Command Line, 21 Implementation, 19 Security requirements for the Insight Providers, 11 accessing data and events, 33 architecture, 25 authorized reseller HP contact information, 39 Technical support, 39 auto-refresh setting, 17 B bundles, WMI support, 5 C compatibility SNMP agent compatibility, 12 Windows Management Instrumentation, 5 D data models, 26 documentation Additional documentation, 33 Reference docum
O operating systems supported, 37 overview, WBEM Providers, 5 P preinstallation, guidelines Insight Providers Smart Component, 7 Installing the Insight Providers using HP SIM, 9 Installing the Insight Providers as part of a SmartStart Assisted Path installation, 8 Installing the Insight Providers with PSP, 7 prerequisites, 38 PSPs, obtaining, 38 R references, 39 refreshing data, 17 remote access, 11 required software, 38 resources Additional documentation, 33 Reference documentation, 39 Scripting referenc
System Management Homepage, data collection, 18 System Management Homepage Auto Refresh, 17 Data collection, 18 Using the SMH with the Insight Providers, 17 System Management Homepage, changing data source, 17 System Management Homepage, creating threshold settings, 17 System Management Homepage, enabling Auto-Refresh, 17 T technical support Technical support, 39 technical support HP contact information, 39 thresholds, configuring, 17 U uninstalling the SNMP Agents Uninstalling HP Insight Management Agent