| United States-English |
|
|
|
![]() |
HP WBEM Services Software Developer's Kit for HP-UX Provider and Client Developer's Guide > Chapter 4 Provider ImplementationPackaging and Release |
|
Providers for HP WBEM Services for HP-UX are software products. They may be delivered through any vehicle suitable for the delivery of a software product intended for installation on HP-UX. The Software Distributor facility (SD) is particularly well suited for this purpose (SD is described on HP's web site at http://software.hp.com/products/SD_AT_HP/faqs/general.html). When appropriate, a provider may be packaged with the system component that it makes accessible through WBEM. For example, a peripheral device is generally shipped with the software drivers and management commands that make it usable. The WBEM provider for the device is ideally included in the software components that accompany the device. A provider product package contains software that will perform the provider installation, and the following product components:
Installation, upgrade and removal is done with HP WBEM Services for HP-UX running. The basic steps in a provider installation are:
Provider installation must deliver the following two types of information to the system (though provider implementations may additionally include other components not specifically required by HP WBEM Services for HP-UX):
The following directory is reserved for the required components listed above:
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. 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. Files should be copied to their final locations, and symbolic links created as described above. As discussed in the section on Chapter 3 “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 procedure, or by a client program that has been implemented specifically for this purpose. In either case, it is imperative that the schema update follow the “Rules for Updating Schema” described previously. The basic steps in upgrading a provider are:
In general, providers are installed while the CIM Server is running. Client requests will be denied while the provider is disabled. Please refer to the section on “Rules for Updating Schema” when it is necessary to modify the schema definition. Some provider upgrades may not modify supported class schema definitions but ALL provider upgrades must change the registration MOF since the provider version has changed. If a provider is implemented to operate with an upgraded schema, it may also be designed to function correctly if it is installed with a prior version of schema, but this is not required. The basic steps in removing (uninstalling) a provider are:
|
|||||||||||||||||||||||||||||||||||||||||||
|
|||||||||||||||