HP WBEM Services Version A.02.07 Release Notes, September 2009
Compatibility
Starting with the A.02.05 release, HP WBEM Services for HP-UX will support an option that
allows a WBEM Provider (i.e., the management instrumentation) to run as the user who issued
the management request. Prior to this release, all WBEM Providers executed in a privileged
context. With the release of HP WBEM Services A.02.05.02 for HP-UX 11i v3, WBEM Providers
will, by default, be invoked in the context of the user requesting an operation (i.e.,
“Run-As-Requestor”). This default setting can break backward compatibility for certain types
of Providers.
This means that existing Providers that run in the user context of the CIM Server may break. To
remedy this situation, developers have the following two alternatives:
Alternative 1:
To continue running their Provider in a privileged context, developers will need to explicitly
register their Provider to run in a “Privileged User” context. This is a configuration file change
and should not require a change to the Provider library. That is, developers will not be required
to recompile/relink their providers to continue running in a privileged context.
To register their Provider to run in a “Privileged User ” context, developers need to modify the
PG_ProviderModule instance definition in their Provider Registration mof as follows:
1. Change the InterfaceVersion from “2.1.0” to “2.5.0”
2. Add the new property UserContext = 4
Example using an updated PG_ProviderModule instance definition for the Operating System
Provider Module:
instance of PG_ProviderModule
{
Name = "OperatingSystemModule";
Vendor = "OpenPegasus";
Version = "2.0.0";
InterfaceType = "C++Default";
InterfaceVersion = "2.5.0";
Location = "OSProvider";
UserContext = 4;
};
Alternative 2:
To support running in the “Requestor” context, developers need to ensure that their Provider
has been written to allow multiple instances of the Provider to run at the same time (in different
user contexts). In some cases, the Provider may need to coordinate the actions of the Provider
instances. In cases where the Provider is simply a “pass-through” to a managed resource, no
coordination may be necessary.
In addition, providers running in the “Requestor” context must only perform privileged operations
if those operations are only expected/required to succeed when invoked by a user who already
has the necessary privileges.
Installing HP WBEM Services
You need to log in to the system as root (uid=0) to install the HP WBEM Services software.
Software is available in Software Depot (SD) format as a single SD depot. Before installing the
software, be sure your system meets the software and hardware requirements described in the
section titled “Compatibility Information and Installing Requirements.”
To install the software, download the product from http://software.hp.com. Copy the
downloaded depot file to a local directory on your system, then run the HP-UX swinstall
18 HP WBEM Services Version A.02.07 Release Notes