Tags:
create new tag
,
view all tags
---+ GStat 2.0 for !WeNMR GStat web page: http://grid-monitor.pd.infn.it:50080/gstat/ Access to everybody Other links: * https://grid-monitor.pd.infn.it * Access requires a certificate (only enmr.eu members??) * https://grid-monitor.pd.infn.it/nagios * Access permitted for enmr.eu members only using personal certificate (authorized DNs are listed in file grid-monitor:/etc/nagios/htpasswd.users) * show Nagios implementation used by GStat Documentation about GStat could be found at https://svnweb.cern.ch/trac/gridinfo/wiki/GStatOverview --- ---++Management instructions Nothing to do about published information, a cron keeps them up-to-date. *After a reconfiguration* * change http / https ports to make site visible outside pd.infn.it * edit /etc/httpd/conf/httpd.conf changing from 80 to 50080 * edit /etc/httpd/conf.d/ssl.conf changing from 443 to (not-yet-defined) --- ---++ Installation and configuration instructions This documentation was followed: * https://svnweb.cern.ch/trac/gridinfo/wiki/GStatInstall * http://wiki.pscigrid.gov.ph/index.php/GStat Steps executed on grid-monitor.pd.infn.it (SL5 x86_64) * copied hostkey.pem and hostcert.pem, with right permissions, in /etc/grid-security/ <verbatim> cd /etc/yum.repos.d wget http://grid-deployment.web.cern.ch/grid-deployment/glite/repos/3.2/glite-UI.repo wget http://grid-deployment.web.cern.ch/grid-deployment/igtf/igtf.repo wget http://grid-deployment.web.cern.ch/grid-deployment/dag/el5/dag.repo wget http://www.sysadmin.hep.ac.uk/rpms/egee-SA1/centos5/x86_64/sa1-release-3-1.el5.noarch.rpm rpm -ivh sa1-release-3-1.el5.noarch.rpm yum update yum remove mysql-5.0.77-4.el5_5.4 mysql-5.0.77-4.el5_5.4 yum install MySQL-client-community MySQL-server-community yum install gstat-web ca_policy_igtf-classic /etc/init.d/mysql start chkconfig mysql on mysql -e "CREATE DATABASE gstat" mysql -e "GRANT ALL PRIVILEGES ON gstat.* TO 'gstat'@'localhost' IDENTIFIED BY '<GSTAT-PASSWORD>';" </verbatim> * edited /etc/gstat/gstat.ini changing: * DATABASE_PASSWORD:<GSTAT-PASSWORD> <verbatim> mysqladmin password <MySQL-root-password> /usr/share/gstat/manage syncdb </verbatim> * edited /etc/gstat/ref-bdii.conf * # BDII_HOST changed in Febraury, 15th 2011 * # BDII_HOST=bdii-enmr.cerm.unifi.it * BDII_HOST=bdii-wenmr.pd.infn.it * BDII_PORT=2170 * BDII_BIND=mds-vo-name=local,o=grid * GSTAT_PROD=TRUE * edited /root/gstat-site-info.def * INSTALL_ROOT=/opt * SITE_NAME=INFN-PADOVA * NAGIOS_HTTPD_ENABLE_CONFIG=true * NAGIOS_NAGIOS_ENABLE_CONFIG=true * NAGIOS_CGI_ENABLE_CONFIG=true * VOS="enmr.eu" * NAGIOS_ADMIN_DNS="/C=IT/O=INFN/OU=Personal Certificate/L=Padova/CN=Cristina Aiftimiei,/C=IT/O=INFN/OU=Personal Certificate/L=Padova/CN=Peter Solagna,/C=IT/O=INFN/OU=Personal Certificate/L=Padova/CN=Sara Bertocco,/C=IT/O=INFN/OU=Personal Certificate/L=Padova/CN=Sergio Traldi,/C=IT/O=INFN/OU=Personal Certificate/L=LNL/CN=Simone Badoer,/C=IT/O=INFN/OU=Personal Certificate/L=Padova/CN=Marco Verlato" * NAGIOS_ESCAPE_HTML=0 #Note: this variable is requested even if not mentioned in documentation * vi /root/vo.d/enmr.eu * VOMS_SERVERS="'vomss://voms2.cnaf.infn.it:8443/voms/enmr.eu?/enmr.eu' 'vomss://voms-02.pd.infn.it:8443/voms/enmr.eu?/enmr.eu'" <verbatim> /usr/bin/gstat-update configure-nagios </verbatim> * because of bug #53745 in yaim-core <verbatim> ln -s /bin/true /opt/glite/bin/glite-version </verbatim> * because of permission denied error, edited the file /opt/glite/yaim/functions/config_nagios changing the line * lock_file=/var/run/nagios.pid * with this: * lock_file=/var/nagios/nagios.pid <verbatim> /opt/glite/yaim/bin/yaim -c -d 6 -s /root/gstat-site-info.def -n GSTAT 2>&1 | tee /root/yaim05.log </verbatim> * edited /etc/httpd/conf/httpd.conf changing httpd port (from 80 to 50080) * Listen 50080 Some months after installation, errors occured while executing /usr/bin/gstat-update (see ticket https://ggus.eu/ws/ticket_info.php?ticket=72270) Steps done to resolve: <verbatim> cd /root wget http://koji.afroditi.hellasgrid.gr/packages/gstat-web/1.0.13/1.el5/noarch/gstat-web-1.0.13-1.el5.noarch.rpm yum remove Django-1.1.1-2.el5 yum install gstat-web-1.0.13-1.el5.noarch.rpm </verbatim> * edited /etc/gstat/gstat.ini changing: * DATABASE_PASSWORD:<GSTAT-PASSWORD> <verbatim> /usr/bin/gstat-update </verbatim> --- -- Main.MarcoVerlato - 2012-03-08
E
dit
|
A
ttach
|
PDF
|
H
istory
: r1
|
B
acklinks
|
V
iew topic
|
M
ore topic actions
Topic revision: r1 - 2012-03-08
-
MarcoVerlato
Home
Site map
CEMon web
CREAM web
Cloud web
Cyclops web
DGAS web
EgeeJra1It web
Gows web
GridOversight web
IGIPortal web
IGIRelease web
MPI web
Main web
MarcheCloud web
MarcheCloudPilotaCNAF web
Middleware web
Operations web
Sandbox web
Security web
SiteAdminCorner web
TWiki web
Training web
UserSupport web
VOMS web
WMS web
WMSMonitor web
WeNMR web
WeNMR Web
Create New Topic
Index
Search
Changes
Notifications
RSS Feed
Statistics
Preferences
P
View
Raw View
Print version
Find backlinks
History
More topic actions
Edit
Raw edit
Attach file or image
Edit topic preference settings
Set new parent
More topic actions
Account
Log In
E
dit
A
ttach
Copyright © 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