Introduction to v2.1 Installation and Configuration

This installation guide is divided as follows:

  • Installation of the sensors on the machine to be monitored (WMS/LB/WMSLB)
  • Installation of the data_collector server

This version of the server and of the sensor requires SL4 and snmp (installed by the installation scripts) on all the nodes.

Python, http, php and other packages are also needed on the collector machine - they will be installe automatically when the WMSMonitor packages are installed.

If sensors or/and data_collector are already running at your site, instruction on how to upgrade are given highlighted in green.

This version is installed via rpm and yum.

It is advisable, even if not required that the sensors are installed before the collector.

In case of problems during installation please contact wms-support<at>cnaf.infn.it

NOTE: In release 2.0 the database schema has changed! if you are running an update from a version older that 2.0 it will be automatically ported to the new schema by the configuration script.

If you want to port the old data to the new VO statistics page please contact wms-support<at>cnaf.infn.it after the instalaltion/configuration completes.

WMSMON data collector installation

(done all the following as root)

  • Install an SL4 machine (Not to be done if this is an upgrade)

  • If it is an upgrade it is safer to create a backup copy of the wmsmon database using an utility such as mysqldump

  • cd /etc/yum.repos.d
  • Download this repo file containing the WMSMonitor repository contact string:

wget http://grid-it.cnaf.infn.it/certification/downloads/WMSMonitor.repo

  • cd /root
  • yum clean all
  • yum install WMSMonitor.collector
  • cd /opt/WMSMonitor/common
  • Edit the wmsmon-site_info.def
  • cd /opt/WMSMonitor/collector/etc
  • Edit the wmslist.conf
  • Check that MySQL server is running
  • Run the configuration script
./wmsmon_server_setup.py

Look for errors. Configuration is complete only if a string like "WMSMonitor Successfully Configured" if displayed at the end.

yum install mysql-server

service mysqld start

  • Run the script with the -i option to start the installation process

/root/install_wmsmon_server-v2.0_00.py -i

The script will look for older wmsmon installations. If none is found a brand new installation will start otherwise an upgrade process will be attempted.

Errors will be reported, please pay attention to them.


This topic: WMSMonitor > InstallationProcedureV2_1
Topic revision: r1 - 2009-05-28 - DanieleCesini
 
TWIKI.NET
This site is powered by the TWiki collaboration platformCopyright © 2008-2024 by the contributing authors. All material on this collaboration platform is the property of the contributing authors.
Ideas, requests, problems regarding TWiki? Send feedback