You are on page 1of 41

IBM Software Group

Tivoli Access Manager problem determination


using logging and tracing features

IBM Corporation

Jenny Totterdell - EMEA Security Support

jenny_totterdell@uk.ibm.com

IBM Software Group | Tivoli software

Topics covered in this workshop


Installation and Configuration Logs

Serviceability logs
Trace Logging
WebSEAL HTTP Trace Logging
Debugging Java Runtime Issues

GSKit Traces
Must Gather Information for Support
Capturing Core Files
System_status script
Question/Answer Session

IBM Software Group | Tivoli software

Log Files

IBM Software Group | Tivoli software

Installation Logs
If the easy installation programs are used, the log files are written to the temp directory
Windows - %TEMP% (e.g. C:\DOCUME~1\ADMINI~1\LOCALS~1\Temp)
UNIX - typically /tmp or /var/tmp
Component

Installation log file name

Policy server

msg__ammgr_install.log

Policy proxy server

msg__amproxy_install.log

Authorization server

msg__amacld_install.log

Runtime

msg__amrte_install.log

Java runtime

msg__amjrte_install.log

ADK

msg__amadk_install.log

Web Portal Manager

msg__amwpm_install.log

WebSEAL

msg__amweb_install.log

WebSEAL Application Development Kit

msg__amwebadk_install.log

Plug-in for Web Servers

msg__amwpiismp_install.log

WebSphere Application Svr & BEA WebLogic Svr integration support

msg__amismp.log

Attribute retrieval service

msg__amars_install.log

Tivoli Identity Manager Provisioning Fast Start

msg__ampfs_install.log

IBM Tivoli Directory Server

msg__ldaps_install.log

IBM Software Group | Tivoli software

Configuration Logs
Messages generated during the configuration process are stored
within Tivoli Access Manager configuration log files.
Component

Installation log file name

Base

msg__config.log

Web Portal manager

msg__amwpmcfg.log & amwpmcfg1.log

Java runtime environment

msg__PDJrteCfg1.log

WebSEAL

msg__amweb_config.log

Plug-in for Web Servers

msg__pdwpicfg.log

IBM Software Group | Tivoli software

Serviceability Logs
Examples of serviceability logs:
msg__pdmgrd_utf8.log
msg__webseald-default.log

Message logging (i.e. Error/Warning/Informational logging) is enabled by default


Default log locations
UNIX: /var/PolicyDirector/log/
Windows: pd_dir \log\

IBM Software Group | Tivoli software

Message Format
A message consists of:
Date
Message Number (unique 32-bit decimal or hexadecimal value)
Process Name
Priority (e.g. WARNING)
Component information (including file name)

A message identifier (ID) and message text.

Example of a failed login captured in WebSEAL server message log


(/var/pdweb/log/msg__webseald-default.log):
2005-07-20-05:54:36.655+00:00I----- 0x132120DD webseald
WARNING ias authsvc pdauthn.cpp 1435 0x00002526
HPDIA0221W
Authentication for user testuser failed. You
have used an invalid user name, password or client
certificate

IBM Software Group | Tivoli software

Types of Messages
Notice (Notice_verbose)
Does not directly require action, such as information about running state

Warning
Results may not be as desired but the program continues to function
normally.

Error
The product continues to function, but some services or functionality might
not be available

Fatal
Unrecoverable error, the process encountering the error usually terminates

IBM Software Group | Tivoli software

Message Examples:
Notices:
2005-08-09-09:07:31.814+00:00I----- 0x1354A0A0 pdmgrd NOTICE ivc general
ivmgrd.cpp 743 0x00000001 Server startup
Server startup message

Warning:
2003-10-31-23:09:45.457+00:00I----- 0x38CF0131 webseald WARNING wwa server listenssl.c 167 0x00000044 The 'ssl_writechunk' routine failed for 'gsk_secure_soc_write', errno
= 406
This error is common and normal for webseal and ssl, which is why they're reported as warnings.
Mainly they are due to network connectivity or the customer hitting the "stop" button on their browsers.
The reason you see several messages with the same timestamp is because the browsers tend to open
multiple simultaneous connections. Losing the network or hitting the "stop" button will cancel all
simultaneous connections.
406 is a GSKit return code GSK_ERROR_IO

Error:
2003-07-08-12:59:07.032+00:00I----- 0x1354A0B6 pdmgrd ERROR ivc general
LDAPClient.cpp 212 0x00000001 LDAP initialization failed: ira_rgy_init('tarsus', 636,
'cn=ivmgrd/master,cn=SecurityDaemons,secAuthority=Default', ***) = 113, 202
Connection to LDAP failed.

Fatal:
2004-12-09-14:42:32.391+01:00I----- 0x14C010A4 pdmgrd FATAL mgr general
e:\am510\src\ivmgrd\ivmgrd.cpp 252 0x00000ba4 HPDMG0164E The Policy Server could
not be started (0x14c01420).

IBM Software Group | Tivoli software

Message ID Format
The message ID consists of 10 alphanumeric characters, where the sequence is
XXXYY####Z:

XXX is the product identifier, including the following product codes:


Code

Subsystem

HPD

Base

DPW/HPW

WebSEAL

AWD

Plug-in for IBM WebSphere Edge Server

AWL

BEA WebLogic Server integration

AWX

WebSphere Application Server Integration

AMZ

Plug-in for Web Servers

YY is the subsystem code


#### is a unique message id.

Z is the severity code indicator, including the following indicators:


Severity Code

Description

Informational message.

Warning message.

Error message.

IBM Software Group | Tivoli software

Routing Message Logging


Routing of serviceability messages is controlled by the routing file.
The contents of the routing file enables control of
Whether message logging is on or off for each class of messages (FATAL, ERROR,
WARNING, NOTICE, or NOTICE_VERBOSE)
Where the message log output for each class of messages is to be directed
If message output is being directed to a file, how many files for each class of messages
should be used, and how many messages should be placed in each file

The routing files for each component are


pdmgrd_routing for the Policy Server
pdacld_routing for the Authorization Server
pdmgrproxyd_routing for the Policy Proxy Server
/opt/pdweb/etc/routing for WebSEAL
/opt/PolicyDirector/etc/routing for Runtime
PDJlog.properties for Java apps

IBM Software Group | Tivoli software

Routing File Message Logging Entry


The format of a routing file entry that controls message logging is:
severity:destination:location {[;destination:location] ...}
[;GOESTO:other_severity]

Default configuration for FATAL and ERROR messages:


Unix
FATAL:STDOUT:;UTF8FILE:/var/PolicyDirector/log/msg__pdmgrd_utf8.log:644:ivmgr:ivmgr
ERROR:STDOUT:;UTF8FILE:/var/PolicyDirector/log/msg__pdmgrd_utf8.log:644:ivmgr:ivmgr

Windows:
FATAL:STDERR:-;FILE:C:/PROGRA~1/Tivoli/POLICY~1/log/msg__fatal.log
ERROR:STDERR:-;FILE:C:/PROGRA~1/Tivoli/POLICY~1/log/msg__error.log

IBM Software Group | Tivoli software

WebSEAL Logs
WebSEAL maintains three conventional HTTP log files that record
activity rather than messages:
request.log
logs HTTP requests, such as information on URLs that have been
requested and information on the client (e.g. IP address).
agent.log
records contents of the User_Agent: header in the HTTP request. Includes
data about the client browser, such as architecture or version number
referer.log
records the Referer: header of the HTTP request. Records the document
that contained the link to the requested document.

By default, these log files are located under the following directory:
UNIX: /var/pdweb/www/log/
Windows: C:\Program Files\Tivoli\PDWeb\www\log\

IBM Software Group | Tivoli software

Request.log
Every response sent back by TAM is recorded with a one-line entry in
the request.log

Format: host - authuser [date] request status bytes


host Specifies the IP address of the requesting machine.
authuser Identity information of the user. The value unauth is used for an
unauthenticated user.
date Specifies the date and time of the request.
request Specifies the first line of the request as it came from the client.
status Specifies the HTTP status code sent back to the requesting machine.
bytes Specifies the number of bytes sent back to the requesting machine.

130.15.1.90 - lmalone [30/Aug/2005: 10:24:11 +0100]


"GET /jct/images/IBMLogo.gif HTTP/1.1" 200 1979
130.15.1.90 - lmalone [30/Aug/2005: 10:24:13 +0100]
"GET /jct/images/IBMLogo.gif HTTP/1.1" 304 0

IBM Software Group | Tivoli software

Traces

IBM Software Group | Tivoli software

Trace Logging
Unlike message logging, trace logging (or tracing) is not enabled by
default.

Enabled using routing/properties files or pdadmin


Useful for
Recreateable problems
Issues short lived in duration

Blade Startup Failures (including during configuration)


Checking LDAP Return Codes

IBM Software Group | Tivoli software

Enabling Tracing Routing File


Can trace all components, or limit the scope

General format for routing file tracing statement:


component :subcomponent.debuglevel:destination :attributes

Examples:
Entries in /opt/PolicyDirector/etc/pdmgrd_routing (TAM 5.1)
Trace all components for the Policy Server at highest trace level
*:*.9:TEXTFILE.10.10000:/var/PolicyDirector/log/trace__%ld.log

Trace the Policy Server's LDAP client calls/LDAP Server return codes
ivc:ira.9:TEXTFILE.10.10000:/var/PolicyDirector/log/trace__
pdmgrd_ira.log

IBM Software Group | Tivoli software

Enabling Tracing Trace Command


Can be activated dynamically using the command:
pdadmin> server task server_name trace set component level

List possible dynamic trace points:


pdadmin sec_master> server task server_name trace list

Particularly useful pdadmin traces:


pdweb.debug, pdweb.snoop, pd.ivc.ira

Examples:
pdadmin> server task webseald-instance trace set pdweb.debug 2
file path=/tmp/pdweb.debug.out
pdadmin> server task webseald-instance trace show
pdweb.debug 2

IBM Software Group | Tivoli software

Trace Logging Example


Tracing an authentication failure, WebSEAL using auth-usingcompare=yes
Snippet from msg__webseald-default.log:
2005-07-20-07:55:29.772+00:00I----- 0x132120DD webseald
WARNING ias authsvc pdauthn.cpp 1435 0x00002728
HPDIA0221W
Authentication for user testuser failed. You
have used an invalid user name, password or client
certificate.

Enable pd.ivc.ira tracing using:


pdadmin> server task default-webseald-amaix51 trace set
pd.ivc.ira 9 file path=/tmp/pdweb.ira.out

IBM Software Group | Tivoli software

Trace Logging Example (continued)


Portion of pd.ivc.ira trace output:
2005-07-20-07:55:29.757+00:00I----- thread(4) trace.pd.ivc.ira:8
/project/am510/build/am510/src/ivrgy/ira_auth.c:1417: CII ENTRY:
ira_auth_passwd_compare() dn: cn=testuser,o=ibm,c=us
2005-07-20-07:55:29.757+00:00I----- thread(4) trace.pd.ivc.ira:7
/project/am510/build/am510/src/ivrgy/ira_entry.c:3053:
ira_ldap_compare_s() DN: cn=testuser,o=ibm,c=us Attr: userPassword
2005-07-20-07:55:29.758+00:00I----- thread(4) trace.pd.ivc.ira:7
/project/am510/build/am510/src/ivrgy/ira_ldap.c:757:
ira_ldap_compare_s(): No timeout - calling ldap_compare_s
2005-07-20-07:55:29.759+00:00I----- thread(4) trace.pd.ivc.ira:7
/project/am510/build/am510/src/ivrgy/ira_ldap.c:767:
ira_ldap_compare_s: Returning LDAP rc x5
2005-07-20-07:55:29.759+00:00I----- thread(4) trace.pd.ivc.ira:7
/project/am510/build/am510/src/ivrgy/ira_entry.c:3060: LDAP rc: x5
2005-07-20-07:55:29.759+00:00I----- thread(4) trace.pd.ivc.ira:8
/project/am510/build/am510/src/ivrgy/ira_auth.c:1427: CII EXIT
ira_auth_passwd_compare() with rc: 0x00000031 LDAP_ERROR x5 "A
compare operation returned false.".

IBM Software Group | Tivoli software

WebSEAL HTTP Trace Logging


pdweb.debug
Advantages:

Smallest trace files available within webseal


HTTP headers in plain text, with time stamp showing arrival/sent
Disadvantages
Only traces HTTP headers
Does not trace responses from WebSEAL or show WebSEAL user or client IP
address

pdweb.snoop
Advantages:
Includes message bodies, responses from WebSEAL and client IP addresses
Decrypts HTTPS traffic
Disadvantages
Large trace files (4-5 chars per byte)
Messages are hex encoded (get ascii value for none control char)
Does not show WebSEAL user (unless iv_user header is sent to jnc)
packets do not correspond to network frames in network trace

IBM Software Group | Tivoli software

WebSEAL HTTP Trace Logging


Starting traces
pdadmin>server task webseald-instance trace set
pdweb.debug 2 file path=/var/pdweb/log/debug.log
pdadmin>server task webseald-instance trace set
pdweb.snoop 9 file path=/var/pdweb/log/snoop.out

Stopping traces
pdadmin>server task webseald-instance trace set
pdweb.debug 0
pdadmin>server task webseald-instance trace set
pdweb.snoop 0

Path and Filename Issues for the traces


Follow local Operating System Rules

DYNURL mapping shown in traces

IBM Software Group | Tivoli software

Pdweb.debug and Pdweb.snoop Overview


Typical request breaks down to 4 parts
Browser ===>PD
PD ===>BackEnd
PD <===BackEnd
Browser <===PD

Use thread(#) or Thread_ID to follow a single request


Traces show 'unfiltered' request from browser
Correlate with request.log

IBM Software Group | Tivoli software

Pdweb.debug Example
2005-08-09-14:04:57.878-05:00I----- thread(4) trace.pdweb.debug:2
/project/amweb510/build/amweb510/src/pdweb/wand/wand/log.c:309: ----------------- Browser ===> PD ----------------Thread_ID:13326
GET /test/ HTTP/1.1 Host: linux User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.0.1) Gecko/20020903 Accept:
text/xml,application/xml,application/xhtml+xml,text/html;q=0.9,text/plain;q=0.8,video/xmng,image/png,image/jpeg,image/gif;q=0.2,text/css,*/*;q=0.1 Accept-Language: en-us, en;q=0.50 Accept-Encoding: gzip,
deflate, compress;q=0.9 Accept-Charset: ISO-8859-1, utf-8;q=0.66, *;q=0.66 Keep-Alive: 300 Connection: keep-alive
Authorization:*******************************
--------------------------------------------------2005-08-09-14:04:57.896-05:00I----- thread(4) trace.pdweb.debug:2
/project/amweb510/build/amweb510/src/pdweb/wand/wand/log.c:309: ----------------- PD ===> BackEnd ----------------Thread_ID:13326
GET / HTTP/1.1 via: HTTP/1.1 linux:443 user-agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.0.1) Gecko/20020903
iv_server_name: default-webseald-linux accept-charset: ISO-8859-1, utf-8;q=0.66, *;q=0.66 host: linux.net:8080 accept:
text/xml,application/xml,application/xhtml+xml,text/html;q=0.9,text/plain;q=0.8,video/xmng,image/png,image/jpeg,image/gif;q=0.2,text/css,*/*;q=0.1 keep-alive: 300 connection: close accept-language: en-us,
en;q=0.50 --------------------------------------------------2005-08-09-14:04:57.928-05:00I----- thread(4) trace.pdweb.debug:2
/project/amweb510/build/amweb510/src/pdweb/wand/wand/log.c:309: ----------------- PD <=== BackEnd ----------------Thread_ID:13326 HTTP/1.1 200 OK content-type: text/html last-modified: Wed, 06 Nov 2002 13:06:47 GMT date: Tue, 09 Aug
2005 19:04:57 GMT etag: "2137c-1254-3dc913e7" content-length: 4692 accept-ranges: bytes connection: close server:
IBM_HTTP_SERVER/1.3.26.2 Apache/1.3.26 (Unix) --------------------------------------------------2005-08-09-14:04:57.929-05:00I----- thread(4) trace.pdweb.debug:2
/project/amweb510/build/amweb510/src/pdweb/wand/wand/log.c:309: ----------------- Browser <=== PD ----------------Thread_ID:13326
HTTP/1.1 200 OK p3p: CP="NON CUR OTPi OUR NOR UNI" content-type: text/html last-modified: Wed, 06 Nov 2002 13:06:47 GMT
transfer-encoding: chunked date: Tue, 09 Aug 2005 19:04:57 GMT etag: "2137c-1254-3dc913e7" accept-ranges: bytes x-oldcontent-length: 4692 server: IBM_HTTP_SERVER/1.3.26.2 Apache/1.3.26 (Unix)
---------------------------------------------------

IBM Software Group | Tivoli software

Pdweb.snoop Example One


Webseal (9.168.13.15) opens up a socket to the Application Server (9.1.131.27)
---------------------------------------2005-08-08-09:47:36.050+02:00I----- thread(263) trace.pdweb.snoop.jct:1
/project/amweb510/build/amweb510/src/pdwebrte/webcore/amw_snoop.cpp:100:
---------------------------------------Thread 251; fd 58; local 9.168.13.15:62113; remote 9.1.131.27:4482
Socket opened.

A GET is performed on IBMabcLogo.gif


---------------------------------------2005-08-08-09:47:36.053+02:00I----- thread(263) trace.pdweb.snoop.jct:1
/project/amweb510/build/amweb510/src/pdwebrte/webcore/amw_snoop.cpp:159:
---------------------------------------Thread 251; fd 58; local 9.168.13.15:62113; remote 9.1.131.27:4482
Sending 2652 bytes
0x0000
4745 5420 2e2f 7465 7374 2f69 6d61 6765
GET./test/images
0x0010
732f 4942 4d61 6263 4c6f 676f 2e67 6966
/IBMabcLogo.gif.
0x0020
4854 5450 2f31 2e30 2020 7669 613a 2048
HTTP/1.0..via:.H
<snip>

IBM Software Group | Tivoli software

Pdweb.snoop Example Two


2005-08-07-13:09:31.588-05:00I----- thread(3) trace.pdweb.snoop.jct:1
/project/amweb510/build/amweb510/src/pdwebrte/webcore/amw_snoop.cpp:159:
---------------------------------------Thread 67586; fd 6; local 192.168.220.130:32895; remote 192.168.220.130:8080
Sending 60 bytes
0x0000
4845 4144 202f 2048 5454 502f 312e 310d
HEAD./.HTTP/1.1.
0x0010
0a68 6f73 743a 206c 696e 7578 2e6e 6574
.host:.linux.net
0x0020
3a38 3038 300d 0a63 6f6e 6e65 6374 696f
:8080..connectio
0x0030
6e3a 2063 6c6f 7365 0d0a 0d0a
n:.close....

2005-08-07-13:09:31.589-05:00I----- thread(3) trace.pdweb.snoop.jct:1


/project/amweb510/build/amweb510/src/pdwebrte/webcore/amw_snoop.cpp:133:
---------------------------------------Thread 67586; fd 6; local 192.168.220.130:32895; remote 192.168.220.130:8080
Receiving 275 bytes
0x0000
4854 5450 2f31 2e31 2032 3030 204f 4b0d
HTTP/1.1.200.OK.
0x0010
0a44 6174 653a 2053 756e 2c20 3037 2041
.Date:.Sun,.07.A
0x0020
7567 2032 3030 3520 3138 3a30 393a 3331
ug.2005.18:09:31
0x0030
2047 4d54 0d0a 5365 7276 6572 3a20 4942
.GMT..Server:.IB
0x0040
4d5f 4854 5450 5f53 4552 5645 522f 312e
M_HTTP_SERVER/1.
0x0050
332e 3236 2e32 2020 4170 6163 6865 2f31
3.26.2..Apache/1
0x0060
2e33 2e32 3620 2855 6e69 7829 0d0a 4c61
.3.26.(Unix)..La
0x0070
7374 2d4d 6f64 6966 6965 643a 2057 6564
st-Modified:.Wed
0x0080
2c20 3036 204e 6f76 2032 3030 3220 3133
,.06.Nov.2002.13
0x0090
3a30 363a 3437 2047 4d54 0d0a 4554 6167
:06:47.GMT..ETag
0x00a0
3a20 2232 3133 3763 2d31 3235 342d 3364
:."2137c-1254-3d
0x00b0
6339 3133 6537 220d 0a41 6363 6570 742d
c913e7"..Accept0x00c0
5261 6e67 6573 3a20 6279 7465 730d 0a43
Ranges:.bytes..C
0x00d0
6f6e 7465 6e74 2d4c 656e 6774 683a 2034
ontent-Length:.4
0x00e0
3639 320d 0a43 6f6e 6e65 6374 696f 6e3a
692..Connection:
0x00f0
2063 6c6f 7365 0d0a 436f 6e74 656e 742d
.close..Content0x0100
5479 7065 3a20 7465 7874 2f68 746d 6c0d
Type:.text/html.

IBM Software Group | Tivoli software

Java Issues

IBM Software Group | Tivoli software

PDJrte Configuration
Verify the pdjrte has been configured properly
Created in <jre_home>
/PolicyDirector
/PolicyDirector/PD.properties contains key-value pairs used by the TAM java runtime
/PolicyDirector/PDJLog.properties contains key-value pairs used by Java Logging
/PolicyDirector/PDCA.ks CA certificate keystore. Used in subsequent calls to pdmgrd
(ie. SvrSslCfg)
Added in <jre_home>/lib/ext/
PD.jar admin and authorization java classes
ibmjcefw.jar java cryptography extension
ibmjsse.jar java secure sockets implementation
ibmjcaprovider.jar, US_export_policy.jar, local_policy.jar cryptography
ibmpkcs.jar, ibmpkcs11.jar public key cryptography standard support
jaas.jar java authentication and authorization service
US_export_policy.jar
local_policy.jar

IBM Software Group | Tivoli software

Debugging Common Java Runtime Issues

Expired certificates in keystore files


Check WebSphere logs for errors

Enable WAS security trace

Viewing certificates in keystore using keytool

keytool list v keystore <keystore file> -storetype JCEKS

How to refresh the certificate

java com.tivoli.pd.jcfg.SvrSslCfg action replcert admin_id <admin_id>


-admin_pwd <admin_password> -cfg_file <config file>

IBM Software Group | Tivoli software

Debugging Common Java Runtime Issues (contd)

SvrSslCfg not found


Multiple JREs on system?

Outdated TAM JRTE


WAS 5.0.2 must be configured with TAM 5.1 Java Runtime

Incorrect administrator name or password specified


Caused by incompatibility between PD.jar file shipped with WAS and one
shipped with TAM.
To resolve, copy PD.jar file from <pd_home>/java/export/pdjrte/ to
<was-home>/java/jre/lib/ext directory

Embedded WAS Support Issues

IBM Software Group | Tivoli software

Tracing and Messaging


PDJLog.properties is a wrapper to the java logging facility
Configuration of logging is done via:
<jre_home>/PolicyDirector/PDJLog.properties

Log files created:


trace_amj.log
msg__amj_fatal.log
msg__amj_error.log
msg__amj_warning.log

msg__amj_notice.log
msg__amj_noticeverbose.log

IBM Software Group | Tivoli software

Enabling Tracing and Logging


To enable logging:
Edit the PDJLog.properties:
For all components, specify:
baseGroup.PDJTraceLogger.isLogging = true
For individual components, specify:
baseGroup.PDJadminTraceLogger.isLogging = true
baseGroup.PDJauthzTraceLogger.isLogging = true

IBM Software Group | Tivoli software

GSKit Traces

IBM Software Group | Tivoli software

GSkit Trace
To enable the trace, perform the following steps:
Specify the file in which the trace data is to be stored with the environment
variable GSK_TRACE_FILE. Reference the following example:
export GSK_TRACE_FILE=/tmp/mytracefile
Re-create the error.

The system will append a ".1" to the file name and then accumulate
about 25 megabytes of trace data. It will then close the
"/tmp/mytracefile.1" file, open a "/tmp/mytracefile.2" file which
accumulate 25 more megabytes of trace information. It will then close
that one, erase the first file, and start over.
The trace files are binary

IBM Software Group | Tivoli software

System Data

IBM Software Group | Tivoli software

Must Gather Information for Support


The following should be known before calling support
Platform for each component (O/S level including patches)
TAM Version and Fixpack Level from all machine not just the failing machine
Appropriate Log and Configuration files
If core, provide senddata output
If windows failure, provide dr watson

User Registry and version (IDS, Sun, eDirectory)


Integration with other products

IBM Software Group | Tivoli software

Capturing Core Files


Senddata Script
What does it capture

core
daemon binary
libs.tar <--- this tar file includes all the libraries which the daemon loads.
README <- which contains the scenario when the core occurred

How to run
script must be run from the /opt/PolicyDirector/bin directory
must be plenty of space (at least 50-100mb) in the /tmp folder
create a README which contains the scenario for the core
Run senddata.pl

This file should be sent to IBM when the PMR is being opened

IBM Software Group | Tivoli software

Core Files cont.


Also on AIX it is possible to use the AIX Command snapcore which
does not require dbx.

IBM Software Group | Tivoli software

System_status Script
Sample of Information Gathered
O/S and patch levels
Resource and Environment data (Memory, disk space, environment
variables, locales, ulimits)
Network information (/etc/hosts, ip address, network devices, aliases)
TAM Configuration (configuration files, daemon build levels)

TAM Log files


TAM data
ACLs, Users, POPs, Groups, Junctions, ObjectSpace, Servers, Password
Policy, GSO data,
LDAP Data

Schema definitions, suffix data


DB2 Data
Instances, db connectivity to databases, table searches

IBM Software Group | Tivoli software

System_status script (cont)


This script can be run with multiple options
system_status.ksh
Anonymous pdadmin and Anonymous LDAP Requests
system_status.ksh -D 'cn=root' -w 'cn=root_password'
Anonymous pdadmin but LDAP authentication with
cn=root/cn=root_password

system_status.ksh -a 'sec_master' -p 'master_password'


pdadmin authentication with sec_master/master_password, but
Anonymous LDAP bind
system_status.ksh -a 'sec_master' -p 'master_password' -D 'cn=root' -w
'cn=root_password'

Pdadmin and LDAP authentication

Resulting file will be in the format of hostname-mm-dd-yy_hh-mm-ss


This script can take up to and hour or more to run

IBM Software Group | Tivoli software

Questions

You might also like