Showing posts with label WebSphere. Show all posts
Showing posts with label WebSphere. Show all posts

Thursday, October 11, 2007

Heap Dumps

Find .-name heapdump*
df –k

sudo –l grep node
sudo /etc/rc.d/init.d/DTc_was_nodeagent_v6i6 stop

node agent associated with the heapdumps is DTc_was_nodeagent_v6i6 for the application AML.

Be sure to also restart AML app

Finding an application log

SWWEBD13 su ivmgr
pdadmin –a -p server list grep dtcclogin2.dtcc.com
Server list
dtcclogin2-webseal-swwebd13 list
Sudo –l grep –i cdts (-i ignores case sensitivity).
cd /logs/was
usr/ucb/ps –auxwww grep CDTSPrime_c1

Systemout.log /opt/WebSphere/AppServer_v6/profiles/appsrv01/logs/DERIV_A3C1


tail –f /opt/WebSphere/UpdateInstaller/tmp/*.txt

cd /tmp/install/updates

Scripts

all the scripts are in /apps/WTG/wsadmin

J:\groups\wtg\pvcs\scripts\was6\AdminScripts\WAS6applicationReport.jacl

(Mainframe DBA's of the maximum connection pool size for NEON connection pools in the
Production environment). Run this script against all the deployment managers in production (they should be on the servers listed in the server/hostname box).

For JACL scripts
su bluemagc
activate WSADMIN /opt/WebSphere/AppSrvrv6/profiles//bin wsadmin (be extremely careful when working with profiles).

source /tmp/*.jacl (source is where the JACL scsript was placed or FTP'd).
$AdminConfig save (used only when the script is making changes).
exit

Search for an Apps script:

mpecina@saappp40:/opt/WebSphere/AppServer_v6/profiles/dmgr01/bin: wsadmin.sh
WASX7209I: Connected to process "dmgr" on node saappp40oob_CellManager01 using SOAP connector; The type of process is: DeploymentManager
WASX7029I: For help, enter: "$Help help"
wsadmin>$AdminApp list

Creating New Run Scripts

SCRIPT location:---- /apps/WTG/wsadmin/AppMgmt/applications/
MODIFY:---- create directory for the script, modify -- profile.jacl,
add postInstallTasks.jacl and create a rollback directory. (be sure the permissions are set to execute chmod 750).
vi applications.txt (add new directory to entries).
vi /apps/WTG/wsadmin/