Difference: NotesAboutInstallationAndConfigurationOfAWMSAndLB (2 vs. 3)

Revision 32012-01-24 - AndreaCristofori

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

Notes about Installation and Configuration of a WMS

Line: 27 to 27
 
cd /etc/yum.repos.d/
wget http://repository.egi.eu/sw/production/cas/1/current/repo-files/egi-trustanchors.repo -O /etc/yum.repos.d/egi-trustanchors.repo
Deleted:
<
<
wget http://emisoft.web.cern.ch/emisoft/dist/EMI/1/sl5/repos/emi1-base.repo wget http://emisoft.web.cern.ch/emisoft/dist/EMI/1/sl5/repos/emi1-updates.repo wget http://emisoft.web.cern.ch/emisoft/dist/EMI/1/sl5/repos/emi1-third-party.repo
 wget http://emisoft.web.cern.ch/emisoft/dist/EMI/1/RPM-GPG-KEY-emi -O /tmp/emi-key_gd.asc rpm --import /tmp/emi-key_gd.asc
Added:
>
>
rpm -Uvh http://repo-pd.italiangrid.it/mrepo/EMI/1/sl5/x86_64/updates/emi-release-1.0.1-1.sl5.noarch.rpm
 rpm -Uvh http://download.fedora.redhat.com/pub/epel/5/i386/epel-release-5-4.noarch.rpm yum clean all yum install yum-protectbase.noarch
Line: 1592 to 1590
  </>
<--/twistyPlugin-->
Added:
>
>
<--/twistyPlugin twikiMakeVisibleInline-->

Add this MySQL configuration line on /etc/my.cfg

innodb_file_per_table

In [mysql] section

<--/twistyPlugin-->

<--/twistyPlugin twikiMakeVisibleInline-->

Copy your cetificates in /etc/grid-security/ with the following permissions:

-rw-r--r-- 1 root root  1440 Jan 24 13:36 hostcert.pem
-r-------- 1 root root   891 Jan 24 13:36 hostkey.pem

[root@wms003 ~]# /opt/glite/yaim/bin/yaim -c -s /root/site-info_wms003.def -n WMS -n LB 2>&1 | tee /root/siteinfo-wms003_conf_WMS-LB.`hostname -s`.`date +%Y%m%d-%H%M%S`.log
   INFO: Using site configuration file: /root/site-info_wms003.def
   INFO: 
         ###################################################################
         
         .             /'.-. ')
         .     yA,-"-,( ,m,:/ )   .oo.     oo    o      ooo  o.     .oo
         .    /      .-Y a  a Y-.     8. .8'    8'8.     8    8b   d'8
         .   /           ~ ~ /         8'    .8oo88.     8    8  8'  8
         . (_/         '===='          8    .8'     8.   8    8  Y   8
         .   Y,-''-,Yy,-.,/           o8o  o8o    o88o  o8o  o8o    o8o
         .    I_))_) I_))_)
         
         
         current working directory: /root
         site-info.def date: Jan 24 14:21 /root/site-info_wms003.def
         yaim command: -c -s /root/site-info_wms003.def -n WMS -n LB
         log file: /opt/glite/yaim/bin/../log/yaimlog
         Tue Jan 24 14:22:19 CET 2012 : /opt/glite/yaim/bin/yaim
         
         Installed YAIM versions:
         glite-lb-yaim 4.3.9-1
         glite-yaim-bdii 4.3.4-1
         glite-yaim-core 5.0.2-1
         glite-yaim-wms 4.1.4-3
         
         ####################################################################
   INFO: The default location of the grid-env.(c)sh files will be: /usr/libexec
   INFO: Sourcing the utilities in /opt/glite/yaim/functions/utils
   INFO: Detecting environment
   INFO: Executing function: config_add_pool_env_check 
   INFO: Executing function: config_host_certs_check 
   INFO: Executing function: config_lcgenv_check 
   INFO: Executing function: config_edgusers_check 
   INFO: Executing function: config_users_check 
   INFO: Executing function: config_vomsmap_check 
   INFO: Executing function: config_vomsdir_check 
   INFO: Executing function: config_vomses_check 
   INFO: Executing function: config_gip_wms_check 
   INFO: Executing function: config_info_service_wms_check 
   INFO: Executing function: config_globus_gridftp_check 
   INFO: Executing function: config_lcas_lcmaps_gt4_check 
   INFO: Executing function: config_condor_wms_check 
   INFO: Executing function: config_glite_wms_check 
   INFO: Executing function: config_gliteservices_wms_check 
   INFO: Executing function: config_cron_wms_check 
   INFO: Executing function: config_glite_lb_check 
   INFO: Executing function: config_glite_locallogger_check 
   INFO: Executing function: config_bdii_5.2_check 
   INFO: Executing function: config_info_service_lb_check 
   INFO: Executing function: config_add_pool_env_setenv 
   INFO: Executing function: config_add_pool_env 
   INFO: Executing function: config_crl 
   INFO: Now updating the CRLs - this may take a few minutes...
Enabling periodic fetch-crl:                               [  OK  ]
   INFO: Executing function: config_host_certs 
   INFO: Executing function: config_lcgenv 
   INFO: Executing function: config_edgusers 
   INFO: Executing function: config_users 
   INFO: Executing function: config_vomsmap_setenv 
   INFO: Executing function: config_vomsmap 
   INFO: Creating grid-map directory in /etc/grid-security/gridmapdir
   INFO: Creating voms grid-map file in /etc/grid-security/voms-grid-mapfile
   INFO: Creating voms groupmap file in /etc/grid-security/groupmapfile
   INFO: Copying the /etc/grid-security/voms-grid-mapfile in the standard location /etc/grid-security/grid-mapfile
   INFO: Executing function: config_vomsdir_setenv 
   INFO: Executing function: config_vomsdir 
grep: /etc/grid-security/gridftp.conf: No such file or directory
   INFO: Executing function: config_vomses 
   INFO: Executing function: config_gip_wms 
   INFO: Executing function: config_info_service_wms_setenv 
   INFO: Executing function: config_info_service_wms 
   INFO: Executing function: config_globus_gridftp_setenv 
   INFO: Executing function: config_globus_gridftp 
   INFO: Starting gridftp service :
Stopping globus-gridftp-server:                            [FAILED]
Starting globus-gridftp-server:                            [  OK  ]
   INFO: Executing function: config_lcas_lcmaps_gt4_setenv 
   INFO: Executing function: config_lcas_lcmaps_gt4 
   INFO: Creating LCAS_DB_FILE in /etc/lcas/lcas.db
   INFO: Creating LCMAPS_DB_FILE in /etc/lcmaps/lcmaps.db.gridftp
   INFO: Executing function: config_condor_wms_setenv 
   INFO: Executing function: config_condor_wms 
   INFO: Executing function: config_glite_wms_setenv 
   INFO: Executing function: config_glite_wms 
   INFO: config_glite_wms: Configuration file
   INFO: config_glite_wms: Creating /etc/glite-wms/glite_wms.conf ...
   WARNING: /usr/sbin/glite_wms_wmproxy_load_monitor found
Error: The proxy credential could not be written to the output file.
Use -debug for further information.
Your identity: /C=IT/O=INFN/OU=Host/L=CNAF/CN=wms003.cnaf.infn.it
Creating proxy .......................................................... Done
   INFO: Executing function: config_gliteservices_wms_setenv 
   INFO: Executing function: config_gliteservices_wms 
Stopping globus-gridftp-server:                            [  OK  ]
Starting globus-gridftp-server:                            [  OK  ]
stopping workload manager... ok (was not running)
starting workload manager... Create jobdir queue object.
ok
Restarting JobController daemon(s)
        Stopping JobController...               JobController not running!
        Stopping CondorG...             CondorG not running!
        Starting JobController...                          [  OK  ]
        Starting CondorG...                                [  OK  ]
Stopping LogMonitor...          LogMonitor not running!
Starting LogMonitor...                                     [  OK  ]
starting ICE... glite-proxy-renewd: no process killed
ok
Stopping ProxyRenewal Daemon: glite-proxy-renewd ... done
Starting ProxyRenewal Daemon: glite-proxy-renewd ... done
httpd not running, trying to start
httpd not running, trying to start
Starting Condor-C Launcher
Submitting job(s).
1 job(s) submitted to cluster 1.
Starting Condor-C Advertiser
Submitting job(s).
1 job(s) submitted to cluster 2.
Starting Condor-C Authorizer
Submitting job(s).
1 job(s) submitted to cluster 3.
Starting Condor-C VO Advertiser
Submitting job(s).
1 job(s) submitted to cluster 4.
   INFO: Executing function: config_cron_wms_setenv 
   INFO: Executing function: config_cron_wms 
   INFO: Executing function: config_glite_lb_setenv 
   INFO: Executing function: config_glite_lb 
   INFO: Configuring nodes [WMS LB], using L&B mode: both
Initializing MySQL database:  Installing MySQL system tables...
OK
Filling help tables...
OK

To start mysqld at boot time you have to copy
support-files/mysql.server to the right place for your system

PLEASE REMEMBER TO SET A PASSWORD FOR THE MySQL root USER !
To do so, start the server, then issue the following commands:
/usr/bin/mysqladmin -u root password 'new-password'
/usr/bin/mysqladmin -u root -h wms003.cnaf.infn.it password 'new-password'

Alternatively you can run:
/usr/bin/mysql_secure_installation

which will also give you the option of removing the test
databases and anonymous user created by default.  This is
strongly recommended for production servers.

See the manual for more instructions.

You can start the MySQL daemon with:
cd /usr ; /usr/bin/mysqld_safe &

You can test the MySQL daemon with mysql-test-run.pl
cd mysql-test ; perl mysql-test-run.pl

Please report any problems with the /usr/bin/mysqlbug script!

The latest information about MySQL is available on the web at
http://www.mysql.com
Support MySQL by buying support/licenses at http://shop.mysql.com
                                                           [  OK  ]
Starting MySQL:                                            [  OK  ]
glite-lb-notif-interlogd not running
glite-lb-bkserverd not running
glite-jp-importer not running
glite-lb-interlogd not running
Starting glite-lb-bkserver ... done
Starting glite-lb-notif-interlogd ... done
Starting glite-lb-interlog for proxy ... done
   INFO: Executing function: config_glite_locallogger_setenv 
   INFO: Executing function: config_glite_locallogger 
   INFO: Applying the workaround for bug 22389...
Stopping glite-lb-logd ... not running
Stopping glite-lb-interlogd ... not running
Starting glite-lb-logd ...This is LocalLogger, part of Workload Management System in EU DataGrid & EGEE.
 done
Starting glite-lb-interlogd ... done
   INFO: Executing function: config_bdii_5.2 
Stopping BDII: BDII already stopped
Starting BDII slapd:                                       [  OK  ]
Starting BDII update process:                              [  OK  ]
   INFO: Executing function: config_glite_initd 
   INFO: Executing function: config_info_service_lb_setenv 
   INFO: Executing function: config_info_service_lb 
   INFO: Configuration Complete.                                               [  OK  ]
   INFO: YAIM terminated succesfully.
<--/twistyPlugin-->
 -- AndreaCristofori - 2012-01-23
 
This site is powered by the TWiki collaboration platformCopyright © 2008-2020 by the contributing authors. All material on this collaboration platform is the property of the contributing authors.
Ideas, requests, problems regarding TWiki? Send feedback