40
HP Insight Management WBEM Providers User Guide For Microsort® Windows Server® 2003 and Microsoft® Windows Server® 2008 Part Number 481592-007 June 2010 (Seventh Edition)

wbem_wmi

Embed Size (px)

Citation preview

Page 1: wbem_wmi

HP Insight Management WBEM Providers User Guide For Microsort® Windows Server® 2003 and Microsoft® Windows Server® 2008

Part Number 481592-007 June 2010 (Seventh Edition)

Page 2: wbem_wmi

© 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. 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.

Microsoft, Windows, Windows Vista, and Windows Server are U.S. registered trademarks of Microsoft Corporation.

Intended audience

This guide is intended for individuals who are familiar with the configuration and operation of Microsoft® Windows®, Windows Server® 2003, Windows Server® 2008, and WMI Providers. Because of the risk of data loss, only individuals experienced with using this software should implement the procedures in this guide.

Page 3: wbem_wmi

Contents

Introduction .................................................................................................................................. 5 Overview ................................................................................................................................................. 5 Windows Management Instrumentation ........................................................................................................ 5

Installing the HP Insight Providers .................................................................................................... 6 Insight Providers Smart Components ............................................................................................................ 6 Installing the Insight Providers from the Web Download ................................................................................. 6 Installing the Insight Providers with PSP ......................................................................................................... 6 Installing the Insight Providers as part of a SmartStart Assisted Path installation .................................................. 7 Installing the Insight Providers using HP SIM .................................................................................................. 8 Installing the Insight Providers Smart Component ........................................................................................... 9 Security requirements for the Insight Providers ............................................................................................. 10 SNMP agent compatibility ........................................................................................................................ 11

Uninstalling SNMP-Based HP Insight Management Agents ............................................................... 12 Introduction ............................................................................................................................................ 12 Uninstalling HP Insight Management Agents on a single local server .............................................................. 12 Uninstalling HP Insight Management Agents on a single remote server ........................................................... 12 Uninstalling HP Insight Management Agents on multiple remote servers using HP SIM ...................................... 13 Scripting commands for uninstalling HP Insight Management Agents .............................................................. 14

Scripting commands for HP Insight Management Agents 6.30 through 7.60 ......................................... 14 Scripting commands for HP Insight Management Agents 7.70 or later .................................................. 15

Using the SMH with the Insight Providers ....................................................................................... 16 Change Data Source ............................................................................................................................... 16 Auto Refresh ........................................................................................................................................... 16 Threshold settings .................................................................................................................................... 16 Data collection ........................................................................................................................................ 17

Security ..................................................................................................................................... 18 Security concerns .................................................................................................................................... 18 Implementation ....................................................................................................................................... 18 Best practices .......................................................................................................................................... 18 Configuring Insight Provider Security for a User Account using HP SIM Configure and Repair Agents ................. 19 Configuring Insight Provider Security using the Windows Command Line ........................................................ 20

Windows Server® 2008 Firewall configuration ............................................................................. 21 Firewall configuration introduction ............................................................................................................. 21 Firewall configuration .............................................................................................................................. 21

Insight Providers architecture ........................................................................................................ 23 Architecture overview .............................................................................................................................. 23 Data model ............................................................................................................................................ 24 Microsoft Visual Basic Scripting Edition examples ........................................................................................ 28 Insight Providers usage ............................................................................................................................ 31 Additional documentation ........................................................................................................................ 31

Scripting .................................................................................................................................... 32 Scripting examples .................................................................................................................................. 32

Page 4: wbem_wmi

WMIC example ............................................................................................................................ 32 Scripting references ................................................................................................................................. 32

Support information .................................................................................................................... 33 Operating system support ......................................................................................................................... 33 Hardware support ................................................................................................................................... 34 HP driver and support software prerequisites .............................................................................................. 34

Technical support ........................................................................................................................ 36 Reference documentation ......................................................................................................................... 36 HP contact information ............................................................................................................................. 36

Acronyms and abbreviations ........................................................................................................ 37

Index ......................................................................................................................................... 39

Page 5: wbem_wmi

Introduction 5

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.6.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)".

Many management products have been built on SNMP, a common network management technology. However, SNMP-based management solutions have a simple structure and weak security protocol relative to alternatives. These limitations prevent comprehensive, industry-standard, and secure system management.

In place of SNMP, SMASH and SMI-S are secure, robust standards endorsed by the DMTF and SNIA, respectively. These standards provide the foundation for future server management infrastructures.

The Insight Providers are based on SMASH and SMI-S. The Insight Providers employ the set of base-level instrumentation provided by system management controllers and drivers, I/O controllers and drivers, and system firmware interfaces. These components deliver in-depth hardware management, including hardware inventory data, system state, and event notifications.

The data model implemented in the Insight Providers provides industry standard compliance by conforming to SMASH and SMI-S profiles.

Windows Management Instrumentation WMI is the Microsoft® implementation of WBEM, a set of industry-standard technologies for accessing system information in a distributed management environment. WBEM and WMI use the CIM standard to represent systems, networks, applications, devices, and other managed components in an object-oriented manner. The WMI Providers extend CIM to make ProLiant-specific management data and events available to system administrators, enabling administrative tasks to be automated.

For more information on WBEM and WMI, see the following websites:

• CIM (http://www.dmtf.org/standards/cim)

• WBEM (http://www.dmtf.org/standards/wbem/)

• WMI (http://msdn.microsoft.com/en-us/library/aa394582.aspx)

• About WMI (http://msdn.microsoft.com/en-us/library/aa384642(VS.85).aspx)

Page 6: wbem_wmi

Installing the HP Insight Providers 6

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.6.0, two Smart Components are available for supporting Windows Server® 2003 and Windows Server® 2008:

• The cp012200.exe Smart Component supports Windows Server® 2003 and Windows Server® 2008 32-bit Editions.

• The cp012201.exe Smart Component supports Windows Server® 2003 and Windows Server® 2008 x64 Editions.

You can install the Insight Providers Smart Components using all methods available to other Smart Components. You can also install the Insight Providers as part of a SmartStart Assisted Path installation of the Windows® operating system.

Upgrading a previous version of Insight Providers to version 2.6.0 can take several minutes. It is normal for the installation progress bar to stop for several minutes while the previous version is removed. Do not cancel installation at this time.

Installing the Insight Providers from the Web Download

Insight Providers components and documentation is available on the HP Insight Management WBEM Providers website (http://www.hp.com/go/hpwbem).

Installing the Insight Providers with PSP

IMPORTANT: This installation method does not apply for HP ProLiant 100 Series servers.

You can install the Insight Providers using PSP. Insight Providers are included with PSP 8.00 and later, but are not installed by default. PSP 8.50 includes Insight Providers version 2.6.0. However, SNMP-based Insight Management Agents are installed by default.

To install Insight Providers:

1. Verify that the target servers are on the supported hardware list. See "Hardware support (on page 34)."

2. Verify that the target server has a supported operating system installed. See "Operating system support (on page 33)."

Page 7: wbem_wmi

Installing the HP Insight Providers 7

3. Log in as an administrator on the target server.

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. The Discovery Progress screen appears, showing the HP Smart Update Manager checking the system for installed items.

The Select Bundle Filter screen appears and displays defined bundles.

6. Select the bundles to install, and then click OK.

The screen displays a list of components to install.

7. Select the components to install:

o For 32-bit Windows® environments, under Optional Updates, select HP Insight Management WBEM Providers for Windows Server® 2003/2008.

o For x64 64-bit Windows® environments, under Optional Updates, select HP Insight Management WBEM Providers for Windows Server® 2003/2008 x64 Editions.

8. (Optional) To configure the installer to add a low-level rights user for remote access to Insight Providers:

a. Under Updates to be installed, locate the component you selected for installation in step 7.

b. In the Optional Actions column of the selected component, click Configure Now.

c. The Item Configuration window appears. Enter the user name of the low-level rights user in the Windows® User Account Name textbox under HP Insight Management WBEM Providers Settings. For a domain user, use the DOMAIN\USERNAME format.

d. Click Save.

9. On the Select Items to be Installed screen, select the Reboot option to reboot after components are installed.

10. Click Install.

To uninstall the Insight Providers, use Add or Remove Programs for Windows Server® 2003 or Programs and Features for Windows Server® 2008.

Installing the Insight Providers as part of a SmartStart Assisted Path installation

IMPORTANT: This installation method does not apply for HP ProLiant 100 Series servers.

You can install the Insight Providers as part of a SmartStart Assisted Path installation using SmartStart 8.00 or later (version 2.6.0 can be installed using SmartStart 8.50).

To install Insight Providers as part of a SmartStart Assisted Path installation:

1. Verify that the target servers are on the supported hardware list. See "Hardware support (on page 34)."

Page 8: wbem_wmi

Installing the HP Insight Providers 8

2. Verify that the target server has a supported operating system installed. See "Operating system support (on page 33)."

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.

To uninstall the Insight Providers, use Add or Remove Programs for Windows Server® 2003 or Programs and Features for Windows Server® 2008.

Installing the Insight Providers using HP SIM

IMPORTANT: You must install PSP 8.50 (or later) before or with Insight Providers 2.6.0. For ProLiant 100 Series G6 servers, you must install the Easy Set-up CD components.

You can install the Insight Providers using HP SIM. To uninstall the Insight Providers, use Add or Remove Programs for Windows Server® 2003 or Programs and Features for Windows Server® 2008.

To install the Insight Providers using HP SIM:

1. Verify that the target servers are on the supported hardware list. See "Hardware support (on page 34)."

2. Verify that the target server has a supported operating system installed. See "Operating system support (on page 33)."

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. In the Password (Verify) field, re-enter the system administrator password.

d. If you are using a domain account, in the Domain field, enter the Windows® domain.

The credentials you enter must work for all selected target systems. HP recommends using domain administrator credentials. HP SIM only uses these credentials to run a scheduled task later and does not save them.

6. Click Next.

The Step 3: Install Providers and Agents (Optional) page appears.

7. Select Install WBEM / WMI Provider (HP Insight Management WBEM Provider) for Windows.

8. Click Next.

The Configure or Repair Agents page appears.

Page 9: wbem_wmi

Installing the HP Insight Providers 9

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:

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 the administrator password for Insight Management Agents version 7.1 or earlier.

For more information, see the HP SIM user documentation.

10. Do one of the following:

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:

o Status—Displays the details for each target system in a task instance.

o Exit Code—Represents the success or failure of an executable program, but does not indicate that all attempts succeeded. If the return value is zero or positive, the executable ran successfully. If the return value is a negative value, the executable failed.

o Target Name—Displays the name and IP address of the target.

o The stdout tab—Displays the output text information.

o The stderr tab—Displays information if the executable experienced an error.

o 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. Click OK to display the report, or click Cancel to return to the View Task Results page.

Installing the Insight Providers Smart Component

IMPORTANT: This installation method does not apply for HP ProLiant 100 Series servers.

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.

Page 10: wbem_wmi

Installing the HP Insight Providers 10

IMPORTANT: You must install PSP 8.50 (or later) before or with Insight Providers 2.6.0. For ProLiant 100 Series G6 servers, you must install the Easy Set-up CD components.

To install the Insight Providers Smart Component:

1. Verify that the target servers are on the supported hardware list. See "Hardware support (on page 34)."

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 cp012200.exe Smart Component by double-clicking the file or by invoking it in a script.

o For x64 64-bit Windows® environments, execute the cp012201.exe Smart Component by double-clicking the file or by invoking it in a script.

To uninstall the Insight Providers, use Add or Remove Programs for Windows Server® 2003 or Programs and Features for Windows Server® 2008.

Security requirements for the Insight Providers

IMPORTANT: 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. Add the standard user account to the Distributed COM Users group.

2. For the following namespaces, add the standard user account to namespace security:

o root\HPQ

o root\HPQ\default

o root\HPQ\TestEvent

o root\Interop

o root\CIMv2

3. To add the standard user account to namespace security, complete the following steps for each name space:

a. Right-click My Computer > Manage > Services and Applications.

b. Right-click WMI Control.

c. Click Properties.

d. Select the Security tab.

e. Select the namespace.

f. Click the Security button. For the standard user, verify that permissions are set as follows:

— Execute Methods

— Full Write

Page 11: wbem_wmi

Installing the HP Insight Providers 11

— 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.

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.

The default PSP installation installs SNMP-based HP Insight Management Agents, so if you do not want SNMP agents installed, you clear the checkboxes for installation in the HP Smart Update Manager user interface or uninstall them after the PSP installation.

For more information on uninstalling the SNMP agents, see Uninstalling the SNMP-Based HP Insight Management Agents ("Uninstalling SNMP-Based HP Insight Management Agents" on page 12).

Page 12: wbem_wmi

Uninstalling SNMP-Based HP Insight Management Agents 12

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. Select HP Insight Management Agents.

3. Choose one of the following options:

o For Windows Server® 2003, click Remove.

o For Windows Server® 2008, right-click, and select Uninstall.

4. At the prompt, to confirm the removal of HP Insight Management Agents from the system, click Yes.

5. If the HP System Management Homepage is active in a browser window, close and reopen it to verify that it reflects the change.

Uninstalling HP Insight Management Agents on a single remote server

To uninstall HP Insight Management Agents on a single remote server:

1. Connect to the remote system:

o From a Microsoft® Windows® 2000 system, use the Terminal Services Client to connect to the remote system.

o From a Microsoft® Windows® XP, Windows Server® 2003, or a Windows Server® 2008 system, use the Remote Desktop to connect to the remote system.

2. On the remote system, 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 Programs and Features interface.

3. Select HP Insight Management Agents.

Page 13: wbem_wmi

Uninstalling SNMP-Based HP Insight Management Agents 13

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.

Uninstalling HP Insight Management Agents on multiple remote servers using HP SIM

You can configure HP SIM to contain a tool that executes a command line program on multiple target servers to uninstall the HP Insight Management Agents for Windows® (6.30 or later).

To configure HP SIM to contain the Uninstall Agents Tool:

1. Create a folder.

o 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:

<source>c:\hpagun\UninstallAgents.exe</source>

o For HP SIM running on an HP-UX or Linux server, create the folder hpagun under /tmp/ (for example, /tmp/hpagun).

2. Copy the following files to the server running HP SIM.

These files are located in the \AgentUninstall directory of the Insight Provider documentation:

o agents-uninstall.xml—Contains information that allows HP SIM to add the Uninstall Agents Tool to its menu system.

— For HP SIM running on a Windows Server®, copy the agents-uninstall.xml file to the C:\Program Files\HP\Systems Insight Manager\Tools folder.

— For HP SIM running on an HP-UX or Linux server, copy the agents-uninstall.xml file to the /var/opt/mx/tools folder. Edit the agents-uninstall.xml file, and then replace the following command line:

<source>c:\hpagun\UninstallAgents.exe</source> to <source>/tmp/hpagun/UninstallAgents.exe</source>

o UninstallAgents.exe—Is used to perform the uninstall of SNMP agents on each target system. Copy UninstallAgents.exe to the c:\hpagun folder (/tmp/hpagun folder on HP-UX or Linux HP SIM CMS systems). You can place the executable file into a different folder, but you must edit the agents-uninstall.xml file to replace the reference to c:\hpagun with the folder you want to use.

3. From the folder where the agents-uninstall.xml file resides, run the following command: mxtool -a -f agents-uninstall.xml

When the Uninstall Agents Tool is added to HP SIM, the following messages appear: Successfully parsed tools file. Successfully added tool named "Uninstall HP Insight Management Agents" Successfully added 1 tool

4. Verify that OpenSSH is installed on the target servers.

Page 14: wbem_wmi

Uninstalling SNMP-Based HP Insight Management Agents 14

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. After OpenSSH is installed, configure HP SIM to authenticate the managed systems by choosing one of the following options:

o Execute the following command from an HP SIM CLI prompt: mxagentconfig -a [-n hostname] [-u login user name] [-p password]

o From the HP Systems Insight Manager menu, to configure the target systems, select Configure > Configure or Repair Agents.

For more information, use the help system.

6. Execute the Identify Systems task for all nodes by selecting Options > Identify Systems, selecting the target nodes, and then executing the task.

To run the Uninstall Agents Tool from HP SIM:

1. Use a web browser to log in to the HP SIM console.

2. From the HP SIM menu, select Deploy > Deploy Drivers, Firmware, and Agents.

3. Select Uninstall HP Insight Management Agents.

4. Select the list of target servers to remove Agents from, and then click Apply.

5. To confirm the list of target servers, click Next.

6. To remove Agents from the target servers, click Run Now.

The Uninstall Agents Tool displays the task results in the Stdout results area.

Scripting commands for uninstalling HP Insight Management Agents

Use the following scripting command to uninstall HP Insight Management Agents.

Scripting commands for HP Insight Management Agents 6.30 through 7.60

To uninstall HP Insight Management Agents, run the following commands from a script or from a Windows® command prompt on a target system:

$WINDIR\system32\cpqmgmt\aguninst.exe /s $SYSTEMDRIVE\hp\hpsmh\bin\smhreset

The $WINDIR environment variable refers to the Windows® directory (for example, c:\winnt on Windows® 2000 or c:\windows on Windows Server® 2003).

The $SYSTEMDRIVE environment variable refers to the system drive (for example, c:).

The aguninst.exe /s command uninstalls the HP Insight Management Agents.

The smhreset command resets the HP System Management Homepage.

Page 15: wbem_wmi

Uninstalling SNMP-Based HP Insight Management Agents 15

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.ExecQuery _ ("Select * from Win32_Product") For Each objSoftware in colSoftware If objSoftware.Name=SW Then objSoftware.Uninstall() End If Next

Page 16: wbem_wmi

Using the SMH with the Insight Providers 16

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. Log in to the SMH, and then click Settings > Select SMH Data Source > Select.

2. Click the WBEM or SNMP radio button.

3. Click Select.

4. Log out of the SMH.

5. Log back in to the SMH.

Auto Refresh When the SMH uses the SNMP data source, each page must be refreshed manually to retrieve the latest information. When using WBEM as the data source, the user can refresh the information manually or set an Auto Refresh interval to get updates.

To enable WBEM Auto Refresh and to set the Refresh interval:

1. Click Settings>Auto Refresh>Configure Page Refresh Settings.

2. Select a refresh interval between 5 seconds and 30 minutes.

3. Click the Auto Refresh radio button.

After WBEM Auto Refresh is enabled, the browser refreshes the pages at the specified interval.

Threshold settings The SMH enables the user to set thresholds on CPU utilization and Disk utilization.

To create threshold settings:

1. Click Tasks (Tab) > Server Configuration > Threshold Information.

2. Enter values for processors and disks. If there are many processors or disks, the user can set them all at once using the global options.

3. Click the appropriate Set button.

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. For an indication to be received, a subscription must exist for one of the following indication classes:

• HP_CpuThresholdIndication (to get only the CPU indications)

Page 17: wbem_wmi

Using the SMH with the Insight Providers 17

• HP_DiskThresholdIndication (to get only the Disk indications)

• HP_ThresholdIndication

• CIM_ThresholdIndication

• CIM_AlertIndication

• CIM_ProcessIndication

• CIM_Indication

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. Log into the SMH, and click Settings > Select SMH Data Source > Select.

2. Click the WBEM or SNMP radio button.

3. Click Select.

Page 18: wbem_wmi

Security 18

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.

An administrator account has sufficient rights and security group memberships to access the Insight Providers management information for both local and remote access.

For a standard user account, there are two considerations for configuring security in order to access WMI information from the Insight Providers:

• WMI namespace security

• Distributed COM Users group membership

A standard user account needs security configurations to remotely access the Insight Provider management information on a remote server. For more information, see Security requirements for the Insight Providers (on page 10).

WMI namespace security settings govern access to WMI information. Windows user accounts can be allowed or denied specific privileges per WMI namespace.

For more information on namespace security, see Access to WMI Namespaces (http://msdn2.microsoft.com/en-us/library/aa822575.aspx).

Only standard users who belong to the Distributed COM Users group can remotely connect to WMI and access management information. Administrators are in this group by default. Non-administrator users must be added to the Distributed COM Users group for remote WMI connectivity.

For more information, see Connecting to WMI on a Remote Computer (http://msdn2.microsoft.com/en-us/library/aa389290.aspx).

Best practices HP recommends using a low-level rights user account (non-administrator) to perform most read-only management tasks. Use of certain Insight Provider functionality, such as rebooting the system, requires an administrator-level account. The user does not need to be an administrator of the managed system and does not need logon rights. HP recommends that the domain administrator creates a special purpose domain account.

Page 19: wbem_wmi

Security 19

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. However, you must use an administrator account to perform some management tasks such as rebooting a server.

To configure a domain or local user (non-administrator) account for remote management:

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. In the User name field, enter the system administrator name.

b. In the Password field, enter the system administrator password.

c. In the Password (Verify) field, re-enter the system administrator password.

d. If you are using a domain account, enter the Windows domain in the Domain field.

4. Click Next.

The Step 3: Install Providers and Agents (Optional) page appears.

5. Select the Install WBEM / WMI Provider (HP Insight Management WBEM Provider) for Windows box.

6. Click Next.

The Step 4: Configure or Repair Agents page appears.

7. (Optional) Select the Configure a non-administrative account for HP SIM to access WMI data option.

This option applies to Windows® systems with the Insight Providers. The configuration of the managed system is updated to allow the user to access WMI information over the network. This user account is used by HP SIM to read inventory and configuration information from the system, and is configured as the WBEM user in the System Protocol Settings.

This configuration step is not necessary if HP SIM is configured with a user with Windows® administrator rights. HP SIM does not create this user. The user must exist as a domain user or one local to the managed system.

The user is added to the Distributed COM Users group on the managed system and is given read-only access to WMI information in addition to read-write permissions to the HPQ name space.

This user does not need to be an administrator of the managed system and does not need login rights. HP recommends that the domain administrator create a special-purpose domain account.

8. Enter the credentials for HP SIM to access the managed systems:

a. In the User name field, enter a user name.

b. In the Password field, enter the password for the user.

Page 20: wbem_wmi

Security 20

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.

o Status—Displays the details for each target system in a task instance.

o 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.

o Target Name—Displays the name and IP address of the target.

o The stdout tab—Displays output text information.

o The stderr tab—Displays information if the executable experienced an error.

o View Printable Report—Enables you to print reports for the selected target system or for all target systems associated with the task instance.

10. (Optional) To print a report:

a. Click View Printable Report.

b. From the Options Message box, select the report to display.

You can generate a report containing the selected target system or all systems associated with the task instance.

c. To display the report, click OK, or to return to the View Task Results page, click Cancel.

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 configure/repair attempt was successful.

Configuring Insight Provider Security using the Windows Command Line

The following procedure provides access rights to allow a standard user account to view most management information. However, you must use an administrator account to perform some management tasks such as rebooting a server.

To configure a domain user or local user (non-administrator) account for remote management:

1. Open a Command Prompt window.

2. Change to the \Program Files\HPWBEM\Tools folder of the system drive.

3. Invoke the EnableRWMI.exe program to configure the account security for remote WMI access using one of the following options: o EnableRWMI -a:localuser o EnableRWMI -a:domain\user

Page 21: wbem_wmi

Windows Server® 2008 Firewall configuration 21

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. The SMH and Windows Remote Management (an implementation of WS Management) are examples.

This documentation does not apply to these or other indirect methods of WMI related communication, only to direct remote connections to WMI. Firewall configurations for indirect WMI communication methods are independent of establishing a direct remote connection to WMI.

In addition to being used to set up the firewall, some user privileges are used in creating direct remote WMI access. For example, when the user is not an Administrator, some privileges might not exist by default.

For more information, see "Security requirements for the Insight Providers (on page 10)" and the MSDN article Securing a Remote WMI Connection (http://msdn2.microsoft.com/en-us/library/aa393266.aspx).

Firewall configuration You can establish direct remote WMI access on a computer running the Windows Server® 2008 Firewall, but the default configuration does not provide for this access. However, by using the built-in firewall rules, you can enable remote WMI access with two commands.

Locally execute the following commands on the Windows Server® 2008 machine that is providing WMI access (on a computer running the Insight Providers on Windows Server® 2008):

netsh advfirewall firewall set rule group="Windows Management Instrumentation (WMI)" new enable=yes Output: Updated 4 rule(s). Ok.

The commands enable all firewall rules contained in the specified firewall group. If the command output does not confirm that the rules were updated, check that the group name and each word in the command are correct. The following is an example of a group name with spacing highlighted in bold:

"Windows<SPACE>Management<SPACE>Instrumentation<SPACE>(WMI)"

This first command is equivalent to selecting the Windows Management Instrumentation (WMI) checkbox in the Control Panel > Windows Firewall > Settings > Exceptions tab.

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

Page 22: wbem_wmi

Windows Server® 2008 Firewall configuration 22

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.

If the Windows® Firewall has either of these already enabled, the latter command does not affect a change, and only first command is necessary.

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).

Page 23: wbem_wmi

Insight Providers architecture 23

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.

By using scripting hosts or writing directly to the WMI COM-based client API, you can create custom applications that can access the data model, providing automated administrative tasks.

The Insight Providers implement the following instrumentation:

• Server providers:

o Processor information and indications

o Memory information and indications

o PCI devices and system slots information

o Sensor information and indications, including redundancy, fans, temperature sensors, and power supplies

Page 24: wbem_wmi

Insight Providers architecture 24

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

o Ultra3 and Ultra320 SCSI

o SmartArray 5x and 6x

o SAS/SATA information

o Fibre Channel HBA information

o Tape information

o Host Discovered Resources (HDR) information (OS volumes)

• Other providers

o c-Class blade enclosure provider—Enclosure information for c-Class blades

o Management processor provider—Management processor information

o Software inventory provider—Installed HP software information

o Indications to event log provider—Insight Provider indications that are logged to the Windows® system event log

Data model The following table lists the set of DMTF profiles included in the data model implemented by this version of the Insight Providers.

Profile name Version Link

DSP1004—Base Server Profile (specialized)

1.0.0 http://www.dmtf.org/standards/published_documents/DSP1004.pdf (http://www.dmtf.org/standards/published_documents/DSP1004.pdf)

DSP1009—Sensors Profile 1.0.2 http://www.dmtf.org/standards/published_documents/DSP1009_1.0.2.pdf (http://www.dmtf.org/standards/published_documents/DSP1009_1.0.2.pdf)

DSP1010—Record Log Profile 1.0.1 http://www.dmtf.org/standards/published_documents/DSP1010_1.0.1.pdf (http://www.dmtf.org/standards/published_documents/DSP1010_1.0.1.pdf)

Page 25: wbem_wmi

Insight Providers architecture 25

Profile name Version Link

DSP1011—Physical Asset Profile 1.0.2 http://www.dmtf.org/standards/published_documents/DSP1011_1.0.2.pdf (http://www.dmtf.org/standards/published_documents/DSP1011_1.0.2.pdf)

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.org/standards/published_documents/DSP1015_1.1.0.pdf)

DSP1022—CPU Profile 1.0.0 http://www.dmtf.org/standards/published_documents/DSP1022_1.0.0.pdf (http://www.dmtf.org/standards/published_documents/DSP1022_1.0.0.pdf)

DSP1023—Software Inventory Profile 1.0.1 http://www.dmtf.org/standards/published_documents/DSP1023_1.0.1.pdf (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 (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 (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 (http://www.dmtf.org/standards/published_documents/DSP1029_1.0.0.pdf)

DSP1033—Profile Registration 1.0.0 http://www.dmtf.org/standards/published_documents/DSP1033.pdf (http://www.dmtf.org/standards/published_documents/DSP1033.pdf)

DSP1035—Host LAN Network Port Profile

1.0.0 http://www.dmtf.org/standards/published_documents/DSP1035_1.0.0.pdf (http://www.dmtf.org/standards/published_documents/DSP1035_1.0.0.pdf)

DSP1036—IP Interface Profile 1.0.1 http://www.dmtf.org/standards/published_documents/DSP1036_1.0.1.pdf (http://www.dmtf.org/standards/published_documents/DSP1036_1.0.1.pdf)

DSP1040—Platform Watchdog Profile 1.0.0 http://www.dmtf.org/standards/published_documents/DSP1040_1.0.0.pdf

Page 26: wbem_wmi

Insight Providers architecture 26

Profile name Version Link (http://www.dmtf.org/standards/published_documents/DSP1040_1.0.0.pdf)

DSP1052—Computer System Profile 1.0.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.0 http://www.dmtf.org/standards/published_documents/DSP1075_1.0.0.pdf (http://www.dmtf.org/standards/published_documents/DSP1075_1.0.0.pdf)

The following table lists the set of SMI-S profiles, subprofiles, and packages included in the data model implemented by this version of the Insight Providers.

Profile/Subprofile name Version

Host Hardware RAID Controller (HHRC) Profile 1.4.4

Array Profile 1.4.4

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.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 Version File name

P00100—HP Profile Registration Profile

1.0.0 P00100_-_HP_Profile_Registration Profile.pdf

Page 27: wbem_wmi

Insight Providers architecture 27

Profile name Version File name

P00101—HP Management Processor Lite Profile

2.0.1 P00101_-_HP_Mgmt_Proc_Lite_Profile.pdf

P00102—HP Fan Profile 1.3.0 P00102_-_HP_Fan_Profile.pdf

P00103—HP Power Supply Profile

1.3.1 P00103_-_HP_Power_Supply_Profile.pdf

P00104—HP Sensor Profile 1.2.0 P00104_-_HP_Sensors_Profile.pdf

P00105—HP Base Server Profile

1.5.0 P00105_-_HP_Base_Server_Profile.pdf

P00106—HP CPU Profile 1.0.0 P00106_-_HP_CPU_Profile.pdf

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.1 P00113_-_HP_Consolidated_Status_Profile.pdf

P00114—HP Base Server Physical Asset Profile

1.4.0 P00114_-_HP_Base_Server_Physical_Asset_Profile.pdf

P00115—HP Fan Physical Asset Profile

1.1.0 P00115_-_HP_Fan_Physical_Asset_Profile.pdf

P00116—HP Power Supply Physical Asset Profile

1.0.2 P00116_-_HP_Power_Supply_Physical_Asset_Profile.pdf

P00117—HP Ethernet Teaming Profile

1.0.1 P00117_-_HP_Ethernet_Teaming Profile.pdf

P00119—HP FC HBA Profile

1.0.4 P00119_-_HP_FC_HBA_profile.pdf

P00120—HP Storage Enclosure Profile

1.0.1 P00120_-_HP_Storage_Enclosure_Profile.pdf

P00121—HP Smart Array Profile

1.4.4 P00121_-_HP_Smart_Array_Profile.pdf

P00122—HP SAS HBA Array Profile

1.0.1 P00122_-_HP_SAS_HBA_Profile.pdf

P00123—HP SCSI HBA Profile

1.0.1 P00123_-_HP_SCSI_HBA_Profile.pdf

P00124—HP Location Profile

1.1.0 P00124_-_HP_Location_Profile.pdf

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

Page 28: wbem_wmi

Insight Providers architecture 28

Profile name Version File name

P00130—HP Host Attached SATA Profile

1.0.0 P00130_-_HP_Host_Attached_SATA_profile.pdf

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 = "." 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.Echo "Status description: " & objStatusDescription Next For Each objOperationalStatus in objComputerSystem.OperationalStatus WScript.Echo "Operational status: " & objOperationalStatus Next Next The following VBScript code is used to display system firmware version: strComputer = "." strNamespace = "\root\hpq" Set objWMIService = GetObject("winmgmts:\\" & strComputer & strNamespace) Set colSystemROMFirmware = objWMIService.ExecQuery("Select * from HP_SystemROMFirmware") For Each objSystemROMFirmware in colSystemROMFirmware WScript.Echo "Caption: " & objSystemROMFirmware.Caption WScript.Echo "Version: " & objSystemROMFirmware.VersionString WScript.Echo Next

This VBScript code is used to display computer system chassis model name, serial number and asset tag: strComputer = "." strNamespace = "\root\hpq"

Page 29: wbem_wmi

Insight Providers architecture 29

Set objWMIService = GetObject("winmgmts:\\" & strComputer & strNamespace) 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 = "." 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 = "." strNamespace = "\root\hpq" Set objWMIService = GetObject("winmgmts:\\" & strComputer & strNamespace) Set colProcessor = objWMIService.ExecQuery("Select * from HP_Processor") For Each objProcessor in colProcessor WScript.Echo "Caption: " & objProcessor.Caption WScript.Echo "Description: " & objProcessor.Description WScript.Echo "Current clock speed (MHz): " & objProcessor.CurrentClockSpeed WScript.Echo "Number of enabled cores: " & objProcessor.NumberOfEnabledCores Wscript.Echo Next

This VBScript code is used to list fans and operational status information: strComputer = "." strNamespace = "\root\hpq"

Page 30: wbem_wmi

Insight Providers architecture 30

Set objWMIService = GetObject("winmgmts:\\" & strComputer & strNamespace) Set colFan = objWMIService.ExecQuery("Select * from HP_WinFan") 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 = "." 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

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.Echo "Severity = " & objReceivedIndication.PerceivedSeverity WScript.Echo "Description = " & objReceivedIndication.Description

Page 31: wbem_wmi

Insight Providers architecture 31

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.

• 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.2 Technical Reference Guide.

Any client application or script that support WMI and SMASH can also be used to access data and events from the Insight Providers. The Microsoft MSDN website provides information on building WMI clients such as Visual Basic scripts or C++ and C# applications. For more details, see the following WMI references on the MSDN website:

• 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 Scripting Examples (on page 32).

Specific information about HP ProLiant WBEM classes and properties for servers, storage controllers, and network controllers can be found in the profiles, MOF files, and data sheet (see Additional Documentation (on page 31)).

Additional documentation In addition to this User Guide, the following Insight Providers documentation is available on the HP Insight Management WBEM Providers website (http://www.hp.com/go/hpwbem):

• Profiles—A separate document exists for each HP profile extension.

• HP Insight Management WBEM Provider Data Sheet—This document describes indication details, and class implementations not defined in a MOF or profile.

• SNMP Instrumentation Migration Guide—This document describes the mapping of SNMP OIDs to WBEM classes and properties, and SNMP traps to WBEM indications.

• 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.

• Indication Usage Guide—This document is an introduction to indications in the Insight Providers.

• Windows Indication Eventlog Messages—This document maps the Insight Management WBEM indications to the messages that are logged to the Windows System Event Log.

Page 32: wbem_wmi

Scripting 32

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.

The following command is used to display computer system status information using WMIC in noninteractive mode:

wmic /namespace:\\root\hpq path hp_wincomputersystem get caption,OperationalStatus,StatusDescriptions

The following Windows PowerShell script code can be used to list fans in the system:

$strComputer = "."

$strNamespace = "root\hpq"

$colFan = Get-WMIObject -class "hp_winfan" -namespace $strNamespace -computername $strComputer

foreach ($objFan in $colFan) {

write-host $objFan.Name, $objFan.Description

}

Scripting references For more information regarding WMI scripting, see the following WMI references on the MSDN website (http://msdn.microsoft.com):

• Scripting Access to WMI (http://msdn2.microsoft.com/en-us/library/aa393256.aspx)

• Visual Basic Scripting Edition (http://msdn2.microsoft.com/en-us/library/t0aew7h6.aspx)

• WMIC (http://msdn2.microsoft.com/en-us/library/aa394531.aspx)

• Windows® PowerShell (http://msdn2.microsoft.com/en-us/library/bb905330.aspx)

Page 33: wbem_wmi

Support information 33

Support information

Operating system support The operating systems in the following table are supported by version 2.6.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 (http://h10018.www1.hp.com/wwsolutions/windows/index-all.html).

Operating System Comments

Windows Server® 2003 Web Edition

Supported with Service Pack 1 and Service Pack 2 only

Windows Server® 2003 Standard Edition

Supported with Service Pack 1 and Service Pack 2 only

Windows Server® 2003 Enterprise Edition

Supported with Service Pack 1 and Service Pack 2 only

Windows Server® 2003 Standard x64 Edition

Windows Server® 2003 Enterprise x64 Edition

Windows Server® 2003 R2 Standard Edition

Windows Server® 2003 R2 Enterprise Edition

Windows Server® 2003 R2 Standard x64 Edition

Windows Server® 2003 R2 Enterprise x64 Edition

Windows Server® 2003 R2 Datacenter x64 Edition

Windows Storage Server® 2003

Windows Storage Server® 2003 x64 Editions

Page 34: wbem_wmi

Support information 34

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 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://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.6.0.

Before or during installation of Insight Providers version 2.6.0, you must install PSP 8.50 or later to obtain the following drivers:

• Storage and network drivers to support installed storage and network options

Page 35: wbem_wmi

Support information 35

• System Management Controller driver

• Lights-Out interface driver

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.

Page 36: wbem_wmi

Technical support 36

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.com/go/supportos).

HP contact information For the name of the nearest HP authorized reseller:

• See the Contact HP worldwide (in English) webpage (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 (http://welcome.hp.com/country/us/en/contact_us.html). To contact HP by phone:

o Call 1-800-HP-INVENT (1-800-474-6836). This service is available 24 hours a day, 7 days a week. For continuous quality improvement, calls may be recorded or monitored.

o If you have purchased a Care Pack (service upgrade), call 1-800-633-3600. For more information about Care Packs, refer to the HP website (http://www.hp.com/hps).

• In other locations, see the Contact HP worldwide (in English) webpage (http://welcome.hp.com/country/us/en/wwcontact.html).

Page 37: wbem_wmi

Acronyms and abbreviations 37

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

Page 38: wbem_wmi

Acronyms and abbreviations 38

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

Page 39: wbem_wmi

Index 39

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 documentation 31, 36 drivers 34

F

firewall 21 firewall settings, configuring 18, 21

H

hardware supported 34 HP SIM 8

I

Insight Providers, installation 6, 7, 8, 9 Insight Providers, integration with HP SIM 8, 23 Insight Providers, removing 12, 13 installation instructions 6, 7, 8, 9 integration with HP SIM 23 introduction 5

N

network options supported 34 new features 16

O

operating systems supported 33 overview, WBEM Providers 5

P

preinstallation, guidelines 6, 7, 8 prerequisites 34 PSPs, obtaining 34

R

references 36 refreshing data 16 remote access 10 required software 34 resources 31, 32, 36

S

scripted uninstallation 14, 15 scripting examples 32 scripting options 28 scripting, references for 32 scripts 28, 32 security 18 security considerations 10, 18, 19, 20 SMI-S (Storage Management Initiative

Specification) 5 SNMP agent data collection 17 SNMP agents 6, 11, 12, 13, 14, 15, 17, 34 SNMP Agents, uninstalling multiple remote

servers 13 SNMP Agents, uninstalling on single local server 12 SNMP Agents, uninstalling on single remote

server 12 Storage Management Initiative Specification (SMI-

S) 5 support 6, 33, 34, 36 support bundles, WMI 6 supported hardware 34 supported options 34 supported servers 34 System Management Homepage 16, 17

Index

Page 40: wbem_wmi

Index 40

System Management Homepage, changing data source 16

System Management Homepage, creating threshold settings 16

System Management Homepage, data collection 17 System Management Homepage, enabling Auto-

Refresh 16

T

technical support 36 thresholds, configuring 16

U

uninstalling 12, 13 uninstalling the SNMP Agents 11, 12, 13, 14, 15 uninstalling the SNMP Agents, multiple remote

servers 13 uninstalling the SNMP Agents, single local server 12 uninstalling the SNMP Agents, single remote

server 12 user access 10, 18, 19, 20

W

WBEM data collection 17 WBEM Providers, overview 5 website, HP Insight Management WBEM

Providers 6 websites 5, 30, 31, 36 Windows Management Instrumentation (WMI) 5 Windows Management Instrumentation Command-

line (WMIC) 32 Windows support bundles 6 WMI (Windows Management Instrumentation) 5 WMI Providers, architecture 23 WMI Providers, installation 6, 7, 8, 9 WMI support 5 WMIC (Windows Management Instrumentation

Command-line) 32