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.


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:
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:

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 file, :

vim  /home/dboard/MonaLisa/Service/myFarm/

and find and lia.Monitor.Store.TransparentStoreFast.web_writes prividing following values:
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/"}%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/"}%60
*sms_state{monStatusCmd, localhost, "/home/dboard/MonaLisa/bin/"}%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/ .

import the certificate:

./importCert repository

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-2023 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