Linux sistemleri de Nsm uygulaması içerisinde izlemek müm ündür. Bu işlem için, windows sunucularda olduğu gibi linux sistemlerde de nsm agentı kurmamız gerekmektedir. Bu makalemizde nsm agent ın kinux sistemlerde nasıl kurulduğunu anlatacağım.
Kurulumu yapacağımız server üzerinde kurulum dosyalarının bulunduğu klasöre gideriz.
[root@localhost]# cd /NSM11.1GA/Linux
Kuruluma başlamadan once aşağıdaki iki komutu çalıştırmamız gerekmektedir.
CA_SKIP_NETCONFIG=YES
Daha sonra komut satırından aşağıdaki komut ile kurulam başlarız
[root@localhost/NSM11.1GA/Linux]# ./setupNSM
Bu komuttan sonra kurulum adımları başlar. Installation Wizard for Unicenter NSM alanı seçiliyken tab tuşuyla Install butonu üzerine gelinir ve Enter a basılır.
![Text Box: +------------------------------------------------------------------------------+
¦ Unicenter NSM Installation Option ¦
+------------------------------------------------------------------------------+
Select Installation Option
(x) Installation Wizard for Unicenter NSM
( ) View Unicenter NSM Online Books
: : Register Unicenter NSM r11 Linux packages to Unicenter SD
: : Register Unicenter NSM r11 Windows packages to Unicenter SD
Copyright 2005 Computer Associates International, Inc.
[ Exit ] [ Product Information ] [ Install ]](linuxnsmagentinstall_files/image001.gif)
Aşağıda görülen lisans anlaşması ekrana gelecektir. Burada +/- tuşlarıyla sayfanın en altına kadar inilir ve tab tuşuyla I Agree butonu üzerine gelinerek Enter a basılır.
![Text Box:
+------------------------------------------------------------------------------+
¦ End User License Agreement ¦
+------------------------------------------------------------------------------+
IMPORTANT - READ CAREFULLY! THIS PRODUCT MAY CONTAIN SOFTWARE PROVIDED BY THIRD
PARTIES WHO REQUIRE AGREEMENT TO ADDITIONAL TERMS AND CONDITIONS PRIOR TO
INSTALLATION OF THIS PRODUCT. THESE ADDITIONAL TERMS ARE PRESENTED BELOW AFTER
THE CA END USER LICENSE AGREEMENT.
+------------------------------------------------------------------------------+
¦ obligations implied by Section 12 of the Sales of Goods Act 1979 or Section ¦
¦ 2 of the Supply of Goods and Services Act 1982. ¦
¦ ¦
¦ ¦
¦ ¦
¦ ¦
¦ ¦
¦ -
¦ +
+------------------------------------------------------------------------------+
You must scroll down to read the above terms and conditions before you can
choose the appropriate statement of agreement.
[ < Previous ] [ I agree ] [ I disagree ]](linuxnsmagentinstall_files/image002.gif)
Şimdiki işlem konfigurasyon ekranıdır. Gelen menüden tab tuşu yardımıyla Managed Node seçeneği seçilir ve yine tab tuşuyla Next üzerine gelinerek Enter a basılır.
![Text Box: +------------------------------------------------------------------------------+
¦ Unicenter NSM Configuration ¦
+------------------------------------------------------------------------------+
Select Configuration
( ) Management Station Installs the most frequently used Unicenter NSM Managers
(x) Managed Node Installs the most frequently used Unicenter NSM Agents
( ) Custom Installs only the components that you select
[ < Previous ] [ Next > ] [ Configuration Information ] [ Cancel ]](linuxnsmagentinstall_files/image003.gif)
Bundan sonraki işlem ise kurulacak adımların seçilmesidir. Gelen menüde öncelikle uncheck yapılarak tüm paketlerdeki işaret kaldırılır. Sonrasında ise aşağıda yer alan paketler Tab tuşu yardımıyla seçilerek işaretlenir.
- [X] Agent Technologies +
¦ [ ] Distributed State Machine ¦
¦ [X] Linux System Agent ¦
¦ [X] Linux Log Agent
[X] Enterprise Management -
¦ - [X] Event Management +
¦ [X] Event Agent ¦
¦ [ ] Event Manager
Bundan sonraki işlem ise Kernel in update edilmesidir. Nsm kernelin update edilmesine ihtiyaç duymaktadır. Bu nedenle aşağıdaki menüde tab tuşu yardımıyla Yes seçeneğini seçiyoruz ve yine tab tuşuyla Next üzerine gelerek Enter tuşuna basıyoruz.
![Text Box:
+------------------------------------------------------------------------------+
¦ Update Operating System Kernel Parameters ¦
+------------------------------------------------------------------------------+
Based on the Unicenter NSM component selection updates are required to your
current kernel configuration. Do you want the kernel parameters to be updated?
(x) Yes
( ) No
[ < Previous ] [ Next > ] [ Cancel ]](linuxnsmagentinstall_files/image004.gif)
Sonraki işlem ise installation location I seçmek. Bir değişiklik yapmadan tab tuşuyla Next üzerine gelerek Enter a basılır.
![Text Box: +------------------------------------------------------------------------------+
¦ Select Installation Locations ¦
+------------------------------------------------------------------------------+
The installation of Unicenter NSM components requires an installation location.
Once defined this location cannot be updated and will be used by any future
Unicenter NSM component installations.
Unicenter NSM Location: /opt/CA/UnicenterNSM............................
The installation of Unicenter NSM requires an installation location for CA
Shared Components. Once defined this location cannot be updated and will be
used by any future installation requiring CA Shared Components.
CA Shared Components Location: /opt/CA/SharedComponents........................
[ < Previous ] [ Next > ] [ Cancel ]](linuxnsmagentinstall_files/image005.gif)
Şimdiki işlem ise policy database ini seçmek. Tab tuşu yardımıyla Event Agent Policy Database: alanına gelerek orada yazanları silip yerine nsm serverın ip adresini yazıyoruz. Sonra Next diyerek devam ediyoruz.
![Text Box:
+------------------------------------------------------------------------------+
¦ Select Policy Database ¦
+------------------------------------------------------------------------------+
The Event Agent requires a valid connection to the server machine where your
Event Management policy database resides. Server name should be entered as
returned from the system command hostname.
Event Agent Policy Database: NSMIPADRESS......................................
Event Management can be configured to send information to a machine executing
WorldView. The default is to enable this feature for this host.
[X] Send Information to WorldView
[ < Previous ] [ Next > ] [ Cancel ]](linuxnsmagentinstall_files/image006.gif)
Şimdiki işlem yaptığımız seçimlerin yer aldığı summary (özet) ekranıdır. Next diyerek devam ediyoruz.
![Text Box:
+------------------------------------------------------------------------------+
¦ Selection Summary ¦
+------------------------------------------------------------------------------+
+------------------------------------------------------------------------------+
¦ Review your Unicenter NSM Component Selections ¦
¦ ¦
¦ Enterprise Management Event Agent ¦
¦ Agent Technology System Agent ¦
¦ Agent Technology Log Agent ¦
¦ ¦
¦ ¦
¦ ¦
+------------------------------------------------------------------------------+
[ < Previous ] [ Next > ] [ Cancel ]](linuxnsmagentinstall_files/image007.gif)
Sonraki ekran ise Install işleminin startını vereceğimiz ekrandır. Tab tuşu yardımıyla Install butonu üzerine gelinerek Enter a basılır.
![Text Box: +------------------------------------------------------------------------------+
¦ Unicenter NSM for Linux ¦
+------------------------------------------------------------------------------+
The Installation Wizard is now ready to install Unicenter NSM Components.
Select Install to begin installation process or Cancel to terminate this wizard.
[ < Previous ] [ Install ] [ Cancel ]](linuxnsmagentinstall_files/image008.gif)
Bir dizi kurulumdan sonra ekrana kurulumun bittiğine dair bir ekran gelecektir. Ok diyerek kurulum ekranında çıkılır.
![Text Box: +------------------------------------------------------------------------------+
¦ Installation Complete ¦
+------------------------------------------------------------------------------+
Unicenter NSM Installation Wizard completed.
Logout, then login to this machine to initialize the environment.
Review additional product updates [ View Readme ]
[ Ok ] [ Details ]](linuxnsmagentinstall_files/image009.gif)
NSM AGENT KURULUMU SONRASI YAPILACAK OLAN SNMP AYARLARI
SNMP_COMMUNITY public|Nsmserveripadress|read

Daha sonra yine aynı dosyanın biraz altında bulunan Snmp Trap alanına trap yapılacak serverın bilgileri girilir.
SNMP_TRAP 10.70.48.235|162 # traps to NSM server

Bundan sonraki işlem ise Nsm servisinin restart edilmesidir. Aşağıdaki komut ile restart edilebilir.
[root@localhost]# service CA-UnicenterNSM restart
Kurulumlar bu kadardır. Bundan sonraki işlemler söz konusu sunucuyu Nsm de discovery edilmesi ve ilgili Bpv ye taşınması adımlarıdır.