WAS traditional collector Recipe
- Log onto the deployment manager node (or a specific node or Base
node) and ensure you're the user that runs WAS or
root
. - Change directory to somewhere outside the WAS home directory that
has at least a few hundred MB free. For example:
cd /tmp/
- If you have a large environment, edit
/opt/IBM/WebSphere/AppServer/profiles/$PROFILE/bin/collector.sh
and update the-Xmx
value. There is no other way than editingcollector.sh
because, in recent fixpacks,-Xmx1024m
is specified explicitly (and IBM Java doesn't support_JAVA_OPTIONS
). Note that this change will be reverted on each fixpack upgrade. For example:-Xmx3g \
- Execute
collector.sh
by specifying the full path to it. For example, replace the path to WebSphere and$PROFILE
with the profile name (e.g. the deployment manager profile):/opt/IBM/WebSphere/AppServer/profiles/$PROFILE/bin/collector.sh > diag_collector.txt 2>&1
- Once it completes, review the end of the
diag_collector.txt
file for any obvious errors running the collector. A healthy collection ends withReturn code: 0
. - Upload
*WASenv.jar
anddiag_collector.txt
For details, see the collector.sh documentation.