z/OS Common Information Model User's Guide
Previous topic | Next topic | Contents | Index | Contact z/OS | Library | PDF


CMPI provider development for z/OS

z/OS Common Information Model User's Guide
SC34-2671-00

CMPI provider development for z/OS

The system-specific management data for the CIM Schema and system-specific Schema extension classes are provided through management instrumentation. While some management instrumentation is already provided by z/OS CIM (see z/OS Management Instrumentation for CIM), it is also possible to develop additional management instrumentation for other z/OS resources which are not accessible through the existing z/OS management instrumentation.

You can implement management instrumentation by developing a provider. A provider is a dynamic load library that implements a given interface and contains the program code used by the CIM server to interact with the system resource described by a certain CIM class, for example CIM_Processor. Providers are registered with the CIM server for a defined CIM class, allowing the CIM server to route all client requests directed against this class to the provider for interacting with the resource. A provider logically acts as an extension of the CIM server for interfacing directly with the managed resources.

Providers are the de facto standard concept for developing management instrumentation, though this purpose of providers is not explicitly mentioned by the various CIM and WBEM standards available from the DMTF. The Common Manageability Programming Interface (CMPI) technical standard was defined by The Open Group to allow for developing providers independently from a specific CIM server implementation.

Figure 15 shows the CMPI provider interfaces:

Figure 15. CMPI provider interfaces CMPI provider interfaces

CMPI is a C-based programming interface for providers designed for binary compatibility. All management instrumentation included with the z/OS CIM server was developed following the CMPI standard. CMPI is the only supported provider programming interface for the z/OS CIM server. Documentation about the CMPI Technical Standard is available from The Open Group and is not repeated in any documentation available for z/OS. Developers of management instrumentation for z/OS need to be familiar with the CMPI and CIM/WBEM standards. The information contained here explains the specific aspects that need to be considered for developing CMPI providers for z/OS:

__   1.
Obtain the required header files 

To be able to develop a CMPI provider for z/OS, a set of C header files is required that define the CMPI interface. Due to legal implications with the OpenSource nature of these files, they are not provided together with z/OS CIM, but must be obtained from their original location at The Open Group instead.

Due to the CMPI interface design, you need not link a CMPI provider to any library of the z/OS CIM server. Only the header files are needed for developing a CMPI provider library.

See Obtaining the required header files for more information.

__   2.
Follow general aspects of developing a provider 

(see Following general aspects of developing a provider)

__   3.
Expose a provider initialization and function signatures 

(see Preparing provider initialization and function signatures)

__   4.
Consider security aspects 

(see Planning provider security)

__   5.
Convert EBCDIC provider data into UTF-8

(see Converting data to ASCII, EBCDIC and UTF-8)

__   6.
Follow the guidelines for installing third-party providers 

(see Provider installation)

__   7.
Register the provider with the CIM server 

(see Registering a provider with the CIM server)

__   8.
Optionally use the out-of-process support for providers 

(see Using the out-of-process support for providers)

Go to the previous page Go to the next page




Copyright IBM Corporation 1990, 2014