Preface

MonAlisa is a software for monitoring many ascpects of physical machines grouped in a cluster. We use this software for monitoring all (virtual and physical) dashboard machines. when new machines are added to cluster on each of them MonAlisa have to be installed from scratch. This article will guide you through instalation process. While reading this you will realise why this process is not trivial to automate. If you have any ideas how to make it more smooth and automated, write down your proposals here.

Installation

First we do some check, they should be performed as a root. First invoke

java -version
to check if java is installed on the machine. If it's not try to install it remembering that if machine is using quattor templates java have to be added to the tamplate first.

Next, try to add dboard group

groupadd dboard

It's OK if the group is already defined. Now try to add dboard user:

useradd -s /bin/bash -g dboard -m -k /dev/null dboard

Again we don't mind if user is already there.

Next steps you should perform as a adboard user, so type:

su - dboard
and download MonAlisa:
wget http://monalisa.cern.ch/download/monalisa/MonaLisa.v1.9.1.tar.gz
unpack it:
tar -xf MonaLisa.v1.9.1.tar.gz
remove tarball
rm -rf MonaLisa.v1.9.1.tar.gz
then change directory:
 cd MonaLisa.v1.9/
and launch installation script:
./install.sh

First it will ask about your name and email. Privide true data (not dboard but yours) as a city type Geneva, coordinates are 46 and 6.

Open ml.properties file, :

vim  /home/dboard/MonaLisa/Service/myFarm/ml.properties

and find lia.Monitor.group and lia.Monitor.Store.TransparentStoreFast.web_writes prividing following values:

lia.Monitor.group=dashboard
lia.Monitor.Store.TransparentStoreFast.web_writes = 0 

Next open myFarm.conf file:

vim  /home/dboard/MonaLisa/Service/myFarm/myFarm.conf

and add this lines:

*RPMs{monStatusCmd, localhost, "/home/dboard/MonaLisa/bin/rpms.sh"}%300
*httpd{monApache, localhost, "http://localhost:80/server-status/"}%60
*httpd{monApache, localhost, "http://localhost:80/server-status/"}%60
*collectors{monStatusCmd, localhost, "/home/dboard/MonaLisa/bin/collectors.sh"}%60
*sms_state{monStatusCmd, localhost, "/home/dboard/MonaLisa/bin/smsstate.sh"}%60
*IPs{monIPAddresses, localhost, ""}%600
*MonaLisa_DiskDF{DiskDF, localhost, ""}%120
*MonaLisa_MemInfo{MemInfo, localhost, ""}%120
*MonaLisa_Netstat{Netstat, localhost, ""}%120
*MonaLisa_ProcessesStatus{ProcessesStatus, localhost, ""}%120
*MonaLisa_SysInfo{SysInfo, localhost, ""}%600
*MonaLisa_NetworkConfiguration{NetworkConfiguration, localhost, ""}%600

now, go one level up in a directory structure:

cd ..

and remove original installation directory:

rm -rf MonaLisa.v1.9/

go to bin directory:

cd MonaLisa/bin/

and connect to some machine that have already installed MonAlisa ie. dashb-virtual09 and copy the contents of its bin directory:

 scp -r root@dashboard33:/home/dboard/MonaLisa/bin/* .

then go to:

cd ../Service/SSecurity/

and copy from some remote machine repository certificate:

scp   root@dashboard33:/home/dboard/MonaLisa/Service/SSecurity/repository.pub .

import the certificate:

./importCert repository repository.pub

and start MonAlisa:

/home/dboard/MonaLisa/Service/CMD/ML_SER start

That's all! -- MmNowotka - 26-Sep-2011

Edit | Attach | Watch | Print version | History: r3 < r2 < r1 | Backlinks | Raw View | WYSIWYG | More topic actions
Topic revision: r3 - 2011-09-30 - PabloSaiz
 
    • Cern Search Icon Cern Search
    • TWiki Search Icon TWiki Search
    • Google Search Icon Google Search

    ArdaGrid All webs login

This site is powered by the TWiki collaboration platform Powered by PerlCopyright & 2008-2022 by the contributing authors. All material on this collaboration platform is the property of the contributing authors.
or Ideas, requests, problems regarding TWiki? use Discourse or Send feedback