Instalasi OpenNMS
OpenNMS merupakan Network Management System yang ditulis dalam bahasa pemrograman JAVA dan bekerja sebagai aplikasi Apache Tomcat.
OpenNMS memiliki fungsi antara lain :
- Service polling – menentukan service yang tersedia dan membuat laporan service tersebut.
- Data collection – mengumpulkan, menyimpan, dan melaporkan informasi jaringan.
- Event and Notification Management – menerima berbagai event, dari internal maupun external, dan menggunakannya untuk mengahasilkan notification system.
==Pra-instalasi==
-tambahkan sepository opennms dan debian
#vi /etc/apt/source.list
deb http://kambing.vlsm.org/debian unstable main contrib non-free
deb http://debian.opennms.org/ opennms-1.3 main
-tambahkan GPG key untuk repository opennms
#wget -O - http://debian.opennms.org/OPENNMS-GPG-KEY | sudo apt-key add -
-update repository
#apt-get update
==Instalasi==
-Sun Java JDK
#apt-get install sun-java6-jdk
-check hasil instalasi java jdk
#java -version
java version "1.6.0_04"
Java(TM) SE Runtime Environment (build 1.6.0_04-b12)
Java HotSpot(TM) Client VM (build 10.0-b19, mixed mode, sharing)
-tentukan letak program java, pilih direktory dari sun
#update-alternatives –config java
There are 2 alternatives which provide `java'.
Selection Alternative
-----------------------------------------------
1 /usr/bin/gij-wrapper-4.1
*+ 2 /usr/lib/jvm/java-6-sun/jre/bin/java
Press enter to keep the default[*], or type selection number: 2
Using `/usr/lib/jvm/java-6-sun/jre/bin/java' to provide `java'.
-Tomcat5.5
-install tomcat5.5
untuk menginstall tomcat 5.5, perintah yang diperlukan adalah :
#apt-get install tomcat5.5 tomcat5.5-admin tomcat5.5-webapps
-edit file server.xml, dan ubah server port ke 8180
#vim /etc/tomcat5.5/server.xml
.....
Server port="8180" shutdown="SHUTDOWN"
.....
-Postgresql-8.2
-Install Postgresql 8.2
#apt-get install postgresql-8.2 postgresql-server-dev-8.2
-edit file postgresql.conf, agar database dapat di akses oleh localhost
#vim /etc/postgresql/8.2/main/postgresql.conf
.....
listen_addresses = 'localhost'
.....
-edit file pg_hba.conf, untuk mengubah hak akses database
#vim /etc/postgresql/8.2/main/pg_hba.conf
# "local" is for Unix domain socket connections only
local all all trust
host all all 127.0.0.1/32 trust
host all all ::1/128 trust
-OpenNMS
-instalasi OpenNMS
#apt-get install opennms opennms-webapp
-Tentukan lokasi JVM untuk OpenNMS
#/usr/share/opennms/bin/runjava -S /usr/lib/jvm/java-6-sun/jre/bin/java
-Set database OpenNMS
#/usr/share/opennms/install -disU
-ubah konfigurasi basic OpenNMS sesuai dengan keadaan jaringan
#/etc/opennms/discovery-configuration.xml
sample :
retries="1" timeout="2000">
-setting webapp OpenNMS pada tomcat
#/usr/share/opennms/bin/install -y -w /usr/share/tomcat5.5/conf/Catalina/localhost
==End==
-Restart service tomcat5.5, postgresql-8.2, dan OpenNMS
#/etc/init.d/tomcat5.5 restart
#/etc/init.d/postgresql-8.2 restart
#/etc/init.d/opennms restart
-buka browser dan masukan alamat http://localhost:8180/opennms
-user dan password di isi dengan admin
:D
1 comment:
We need to reach millions of customers each day and internet marketing is the best way to make this happen. Internet Marketing not only drives traffic to our site and increases our revenues, but what is important, is to share to people that we have great services that they can use or tools that can help improve themselves and their lives.
Post a Comment