HP WBEM Services for HP-UX System Administrator Guide (5900-1624, April 2011)

1. The client connects with the HTTP server.
Any remote client, when sending a request, also sends a valid system login name and password
information to a system with HP WBEM Services that has the appropriate provider installed.
For information about login permissions, see Chapter 3 (page 33).
2. The CIM Server in HP WBEM Services uses its XML decoder to parse the XML data in the
request.
If an error occurs, the CIM Server returns an error message and stops processing the request.
The CIM Server accepts only valid CIM operations.
3. If a request is valid, the CIM Server connects with the CIM repository to validate the following
information:
a. Does the namespace exist?
If the request does not include a namespace, an error is reported and HP WBEM Services
does not process the request. Every request must include a valid namespace that is
registered in the CIM repository.
For example, a request for OS information can include the following namespace:
<LOCALNAMESPACEPATH>
<NAMESPACE NAME ="root"/>
<NAMESPACE NAME ="cimv2"/>
</LOCALNAMESPACEPATH>
b. Does the user have permission in this namespace?
If the HP WBEM Services property enableNamespaceAuthorization is set to true,
HP WBEM Services ensures the user is allowed to access this namespace.
c. Does the class exist?
HP WBEM Services looks up the class name given in the request.
For example, for a request on OS information, HP WBEM Services checks for the following:
<IPARAMVALUE NAME=ClassName>
<CLASSNAME NAME=PG_OperatingSystem/>
</IPARAMVALUE>
d. Does the resource have a registered provider?
If no provider is registered for this resource, HP WBEM Services returns an error to the
client.
For example, the provider for the osinfo client request is the Operating System Provider.
4. HP WBEM Services determines, from the provider registration, how to access the appropriate
shared library for the provider.
HP WBEM Services uses this information to invoke the appropriate method, and informs the
provider which user has sent the request. After receiving the request, the developers of the
provider can provide any additional user authorization that is required for performing the
action, and for returning a response to HP WBEM Services.
5. The CIM Server of HP WBEM Services receives the response from the provider and conveys
the response to the client.
Each client request receives only one response, even if CIM Server receives information from
more than one provider.
For example, a client might request HP WBEM Services for a list of all printers available with
a particular system. Several providers in the network might respond — one for each type of
printer. HP WBEM Services waits till all the providers respond and then combines all the
information from all the providers into one response and sends it to the client.
If no provider can be reached or no provider responds with the required information, HP
WBEM Services sends the following error to the client:
How HP WBEM Services works? 11