HP Insight Management WBEM Providers User Guide HP Part Number: Part Number 481592-009 Published: April 2011 (Ninth Edition)
Notices © Copyright 2008, 2011 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..................................................................
Additional documentation........................................................................................................27 8 Scripting.................................................................................................29 Scripting examples.................................................................................................................29 WMIC example.................................................................................................................
1 Introduction Overview This document applies to the HP Insight Management WBEM Providers for Windows Server® 2003, Windows Server® 2008, Windows Small Business Server 2011 Essentials (Aurora), Windows Small Business Server 2011 and Windows HPC R2 2008 Server on ProLiant servers, version 2.8.0 (Insight Providers).
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.8.0, two Smart Components are available for supporting Windows Server® 2003 and Windows Server® 2008: • The cp013840.
. 8. Select the components to install: • For 32-bit Windows® environments, under Optional Updates, select HP Insight Management WBEM Providers for Windows Server® 2003/2008. • For x64 64-bit Windows® environments, under Optional Updates, select HP Insight Management WBEM Providers for Windows Server® 2003/2008 x64 Editions. (Optional) To configure the installer to add a low-level rights user for remote access to Insight Providers: a.
3. From HP SIM, select Configure > Configure or Repair Agents. If the targets are selected, the Step 1: Select Target Systems page appears. 4. Click Next. The Step 2: Enter credentials page appears. The credentials specified on this page are for a privileged account on the target system. 5. Complete the following: a. In the User name field, enter the system administrator name. b. In the Password field, enter the system administrator password. c.
• The stderr tab—Displays information if the executable experienced an error. • View Printable Report—Reports can be printed for the currently selected target system or for all target systems associated with the task instance. 11. (Optional) To print a report: a. Click View Printable Report. b. From the Options Message box, select the report to display. c. Generate a report containing the selected target system or all systems associated with the task instance. d.
Security requirements for the Insight Providers NOTE: The standard user accounts that are used to access HP WBEM Providers management information must have access rights and security group memberships to enable remote access by HP SIM or other clients querying WMI data. An administrator account has sufficient rights and security group memberships to access HP WBEM Providers management information. To enable remote access of the Insight Providers through WMI for non-administrator user accounts: 1. 2. 3.
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. 2. 3. 4. 5. Choose one of the following options: • For Windows Server® 2003, open the Windows® Add or Remove Programs interface.
1. Create a folder. • For HP SIM running on a Windows Server®, save the folder on the C drive, and name it c:\hpagun. If you use a different drive or folder, edit the agents-uninstall.xml file and replace c:\hpagun in the following line with the drive and folder used: c:\hpagun\UninstallAgents.exe • 2. For HP SIM running on an HP-UX or Linux server, create the folder hpagun under /tmp/ (for example, /tmp/hpagun). Copy the following files to the server running HP SIM.
To run the Uninstall Agents Tool from HP SIM: 1. 2. 3. 4. 5. 6. Use a web browser to log in to the HP SIM console. From the HP SIM menu, select Deploy > Deploy Drivers, Firmware, and Agents. Select Uninstall HP Insight Management Agents. Select the list of target servers to remove Agents from, and then click Apply. To confirm the list of target servers, click Next. To remove Agents from the target servers, click Run Now. The Uninstall Agents Tool displays the task results in the Stdout results area.
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. 5. 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. Log back in to the SMH.
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. 3. Log into the SMH, and click Settings > Select SMH Data Source > Select. Click the WBEM or SNMP radio button. Click Select.
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.
1. From HP SIM, select Configure > Configure or Repair Agents. If the targets are selected, the Step 1: Select Target Systems page appears. 2. Click Next. The Step 2: Enter credentials page appears. 3. The credentials you specify on this page are for a privileged account on the target system. In addition, the credentials must work for all selected target systems. HP recommends using domain administrator credentials. HP SIM only saves these credentials to run a scheduled task later. a.
The Task Results page appears and displays the following information. • Status — Displays the details for each target system in a task instance. • Exit Code — Represents the success or failure of an executable program, but does not indicate if all attempts were successful. If the return value is zero or positive, the executable ran successfully. If the return value is negative value, the executable failed. • Target Name — Displays the name and IP address of the target.
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.
Similar rules can be created that are more restrictive but that enable remote WMI access in specific circumstances (such as restricting which users, computers, and network addresses can remotely access), depending on your setup. There can be additional configuration and connection requirements on the client-side depending on the client operating system and firewall used. For more information, see Connecting to WMI Remotely Starting with Vista® (http:// msdn2.microsoft.com/en-us/library/aa822854.aspx).
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.
• • ◦ NIC teaming ◦ IPv6 support Storage providers ◦ Storage controller information and indications ◦ Ultra3 and Ultra320 SCSI ◦ SmartArray 5x and 6x ◦ SAS/SATA information ◦ Fibre Channel HBA information ◦ Tape information ◦ Host Discovered Resources (HDR) information (OS volumes) Other providers ◦ c-Class blade enclosure provider Enclosure information for c-Class blades ◦ Management processor provider Management processor information ◦ Software inventory provider Installed HP soft
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 Profile 1.0.1 http://www.dmtf.org/standards/ published_documents/ DSP1027_1.0.1.pdf) DSP1029 OS Status Profile 1.0.0 http://www.dmtf.org/standards/ published_documents/ DSP1029_1.0.0.pdf) DSP1033 Profile Registration 1.
Profile/Subprofile name Version FC HBA Profile 1.2.0 Host Discovered Resources Profile 1.2.0 Media Access Device Profile 1.3.0 SAS Target Port Subprofile 1.2.0 SPI Target Port Subprofile 1.2.0 The following table lists the set of HP profile extensions included in the data model implemented by this version of the Insight Providers. Profile name 24 Version File name P00100 HP Profile Registration Profile 1.0.0 P00100_-_HP_Profile_Registration Profile.
Profile name Version File name P00125 HP Blade System Lite Profile 2.1.0 P00125_-_HP_Blade_System_Lite_Profile.pdf 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.
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.Echo Next This VBScript code is used to list system processors, current clock speed, and the number of enabled cores: strComputer = ".
This VBScript code is used to receive an alert indication: strComputer = "." strNamespace = "\root\hpq" Set objWMIService = GetObject("winmgmts:\\" & strComputer & strNamespace) Set objIndication = objWMIService.ExecNotificationQuery("SELECT * FROM HP_AlertIndication") Wscript.Echo "Waiting for alert indication..." Set objReceivedIndication = objIndication.NextEvent WScript.Echo "Provider Name = " & objReceivedIndication.ProviderName WScript.Echo "Event ID = " & objReceivedIndication.EventID WScript.
• MOFs—When the Insight Providers are installed, the MOF files are copied to the HP_Base, Server, Storage, and Network folders in the C:\Program Files\HPWBEM\MOF directory. MOF files are text files that contain definitions of classes and object instances using the MOF language. The CIM data model is represented in MOF files, as are HP ProLiant-specific extensions. 28 • Indication Usage Guide—This document is an introduction to indications in the Insight Providers.
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.
9 Troubleshooting Insight Provider and HP WBEM Tools Accessing Insight Providers from a client tool or Insight Provider tools This section describes problem you may encounter while accessing Insight providers from a client tool or any other provider tools.
NOTE: Any client tool facing issues in accessing Insight providers due to user name and namespace security privileges, follow the steps 1 through 5 to resolve the issue.
10 Support information Operating system support The operating systems in the following table are supported by version 2.8.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.
Hardware support For a list of supported ProLiant server platforms and options, see the hardware support matrix (http://www.hp.com/go/hpwbem). HP driver and support software prerequisites For ProLiant 100 Series G6 servers, you must install the Easy Set-up CD components before installing Insight Providers 2.8.0. Before or during installation of Insight Providers version 2.8.0, you must install PSP 8.
11 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 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
Index A access rights, setting user Configuring Insight Provider Security using the Windows Command Line, 18 Implementation, 16 Security requirements for the Insight Providers, 10 accessing data and events, 27 architecture, 21 authorized reseller HP contact information, 34 Technical support, 34 auto-refresh setting, 14 Uninstalling HP Insight Management Agents on multiple remote servers using HP SIM, 11 installation instructions Installing the Insight Providers as part of a SmartStart Assisted Path install
WMIC example, 29 security, 16 security considerations Best practices, 16 Configuring Insight Provider Security for a User Account using HP SIM Configure and Repair Agents, 16 Configuring Insight Provider Security using the Windows Command Line, 18 Implementation, 16 Security, 16 Security concerns, 16 Security requirements for the Insight Providers, 10 SMI-S (Storage Management Initiative Specification), 5 SNMP agent data collection, 15 SNMP agents Data collection, 15 Hardware support, 33 HP driver and suppo
WMIC (Windows Management Instrumentation Command-line), 29 38 Index