Jieum’s Weblog

Just another WordPress.com weblog

Tomcat JVM Monitoring Tool-Lambda Probe for apache Tomcat

Lambda Probe for Apache Tomcat Monitoring tool by jieum

It is installed in sever to monitor JVM Memory usage Lambda Probe.
It is free license..um just free charge!!!

Installation is easy.

1.install

1-1.Installation using Tomcat Manager (recommended)

1-2.Installing manually

  • Download Lambda Probe .war file
  • Shutdown Tomcat if it is running
  • Copy probe.war to $CATALINA_HOME/webapps/
  • Start Tomcat

That’s too easy!!!

2.admin role Append

After you install one of above two cases,append role to ‘tomcat-users.xml’

next, It is tomcat-users.xml.
you should append monitoring auth block like under.

<?xml version=’1.0′ encoding=’utf-8′?>
<tomcat-users>
<role rolename=”manager”/>
<role rolename=”admin”/>
<!– monitoring auth[s]–>
<role rolename=”poweruser”/>
<role rolename=”probeuser”/>
<role rolename=”poweruserplus”/>
<user username=”admin” password=”admin” roles=”manager,admin,poweruser,poweruserplus,probeuser”/>
<!– monitoring auth[e]–>
<user username=”tomcat” password=”s3cret” roles=”manager,admin”/>
</tomcat-users>

3.Append Environmental variables

finally,setting Environmental variables like under.
if your computer os is window
append this    to mycoumuter>……>system variable

JAVA_OPTS
-Dcom.sun.management.jmxremote

if linux or unix

you should append this block to profile file

JAVA_OPTS=”-Dcom.sun.management.jmxremote”

It is over.

if you restart tomcat web server and connect http://localhost/manager/html

you will see “/probe” context.

9월 3, 2008 Posted by jieum | was | , , | 댓글 1개

binding server 에 도메인 등록하기

# 도메인 추가시에 bind server configuration 에 대하여 알아봅니다.

.일단 서버에 bind 서버가 깔려있는지를 알아봅니다.
 버젼을 확인해 봅니다.(rpm의 경우)

> rpm -qa bind*
bind-libs-9.3.3-9.0.1.el5
bind-utils-9.3.3-9.0.1.el5
bind-9.3.3-9.0.1.el5
bind-chroot-9.3.3-9.0.1.el5

안되어 있다면 설치를 합니다.(설치는 생략합니다.)

.설정파일에 추가된 도메인을 설정합니다.
> cd /var/named/chroot/etc
> vi named.conf

……
zone [first.co.kr]” {
        type master;
        file “[first.comt.zone]“;
        allow-update { none; };
};
zone “[second.com]” {
        type master;
        file “[first.comt.zone]“;
        allow-update { none; };
};
zone “[third.com]” {
        type master;
        file “[first.comt.zone]“;
        allow-update { none; };
};
* [] 부분을 통째로 자기 환경에 맞게 수정하여야 합니다.

.서브도메인을 구성할 경우에는 domain.zone 파일(first.comt.zone) 을 수정합니다.
.named 데몬을 재구동 합니다.
> /etc/init.d/named restart

9월 3, 2008 Posted by jieum | linux | , | No Comments Yet