Difference: InstallationProcedureV2_1 (3 vs. 4)

Revision 42009-06-11 - DanieleCesini

Line: 1 to 1
 

Introduction to v2.1 Installation and Configuration

This installation guide is divided as follows:
Changed:
<
<
  • Installation of the sensors on the machine to be monitored (WMS/LB/WMSLB)
>
>
  • Installation of the sensors on the machine to be monitored (WMS/LB/WMSLB) - NOT AVALABLE FOR NOW IN RELEASE 2.1
 
  • 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.

Line: 30 to 30
 

WMSMON data collector installation

(done all the following as root)
Changed:
<
<
  • Install an SL4 machine (Not to be done if this is an upgrade)
>
>
  • Install an SL4 machine (Not to be done if this is an upgrade)
 
Changed:
<
<
  • If it is an upgrade it is safer to create a backup copy of the wmsmon database using an utility such as mysqldump
>
>
  • If it is an upgrade it is safer to create a backup copy of the wmsmon database using an utility such as mysqldump (i.e. mysqldump -p wmsmon > wmsmon-dump.sql)
  • IMPORTANT: If you manually changed files of the web interface under /var/www/html/wmsmon/ backup them because that directory will be overwritten.
 
  • cd /etc/yum.repos.d
  • Download this repo file containing the WMSMonitor repository contact string:
Line: 45 to 46
 
  • yum clean all
  • yum install WMSMonitor.collector
Changed:
<
<
In release 2.1 the WMSMonitor rpms installs everythng under /opt/WMSMonitor (in previous releases it was under /root/wmsmon).
>
>
In release 2.1 the WMSMonitor rpms installs everything under /opt/WMSMonitor (in previous releases it was, by default, under /root/wmsmon).
 
Line: 57 to 57
 
  • Edit the wmsmon_site-info.def
The wmsmon_site-info.def contains all the information needed to set up
Changed:
<
<
correctly all the monitor components. It is important to edit it carefully using a key = value notation.
>
>
correctly all the monitor components. It is important to edit it carefully using a key = value notation.
  Comments can be made using # at the beginning of the line.

Inline comments help you during the editing.

Changed:
<
<
If this is an upgrade please re-edit the file in the new location, now it is much easier to edit.
>
>
If this is an upgrade please re-edit the file in the new location, now it is much easier to edit. Of course use the same values used in the wmsmon_site-info.def used up to now.
  The important variable for a collector installation are:
Changed:
<
<
- WMSMON_HOST = 'Set here the name of the wmsmon data collector host'
>
>
- WMSMON_HOST = 'Set here the name of the wmsmon data collector host'
  - WMSMON_DB_PWD = Chose a root - password for mysql - if already set use it.
- LEMONFLAG = 1 'If you do not have a lemon tool on the wms/lb instance set to 0'
- LEMONURL = 'Set to the machine lemon url if any'
- SNMPPASSWD = 'The password you choose for snmp communication between data collector and wms instance !! NOTE: it must be the same on
Line: 89 to 90
 # https://host.domain # https://host.domain:8443
Changed:
<
<
If this paramemeters are not set an error will be raised a t configuration time (only a warning for the mail address)
>
>
If this parameters are not set an error will be raised a t configuration time (only a warning for the mail address)
  When setting a password please read the comments in the wmsmon_site-info.def file to know if the password must be enclosed
Line: 100 to 101
 
  • cd /opt/WMSMonitor/collector/etc
  • Edit the wmslist.conf
Changed:
<
<
If this is an upgrade you
>
>
If this is an upgrade you
 can maintain the same wmslist.conf file used by the previous release,
Changed:
<
<
but note that it is no more called wmsmonlist.con but wmslist.conf.
>
>
but note that it is no more called wmsmonlist.con (R1.4) but wmslist.conf.
 
Changed:
<
<
This file contains the list of wms present in your cluster (those were the wmsmon sensors are or will be installed).
It must be edit as shown in the template file in the following way:
>
>
This file contains the list of WMS present in your cluster (those were the wmsmon sensors are or will be installed).
It must be edited as shown in the template file in the following way:
  wms1.your_domain lb1.your_domain vo1
Line: 119 to 120
 multiVO. You can also use this tag to group the wms by their role: PROD, DEVEL etc...
Changed:
<
<
THE FILE CANNOT BE COMMENTED.
>
>
IMPORTANT: THE FILE CANNOT BE COMMENTED!
 
Changed:
<
<
  • Check that MySQL server is running (service mysqld status). If not please start it (service mysqld start)
>
>
  • Check that MySQL server is running (service mysqld status). If not, please start it (service mysqld start)
 
  • Run the configuration script
./wmsmon_server_setup.py  

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.

Changed:
<
<
Errors will be reported, please pay attention to them.
>
>
The old cron files that trigger the collector execution are moved to /tmp directory and new crons will be installed.
 
Changed:
<
<
If an older installation was found a wmsmon_old and /tmp/wmsmon_web_bkp directory are created containing all the old files.
>
>
The old $INSTALL_PATH/wmsmon directory (by default /root/wmsmon) will not be removed or moved in order not to destroy manual changes - if you want you can remove manually or leave untouched, it will not cause any problems.

Errors will be reported, please pay attention to them.

  When the script completes the /opt/WMSMonitor directory should have been moved to the INSTALL_PATH defined and the /var/www/html/wmsmon directory should now be in /var/www/html/WEBDIR, where WEBDIR is defined in the wmsmon_default.conf file.
 
TWIKI.NET
This site is powered by the TWiki collaboration platformCopyright © 2008-2022 by the contributing authors. All material on this collaboration platform is the property of the contributing authors.
Ideas, requests, problems regarding TWiki? Send feedback