background image

ppread()

Reads the contents of a file to a scripting dictionary object, further splitting each
line in the file by the specified separator input parameter if that separator exists in
the line.

Purpose

This function reads each line of the file, removes any leading or trailing spaces,
and checks whether it contains the separator. If it contains the separator, it splits
the line by the separator, adding each piece as an item to the dictionary object;
otherwise, it adds the trimmed line to an item in the dictionary object. It returns an
array that contains the dictionary object as the first index.

Syntax

ppread(fileName, sep)

Input parameters

String

fileName

The name of the file to read into the dictionary object.

Character

sep

The character that represents the separator by which to split a line in the file.

Return values

Array

array(dic)

Returns an array with the dictionary object (

dic

) as its first index.

Example

Example to be provided.

readFile()

Reads each line of a file into an index entry of an array.

Purpose

This function opens the file and reads each line of the file into an index entry of
the array. It returns the array.

Syntax

readFile(fileName)

Input parameters

String

fileName

The name of the file to read into the array.

Return values

Array

fileContents

Returns the array with the contents of the file.

124

Prerequisite Scanner: User's Guide

Summary of Contents for Prerequisite Scanner

Page 1: ...Prerequisite Scanner Version 1 1 1 10 User s Guide ...

Page 2: ......

Page 3: ...Prerequisite Scanner Version 1 1 1 10 User s Guide ...

Page 4: ... edition applies to Version 1 1 1 10 of IBM Prerequisite Scanner and to all subsequent releases and modifications until otherwise indicated in new editions Copyright IBM Corporation 2009 2012 US Government Users Restricted Rights Use duplication or disclosure restricted by GSA ADP Schedule Contract with IBM Corp ...

Page 5: ...ystems 57 Chapter 4 Running Prerequisite Scanner 59 prereq_checker 59 Running Prerequisite Scanner from the command line 64 Common directory locations 66 Chapter 5 Troubleshooting Prerequisite Scanner 67 Troubleshooting on Windows systems 67 Troubleshooting on UNIX systems 69 Execution problems 71 Return codes 72 Appendix A Product codes reference 75 Appendix B Configuration files reference 79 App...

Page 6: ...hangeMG 135 AddMG 136 compare 136 cutdown 137 mes4path 138 mes4Path1 138 findOSInfo 139 telnetNFS 139 NFScheck 140 Appendix J Other functions for UNIX systems 141 formatSizeDisplay 142 versionCompare 142 checkHpux 144 checkLinux 144 checkSunOS 144 getValue 145 setValue 145 copyValue 145 getSystemId 146 getClosestExistingParentDir 146 parseDirParameter 147 printDirSize 147 Appendix K Logging utilit...

Page 7: ...systems 30 7 result txt file on UNIX systems 31 8 Prerequisite Scanner architecture and scanning process 32 9 Running the script and setting the detail parameter on UNIX systems 62 10 Running the script without setting the detail parameter on Windows systems 63 11 precheck log file with the debug data 68 12 precheck log file without debug data 69 13 prs debug file on UNIX systems 70 14 prs trc fil...

Page 8: ...vi Prerequisite Scanner User s Guide ...

Page 9: ...te properties 84 20 Autonomic Deployment Engine data properties 88 21 DB2 data properties 90 22 MS SQL Server data properties 90 23 Internet Explorer data properties 91 24 Network data properties 91 25 Oracle data properties 92 26 Operating system data properties 93 27 Installed software data properties 104 28 User data properties 104 29 Windows network data properties 105 30 UNIX network data pro...

Page 10: ...viii Prerequisite Scanner User s Guide ...

Page 11: ...e set of prerequisite checks supplied with the Scanner Prerequisite Scanner invokes the following types of scripts depending upon your platform v Windows VBScript and batch v UNIX shell Note You cannot run the UNIX scripts on Windows systems even if you have installed a UNIX like environment on the Windows machines for example Cygwin Prerequisite Scanner architecture IBM Prerequisite Scanner compr...

Page 12: ... value of a port number v A range or group of integers represented by using special characters as outlined in Table 1 Table 1 Special characters to represent types of ranges Special character Description Identifies a placeholder for multiple values For example ports can represent a superset of ports for both a database product ports DB and IBM WebSphere Application Server ports WAS Identifies that...

Page 13: ...rty_name is availablePorts v suffix_identifier are DB for available database ports WAS for the available WebSphere Application Server port and FTP for the available FTP port v property_value is 60000 60005 8080 or 21 os dir home dir home type permission 755 Checks whether the home directory has drwxr xr x permissions where v prefix_identifier is os for operating system prerequisite properties v pr...

Page 14: ...are installed This example is the prerequisite property for scanning the operating system registry for installed programs with locations installedSoftware list_of_installed_programs None User This category checks user prerequisites such as whether the logged on user had administrative rights or is the root user This example is the prerequisite property for checking whether the logged on user is a ...

Page 15: ...s category checks environment variable prerequisites such as whether the environment variable has been set This example is the prerequisite property for checking whether the class path contains the Derby JAR file env classpath derbyJAR False env Autonomic Deployment Engine This category checks Autonomic Deployment Engine prerequisites such as whether the Autonomic Deployment Engine is installed or...

Page 16: ...erver v ftp checks the FTP port network portsInUse app_type app_type All Use this naming convention for checking whether the port or range of ports is being listened to or is in use for the app_type application type String to represent app_type for example v DB2 checks ports for DB2 database server v WAS checks ports for WebSphere Application Server v ftp checks the FTP port Operating system categ...

Page 17: ...ary v 32 bit libXft so library v 32 bit libXtst so library v 64 bit libaio so library v 32 bit xlC rte XLC runtime level v 32 bit xlC aix50 rte XLC run time for AIX Version 5 3 v 32 bit xlC aix61 rte XLC run time for AIX Version 6 1 v AIX IOCP bos iocp rte library v bos loc iso en_us the ISO code fileset for the AIX base operating system regex str a regular expression with the input parameter str ...

Page 18: ...s IBM Prerequisite Scanner provides a set of basic qualifiers for some prerequisite properties in a predefined category Qualifiers represent attributes of the prerequisite property that Prerequisite Scanner uses to qualify the prerequisite property or type of check to perform on that prerequisite property For example you can have a prerequisite property for a file system You can qualify which chec...

Page 19: ...tegories of prerequisite properties Some prerequisite properties also use predefined subtypes to further categorize a prerequisite property Important You cannot use the predefined qualifiers with other predefined prerequisite properties Table 5 Predefined qualifiers Prerequisite property Platform Description Valid qualifiers and values Operating system category with predefined subtype os dir dir_n...

Page 20: ...e usr dir root usr ibm common acsi unit GB 200 String with the following qualifier format for the file system of a non root user dir non_root dir_path unit unit_name disk_space For example os space home dir non_root USERHOME acsi_HOST unit MB 200 String with the following qualifier format using only one qualifier dir dir_path disk_space MB For example os space home dir home sat 250MB Operating sys...

Page 21: ...for checking whether an unlimited number of processes can be run based on the following qualification attributes v type attribute to determine which additional limit to check for example the filedescriptorlimit checks the limit for the number of file descriptors that processes can open String with the following qualifier format type limit_name limit_value limited unlimited For example to check whe...

Page 22: ...roduct codes with each one identifying a product platform and version of the operating system as required For example the COD COK and COX product codes identify some of the supported operating systems and versions for IBM Tivoli Provisioning Manager COD Tivoli Provisioning Manager for AIX 6 1 COK Tivoli Provisioning Manager for HP UX COX Tivoli Provisioning Manager for Windows 2008 When you run th...

Page 23: ...ed by that product They are stored in the codename cfg file Any product that supports multiple platforms has multiple product codes with each one identifying a product platform and version of the operating system as required version is the 8 digit code to represent the version release modification and level with two digits for each part of the code for example 7 3 21 is 07032100 v Group prerequisi...

Page 24: ...egory_value For example to specify prerequisite properties that apply to a machine running 32 bit SUSE Linux Enterprise Server version 11 Itanium operating system OSType SUSELinuxEnterpriseServer11 OSArch 64 bit CPU Itanium For all platforms you can use the logical OR symbol to use either or data type categories For example to have any of the environment variables set to True the combination of se...

Page 25: ...Type LINUX v RedHat Indicates that all properties in this category are common to all RedHat Linux operating system variants for example OSType RedHat v RedHatEnterpriseLinuxServer Indicates that all properties in this category are common to all RedHat Enterprise Linux Server operating system variants for example OSType RedHatEnterpriseLinuxServer v SUSE Indicates that all properties in this catego...

Page 26: ...dows XP v Windows Vista Workstation Version 6 0 Indicates that all properties in this category are common to all Windows Vista operating system variants for example OSType Windows Vista v Windows 7 Workstation Version 6 1 Indicates that all properties in this category are common to all Windows 7 operating system variants for example OSType Windows 7 v Windows 2000 Server Version 5 0 Indicates that...

Page 27: ...or example OSArch 32 bit v 64 bit for example OSArch 64 bit CPU The generic processor family name Itanium for example CPU Itanium CPUArch The architecture for the processor Architecture for 64 bit PowerPC and Power Architecture processors that is v ppc4 v POWER4 v POWER5 v POWER6 v POWER7 For example CPUArch ppc4 EnvVar_Name The environment variable for a product Adheres to the rules of that produ...

Page 28: ...r root usr ibm common acsi unit MB 200 os space home dir non_root USERHOME acsi_HOST unit MB 200 os space tmp 30MB env classpath derbyJAR False network pingSelf True Properties common to all Linux platforms OSType LINUX os shell default bash os SELinux source Command Disabled os package rpm rpm Properties common to Linux platforms with the ppc64 CPU architecture OSType LINUX CPUArch ppc64 os packa...

Page 29: ... to AIX 5 3 0 0 and if the environment variables TPAE_DB_FEATURE or TPAE_DIR_FEATURE are set to True OSType AIX5 3 0 0 TPAE_DB_FEATURE True TPAE_DIR_FEATURE True os lib xlC aix50 rte xlC aix50 rte 9 0 0 8 When you run Prerequisite Scanner it scans and checks for different prerequisite properties depending upon the operating system and version that is installed on the machine For example Table 7 on...

Page 30: ...Each collector can obtain data for one or many prerequisite properties For each prerequisite property in a VBScript collector the collector writes the name of the prerequisite property and its actual value as standard output Prerequisite Scanner writes this standard output to a temporary text file that is localhost_hw txt You can create custom common VBScript collectors to collect data for prerequ...

Page 31: ...ite property is as follows WScript Echo property_name var_for_value property_name that represents the prerequisite property as written in the configuration file for example env tcrhome var_for_value that is the VBScript variable for the actual value that the collector obtains for the prerequisite property For example the following standard output writes the prerequisite property for the Tivoli Com...

Page 32: ...perty echo Available If the scan returns a valid check for the prerequisite property v Code to call and run the collector in the ips_root UNIX_Linux packageTest sh script res echo line grep installedSoftware TCR version if res then ExpValue echo res cut d f2 echo wrlTrace Starting installedSoftware TCR version tmp prs check echo wrlTrace Executing installedSoftware TCR version tmp prs check echo w...

Page 33: ...or greater than the actual value for the prerequisite property FAIL when the expected value for the prerequisite property does not equal the actual value for the prerequisite property Output formats IBM Prerequisite Scanner produces output for the following screen and human readable file formats output to the command line interface debugging and trace log files and a simple text file for the resul...

Page 34: ...r was run v The name of the products or components for which the prerequisites checks were run v For each prerequisite property the name of the prerequisite property checked the PASS or FAIL result the actual value and expected value v For all components the name of the general prerequisite property checked the PASS or FAIL result the actual value and the expected value v The overall PASS or FAIL ...

Page 35: ...ou do not set the detail parameter the Scanner displays only the PASS or FAIL result on the screen Figure 1 Output to the command line interface on Windows systems Chapter 1 Prerequisite Scanner overview 25 ...

Page 36: ... Windows systems in the ALL COMPONENTS section The general prerequisite properties are as follows v Total amount of physical memory that is currently available in the target environment that is Memory v Disk space of the file systems for the following prerequisite properties os space home os space opt os space tmp os space usr os space var Note If opt usr and var have not been defined as file syst...

Page 37: ...d debugging log file output on UNIX systems When you run the Prerequisite Scanner script and set the optional debug parameter Prerequisite Scanner outputs detailed processing information warning and error messages and the scan results in the ips_output_dir temp prs debug file Figure 3 precheck log file Chapter 1 Prerequisite Scanner overview 27 ...

Page 38: ...equisite Scanner script and set the optional trace parameter Prerequisite Scanner outputs trace information in the ips_output_dirtemp prs trc file Figure 4 prs debug file on UNIX systems 28 Prerequisite Scanner User s Guide ...

Page 39: ... outputs detailed scan results in the ips_output_dir result txt file It saves the results to the text file regardless of whether you set the detail parameter Figure 5 prs trc file on UNIX systems Chapter 1 Prerequisite Scanner overview 29 ...

Page 40: ...Figure 6 result txt file on Windows systems 30 Prerequisite Scanner User s Guide ...

Page 41: ...hecklist to troubleshoot errors you might encounter when you runPrerequisite Scanner Scanning process When you run IBM Prerequisite Scanner it performs a set of tasks in each stage of the scanning process The user opens a command line interface and runs the Prerequisite Scanner script with the set of input parameters including a product code Figure 7 result txt file on UNIX systems Chapter 1 Prere...

Page 42: ...er automatically detects the operating system of the machine 4 The Scanner verifies whether the actual operating system of the machine is a supported operating system It uses one of the following methods v Product code file The Scanner checks the actual operating system against the expected supported operating system listed for the product code in the codename cfg file v Section title in the confi...

Page 43: ...file that it finds in the ips_root Windows UNIX_Linux directory 7 The Scanner reads the prerequisite properties from the configuration file and analyzes the actual and expected values of the prerequisite properties for the prerequisite checks It uses the Prerequisite Scanner evaluators where necessary 8 The Scanner outputs the results of the scan to the command line interface results text file and...

Page 44: ...names Tivoli Asset Discovery for Distributed TAD bat TAD sh Tivoli License Compliance Manager LCM bat LCM sh Tivoli Common Reporting TCR bat TCR sh Ability to determine success or failure of a scan based on return codes Prerequisite Scanner generates returns codes dependent on the results of the scan and whether it must exit because of errors See Return codes on page 72 Deprecated features in this...

Page 45: ... prerequisite property does not exist in the configuration file See Output formats 24794 On Windows platforms only Prerequisite Scanner incorrectly displays 0 MB in the Expected Result value for os space dir_name or Memory prerequisite properties in the ALL COMPONENTS section of the output even if these prerequisite properties do not exist in the configuration file This defect has been resolved by...

Page 46: ...36 Prerequisite Scanner User s Guide ...

Page 47: ...ty collector can function correctly UNIX v Bash is installed so that the Prerequisite Scanner UNIX collectors can function correctly v For non root users the location of the mount swapinfo and psrinfo commands must be set in the PATH environment variable so that the commands are available to Prerequisite Scanner The commands are in the usr sbin directory for example set the PATH environment variab...

Page 48: ...8 On the Select fixes page select the package and click Continue 9 On the Download option page select the download option and click Download now 10 Extract the contents of the compressed files to your preferred location as specified by ips_root What to do next Ensure that you check your product s installation documentation or Technotes for any additional steps that must be performed before running...

Page 49: ...m Table 12 Checks and tasks before using a configuration file for Windows systems Check Task h Check whether the product its supported operating systems and versions of the operating system are listed in the codename cfg file v If yes perform the next check v If no add a product code for the product individual operating system and the optional operating system version to the file For more informat...

Page 50: ...ou run the IBM Prerequisite Scanner These checks determine whether you can edit and use existing configuration files or you must extend Prerequisite Scanner Table 13 provides a list of required checks and tasks to perform Table 13 Checks and tasks before using a configuration file for UNIX systems Check Task h Check whether the product is listed in the codename cfg file v If yes perform the next c...

Page 51: ...M 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 versions 3 If product code does ...

Page 52: ...t of the code for example 7 3 21 is 07032100 3 Review the basic prerequisite properties outlined in Appendix C Prerequisite properties reference on page 83 and determine which prerequisite properties that you want to check 4 Optional Add a section and ensure that you use the following naming convention for the section title v Single predefined data type category category_name category_value For ex...

Page 53: ...iers 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 pred...

Page 54: ...can specify values for the dir and unit qualifiers Add the following prerequisite properties to the file os space usr dir root usr ibm common acsi unit GB 2 os space home dir non_root USERHOME acsi_HOST unit MB 200 Important You can use the predefined qualifiers only with specific predefined prerequisite properties as outlined in Table 5 on page 9 4 If a prerequisite property does not exist in the...

Page 55: ... For example the Disk prerequisite property expects a numeric format with either the MB or GB unit If you want to check the available disk space in terabytes TB you must extend the compare API to support TB comparisons You must also edit the Disk prerequisite property in the relevant configuration files Check the predefined qualifiers and valid values for the prerequisite property as outlined in P...

Page 56: ...es v Appendix E Common functions for Windows systems on page 113 v Appendix G File utility sub routines for Windows systems on page 129 v Appendix F Logging utility sub routines for Windows systems on page 127 v Appendix H Other common functions and sub routines for Windows systems on page 131 Determine whether the collector must check that the prerequisite property exists and if it does what othe...

Page 57: ...nvironmentStrings PATH Set objRegEx new RegExp objRegEx Pattern C Program Files IBM Java60 jre bin objRegEx IgnoreCase True objRegEx Global True Set matches objRegEx Execute path WScript Echo env path jre 38 matches Count 0 To check the version of Tivoli Directory Integrator installed where the prerequisite property name is installedSoftware TDI version strComputer strKeyPath SOFTWARE Microsoft Wi...

Page 58: ...v Check the available disk space for a directory v Check whether a product is installed v Check what version of the product is installed Procedure 1 Create a VBScript file Save the file in the ips_root Windows directory with a variant of the following file naming convention product_code _version vbs where v product_code It is the variable to represent a product code on either Windows or UNIX syste...

Page 59: ... Arguments 0 sInstallPath InstallDir Wscript Echo installation path 38 installPath set fso CreateObject Scripting FileSystemObject getValue fso sInstallPath installPath Common sub routine Sub getValue fso sKey drvPath Wscript Echo getValue 38 skey 38 38 drvPath 38 If fso driveExists fso getDriveName drvPath then Set disk fso GetDrive fso getDriveName drvPath Value returned is in bytes Convert to M...

Page 60: ...uct is installed v Check whether the available disk space for a mounted file system If you want to use subtypes suffix_identifier and further categorize a prerequisite property by application utility or service subtype you can create a common collector Pass the differentiator for the suffix_identifier subtype that is differentiator_suffix_identifier to its collector For example os package is the c...

Page 61: ...ageTest sh script to call and run the custom collector 7 Create a custom evaluator only if the custom collector returns values other than boolean values Editing the package test script for UNIX systems You can update the packageTest sh script file to call custom collectors on UNIX systems Before you begin Ensure that you know the names of the collectors associated with predefined prerequisite prop...

Page 62: ...ass the differentiator_suffix_identifier differentiator for the subtype to the custom collector echo ss prefix_identifier property_name suffix_identifier differentiator_suffix_identifier tmp prs check In the example echo ss env path jar tmp prs check Note Examples of differentiators for the script_name subtype for the os file script_name prerequisite properties are the paths to the scripts that ar...

Page 63: ...ctual and expected values for the following data types a generic number size in MBs or GBs processor speed in MHz or GHz boolean value or a string Create only a custom evaluator if the passOrFail function cannot be used Procedure 1 Create a VBScript file Save the file in the ips_root Windows directory with a variant of the following file naming convention prefix_identifier property_name suffix_ide...

Page 64: ...pected value if cmp 0 or cmp 1 Then tdiVersionCompare PASS else tdiVersionCompare FAIL end if elseif StrComp Right expect 1 0 Then Version must be less than or equal to expected value if cmp 0 or cmp 1 Then tdiVersionCompare PASS else tdiVersionCompare FAIL end if elseif cmp 0 then tdiVersionCompare PASS else tdiVersionCompare FAIL end if end function Generic function for comparing 2 version strin...

Page 65: ...ver2 Then versionCompare 1 exit function end if Dim ver1Parts ver2Parts Versions are not empty Break into parts and compare numbers ver1Parts Split ver1 ver2Parts Split ver2 Dim v1Size v2Size v1Size ubound ver1Parts v2Size ubound ver2Parts If last version part is treat all missing parts as so 2 matches 2 1 3 for example if v1Size v2Size Then Redim Preserve ver2Parts v1Size if ver2Parts v2Size Then...

Page 66: ... not v2Str UNASSIGNED Then if IsEmpty v1Str Then v1Str 0 end if if IsEmpty v2Str Then v2Str 0 End if WScript echo Comparing as strings 38 v1Str 38 38 v2Str Compare as Strings if either part could not be converted to a number if not v1Str and not v2Str Then if not v1Str v2Str Then versionCompare StrComp v1Str v2Str exit function end if end if else WScript echo Comparing as numbers 38 v1 38 38 v2 if...

Page 67: ...aluators for any collector that returns boolean values Procedure 1 Create a shell file Save the file in the ips_root UNIX_Linux directory with a variant of the following file naming convention prefix_identifier property_name suffix_identifier _compare sh where v prefix_identifier is an identifier for a predefined category of prerequisite properties as outlined in Table 3 on page 4 This prefix iden...

Page 68: ...58 Prerequisite Scanner User s Guide ...

Page 69: ...meter to the left of the separator or the parameter to the right of the separator but not both Encloses a set of mutually exclusive parameter separated by prereq_checker The prereq_checker script runs the IBM Prerequisite Scanner and checks for prerequisites based on the set of parameters that you specify when you run the script Syntax prereq_checker bat sh Product_Code Product_Version Product_Cod...

Page 70: ...100 Product_Version is an optional parameter If you do not set it the Prerequisite Scanner checks the latest available version You can set one or many Product_Code parameters with the optional Product_Version parameter each separated by a comma Important When you set more than one Product_Code parameter with the optional Product_Version parameter enclose the parameters in quotation marks If you do...

Page 71: ... result the actual value and expected value v The overall PASS or FAIL result Prerequisite Scanner also saves these results to the ips_output_dir result txt file It saves the results to the text file regardless of whether you set the detail parameter Chapter 4 Running Prerequisite Scanner 61 ...

Page 72: ...et the detail parameter the Scanner displays only the PASS or FAIL result in the command line interface Figure 9 Running the script and setting the detail parameter on UNIX systems 62 Prerequisite Scanner User s Guide ...

Page 73: ...aves the files PATH product_root This optional parameter indicates the installation directories for the products Important On Windows do not set the path to a drive letter only that is C Ensure that you set a valid path If you do not set the path parameter the Scanner checks the default installation directories for IBM Tivoli products v On UNIX systems opt ibm itm v On Windows systems C IBM itm p ...

Page 74: ...d the scan results in the log file It is the ips_output_dir prs debug file on UNIX systems and the ips_output_dir precheck log file on Windows systems Important Debugging the Scanner is turned off by default trace UNIX systems only This optional parameter indicates that you want to turn on trace logging while running the Prerequisite Scanner When you run the Prerequisite Scanner script and set the...

Page 75: ...ows 2003 and 2008 using product codes COX and COY prereq_checker bat COX COY 07200000 detail PATH D ibm tivoli p SERVER IP PIPE mytems 1234 The following example runs Prerequisite Scanner for Tivoli zEnterprise Monitoring Agent using product code KZE It also sets the location of the results and log files to ips_output_dir by using the optional outputDir parameter Important You must use the outputD...

Page 76: ...ctory ips_output_dir describes the location where the scan results and log files for Prerequisite Scanner are saved This location can be specified by using the outputDir input parameter when you run the Scanner If you do not set this parameter the default output location is ips_root Note Prerequisite Scanner creates temporary files during its execution but these files are deleted before the Scanne...

Page 77: ... file by default It contains detailed information with each step and function that the Scanner performs in sequence The file also contains timestamps including start and end times of each function and step You can debug and review the log file to determine where and when the error occurred Prerequisite Scanner outputs processing information warning and error messages and the scan results in the ip...

Page 78: ...Figure 11 precheck log file with the debug data 68 Prerequisite Scanner User s Guide ...

Page 79: ...cript and set the optional debug parameter Prerequisite Scanner outputs detailed processing information warning and error messages and the scan results in the ips_output_dir temp prs debug file It contains detailed information with each step and function that the Scanner performs in sequence The file also contains timestamps including start and end times of each function and step The ips_output_di...

Page 80: ...arameter Prerequisite Scanner outputs trace information in the ips_output_dir temp prs trc file It contains information with each function that the Scanner performs in sequence The file also contains timestamps including start and end times of each function Figure 13 prs debug file on UNIX systems 70 Prerequisite Scanner User s Guide ...

Page 81: ...have write permissions the following error message is written to the command line interface ERROR Cannot create files in output directory ips_output_dir Exit h Before you run Prerequisite Scanner ensure that disk to which you want to run Prerequisite Scanner and save the results to the output directory is not full otherwise the following error message is written to the command line interface ERROR...

Page 82: ...eturn code Description 0 Returns 0 when Prerequisite Scanner runs successfully and all scan results are PASS 1 Returns 1 when Prerequisite Scanner runs successfully but one or many prerequisite checks return FAIL 2 Returns 2 when Prerequisite Scanner does not run successfully and must exit because of an error categorized as follows v Script usage errors v Collector errors v Other errors Script usa...

Page 83: ...not execute correctly Other errors Prerequisite Scanner can exit because the user does not have write permission to the ips_output_dir output directory Related concepts IBM Prerequisite Scanner produces output for the following screen and human readable file formats output to the command line interface debugging and trace log files and a simple text file for the results Chapter 5 Troubleshooting P...

Page 84: ...74 Prerequisite Scanner User s Guide ...

Page 85: ...mic Deployment Engine BSM All Tivoli Business Service Manager CDB All Tivoli Composite Application Manager ITCAM for Applications DB2 COA UNIX Tivoli Provisioning Manager for UNIX COB AIX Tivoli Provisioning Manager for AIX COC AIX Tivoli Provisioning Manager for AIX V5 3 0 0 64 bit COD AIX Tivoli Provisioning Manager for AIX 6 1 COE Linux Tivoli Provisioning Manager for Linux COF Linux Tivoli Pro...

Page 86: ...ng System Agent for Windows UNIX Windows OS monitoring Agent for UNIX KOR Windows Tivoli Monitoring Agent for Oracle KSY Windows Summarization and Pruning Agent UNIX Summarization and Pruning Agent for UNIX KUD Windows Tivoli Monitoring Agent for DB2 UNIX Tivoli Monitoring Agent for DB2 KTO All Tivoli Composite Application Manager ITCAM for Transactions Transaction Reporter KTU All Tivoli Composit...

Page 87: ... Netcool OMNIbus desktop component NOS All Tivoli Netcool OMNIbus server components PAE All Tivoli Process Automation Engine TAD Windows Tivoli Asset Discovery for Distributed UNIX Tivoli Asset Discovery for Distributed for UNIX TCR All Tivoli Common Reporting TPM All Tivoli Provisioning Manager Appendix A Product codes reference 77 ...

Page 88: ...78 Prerequisite Scanner User s Guide ...

Page 89: ... 5 x86 64 bit COH_07200000 cfg Linux Tivoli Provisioning Manager Version 7 2 for Red Hat Enterprise Linux 5 System z 64 bit COI_07200000 cfg Linux Tivoli Provisioning Manager Version 7 2 for SUSE 10 COJ_07200000 cfg Solaris Tivoli Provisioning Manager Version 7 2 for Solaris COK_07200000 cfg HP UX Tivoli Provisioning Manager Version 7 2 for HP UX COL_07200000 cfg Linux Tivoli Provisioning Manager ...

Page 90: ...indows Tivoli Monitoring Agent for Oracle Version 6 2 2 KSY_06200000 cfg Windows Summarization and Pruning Agent Version 6 2 KSY_06210000 cfg All Summarization and Pruning Agent Version 6 2 1 KSY_06220000 cfg All Summarization and Pruning Agent Version 6 2 2 KTO_07200000 cfg UNIX Tivoli Composite Application Manager ITCAM for Transactions Transaction Reporter Version 7 2 KTO_07200200 cfg Windows T...

Page 91: ...3 NCI_06100000 cfg All Tivoli Netcool Impact Version 6 1 NOC_07310000 cfg All Tivoli Netcool OMNIbus server components and desktop component Version 7 3 1 NOD_07310000 cfg All Tivoli Netcool OMNIbus desktop component Version 7 3 1 NOS_07310000 cfg All Tivoli Netcool OMNIbus server components Version 7 3 1 PAE_07500000 cfg All Tivoli Process Automation Engine TAD_07200000 cfg All Tivoli Asset Disco...

Page 92: ...82 Prerequisite Scanner User s Guide ...

Page 93: ...root user user User data properties on page 104 Operating system The operating system data properties check operating system prerequisites such as version architecture total memory available memory and total physical memory os Operating system data properties on page 93 Connectivity The connectivity data properties check connectivity prerequisites such as whether Telnet is running and to which IP ...

Page 94: ...nt variable has been set env Common data properties The common data properties check common prerequisites such as CPU speed RAM disk and temporary space For Windows systems it uses the primary IBM Prerequisite Scanner script For UNIX systems it uses the primary Prerequisite Scanner script and the common collector ips_root Unix_Linux common sh Table 19 outlines the common data prerequisite properti...

Page 95: ...type of the database server for example unknown DBTypeDetails All The types of database server installed on the machine For Oracle on UNIX systems only The collector expects the ORACLE_BASE and ORACLE_HOME environment variables to be set in the HOME profile file for example export ORACLE_BASE home oracle app oracle product 11 2 0 export ORACLE_HOME home oracle app oracle product 11 2 0 dbhome_1 wh...

Page 96: ..._space For example Disk dir C Program Files IBM SQLLIB unit MB 1431 v Numeric format in MBs or GBs disk_spaceMB GB For example Disk 250MB Disk UNIX The amount of free disk space Numeric format in GBs or MBs for example 2GB intel cpu All The CPU speed for the Intel processor Numeric format in MHz or GHz for example 2GHz Memory All The total amount of physical memory that is currently available on t...

Page 97: ...Linux Enterprise Server 10 SuSE Linux Enterprise Server 9 AIX V6 1 AIX V5 3 Restriction On Windows systems the wildcard is only supported within a regular expression v regex str a regular expression with the input parameter str representing the search pattern for the version for example regex Windows 200 3 8 Checks whether the actual OS matches any version from Windows 2003 to Windows 2008 regex R...

Page 98: ...ment Engine data properties check Autonomic Deployment Engine prerequisites such as the installation unit For Windows systems only it uses the Autonomic Deployment Engine collectors in the ips_root lib directory with the de prefix in their file names For UNIX systems only it uses the UNIX Autonomic Deployment Engine collectors in the ips_root UNIX_Linux directory with the de prefix in their file n...

Page 99: ... the path with the TIPHOME environment variable the search pattern is regex C00DA95AFD9B7E0397153CD944B5A255 6 1 0 2100 SIU eWAS TIPHOME v Multiple regex str arguments to represent multiple checks for example regex C37109911C8A11D98E1700061BDE7AEA regex B24209911C8A11D98E1700061BDE7AEA Connectivity data properties The connectivity data properties check connectivity prerequisites such as whether Te...

Page 100: ... version of MS SQL client that is currently installed on the machine Expected string value can be multiple versions separated by a comma for example 10 50 1600 1 Note The values can use the special characters as outlined in Table 1 on page 2 mssql Server Windows Checks the version of MS SQL Server that is currently installed on the machine Expected string value can be multiple versions separated b...

Page 101: ...t or range of ports is available for the app_type application type Check which ports are not being listened to for example v network availablePorts DB2 checks ports for DB2 database server where app_type is DB2 v network availablePorts WAS checks ports for WebSphere Application Server where app_type is WAS Positive integers for example v network availablePorts DB2 50000 50005 v network availablePo...

Page 102: ...ir file names Table 25 outlines the Oracle prerequisite properties This category of prerequisite properties require the oracle prefix identifier Table 25 Oracle data properties Prerequisite property Platform Description Valid values ORACLE Version Windows Checks the version of Oracle that is currently installed on the machine Expected string value can be multiple versions separated by a comma for ...

Page 103: ...omount features works Boolean value for example True os autoUpdateEnabled Windows Checks whether Windows Update is automatically enabled returns True if enabled Boolean value for example True os availableMemory Windows Checks the amount of virtual memory that is currently available but unused by the operating system Numeric format in MBs for example 900MB os dir dir_name UNIX Checks the dir_name f...

Page 104: ...in MB or GBs for example 4GB Note The values can use the special characters as outlined in Table 1 on page 2 os ftpusers UNIX Checks whether the root user is listed in the ftpusers file that determines the users for whom ftp login privileges are no allowed returns Available if the user is not listed Available Unavailable os gnu tar UNIX Checks whether the GNU tar utility is available on the machin...

Page 105: ...nel or unrestricted mode 32 bit 64 bit os kernelParameters Linux Checks whether the kernel parameters are available for the operating system Available Unavailable os kernelversion Linux Checks the release of the kernel for Linux operating systems Numeric format for example 2 6 os largeFile UNIX Checks for large file support Boolean value for example True os ldLibPath UNIX Checks whether the LD_LIB...

Page 106: ...0 rte XLC runtime for AIX Version 5 3 v bos loc iso en_us for the ISO code fileset regex str a regular expression with the input parameter str representing the search pattern for the library name for example regex libgcc Checks whether a version of the GCC low level runtime library libgcc for that operating system exists Note The values can use the special characters as outlined in Table 1 on page...

Page 107: ...kage_name for example in bold v bash shell v expect for the TCL extension package v libgcc for GCC low level runtime package v openssh for the Open Source secure shell v openssl for the Open Source toolkit for SSL TLS v perl for the Perl scripting package v rpm for the RPM or RPM Build packages v telnet for the Telnet package v wget for the GNU file retrieval package String for example v bash 3 2 ...

Page 108: ...s disabled or has a permissive status on either Red Hat or SUSE operating system os SELinux source Command Disabled v String without a qualifier where the operating system is a generic Linux variant os SELinux Disabled os servicePack All Checks the current version of the service pack that is installed Numeric format with majorVersion minorVersion or the majorVersion version only For example to che...

Page 109: ... there is enough available disk space for the specified file system of the non root user Use this prerequisite property variant when you are logged in as a non root user and you want to explicitly check the specified path for the file system Note The non root user should be the same user that installs the product on the target system v os space dir_name_root that checks whether there is enough ava...

Page 110: ... var Note You cannot use this variant twice for the same file system but different user types in a single configuration file Use a combination of the os space dir_name_nonroot and os space dir_name_root variants String with the following qualifier format for the file system of a root user dir root dir_path unit unit_name disk_space For example os space usr dir root usr ibm common acsi unit GB 200 ...

Page 111: ...t dir_path disk_spaceGB MB For example os space opt_nonroot dir non_root opt IBM ITM 1024MB os space dir_name_root UNIX Checks the available disk space for the dir_name file system of the root user based on one or more of the following qualification attributes v dir attribute to determine which path to the file system to check v unit attribute to determine which units for disk space to use dir_nam...

Page 112: ...octal digits Number to represent the octal_digits octal digits for the access permissions For example to check whether the temp directory has drwxrwxrwt permissions with the sticky bit permission is enabled 1777 As another example to check whether the temp directory has drwxrwxrwx permissions excluding the sticky bit 777 os totalMemory Windows The total amount of virtual memory to which the operat...

Page 113: ...it type filedescriptorlimit 8192 unlimited Valid types of limits to check where limit_name represents the type of limit are as follows ALL checks all limits corefilesizelimit datasegmentlimit filedescriptorlimit filesizelimit hardlimit processlimit maxmemorysizelimit maxprocesseslimit stacksizelimit threadlimit v Available Unavailable to specify whether the relevant domains have limit sets in the ...

Page 114: ...returns 0 0 if no version installed Positive integer for example 1 5 Note The values can use the special characters as outlined in Table 1 on page 2 gskit7Version Windows Checks whether gskit Version 7 is installed on the machine returns 0 0 if version 7 is not installed Positive integer for example 7 0 gskit8Version Windows Checks whether gskit Version 8 is installed on the machine returns 0 0 if...

Page 115: ...cal computer name has been resolved by using DCHP and whether it can be pinged returns True if it can be Boolean value for example True UNIX network data properties The UNIX network data properties check network prerequisites such as whether NetBIOS and DHCP are enabled on the machine and pinging properties It uses the network collectors in the ips_root UNIX_Linux directory Table 30 outlines the n...

Page 116: ...106 Prerequisite Scanner User s Guide ...

Page 117: ...ork fqdn network fqdn None network pingSelf network pingSelf None network port network availablePorts network portsInUse ports oracle Client oracle Client None oracle Client Location oracle Client Location None oracle Server oracle Server None oracle Server Location oracle Server Location None os architecture os architecture 32 bit 64 bit os automount os automount None os cmd os lookup nslookup os...

Page 118: ...library v 64 bit libstdc so library v 32 bit libXft so library v 32 bit libXtst so library v 64 bit libaio so library v 32 bit xlC rte XLC runtime level v 32 bit xlC aix50 rte XLC runtime for AIX Version 5 3 v 32 bit xlC aix61 rte XLC runtime for AIX Version 6 1 v AIX IOCP bos iocp rte library v bos loc iso en_us the ISO code fileset for the AIX base operating system v regex str a regular expressi...

Page 119: ...low level runtime package v openssh for the Open Source secure shell v openssl for the Open Source toolkit for SSL TLS v perl for the Perl scripting package v rpm for the RPM or RPM Build packages v telnet for the Telnet package v wget for the GNU file retrieval package package_name for example where package_name is rpm os package rpm os pagesize os pagesize None os RAMSize os RAMSize None os SELi...

Page 120: ...th unit unit_name disk_space For example os space usr dir root usr ibm common acsi unit GB 200 String with the following qualifier format for the file system of a non root user dir non_root dir_path unit unit_name disk_space For example os space home dir non_root USERHOME acsi_HOST unit MB 200 String with the following qualifier format using only one qualifier dir dir_path disk_space MB For exampl...

Page 121: ...sses os ulimit type filedescriptorlimit 8192 unlimited Valid types of limits to check where limit_name represents the type of limit are as follows v ALL checks all limits v corefilesizelimit v datasegmentlimit v filedescriptorlimit v filesizelimit v hardlimit v processlimit v maxmemorysizelimit v maxprocesseslimit v stacksizelimit v threadlimit os umask os umask None os userLimits os userLimits No...

Page 122: ...112 Prerequisite Scanner User s Guide ...

Page 123: ...nd s execution filterCommand on page 117 Executes the specified command and returns the lines from the result of the command that match the specified pattern filterFile on page 118 Reads and filters the contents of a file to a scripting dictionary object findNewest on page 118 Finds the latest configuration file findSuitableFile on page 119 Finds the relevant configuration file for a product and v...

Page 124: ...rther splitting each line in the file by the specified separator input parameter if that separator exists in the line readFile on page 124 Reads each line of a file into an index entry of an array unitMGTOG on page 125 Adds together the contents of an array to obtain the total number of MBs varToString on page 125 Creates a string representation of a variable The variable to check can be a string ...

Page 125: ...turned value from the functions is null and if either value is null the returned value of the function is 0MB and the function exits It checks for MB or GB in either value converts to the MBs if required It calculates the difference between the final formatted values and returns the result Syntax bigthan expect real Input parameters String expect The expected value of the prerequisite property Str...

Page 126: ...object Purpose This function takes the CheckItem object that is passed as an input parameter and returns a string representation that comprises the values of different properties for that instance of the CheckItem object Syntax checkItemToString var Input parameters CheckItem var Contains the instance of the CheckItem object Return values String result Returns a string representation for the prope...

Page 127: ...lues String result Returns a string that contains the result from that command s execution filterCommand Executes the specified command and returns the lines from the result of the command that match the specified pattern Purpose This function executes the command input parameter It parses the result from that command s execution and checks whether any line from the result matches the line pattern...

Page 128: ...each line with the search pattern to the getFirstMatch on page 121 function If it returns a match and the line does not already exist in the dictionary object the line is written to the dictionary object The function loops until the end of the file is reached and then returns the dictionary object Syntax filterFile fileName patt Input parameters String fileName The file to be filtered String patt ...

Page 129: ...ns that file name otherwise it returns common bat file or uses the logScreen and logWarning sub routines before returning the latest version of the configuration file for the product code Syntax findSuitableFile pd version suf filepath Input parameters String pd The product code associated with the file to find as specified in the product code file ips_root codename cfg file String version The ver...

Page 130: ...of the args input parameter the length is truncated by the difference If the specified is 0 the full length of the args input parameter is added to the first string at the appropriate position in the string Syntax fmt s args Input parameters String s Contains the string to modify by the specified number of characters in the s expression inside that string Array args Contains the set of characters ...

Page 131: ... it to two decimal places It returns the result Syntax formatSizeForDisplay size Input parameters Integer size The value to round to two decimal points Return values Integer val Returns the value rounded to two decimal points getDecimalSeparator Determines the decimal separator that is used for the current locale Purpose This function creates a fractional number and then uses the Mid function to d...

Page 132: ...tch on page 121 function passing the pattern and string contained within an array as input parameters to this function It invokes ubound function to check whether the returned value from the getFirstMatch function is greater than or equal to 0 If it is there is match otherwise there is no match Syntax isMatch patt str Input parameters String patt Contains the pattern for which to search String str...

Page 133: ...rmines whether the prerequisite property passes the check The input parameters can be generic numbers size in MBs or GBs CPU speed in MHz or GHz boolean or strings Purpose This function first calls the changeMG on page 115 function to format and if necessary convert the expected and actual values It checks whether either value is 0 and if yes it returns FAIL and exits If the values are not 0 the f...

Page 134: ... as the first index Syntax ppread fileName sep Input parameters String fileName The name of the file to read into the dictionary object Character sep The character that represents the separator by which to split a line in the file Return values Array array dic Returns an array with the dictionary object dic as its first index Example Example to be provided readFile Reads each line of a file into a...

Page 135: ...ose This function checks the data or object type of the variable and calls the relevant function to create a string representation for that data or object type Table 33 Called function for each variable type Variable type Called function Array arrayToString on page 114 CheckItem object checkItemToString on page 116 Scripting dictionary object dictionaryToString on page 116 Syntax varToString var I...

Page 136: ...126 Prerequisite Scanner User s Guide ...

Page 137: ...ype of message such as information or warning v msg a string that represents the message to log logDebug msg Calls the log function passing DEBUG as the level input parameter msg a string that represents the message to log logError msg Calls the log function passing ERROR as the level input parameter msg a string that represents the message to log logInfo msg Calls the log function passing INFO as...

Page 138: ...128 Prerequisite Scanner User s Guide ...

Page 139: ...g that contains the text to write to the file v filename a string that represents the name of the file to modify Table 36 outlines the file functions that handle files Table 36 File utility functions Function Description allFiles on page 114 Reads the file names in a specified directory into an array filterFile on page 118 Reads and filters the contents of a file to a scripting dictionary object f...

Page 140: ...130 Prerequisite Scanner User s Guide ...

Page 141: ...er the prerequisite property passes the prerequisite check The function expects dot separated version strings as input parameters for example 1 0 0 4 2 3 3 40 26 7800 or 2 3 ffirstMatch Gets the first match of the search string in the array Purpose This function uses a regular expression to search for the pattern which is passed as an input parameter in the array that is also passed as an input pa...

Page 142: ...ssociated with the script file Scripts Table 39 Scripts using getValue Script Description DEZ_01040000 vbs Script to gather prerequisite properties and make them available to only the DEZ 01040000 configuration file LCM_TAD_common vbs Script to gather prerequisite properties and make them available to only LCM 02300000 and TAD 07200000 configuration files TAD722_impl vbs Script to gather prerequis...

Page 143: ...codes to represent these cases It splits each version into several parts by the dot separator If the last part of the version is the wildcard character the function considers all missing parts of the version to be the wildcard character for example 2 matches 2 1 or 2 3 It then loops through the list of parts for each version and compares them It then returns return codes depending upon whether the...

Page 144: ...rty Return values Integer 0 Returns the 0 return code if both input parameters are equal The parent function returns PASS Special case Returns the 0 return code and exits if both input parameters are empty Integer 1 Returns the 1 return code if the first input parameter is less than the second input parameter The parent function returns FAIL Special case Returns the 1 return code and exits if the ...

Page 145: ... first value real is less than the second value expected It then prints the difference between the two values if the first value is not less than the second value findOSInfo on page 139 Finds the operating system version OS release level and version and hardware implementation data for the system mes4path on page 138 Finds the free disk space for each mounted file system mes4Path1 on page 138 Find...

Page 146: ...mines whether the value is in MBs or GBs and then adds the values Syntax AddMG val1 val2 Input parameters String val1 Contains the value for disk space or memory in MBs or GBs to be added to the other input parameter String val2 Contains the value for disk space or memory in MBs or GBs to be added to the other input parameter Return values Integer 1 Returns 1 if the function does not receive two i...

Page 147: ...that represent the actual and expected values for a prerequisite property and compares them to determine whether the first value real is less than the second value expected It then prints the difference between the two values if the first value is not less than the second value Purpose This function checks first that the function receives two input parameters If it receives them it determines whet...

Page 148: ...the free disk space Syntax mes4Path path Input parameters String path Path to the system to check for free disk space Return values Integer 1 Returns return code 1 if the function does not receive an input parameter Integer 2 Returns return code 2 if the input parameter is not a path String NF Returns the free disk space for each mount String path Server NotAvailable Responding for path Returns a ...

Page 149: ...copy from somewhere Return values String oo Output from uname without the basic system information String kk Operating system version String hh Hardware implementation represented as I for i386 hardware or Z for s390 hardware String rr Operating system release level String vv Operating system release level version telnetNFS Checks whether can telnet to the IP address of a mounted file system on th...

Page 150: ...s the telnetNFS function to check whether a remote connection can be performed If either the ping or telnet actions fail the function returns a FALSE value otherwise it returns a PASS value Syntax NFScheck path Input parameters String path Takes a valid path to a directory as its input Return values Boolean value TRUE or FALSE Returns TRUE if the NFS check is successful that is if it successfully ...

Page 151: ...mmon functions in TAD722_impl sh Function Description checkSunOS on page 144 Checks whether the version of the Solaris operating system is for SPARC or X86 platforms checkHpux on page 144 Checks whether the version of the HP UX operating system is for IA64 or PARISC platforms checkLinux on page 144 Checks whether the version of the Linux operating system is for System p System z or x86 platforms g...

Page 152: ...pts The following scripts contain the function v Unix Linux common sh v LCM_TAD_common sh Syntax formatSizeDisplay val Input parameters Integer val The value to round to two decimal points Return values Integer val Returns the value rounded to two decimal points versionCompare Parses the input parameters that represent the actual and expected values for a prerequisite property and compares each pa...

Page 153: ... prerequisite property OS_Version_compare sh Compares the real and expected values for the OS version prerequisite property Syntax versionCompare real expected Input parameters String real Contains the actual value for a prerequisite property String expected Contains the expected value for a prerequisite property Return values Integer 0 Returns the 0 return code if the real and the expected values...

Page 154: ...ose This function uses the m flag of the uname command to determine whether the Linux operating system is for System p System z or x86 platforms Syntax checkLinux Input parameters Return values String LINUXPSERIES LINUXZSERIES LINUXX86 Returns LINUXPSERIES if the m flag is ppc64 or ppc It returns LINUXZSERIES if the value is s390x or s390 otherwise it returns LINUXX86 checkSunOS Checks whether the...

Page 155: ...Value key value file Input parameters String key Contains the prerequisite property to set String value Contains the value for the prerequisite property String file Contains the name of the file that contains the prerequisite property Return values copyValue Gets and sets the value for the prerequisite property key based on the product and operating system Purpose This function calls the getValue ...

Page 156: ...yntax getSystemId Input parameters Return values String AIX Linux Returns AIX or Linux if the product is Tivoli License Compliance Manager and the OS is either AIX or Linux or AIX if the product is Tivoli Asset Discovery for Distributed and the OS is AIX getClosestExistingParentDir Gets the closest parent directory or itself Purpose Syntax getClosestExistingParentDir dirpath Input parameters Strin...

Page 157: ...status is true it calls the getClosestExistingParentDir function to return the directory or its parent directory and then use the df command to get the amount of free disk space It finally calls the formatSizeDisplay function to round the value to decimal points Syntax printDirSize dirpath Input parameters String dirpath Contains the path to the directory for which to get the free disk space Retur...

Page 158: ...148 Prerequisite Scanner User s Guide ...

Page 159: ...e Passes the fn_name function to wrlTrace fn_name trace string that represents the function that just completed For example wrlTraceFuncExit 1 wrlDebug log_str1 log_str2 Passes log_str1 and log_str2 strings to wrlDebugGeneric log_str1 and log_str2 debug strings that represent the action and collector being executed and which to log in the debug file For example wrlTrace Starting os lib wrlTrace Ex...

Page 160: ... after the timestamp but before the left alignment of the log strings and newline character For example wrlDebugGeneric 1 2 wrlDebugFunc str Passes a tab character and the str input parameter to wrlDebugGeneric str string that represents data to log that is the status of a check or an action being performed For example wrlDebugFunc Reading config file and parsing using parse array wrlLogFuncStart ...

Page 161: ...iries in writing to Intellectual Property Licensing Legal and Intellectual Property Law IBM Japan Ltd 1623 14 Shimotsuruma Yamato shi Kanagawa 242 8502 Japan The following paragraph does not apply to the United Kingdom or any other country where such provisions are inconsistent with local law INTERNATIONAL BUSINESS MACHINES CORPORATION PROVIDES THIS PUBLICATION AS IS WITHOUT WARRANTY OF ANY KIND E...

Page 162: ...ed from the suppliers of those products their published announcements or other publicly available sources IBM has not tested those products and cannot confirm the accuracy of performance compatibility or any other claims related to non IBM products Questions on the capabilities of non IBM products should be addressed to the suppliers of those products All statements regarding IBM s future directio...

Page 163: ...license therefrom Intel Intel logo Intel Inside Intel Inside logo Intel Centrino Intel Centrino logo Celeron Intel Xeon Intel SpeedStep Itanium and Pentium are trademarks or registered trademarks of Intel Corporation or its subsidiaries in the United States and other countries IT Infrastructure Library is a registered trademark of the Central Computer and Telecommunications Agency which is now par...

Page 164: ...154 Prerequisite Scanner User s Guide ...

Page 165: ...edback submit requests or discuss Prerequisite Scanner v Go to the Prerequisite Scanner topics at Prerequisite Scanner at Service Management Connect Feel free to contribute to these topics v Use the Integrated Service Management Message Board at Service Management Connect v Submit or review product request enhancements for Prerequisite Scanner at Tivoli RFE Community IBM Support Assistant The IBM ...

Page 166: ...156 Prerequisite Scanner User s Guide ...

Page 167: ...operties 13 42 product versions 13 42 rules 13 42 sections 13 14 42 standard output 13 42 connectivity category description 4 89 CPU name 84 CPU section description 14 CPUArch section description 14 creating collectors UNIX 21 50 collectors Windows 20 common 46 product specific 48 configuration files 42 evaluators UNIX 22 57 evaluators Windows 22 53 D DB2 category description 4 predefined prerequi...

Page 168: ...rties adding custom 43 adding predefined 43 categories 1 4 43 45 84 88 89 90 91 92 93 104 105 collectors 20 21 configuration files 13 42 description 1 evaluators 22 format 1 43 45 naming conventions 1 43 45 qualifiers 1 8 reference 83 subtypes 1 43 45 types 1 updating custom 45 updating predefined 45 updating qualifier values 45 Prerequisite Scanner architecture 1 31 batch 1 binary 59 collectors 2...

Page 169: ...ut format 23 output formats 23 results 23 results txt 23 trace parameter description 59 logging utility functions 149 prs trc 23 59 69 149 type qualifiers description 8 93 types collectors 20 evaluators 22 prerequisite properties 1 U unit qualifiers description 8 93 UNIX network category predefined prerequisite properties 105 updating packageTest sh 51 prerequisite properties custom 45 prerequisit...

Page 170: ...160 Prerequisite Scanner User s Guide ...

Page 171: ......

Page 172: ... Printed in USA ...

Reviews: