Difference: WorkLogDevel16 (1 vs. 8)

Revision 82011-01-18 - AlessioGianelle

Line: 1 to 1
 
META TOPICPARENT name="DevelTestbed"

Devel16 Work Log

2008-03-05 (Ale)

Line: 193 to 193
 
  • Remove edg-mkgridmap from the cron.d dir
Changed:
<
<
  • Add the proper VO entry in the /etc/grid-security/grid-mapfile: e.g.
>
>
  • Add the proper VO entry in the /etc/grid-security/grid-mapfile: e.g.
 
Changed:
<
<
  • Add the proper VO entry in the /etc/grid-security/groupmapfile: e.g.
>
>
  • Add the proper VO entry in the /etc/grid-security/groupmapfile: e.g.
 

Configure the gridftp server:

    • Run /opt/glite/sbin/gt4-interface-install.sh install (it creates /etc/grid-security/gsi-authz.conf)
    • Touch the file /opt/glite/etc/lcas/ban_users.db
Changed:
<
<
    • Create the file /opt/glite/etc/lcas/lcas.db: e.g.
    • Create the file /opt/glite/etc/lcmaps/lcmaps.db.gridftp: e.g.
>
>
    • Create the file /opt/glite/etc/lcas/lcas.db: e.g.
    • Create the file /opt/glite/etc/lcmaps/lcmaps.db.gridftp: e.g.
 
  • To start the service:
    • export LCMAPS_DB_FILE=/opt/glite/etc/lcmaps/lcmaps.db.gridftp

Revision 72008-03-05 - AlessioGianelle

Line: 1 to 1
 
META TOPICPARENT name="DevelTestbed"

Devel16 Work Log

Added:
>
>

2008-03-05 (Ale)

  • Update:
    glite-jdl-api-cpp i386 3.1.14-1.slc4 devel17
    glite-lb-client i386 3.1.2-2.slc4 devel17
    glite-lb-common i386 6.1.1-2.slc4 devel17
    glite-lb-logger i386 1.4.9-2.slc4 devel17
    glite-lb-proxy i386 1.5.2-2.slc4 devel17
    glite-lb-server i386 1.8.3-1.slc4 devel17
    glite-security-lcas-plugins-voms i386 1.3.4-4.slc4 devel17
    glite-security-lcmaps i386 1.4.3-2.slc4 devel17
    glite-security-lcmaps-plugins-voms i386 1.3.7-4.slc4 devel17
    glite-wms-broker i386 3.1.5-5.slc4 devel17
    glite-wms-brokerinfo i386 3.1.10-3.slc4 devel17
    glite-wms-classad_plugin i386 3.1.9-2.slc4 devel17
    glite-wms-helper i386 3.1.20-2.slc4 devel17
    glite-wms-ism i386 3.1.16-3.slc4 devel17
    glite-wms-manager i386 3.1.32-3.slc4 devel17
    glite-wms-matchmaking i386 3.1.8-2.slc4 devel17
    glite-wms-purger i386 3.1.10-3.slc4 devel17
    glite-wms-thirdparty-bypass i386 3.1.3-3.slc4 devel17
    lcg-CA noarch 1.19-1 CA
    lcg-vomscerts noarch 4.8.0-1 devel17
    glite-security-voms i386 1.7.24-1.slc4 devel17
    glite-wms-common i386 3.1.19-3.slc4 devel17
    glite-wms-configuration i386 3.1.11-2.slc4 devel17
    glite-wms-jobsubmission i386 3.1.10-3.slc4 devel17
 

2007-11-15 (Ale)

Revision 62007-11-16 - AlessioGianelle

Line: 1 to 1
 
META TOPICPARENT name="DevelTestbed"

Devel16 Work Log

Revision 52007-11-16 - AlessioGianelle

Line: 1 to 1
 
META TOPICPARENT name="DevelTestbed"

Devel16 Work Log

2007-11-15 (Ale)

Changed:
<
<
Starting installation of the WMS
>
>

Starting installation of the WMS

 
  • Define new yum repository:
Line: 20 to 21
 
  • /opt/glite/yaim/bin/yaim -c -s site-info.def -n WMS
Changed:
<
<
PROBLEMs:
>
>

Issues:

ERROR: No gLite version has been detected. You have to have glite-version command available under /opt/glite/bin/ ! Exiting. 
 
Changed:
<
<
  1. ERROR: No gLite version has been detected. You have to have glite-version command available under /opt/glite/bin/ ! Exiting. BUG 27428
>
>
This is bug 27428 to solve it do:
 
Changed:
<
<
wget http://eticssoft.web.cern.ch/eticssoft/repository/org.glite/glite-version/3.1.0/slc4_ia32_gcc346/glite-version-3.1.0-1.slc4.i386.rpm rpm -ihv glite-version-3.1.0-1.slc4.i386.rpm
>
>
 
Deleted:
<
<
  1. ERROR: GLITE_USER is not set
 
 
Changed:
<
<
ERROR
Error during the execution of function: config_condor_wms_check
>
>
ERROR: GLITE_USER is not set ERROR: Error during the execution of function: config_condor_wms_check
 
ERROR
Error during running check functions.
ERROR
Please define your missing variables ! Exiting.
Changed:
<
<
Change this function in /opt/glite/yaim/functions/config_condor_wms
function config_condor_wms_check () {
>
>
  • Remove GLITE_USER check from function /opt/glite/yaim/functions/config_condor_wms
 
Changed:
<
<
requires $1 INSTALL_ROOT SITE_EMAIL GLOBUS_TCP_PORT_RANGE }
>
>
ERROR: Error during the execution of function: config_gip_service
 
Added:
>
>
Why do you configure GIP on a WMS???
 
Changed:
<
<
  1. ERROR: Error during the execution of function: config_gip_service

Why do you configure GIP on a MWS??? Remove from file /opt/glite/yaim/node-info.d/glite-wms the line: config_gip_service

>
>
  • Remove from file /opt/glite/yaim/node-info.d/glite-wms the line: config_gip_service
 
Changed:
<
<
  1. /opt/glite/yaim/bin/../libexec/configure_node: line 99: /opt/edg/etc/edg-mkgridmap.conf: No such file or directory /opt/glite/yaim/bin/../libexec/configure_node: line 528: /opt/edg/sbin/edg-mkgridmap: No such file or directory
>
>
/opt/glite/yaim/bin/../libexec/configure_node: line 99: /opt/edg/etc/edg-mkgridmap.conf: No such file or directory  
/opt/glite/yaim/bin/../libexec/configure_node: line 528: /opt/edg/sbin/edg-mkgridmap: No such file or directory
 
Changed:
<
<
Just a warning
>
>
Just a warning, you need to remove the "edg-mkgridmap" configuration part.
 
Deleted:
<
<
  1. cat: /opt/glite/etc/ftpaccess: No such file or directory
 
Added:
>
>
cat: /opt/glite/etc/ftpaccess: No such file or directory
 mv: cannot stat `/opt/glite/etc/ftpaccess': No such file or directory /opt/glite/yaim/bin/../libexec/configure_node: line 388: /opt/glite/etc/init.d/glite-wms-ftpd: No such file or directory
INFO
Executing function: config_glite_wms_setenv
Line: 66 to 70
  glite-wms-thirdparty-globus_gridftp_server is not installed so please remove this part from /opt/glite/yaim/functions/config_glite_wms!
Deleted:
<
<
  1. starting workload manager... failure
 
Added:
>
>
starting workload manager... failure
 
ABORT
Service glite-wms-wm failed to start!
ERROR
Error during the execution of function: config_glite_wms
ERROR
Error during the configuration.Exiting. [FAILED]
Line: 75 to 79
  To start correctly workload-manager add to file /opt/glite/yaim/functions/config_glite_wms (it needs liblog4cxx.so.9.0.0)
Changed:
<
<
yaimgridpath_append LD_LIBRARY_PATH /usr/local/lib
>
>
  • yaimgridpath_append LD_LIBRARY_PATH /usr/local/lib
 
Changed:
<
<
  1. the pid file /var/glite/glite-wms-workload_manager.pid is not writable (from the wm log file)
>
>
the pid file /var/glite/glite-wms-workload_manager.pid is not writable (from the wm log file)
  $GLITE_WMS_TMP must be all-writable
Deleted:
<
<
  1. /opt/glite/etc/init.d/glite-wms-wmproxy: line 63: /usr/sbin/httpd: No such file or directory
 
Added:
>
>
/opt/glite/etc/init.d/glite-wms-wmproxy: line 63: /usr/sbin/httpd: No such file or directory
 
ABORT
Service glite-wms-wmproxy failed to start!
ERROR
Error during the execution of function: config_glite_wms
ERROR
Error during the configuration.Exiting. [FAILED]
Changed:
<
<
yum install httpd
>
>
  • yum install httpd
 
Deleted:
<
<
  1. Syntax error on line 18 of /opt/glite/etc/glite_wms_wmproxy_httpd.conf:
 
Added:
>
>
Syntax error on line 18 of /opt/glite/etc/glite_wms_wmproxy_httpd.conf:
 Cannot load /usr/lib/httpd/modules/mod_ssl.so into server: /usr/lib/httpd/modules/mod_ssl.so: cannot open shared object file: No such file or directory
ABORT
Service glite-wms-wmproxy failed to start!
ERROR
Error during the execution of function: config_glite_wms
ERROR
Error during the configuration.Exiting.
Changed:
<
<
yum install mod_ssl
>
>
  • yum install mod_ssl
 
Deleted:
<
<
  1. Syntax error on line 101 of /opt/glite/etc/glite_wms_wmproxy_httpd.conf:
 
Added:
>
>
Syntax error on line 101 of /opt/glite/etc/glite_wms_wmproxy_httpd.conf:
 SSLCACertificatePath: directory '/etc/grid-security/certificates' does not exist
ABORT
Service glite-wms-wmproxy failed to start!
ERROR
Error during the execution of function: config_glite_wms
ERROR
Error during the configuration.Exiting. [FAILED]
Changed:
<
<
yum install lcg-CA
>
>
  • yum install lcg-CA
 
Deleted:
<
<
  1. chmod: cannot access `/var/lib/mysql/': No such file or directory
 
Added:
>
>
chmod: cannot access `/var/lib/mysql/': No such file or directory
 error reading information on service mysql: No such file or directory /opt/glite/yaim/functions/config_glite_lbproxy: line 43: /etc/init.d/mysql: No such file or directory mysqladmin: connect to server at 'localhost' failed
Line: 125 to 131
 
ERROR
Error during the configuration.Exiting. [FAILED]
Changed:
<
<
yum install mysql-server
>
>
  • yum install mysql-server
  • Fix line 43 of /opt/glite/yaim/functions/config_glite_lbproxy: /etc/init.d/mysqld start

To run correctly wmproxy add to file /opt/glite/yaim/functions/config_glite_wms (for libfcgi*):
 
Changed:
<
<
Fix line 43 of /opt/glite/yaim/functions/config_glite_lbproxy: /etc/init.d/mysqld start
>
>
  • yaimgridpath_append LD_LIBRARY_PATH /opt/fcgi/lib
 
Changed:
<
<
  1. To run correctly wmproxy add to file /opt/glite/yaim/functions/config_glite_wms (for libfcgi*)
>
>
Use the correct glite-wms-purger.cron script
 
Changed:
<
<
yaimgridpath_append LD_LIBRARY_PATH /opt/fcgi/lib
>
>
  • Substitute: s/root/glite/
 
Changed:
<
<
  1. use the correct glite-wms-purger.cron script
>
>
Fix lcg-expiregridmapdir cron job (with the correct path)
 
Changed:
<
<
s/root/glite/
>
>
  • Substitute: s/egd/glite/

 
Changed:
<
<
  1. fix lcg-expiregridmapdir cron job (with the correct path)
>
>
  • Create dir $GLITE_WMS_LOCATION_VAR/wmproxy for the file LBServerWeightsFile.devel16.cnaf.infn.it
 
Changed:
<
<
s/egd/glite/
>
>
  • Install condor-lcg-1.1.0-1.i386.rpm - Needs by condor (gahp)
 
Changed:
<
<
  1. install glite-wms-wmproxy-logrotate.cron
>
>
  • Install glite-wms-wmproxy-logrotate.cron. e.g:
 
HOME=/
MAILTO=root@localhost
Changed:
<
<
0 */2 * * * root /usr/sbin/logrotate -v /opt/glite/etc/wmproxy_logrotate.conf >> /var/log/glite/wmproxy_logrotate.log 2>&1
>
>
0 */2 * * * root /usr/sbin/logrotate -v /opt/glite/etc/wmproxy_logrotate.conf >> /opt/glite/log/wmproxy_logrotate.log 2>&1
 
Changed:
<
<
  1. Remove edg-mkgridmap from the cron.d dir
>
>
  • Remove edg-mkgridmap from the cron.d dir
 
Changed:
<
<
  1. Add the proper VO entry in the /etc/grid-security/grid-mapfile: e.g.
"/dteam/Role=lcgadmin/Capability=NULL" .dteamsgm
"/dteam/Role=lcgadmin" .dteamsgm
"/dteam/Role=production/Capability=NULL" .dteamprd
"/dteam/Role=production" .dteamprd
"/dteam/Role=NULL/Capability=NULL" .dteam
"/dteam" .dteam
"/dteam/*" .dteam
>
>
  • Add the proper VO entry in the /etc/grid-security/grid-mapfile: e.g.
 
Changed:
<
<
1. Add the proper VO entry in the /etc/grid-security/groupmapfile: e.g.
"/dteam/Role=lcgadmin/Capability=NULL" dteamsgm
"/dteam/Role=lcgadmin" dteamsgm
"/dteam/Role=production/Capability=NULL" dteamprd
"/dteam/Role=production" dteamprd
"/dteam/Role=NULL/Capability=NULL" dteam
"/dteam" dteam
/dteam dteam
/dteam/* dteam
>
>
  • Add the proper VO entry in the /etc/grid-security/groupmapfile: e.g.
 
Added:
>
>

Configure the gridftp server:

 
Deleted:
<
<
  1. Configure the gridftp server:
 
    • Run /opt/glite/sbin/gt4-interface-install.sh install (it creates /etc/grid-security/gsi-authz.conf)
    • Touch the file /opt/glite/etc/lcas/ban_users.db
Changed:
<
<
    • Create the file /opt/glite/etc/lcas/lcas.db: e.g.
    • Create the file /opt/glite/etc/lcmaps/lcmaps.db.gridftp: e.g.
>
>
    • Create the file /opt/glite/etc/lcas/lcas.db: e.g.
    • Create the file /opt/glite/etc/lcmaps/lcmaps.db.gridftp: e.g.
 
Changed:
<
<
  1. To start the service:
>
>
  • To start the service:
  * export LCMAPS_DB_FILE=/opt/glite/etc/lcmaps/lcmaps.db.gridftp * /opt/globus/sbin/globus-gridftp-server -p 2811 -l /var/log/gridftp.log -S
Deleted:
<
<
  1. Create dir $GLITE_WMS_LOCATION_VAR/wmproxy for the file LBServerWeightsFile.devel16.cnaf.infn.it

  1. Install condor-lcg-1.1.0-1.i386.rpm - Needs by condor (gahp)
  -- AlessioGianelle - 08 Oct 2007 \ No newline at end of file

Revision 42007-11-16 - AlessioGianelle

Line: 1 to 1
 
META TOPICPARENT name="DevelTestbed"

Devel16 Work Log

Line: 129 to 129
  Fix line 43 of /opt/glite/yaim/functions/config_glite_lbproxy: /etc/init.d/mysqld start
Added:
>
>
  1. To run correctly wmproxy add to file /opt/glite/yaim/functions/config_glite_wms (for libfcgi*)

yaimgridpath_append LD_LIBRARY_PATH /opt/fcgi/lib

  1. use the correct glite-wms-purger.cron script

s/root/glite/

  1. fix lcg-expiregridmapdir cron job (with the correct path)

s/egd/glite/

  1. install glite-wms-wmproxy-logrotate.cron

HOME=/
MAILTO=root@localhost
0 */2 * * * root /usr/sbin/logrotate -v /opt/glite/etc/wmproxy_logrotate.conf >> /var/log/glite/wmproxy_logrotate.log 2>&1

  1. Remove edg-mkgridmap from the cron.d dir

  1. Add the proper VO entry in the /etc/grid-security/grid-mapfile: e.g.
"/dteam/Role=lcgadmin/Capability=NULL" .dteamsgm
"/dteam/Role=lcgadmin" .dteamsgm
"/dteam/Role=production/Capability=NULL" .dteamprd
"/dteam/Role=production" .dteamprd
"/dteam/Role=NULL/Capability=NULL" .dteam
"/dteam" .dteam
"/dteam/*" .dteam

1. Add the proper VO entry in the /etc/grid-security/groupmapfile: e.g.

"/dteam/Role=lcgadmin/Capability=NULL" dteamsgm
"/dteam/Role=lcgadmin" dteamsgm
"/dteam/Role=production/Capability=NULL" dteamprd
"/dteam/Role=production" dteamprd
"/dteam/Role=NULL/Capability=NULL" dteam
"/dteam" dteam
/dteam dteam
/dteam/* dteam

  1. Configure the gridftp server:
    • Run /opt/glite/sbin/gt4-interface-install.sh install (it creates /etc/grid-security/gsi-authz.conf)
    • Touch the file /opt/glite/etc/lcas/ban_users.db
    • Create the file /opt/glite/etc/lcas/lcas.db: e.g.
    • Create the file /opt/glite/etc/lcmaps/lcmaps.db.gridftp: e.g.

  1. To start the service: * export LCMAPS_DB_FILE=/opt/glite/etc/lcmaps/lcmaps.db.gridftp * /opt/globus/sbin/globus-gridftp-server -p 2811 -l /var/log/gridftp.log -S

  1. Create dir $GLITE_WMS_LOCATION_VAR/wmproxy for the file LBServerWeightsFile.devel16.cnaf.infn.it

  1. Install condor-lcg-1.1.0-1.i386.rpm - Needs by condor (gahp)
 -- AlessioGianelle - 08 Oct 2007 \ No newline at end of file

Revision 32007-11-15 - AlessioGianelle

Line: 1 to 1
 
META TOPICPARENT name="DevelTestbed"

Devel16 Work Log

Line: 16 to 16
 

  • yum install cert-glite-WMSLB
Added:
>
>
  • Copy hostcert.pem hostkey.pem under /etc/grid-security/
 
Added:
>
>
  • /opt/glite/yaim/bin/yaim -c -s site-info.def -n WMS

PROBLEMs:

  1. ERROR: No gLite version has been detected. You have to have glite-version command available under /opt/glite/bin/ ! Exiting. BUG 27428

wget http://eticssoft.web.cern.ch/eticssoft/repository/org.glite/glite-version/3.1.0/slc4_ia32_gcc346/glite-version-3.1.0-1.slc4.i386.rpm rpm -ihv glite-version-3.1.0-1.slc4.i386.rpm

  1. ERROR: GLITE_USER is not set
 
   ERROR: Error during the execution of function: config_condor_wms_check
   ERROR: Error during running check functions.
   ERROR: Please define your missing variables ! Exiting.

Change this function in /opt/glite/yaim/functions/config_condor_wms

function config_condor_wms_check () {

        requires $1 INSTALL_ROOT SITE_EMAIL GLOBUS_TCP_PORT_RANGE
}

  1. ERROR: Error during the execution of function: config_gip_service

Why do you configure GIP on a MWS??? Remove from file /opt/glite/yaim/node-info.d/glite-wms the line: config_gip_service

  1. /opt/glite/yaim/bin/../libexec/configure_node: line 99: /opt/edg/etc/edg-mkgridmap.conf: No such file or directory /opt/glite/yaim/bin/../libexec/configure_node: line 528: /opt/edg/sbin/edg-mkgridmap: No such file or directory

Just a warning

  1. cat: /opt/glite/etc/ftpaccess: No such file or directory
mv: cannot stat `/opt/glite/etc/ftpaccess': No such file or directory
/opt/glite/yaim/bin/../libexec/configure_node: line 388: /opt/glite/etc/init.d/glite-wms-ftpd: No such file or directory
   INFO: Executing function: config_glite_wms_setenv
   INFO: Executing function: config_glite_wms
Your identity: /C=IT/O=INFN/OU=Host/L=CNAF/CN=devel16.cnaf.infn.it
Creating proxy ................................... Done
Your proxy is valid until: Fri Nov 16 17:28:23 2007
   ABORT: Service glite-wms-ftpd failed to start!
   ERROR: Error during the execution of function: config_glite_wms
   ERROR: Error during the configuration.Exiting.                              [FAILED]

glite-wms-thirdparty-globus_gridftp_server is not installed so please remove this part from /opt/glite/yaim/functions/config_glite_wms!

  1. starting workload manager... failure
   ABORT: Service glite-wms-wm failed to start!
   ERROR: Error during the execution of function: config_glite_wms
   ERROR: Error during the configuration.Exiting.                              [FAILED]

To start correctly workload-manager add to file /opt/glite/yaim/functions/config_glite_wms (it needs liblog4cxx.so.9.0.0)

yaimgridpath_append LD_LIBRARY_PATH /usr/local/lib

  1. the pid file /var/glite/glite-wms-workload_manager.pid is not writable (from the wm log file)

$GLITE_WMS_TMP must be all-writable

  1. /opt/glite/etc/init.d/glite-wms-wmproxy: line 63: /usr/sbin/httpd: No such file or directory
   ABORT: Service glite-wms-wmproxy failed to start!
   ERROR: Error during the execution of function: config_glite_wms
   ERROR: Error during the configuration.Exiting.                              [FAILED]

yum install httpd

  1. Syntax error on line 18 of /opt/glite/etc/glite_wms_wmproxy_httpd.conf:
Cannot load /usr/lib/httpd/modules/mod_ssl.so into server: /usr/lib/httpd/modules/mod_ssl.so: cannot open shared object file: No such file or directory
   ABORT: Service glite-wms-wmproxy failed to start!
   ERROR: Error during the execution of function: config_glite_wms
   ERROR: Error during the configuration.Exiting.                              

yum install mod_ssl

  1. Syntax error on line 101 of /opt/glite/etc/glite_wms_wmproxy_httpd.conf:
SSLCACertificatePath: directory '/etc/grid-security/certificates' does not exist
   ABORT: Service glite-wms-wmproxy failed to start!
   ERROR: Error during the execution of function: config_glite_wms
   ERROR: Error during the configuration.Exiting.                              [FAILED]

yum install lcg-CA

  1. chmod: cannot access `/var/lib/mysql/': No such file or directory
error reading information on service mysql: No such file or directory
/opt/glite/yaim/functions/config_glite_lbproxy: line 43: /etc/init.d/mysql: No such file or directory
mysqladmin: connect to server at 'localhost' failed
error: 'Can't connect to local MySQL server through socket '/var/lib/mysql/mysql.sock' (2)'
Check that mysqld is running and that the socket: '/var/lib/mysql/mysql.sock' exists!
ERROR 2002 (HY000): Can't connect to local MySQL server through socket '/var/lib/mysql/mysql.sock' (2)
ERROR 2002 (HY000): Can't connect to local MySQL server through socket '/var/lib/mysql/mysql.sock' (2)
ERROR 2002 (HY000): Can't connect to local MySQL server through socket '/var/lib/mysql/mysql.sock' (2)
Can not access MySQL DB, check password.
   ERROR: Error during the execution of function: config_glite_lbproxy
   ERROR: Error during the configuration.Exiting.                              [FAILED]

yum install mysql-server

Fix line 43 of /opt/glite/yaim/functions/config_glite_lbproxy: /etc/init.d/mysqld start

  -- AlessioGianelle - 08 Oct 2007

Revision 22007-11-15 - AlessioGianelle

Line: 1 to 1
 
META TOPICPARENT name="DevelTestbed"
Added:
>
>

Devel16 Work Log

 
Added:
>
>

2007-11-15 (Ale)

 
Added:
>
>
Starting installation of the WMS

  • Define new yum repository:
[main]
[glite-wms]
name=gLite 3.1 wms
baseurl=http://grid-deployment.web.cern.ch/grid-deployment/glite/cert/3.1/glite-WMSLB/sl4/i386/
enabled=1

  • yum install cert-glite-WMSLB
 

-- AlessioGianelle - 08 Oct 2007 \ No newline at end of file

Revision 12007-10-08 - AlessioGianelle

Line: 1 to 1
Added:
>
>
META TOPICPARENT name="DevelTestbed"

-- AlessioGianelle - 08 Oct 2007

 
This site is powered by the TWiki collaboration platformCopyright © 2008-2019 by the contributing authors. All material on this collaboration platform is the property of the contributing authors.
Ideas, requests, problems regarding TWiki? Send feedback