PSI
PROBE Configuration
It provides all of its features through
a web-accessible interface that becomes available simply by deploying
it to your server. These features include:
- Requests: Monitor traffic in real-time, even on a per-application basis.
- Sessions: Browse/search attributes, view last IP, expire, estimate size.
- JSP: Browse, view source, compile.
- Data Sources: View pool usage, execute queries.
- Logs: View contents, download, change levels at runtime.
- Threads: View execution stack, kill.
- Connectors: Status, usage charts.
- Cluster: Status, usage charts.
- JVM: Memory usage charts, advise GC
- Java Service Wrapper: Restart JVM.
- System: CPU usage, memory usage, swap file
usage.
#
install psi probe1.Download
package :-http://code.google.com/p/psi-probe/downloads/detail?name=probe-2.3.2.zip&can=2&q=#
unzip probe-2.3.2.zip2.add
some line:-
#
cd /usr/tomcat-7/conf/#
vim tomcat-users.xml<tomcat-users> <role
rolename=”manager”/> <role
rolename=”admin”/> <role
rolename=”role1”/> <role
rolename=”tomcat”/> <user
username=”both” password=”tomcat” roles=”tomcat,role1”/><user
username=”tomcat” password=”tomcat” roles=”tomcat”/> <user
username=”admin” password=”admin” roles=”admin,manager”/> <user
username=”role1” password=”tomcat” roles=”role1”/> </tomcat-users>
3.Start
the tomcat :-URL:-
shashi.example.com:80804.Open
the manager :-
http://shashi.example.com:8080/manager/html
give
to user and passowrd5.Upload
probe.war
using the "War file to deploy" option.
(/root/Desktop/probe.war)6.Create
setenv.sh file#
vim setenv.sh or setenv.batexport
JAVA_OPTS="-Dcom.sun.management.jmxremote=true \
-Dcom.sun.management.jmxremote.port=7009
\
-Dcom.sun.management.jmxremote.ssl=false
\
-Dcom.sun.management.jmxremote.authenticate=false
\
-Djava.rmi.server.hostname=192.168.0.10"#
chmod 755 setenv.sh/etc/init.d/tomcat
stop/etc/init.d/tomcat
startusername
:- admin
No comments:
Post a Comment