5. Optional: For each section, review the basic prerequisite properties outlined in
6. For each prerequisite property that you want to add, enter a name value pair
7. If a prerequisite property does not exist in the predefined categories, add the
Adding prerequisite properties
You can add basic prerequisite properties from the predefined categories for
prerequisite properties to configuration files. Alternatively, you can add custom
prerequisite properties.
About this task
Important: You must adhere to the formatting rules that govern the addition and
editing of prerequisite properties to a configuration file. If you do not, Prerequisite
Scanner cannot successfully run a scan for that prerequisite property.
category_name is the multicharacter code that represents the data type category
as outlined in Table 6 on page 15
category_value is the multicharacter code that represents an allowed value for
the category as outlined in Table 6 on page 15
Appendix C, "Prerequisite properties reference," on page 83 and determine
which prerequisite properties that you want to check.
with optional qualifiers as required. Ensure that you use the following format,
with only one prerequisite property on each line:
[prefix_identifier.]property_name[.suffix_identifier]=
[qualifier_name:qualifier_value]property_value
where:
v prefix_identifier is an identifier for a predefined category of prerequisite
properties as outlined in Table 3 on page 4. This prefix identifier is required
by some of the predefined categories.
v property_name is the name of the prerequisite property.
v suffix_identifier is an optional identifier for a subtype of prerequisite
properties as outlined in Table 4 on page 6.
v qualifier_name is an optional attribute for the prerequisite property. IBM
Prerequisite Scanner uses it to qualify the prerequisite property or type of
check to perform on the prerequisite property, as outlined in "Predefined
qualifiers for prerequisite properties" on page 8.
Note: You can have multiple qualifiers, each separated by a comma. The set
of qualifiers must be enclosed by [] square brackets.
v qualifier_value is the value for the optional attribute. Each qualifier and its
value must be delimited by a : colon.
v property_value is the value for the prerequisite property and it can be a string
or integer.
For example, the user predefined category of prerequisite properties has the
user prefix identifier. The prerequisite property for checking whether the
logged on user belongs to the Administrator user group is:
user.isAdmin=True
name for the custom prerequisite property, its value, and optional qualifiers.
You must then create the following files to check for and compare the custom
prerequisite property as required: a custom collector to collect the actual value
for the prerequisite property and a custom evaluator if the standard compare
functions cannot compare the actual and expected values.
Chapter 3. Extending Prerequisite Scanner
43
Need help?
Do you have a question about the Prerequisite Scanner and is the answer not in the manual?
Questions and answers