Adding Product Codes; Creating Custom Configuration Files - IBM Prerequisite Scanner User Manual

Table of Contents

Advertisement

Table 13. Checks and tasks before using a configuration file for UNIX systems (continued)
Check
For any new prerequisite properties, check whether
h
predefined collectors can collect the actual values for
the prerequisite properties.
For any new or edited prerequisite properties, check
h
whether evaluators can compare the expected and
actual values for the prerequisite property.
For any new or edited prerequisite properties, check
h
whether the code to call and run the collectors is in
the ips_root/UNIX_Linux/packageTest.sh script.
Ensure all files have been saved in the correct
h
directories:
v Configuration files, any custom collectors files, and
any custom evaluator files in the
ips_root/UNIX_Linux directory

Adding product codes

IBM Prerequisite Scanner provides a set of predefined product version codes in the
codename.cfg file. You can add product codes if the file does not contain them for
the product version, its supported platforms, and versions of the operating
systems.
Procedure
1. Open the ips_root/codename.cfg file.
2. Check whether the file already contains name value pairs for the product
3. If product code does not exist, add one and ensure that you use the correct

Creating custom configuration files

You can create custom configuration files from the sample configuration file if the
predefined configuration files do not meet your requirements for prerequisite
properties. Before you create the custom configuration file, ensure that you know
the prerequisite properties that you want to add and their expected values.
versions.
format as follows:
product_code=code_value
Restriction: IBM Tivoli Monitoring and Tivoli Composite Application Manager
have predefined product codes that Prerequisite Scanner considers as reserved.
These codes must not be used as Prerequisite Scanner product codes unless
they refer to their associated IBM Tivoli Monitoring and Tivoli Composite
Application Manager agents. For more information about the product codes,
see the ITM 6.X Product Codes Technote.
For example, to add a product code for IBM Tivoli Monitoring for Energy
Management on all Windows platforms, add the following line to the file:
MEA=IBM Tivoli Monitoring for Energy Management
Task
v If yes, perform the next check.
v If no, create custom collectors. For more
information, see "Creating custom collectors for
UNIX systems" on page 50.
v If yes, perform the next check.
v If no, create custom evaluators. For more
information, see "Creating custom evaluators for
UNIX systems" on page 57.
v If yes, perform the next check.
v If no, edit the master package test script. For more
information, see "Editing the package test script
for UNIX systems" on page 51.
Run the Prerequisite Scanner. For more information,
see Chapter 4, "Running Prerequisite Scanner," on
page 59.
Chapter 3. Extending Prerequisite Scanner
41

Advertisement

Table of Contents
loading

Table of Contents