Thursday, June 10, 2010

NFS Sharing

NFS Settings

1. Create a Folder in Target Server /JMSFileStore on remotehost
2. Provide the permission like chmod 777 /JMSFileStore
3. Login to Node1 -> execute the following commands
4. Login as root
5. mkdir /JMSFileStore on Node1
6. mount -t nfs remotehost:/private/JMSStore /JMSStore -o rw,rsize=16384,wsize=16384,hard,tcp,nolock,addr=10.xxx.xxx.52
7. Now the folder is shared on Node1

Profile

Using JProfile6


export LD_LIBRARY_PATH=/jprofiler6/bin/linux-x86

Append this line -agentlib:jprofilerti=port=8849 -Xbootclasspath/a:/jprofiler6/bin/agent.jar

Taking Thread Dump

connect('weblogic','weblogic1','t3://localhost.com:8001')
threadDump(writeToFile='true', fileName='/tmp/thread_dump.log', serverName='soa_server1')
exit()