HP WBEM Services Software Developer's Kit for HP-UX Provider and Client Developer's Guide A.01
Provider Implementation
Packaging and Release
Chapter 484
• Executable binary (built as a shared library)
• Schema being instrumented and provider registration (installed
with either the cimmof command or a client application
The following directory is reserved for the required components listed
above:
/opt/wbem/providers/lib
Installation of the schema instrumented and provider registration are
the responsibility of the provider developer, and are normally performed
in the provider’s SD configure script.
The CIM Server will look in this directory for the provider shared library.
The provider installation should create a symbolic link in this directory
that points to the actual file location.
Other provider components, such as MOF files, other scripts and
binaries, configuration or database files, and other components may be
installed in any directory. To simplify system administration, however, it
is advisable to follow generally accepted conventions for file names and
locations, where appropriate.
Disable Existing Provider
When upgrading a provider on a system on which hp WBEM services is
running, it is necessary to first disable the existing provider. This is done
with the cimprovider command, described in the command's man page
and also in the section on testing providers. If there is no existing
provider that would be affected by this installation, or if HP WBEM
Services is either not installed or not running, this step is not necessary.
Move Files to Target Locations
Files should be copied to their final locations, and symbolic links created
as described above.
Update Schema and Register the Provider
As discussed in the section on Schema Design and Implementation, the
provider product must supply its own class definition(s), plus the
definitions of all superclasses, as these are not guaranteed to be present
when the provider is installed. Schema may be updated by using the
cimmof command on MOF files that are included in the installation