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.shand update the-Xmxvalue. There is no other way than editingcollector.shbecause, in recent fixpacks,-Xmx1024mis 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.shby specifying the full path to it. For example, replace the path to WebSphere and$PROFILEwith 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.txtfile for any obvious errors running the collector. A healthy collection ends withReturn code: 0. - Upload
*WASenv.jaranddiag_collector.txt
For details, see the collector.sh documentation.