IBM WebSphere Payment Manager Problem Determination Tool WPM_PDtool - Version 1.7 One of the challenges associated with problem determination is the gathering of all of the necessary and appropriate information that might be of assistance to the process of identifying what, exactly, is occurring. The purpose of this tool is to simplify this information gathering process, so that as much pertinent information as possible, is obtained all at one time. SOFTWARE REQUIREMENTS: A system on which IBM WebSphere Payment Manager has been installed. Optional: Perl (version 5.4 or above) DISK SPACE REQUIREMENTS: The Perl scripts, and this readme require very little space. The only actual disk space requirements are when the program is executing, and copying and/or creating files in the TEMP directory. You will need approximately 10MB of disk space available on the disk on which your TEMP directory is located, in order to save the gathered information. More space may be required, if a large log file size has been configured, and if many large files have been created. DISCLAIMERS: Please read, and accept the License agreement associated with this toolkit. This agreement can be found in the "WPM_PDtool License.txt" file. If you do not agree with any restrictions found therein, please delete all files associated with this toolkit. PRE-INSTALLATION INSTRUCTIONS: This toolkit is a collection of Perl script files. It currently supports Windows platforms (i.e., Windows/NT, and Windows/2000). You may choose to either use the freestanding executable (WPM_PDtool.exe) which is included in this package, or you may choose to use a Perl interpreter which you have installed, or may install on your system. Why would you would probably prefer to use the Perl interpreter, instead of the frestanding executable? Two possible reasons include: - If you want to modify the Perl scripts, or - If you already have the Perl interpreter installed on your system. Perl is an open source programming language available for almost every platform imaginable. Since it is open source, you can obtain the complete source code for the interpreter. You can also choose to download a binary executable for your platform in order to simplify the installation. To obtain an interpreter for your system, point your web browser to the following URL, and download the appropriate version. http://www.perl.com On machines using Windows NT, if you choose to download the binary version of the Perl interpreter, you may also have to download a small installation program which is used to simplify the installation and configuration of the interpreter. To make this determination, do the following: 1. Start -> Programs -> Windows NT Explorer 2. View -> Options ... 3. Select "File Types" tab 4. Look for "Windows Installer Package". It should be associated with the .MSI extension, and should be opened by MSIEXEC. If this is present, you should not need to execute the installation program. If it is not present, or is not associated with the proper executable, then you should download and execute the installation program. SPECIAL NOTE: As is the case with any executable that you download, you should first, before executing it, scan it for the presence of any known computer viruses. INSTALLATION PROCEDURE: The files included in this package (WPM_PDtool.zip) are identified below. Use an archive utility such as PKzip (http://www.pkware.com), or WinZip (http://www.winzip.com), to extract these files to a directory that is specified in your PATH environment variable (e.g., the directory into which the IBM WebSphere Payment Manager was installed). - WPM_PDtool Readme.txt = This readme file - WPM_PDtool License.txt = License Agreement - WPM_PDtool.exe = Freestanding executable - WPM_PDtool.pl = Primary perl script file - WinRegDump.pl = Perl routine to display Windows Registry COMPLETING INITIAL CONFIGURATION Verify that the fmttrace executable is available. On Windows systems it should be PaymentManager\lib\fmttrace.exe EXECUTION INSTRUCTIONS: 1. Open a command prompt 2. Change to the Payment Manager installation directory e.g., C:\> cd C:\Program Files\IBM\PaymentManager 3. Invoke the freestanding executable, and specify the name of the directory containing the Payment Manager log files. For example: C:\Program Files\IBM\PaymentManager> WPM_PDtool log 4. Follow the directions in the "AFTER EXECUTION" section below. INFORMATION GATHERED On Windows - System hardware details (e.g., # of processors, memory, etc.) - Network configuration information (output of ipconfig command) - Contents of \HKEY_LOCAL_MACHINE\Software\IBM registry subtree - Payment Manager install.trace files - WebSphere Payment Manager xml & configuration files (WASPM*) - netstat output - FormatTrace output - FormatServletTrace output - Formatted dump/trace files (using the fmttrace command) Yet to be done: - WebSphere log file(s) (e.g., webspherepaymentmanager.log) - web server config file (httpd.conf) - support the other platforms on which WebSphere Payment Manager is supported SAMPLE EXECUTION Note: By default, the Payment Manager program is installed into the C:\Program Files\IBM\PaymentManager directory. In addition, log files are, by default written to the log subdirectory contained therein. So, if you have the installation directory as your current working directory, then the directory into which the log files are written can be specified using relative directory addressing, as shown in the following example invocation: C:\Program Files\IBM\PaymentManager>WPM_PDtool log WPM_PDtool 1.7 #--------------------------------------------------------------------- # Creating the following directory, to hold the data. # C:\Documents and Settings\pmadmin\Local Settings\Temp\WPM_PDtool #--------------------------------------------------------------------- copying install.trace files copying any WASPM* files that are present #--------------------------------------------------------------------- # Warning: The following command may take a few minutes to complete. #--------------------------------------------------------------------- msinfo32 >sysinfo.txt ipconfig /all >ipconfig.out netstat -a >netstat_a.out netstat -an >netstat_an.out RegDump \HKEY_LOCAL_MACHINE\Software\IBM >ibmsw.out copying eTillError & PSError files copying *.properties files Formatting file: C:\Program Files\IBM\PaymentManager\log\eTillTrace1.log 24 records processed... *** Done formatting files... Elapsed time = 661 ms. Formatting file: C:\Program Files\IBM\PaymentManager\log\PSTrace1.log 30 records processed... *** Done formatting files... Elapsed time = 701 ms. C:\Program Files\IBM\PaymentManager>dir %TEMP%\WPM_PDtool Directory of C:\DOCUME~1\pmadmin\LOCALS~1\Temp\WPM_PDtool 09/14/01 01:03p