HP WBEM Services Software Developer's Kit for HP-UX Provider and Client Developer's Guide A.01
Schema Design and Implementation
Schema Design
Chapter 344
Determine Qualifiers
Qualifiers are attached to classes, properties, and methods. Select
necessary and sufficient qualifiers for each. Particular qualifiers to
consider include:
• Association to indicate a class is an association;
• Description which should be used for all properties, methods, and
classes to describe their purpose;
• Version which is required to ensure clarity of which definition is
being used for a given class.
A list of all possible qualifiers is available for reference on the DMTF web
site.
STEP 7: Optimize
The final step before designing the provider itself is to "desk-test" the
draft schema and perform schema optimizations as required. Having the
released management client which will use the schema is ideal, but if one
is not available, several other options exist:
The wbemexec command is a simple client supplied with HP WBEM
Services for HP-UX that can be used to exercise all provider functions
(please refer to the wbemexec man page).
Key things to consider include:
1. Availability of the data to be displayed and methods to be invoked
2. Ease of accessing the required data (not too many association
traversals)
3. Performance of the client interaction
Considerations (1) and (2) would suggest that a non-inherited property
or method may need to be moved/copied from one class to another.
Consideration (2) is of particular interest when there are too many
interactions between client and provider, and the resultant latency
adversely impacts client performance. If it is necessary to make a copy of
a property in a second location within the schema to permit simpler
access, be sure that the data comes from the same underlying managed
resource so the data is kept consistent as viewed by the clients and
providers.