Line: 1 to 1 | ||||||||
---|---|---|---|---|---|---|---|---|
System Administrator Guide for CREAM for EMI-2 release | ||||||||
Line: 982 to 982 | ||||||||
| ||||||||
Added: | ||||||||
> > | 0.0.0.1 Munge ConfigurationTorque makes use of munge![]()
| |||||||
0.0.0.1 Manual TuningYAIM modules for TORQUE server don't configure all the parameters available for a queue. |
Line: 1 to 1 | ||||||||
---|---|---|---|---|---|---|---|---|
System Administrator Guide for CREAM for EMI-2 release | ||||||||
Line: 553 to 553 | ||||||||
chown root.root /etc/grid-security/hostcert.pem chown root.root /etc/grid-security/hostkey.pem | ||||||||
Changed: | ||||||||
< < | chmod 600 /etc/grid-security/hostcert.pem | |||||||
> > | chmod 644 /etc/grid-security/hostcert.pem | |||||||
chmod 400 /etc/grid-security/hostkey.pem |
Line: 1 to 1 | ||||||||
---|---|---|---|---|---|---|---|---|
System Administrator Guide for CREAM for EMI-2 release | ||||||||
Line: 322 to 322 | ||||||||
On sl5_x86_64 (this is not needed on sl6) first of all install xml-commons-apis : | ||||||||
Changed: | ||||||||
< < | yum install xml-commons-apis | |||||||
> > | yum install xml-commons-apis java-1.6.0-openjdk-devel | |||||||
This is due to a dependency problem within the Tomcat distribution. | ||||||||
Line: 396 to 396 | ||||||||
On sl5_x86_64, first of all install xml-commons-apis : | ||||||||
Changed: | ||||||||
< < | yum install xml-commons-apis | |||||||
> > | yum install xml-commons-apis java-1.6.0-openjdk-devel | |||||||
This is due to a dependency problem within the Tomcat distribution |
Line: 1 to 1 | ||||||||||||||||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
System Administrator Guide for CREAM for EMI-2 release | ||||||||||||||||||||||||||||||||||
Line: 931 to 931 | ||||||||||||||||||||||||||||||||||
| ||||||||||||||||||||||||||||||||||
Added: | ||||||||||||||||||||||||||||||||||
> > | 0.0.0.1 Manual TuningYAIM modules for TORQUE server don't configure all the parameters available for a queue. Several parameters must be set up manually otherwise default values (999999999) are published. The parameters are:
| |||||||||||||||||||||||||||||||||
0.0.1 LSF0.0.1.1 Requirements |
Line: 1 to 1 | ||||||||
---|---|---|---|---|---|---|---|---|
System Administrator Guide for CREAM for EMI-2 release | ||||||||
Line: 1223 to 1223 | ||||||||
} | ||||||||
Added: | ||||||||
> > |
| |||||||
0.0.1 Security recommendationsSecurity recommendations relevant for the CREAM CE is available in https://wiki.italiangrid.it/twiki/bin/view/CREAM/ServiceReferenceCardEMI2#Security_recommendations![]() |
Line: 1 to 1 | ||||||||
---|---|---|---|---|---|---|---|---|
System Administrator Guide for CREAM for EMI-2 release | ||||||||
Line: 561 to 561 | ||||||||
0.0.0.0.1 What to do in case of host certificate updateThere are two possible approaches: via YAIM or by manually. | ||||||||
Changed: | ||||||||
< < | via YAIM: | |||||||
> > | using YAIM: | |||||||
| ||||||||
Line: 572 to 572 | ||||||||
| ||||||||
Changed: | ||||||||
< < | by manually:
| |||||||
> > | manually:
| |||||||
cp /etc/grid-security/hostcert.pem /etc/grid-security/tomcat-cert.pem cp /etc/grid-security/hostkey.pem /etc/grid-security/tomcat-key.pem | ||||||||
Line: 585 to 585 | ||||||||
chown root.root /etc/grid-security/hostkey.pem chown root.root /etc/grid-security/tomcat-cert.pem chown root.root /etc/grid-security/tomcat-key.pem | ||||||||
Changed: | ||||||||
< < | chown root.root /home/glite/.certs/hostcert.pem chown root.root /home/glite/.certs/hostkey.pem | |||||||
> > | chown root.root $GLITE_HOME_DIR/.certs/hostcert.pem chown root.root $GLITE_HOME_DIR/.certs/hostkey.pem | |||||||
chmod 600 /etc/grid-security/hostcert.pem chmod 400 /etc/grid-security/hostkey.pem chmod 600 /etc/grid-security/tomcat-cert.pem chmod 400 /etc/grid-security//tomcat-key.pem | ||||||||
Changed: | ||||||||
< < | chmod 600 /home/glite/.certs/hostcert.pem chmod 400 /home/glite/.certs/hostkey.pem | |||||||
> > | chmod 600 $GLITE_HOME_DIR/.certs/hostcert.pem chmod 400 $GLITE_HOME_DIR/.certs/hostkey.pem | |||||||
| ||||||||
Changed: | ||||||||
< < |
| |||||||
> > |
| |||||||
0.0.0.1 Configuration via yaim |
Line: 1 to 1 | ||||||||
---|---|---|---|---|---|---|---|---|
System Administrator Guide for CREAM for EMI-2 release | ||||||||
Line: 540 to 540 | ||||||||
0.0.1 Configuration of a CREAM CE node in no cluster mode | ||||||||
Changed: | ||||||||
< < | 0.0.0.1 Install host certificate | |||||||
> > | 0.0.0.1 Install the host certificate | |||||||
The CREAM CE node requires the host certificate/key files to be installed. Contact your national Certification Authority (CA) to understand how to obtain a host certificate if you do not have one already. | ||||||||
Line: 558 to 558 | ||||||||
Added: | ||||||||
> > | 0.0.0.0.1 What to do in case of host certificate updateThere are two possible approaches: via YAIM or by manually. via YAIM:
chown root.root /etc/grid-security/hostcert.pem chown root.root /etc/grid-security/hostkey.pem chmod 600 /etc/grid-security/hostcert.pem chmod 400 /etc/grid-security/hostkey.pem
cp /etc/grid-security/hostcert.pem /etc/grid-security/tomcat-cert.pem cp /etc/grid-security/hostkey.pem /etc/grid-security/tomcat-key.pem
chown root.root /etc/grid-security/hostcert.pem chown root.root /etc/grid-security/hostkey.pem chown root.root /etc/grid-security/tomcat-cert.pem chown root.root /etc/grid-security/tomcat-key.pem chown root.root /home/glite/.certs/hostcert.pem chown root.root /home/glite/.certs/hostkey.pem chmod 600 /etc/grid-security/hostcert.pem chmod 400 /etc/grid-security/hostkey.pem chmod 600 /etc/grid-security/tomcat-cert.pem chmod 400 /etc/grid-security//tomcat-key.pem chmod 600 /home/glite/.certs/hostcert.pem chmod 400 /home/glite/.certs/hostkey.pem
| |||||||
0.0.0.1 Configuration via yaim |
Line: 1 to 1 | ||||||||
---|---|---|---|---|---|---|---|---|
System Administrator Guide for CREAM for EMI-2 release |
Line: 1 to 1 | ||||||||
---|---|---|---|---|---|---|---|---|
System Administrator Guide for CREAM for EMI-2 release | ||||||||
Line: 72 to 72 | ||||||||
The following deployment models are possible for a CREAM-CE: | ||||||||
Changed: | ||||||||
< < |
| |||||||
> > |
| |||||||
More information about glite-CLUSTER can be found at https://twiki.cern.ch/twiki/bin/view/LCG/CLUSTER![]() ![]() | ||||||||
Line: 566 to 566 | ||||||||
Set your siteinfo.def file, which is the input file used by yaim. Documentation about yaim variables relevant for CREAM CE is available at https://twiki.cern.ch/twiki/bin/view/LCG/Site-info_configuration_variables#cream_CE![]() | ||||||||
Changed: | ||||||||
< < | Be sure that CREAMCE_CLUSTER_MODE is set to no (or not set at all, since no is the default value). | |||||||
> > | Be sure that CREAM_CLUSTER_MODE is set to no (or not set at all, since no is the default value). | |||||||
0.0.0.0.1 Run yaim | ||||||||
Line: 638 to 638 | ||||||||
| ||||||||
Changed: | ||||||||
< < | Be sure that CREAMCE_CLUSTER_MODE is set to yes | |||||||
> > | Be sure that CREAM_CLUSTER_MODE is set to yes | |||||||
0.0.0.0.1 Run yaim |
Line: 1 to 1 | ||||||||
---|---|---|---|---|---|---|---|---|
System Administrator Guide for CREAM for EMI-2 release | ||||||||
Line: 276 to 276 | ||||||||
0.0.0.1 The EMI middleware repository | ||||||||
Changed: | ||||||||
< < | On sl5_x86_64 you can install the EMI-2 yum repository, issuing:
wget http://emisoft.web.cern.ch/emisoft/dist/EMI/2/sl5/x86_64/base/emi-release-2.0.0-1.sl5.noarch.rpm yum install ./emi-release-2.0.0-1.sl5.noarch.rpmOn sl6_x86_64 you can install the EMI-2 yum repository, issuing: wget http://emisoft.web.cern.ch/emisoft/dist/EMI/2/sl6/x86_64/base/emi-release-2.0.0-1.sl6.noarch.rpm yum install ./emi-release-2.0.0-1.sl6.noarch.rpm | |||||||
> > | For a complete description of EMI middleware repository configuration refer to EMI documentation![]() | |||||||
0.0.0.1 The Certification Authority repository |
Line: 1 to 1 | ||||||||
---|---|---|---|---|---|---|---|---|
System Administrator Guide for CREAM for EMI-2 release | ||||||||
Line: 84 to 84 | ||||||||
Starting with EMI-2 release, CREAM supports the EMI Execution Service![]() | ||||||||
Changed: | ||||||||
< < | So, besides deploying the usual legacy interface, it is also possible to install the EMI-ES interface.
By default this EMI-ES is not deployed. If you want to install it, before configuring via yaim make sure that the yaim variable USE_EMIES is set to true . | |||||||
> > | By default the EMI-ES is not enabled, even if it is always deployed. If you want to run the ES interface you need to set the YAIM variable USE_EMIES to true and then configuring the installation with YAIM. | |||||||
0.0.1 Define a DNS alias to refer to set of CREAM CEs |
Line: 1 to 1 | ||||||||
---|---|---|---|---|---|---|---|---|
System Administrator Guide for CREAM for EMI-2 release | ||||||||
Line: 246 to 246 | ||||||||
The epel-release package can be installed with:
| ||||||||
Changed: | ||||||||
< < | wget http://dl.fedoraproject.org/pub/epel/5/i386/epel-release-X-Y.noarch.rpm![]() | |||||||
> > | wget http://dl.fedoraproject.org/pub/epel/5/x86_64/epel-release-X-Y.noarch.rpm![]() | |||||||
rpm -Uvh epel-release-X-Y.noarch.rpm
|
Line: 1 to 1 | ||||||||
---|---|---|---|---|---|---|---|---|
System Administrator Guide for CREAM for EMI-2 release | ||||||||
Line: 230 to 230 | ||||||||
0.0.0.1 The EPEL repository | ||||||||
Changed: | ||||||||
< < | On sl5_x86_64, you can install the EPEL repository, issuing: | |||||||
> > | If not present by default on your nodes, you should enable the EPEL repository (https://fedoraproject.org/wiki/EPEL![]() | |||||||
Added: | ||||||||
> > | EPEL has an 'epel-release' package that includes gpg keys for package signing and repository information. You may install the latest version of epel-release package using available repositpries
| |||||||
Changed: | ||||||||
< < | rpm -Uvh http://dl.fedoraproject.org/pub/epel/5/i386/epel-release-5-4.noarch.rpm![]() | |||||||
> > | http://download.fedoraproject.org/pub/epel/5/x86_64/![]() | |||||||
Added: | ||||||||
> > |
http://www.nic.funet.fi/pub/mirrors/fedora.redhat.com/pub/epel/6/x86_64/which allow you to use normal tools, such as yum, to install packages and their dependencies. | |||||||
Changed: | ||||||||
< < | On sl6_x86_64 instead issue: | |||||||
> > | The epel-release package can be installed with:
wget http://dl.fedoraproject.org/pub/epel/5/i386/epel-release-X-Y.noarch.rpm rpm -Uvh epel-release-X-Y.noarch.rpm
wget http://dl.fedoraproject.org/pub/epel/6/x86_64/epel-release-X-Y.noarch.rpm rpm -Uvh epel-release-X-Y.noarch.rpmwhere X-Y is the package version available in the repository. | |||||||
Added: | ||||||||
> > | Alternatively the epel repository can be enabled defining a /etc/yum.repos.d/epel.repo file, example:
[extras] name=epel mirrorlist=http://mirrors.fedoraproject.org/mirrorlist?repo=epel-5&arch=$basearch protect=0
| |||||||
Changed: | ||||||||
< < | rpm -Uhv http://dl.fedoraproject.org/pub/epel/6/x86_64/epel-release-6-7.noarch.rpm![]() | |||||||
> > | [extras] name=epel mirrorlist=http://mirrors.fedoraproject.org/mirrorlist?repo=epel-6&arch=$basearch protect=0 | |||||||
Added: | ||||||||
> > | ||||||||
0.0.0.1 The EMI middleware repository |
Line: 1 to 1 | ||||||||
---|---|---|---|---|---|---|---|---|
System Administrator Guide for CREAM for EMI-2 release | ||||||||
Line: 239 to 239 | ||||||||
On sl6_x86_64 instead issue: | ||||||||
Changed: | ||||||||
< < | rpm -Uvh http://dl.fedoraproject.org/pub/epel/6/x86_64/epel-release-6-5.noarch.rpm![]() | |||||||
> > | rpm -Uhv http://dl.fedoraproject.org/pub/epel/6/x86_64/epel-release-6-7.noarch.rpm![]() | |||||||
0.0.0.1 The EMI middleware repository |
Line: 1 to 1 | ||||||||
---|---|---|---|---|---|---|---|---|
System Administrator Guide for CREAM for EMI-2 release | ||||||||
Line: 497 to 497 | ||||||||
Added: | ||||||||
> > | 0.1 CREAM CE updateTo update the CREAM CE from EMI-2 Update x to EMI-2 Update y:
| |||||||
0.0.1 Installation of the CREAM CLI |
Line: 1 to 1 | ||||||||
---|---|---|---|---|---|---|---|---|
System Administrator Guide for CREAM for EMI-2 release | ||||||||
Line: 248 to 248 | ||||||||
On sl5_x86_64 you can install the EMI-2 yum repository, issuing: | ||||||||
Changed: | ||||||||
< < | wget TBD yum install ./TBD | |||||||
> > | wget http://emisoft.web.cern.ch/emisoft/dist/EMI/2/sl5/x86_64/base/emi-release-2.0.0-1.sl5.noarch.rpm![]() | |||||||
Changed: | ||||||||
< < | TBC | |||||||
> > | On sl6_x86_64 you can install the EMI-2 yum repository, issuing: | |||||||
Added: | ||||||||
> > | wget http://emisoft.web.cern.ch/emisoft/dist/EMI/2/sl6/x86_64/base/emi-release-2.0.0-1.sl6.noarch.rpm yum install ./emi-release-2.0.0-1.sl6.noarch.rpm | |||||||
0.0.0.1 The Certification Authority repositoryThe most up-to-date version of the list of trusted Certification Authorities (CA) is needed on your node. The relevant yum repo can be installed issuing: |
Line: 1 to 1 | |||||||||
---|---|---|---|---|---|---|---|---|---|
System Administrator Guide for CREAM for EMI-2 release | |||||||||
Line: 997 to 997 | |||||||||
| |||||||||
Changed: | |||||||||
< < | After having done the changes, it is necessary to restart tomcat | ||||||||
> > | The values can be chosen at yaim configuration time, referring to the yaim variable CREAM_JAVA_OPTS_HEAP (see https://twiki.cern.ch/twiki/bin/view/LCG/Site-info_configuration_variables#cream_CE![]() | ||||||||
0.1 MySQL database configuration guidelines |
Line: 1 to 1 | ||||||||
---|---|---|---|---|---|---|---|---|
System Administrator Guide for CREAM for EMI-2 release | ||||||||
Line: 463 to 463 | ||||||||
yum install emi-cluster | ||||||||
Added: | ||||||||
> > | 0.0.1 Installation of the EDGI connectorIf you want to install the EDGI connector, after the installation of the CREAM CE metapackage it is necessary to install two other packages. On sl5_x86_64 this can be done issuing:yum install edgiexecutor glite-yaim-edgi-bridgeInformation for configuration is then available in the man page yaim-edgi-bridge(1) shipped in the glite-yaim-edgi-bridge package.
The EDGI connector packages for the time being are only available for sl5_x86_64. | |||||||
0.0.1 Installation of the BLAH BLparserIf the new BLAH Blparser must be used, there isn't anything to be installed for the BLAH Blparser (i.e. the installation of the CREAM-CE is enough). |
Line: 1 to 1 | ||||||||
---|---|---|---|---|---|---|---|---|
System Administrator Guide for CREAM for EMI-2 release | ||||||||
Line: 869 to 869 | ||||||||
| ||||||||
Added: | ||||||||
> > | 0.0.0.1 Using btoolsWhen the new blparser is used, it is possible to integrate the Bupdater process with thebtools package implemented at Cern in order to improve performance.
To enable such integration, after having configured via yaim add the following lines in /etc/blah.config :
bupdater_use_btools=yes bupdater_btools_path=/usr/local/binThen restart the blparser: service glite-ce-blah-parser restart | |||||||
0.0.1 Grid Engine0.0.1.1 Requirements |
Line: 1 to 1 | ||||||||
---|---|---|---|---|---|---|---|---|
System Administrator Guide for CREAM for EMI-2 release | ||||||||
Line: 79 to 79 | ||||||||
Information concerning glue2 publication is available here![]() | ||||||||
Added: | ||||||||
> > |
0.0.1 EMI Execution ServiceStarting with EMI-2 release, CREAM supports the EMI Execution Service![]() USE_EMIES is set to true .
| |||||||
0.0.1 Define a DNS alias to refer to set of CREAM CEsIn order to distribute load for job submissions, it is possible to deploy multiple CREAM CEs head nodes referring to the same set of resources. As explained in the previous section, this should be implemented with: | ||||||||
Line: 466 to 475 | ||||||||
yum install glite-ce-blahp | ||||||||
Changed: | ||||||||
< < | yum install glite-yaim-cream-ce | |||||||
> > | yum install glite-ce-yaim-cream-ce | |||||||
Line: 1 to 1 | |||||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
System Administrator Guide for CREAM for EMI-2 release | |||||||||||||||||||||||
Line: 36 to 36 | |||||||||||||||||||||||
The support of the batch system softwares is out of the scope of this activity. | |||||||||||||||||||||||
Changed: | |||||||||||||||||||||||
< < | More information abut batch system integration is available in the relevant section. | ||||||||||||||||||||||
> > | More information abut batch system integration is available in the relevant section![]() | ||||||||||||||||||||||
0.1 Plan how to deploy the CREAM CE | |||||||||||||||||||||||
Line: 195 to 195 | |||||||||||||||||||||||
The databases used by CREAM can be deployed in the CREAM CE host (which is the default scenario) or on a different machine. | |||||||||||||||||||||||
Changed: | |||||||||||||||||||||||
< < | Click here for information how to deploy the databases on a machine different wrt the CREAM-CE. | ||||||||||||||||||||||
> > | Click here![]() | ||||||||||||||||||||||
0.1 CREAM CE Installation | |||||||||||||||||||||||
Line: 474 to 474 | |||||||||||||||||||||||
0.0.1 Installation of the CREAM CLI | |||||||||||||||||||||||
Changed: | |||||||||||||||||||||||
< < | The CREAM CLI is part of the EMI-UI. To install it please refer to TBD. | ||||||||||||||||||||||
> > | The CREAM CLI is part of the EMI-UI. To install it please refer to the relevant guide. | ||||||||||||||||||||||
0.1 CREAM CE configuration | |||||||||||||||||||||||
Line: 511 to 511 | |||||||||||||||||||||||
0.0.0.0.1 Configure the siteinfo.def file | |||||||||||||||||||||||
Changed: | |||||||||||||||||||||||
< < | Set your siteinfo.def file, which is the input file used by yaim. Documentation about yaim variables relevant for CREAM CE is available at TBD, | ||||||||||||||||||||||
> > | Set your siteinfo.def file, which is the input file used by yaim. Documentation about yaim variables relevant for CREAM CE is available at https://twiki.cern.ch/twiki/bin/view/LCG/Site-info_configuration_variables#cream_CE![]() | ||||||||||||||||||||||
Be sure that CREAMCE_CLUSTER_MODE is set to no (or not set at all, since no is the default value). | |||||||||||||||||||||||
Line: 575 to 575 | |||||||||||||||||||||||
Set your siteinfo.def file, which is the input file used by yaim. | |||||||||||||||||||||||
Changed: | |||||||||||||||||||||||
< < | Variables which are required in cluster mode are described at TBD. | ||||||||||||||||||||||
> > | Variables which are required in cluster mode are described at https://twiki.cern.ch/twiki/bin/view/LCG/Site-info_configuration_variables#cream_CE![]() | ||||||||||||||||||||||
When the CREAM CE is configured in cluster mode it will stop publishing information about clusters and subclusters. That information should be published by the glite-CLUSTER node type instead. A specific set of yaim variables has been defined for configuring the information which is still required by the CREAM CE in cluster mode. The names of these variables follow this syntax: | |||||||||||||||||||||||
Line: 665 to 665 | |||||||||||||||||||||||
0.0.0.0.1 Configure the siteinfo.def file | |||||||||||||||||||||||
Changed: | |||||||||||||||||||||||
< < | Set your siteinfo.def file, which is the input file used by yaim. Documentation about yaim variables relevant for glite-CLUSTER is available at TBD. | ||||||||||||||||||||||
> > | Set your siteinfo.def file, which is the input file used by yaim. Documentation about yaim variables relevant for glite-CLUSTER is available at https://twiki.cern.ch/twiki/bin/view/LCG/Site-info_configuration_variables#CLUSTER![]() | ||||||||||||||||||||||
0.0.0.0.1 Run yaim | |||||||||||||||||||||||
Line: 1073 to 1073 | |||||||||||||||||||||||
0.1 Daemons | |||||||||||||||||||||||
Changed: | |||||||||||||||||||||||
< < | Information about daemons running in the CREAM CE is available in TBC | ||||||||||||||||||||||
> > | Information about daemons running in the CREAM CE is available in https://wiki.italiangrid.it/twiki/bin/view/CREAM/ServiceReferenceCardEMI2#Daemons_running![]() | ||||||||||||||||||||||
0.1 Init scripts | |||||||||||||||||||||||
Changed: | |||||||||||||||||||||||
< < | Information about init scripts in the CREAM CE is available in the TBC | ||||||||||||||||||||||
> > | Information about init scripts in the CREAM CE is available in the https://wiki.italiangrid.it/twiki/bin/view/CREAM/ServiceReferenceCardEMI2#Init_scripts_and_options_start_s![]() | ||||||||||||||||||||||
0.1 Configuration files | |||||||||||||||||||||||
Changed: | |||||||||||||||||||||||
< < | Information about configuration files in the CREAM CE is available in TBC | ||||||||||||||||||||||
> > | Information about configuration files in the CREAM CE is available in https://wiki.italiangrid.it/twiki/bin/view/CREAM/ServiceReferenceCardEMI2#Configuration_files_location![]() | ||||||||||||||||||||||
0.1 Log files | |||||||||||||||||||||||
Changed: | |||||||||||||||||||||||
< < | Information about log files in the CREAM CE is available in TBC | ||||||||||||||||||||||
> > | Information about log files in the CREAM CE is available in https://wiki.italiangrid.it/twiki/bin/view/CREAM/ServiceReferenceCardEMI2#Logfile_locations_and_management![]() | ||||||||||||||||||||||
0.1 Network ports | |||||||||||||||||||||||
Changed: | |||||||||||||||||||||||
< < | Information about ports used in the CREAM CE is available in TBC | ||||||||||||||||||||||
> > | Information about ports used in the CREAM CE is available in https://wiki.italiangrid.it/twiki/bin/view/CREAM/ServiceReferenceCardEMI2#Open_ports![]() | ||||||||||||||||||||||
0.1 Cron jobs | |||||||||||||||||||||||
Changed: | |||||||||||||||||||||||
< < | Information about cron jobs used in the CREAM CE is available in TBC | ||||||||||||||||||||||
> > | Information about cron jobs used in the CREAM CE is available in https://wiki.italiangrid.it/twiki/bin/view/CREAM/ServiceReferenceCardEMI2#Cron_jobs![]() | ||||||||||||||||||||||
0.1 Security related operations | |||||||||||||||||||||||
Line: 1115 to 1115 | |||||||||||||||||||||||
0.0.1 Security recommendations | |||||||||||||||||||||||
Changed: | |||||||||||||||||||||||
< < | Security recommendations relevant for the CREAM CE is available in TBC | ||||||||||||||||||||||
> > | Security recommendations relevant for the CREAM CE is available in https://wiki.italiangrid.it/twiki/bin/view/CREAM/ServiceReferenceCardEMI2#Security_recommendations![]() | ||||||||||||||||||||||
0.0.1 How to block/ban a user | |||||||||||||||||||||||
Changed: | |||||||||||||||||||||||
< < | Information about how to ban users is available in TBC | ||||||||||||||||||||||
> > | Information about how to ban users is available in https://wiki.italiangrid.it/twiki/bin/view/CREAM/ServiceReferenceCardEMI2#How_to_block_ban_a_user![]() | ||||||||||||||||||||||
0.0.1 How to block/ban a VO | |||||||||||||||||||||||
Line: 1188 to 1188 | |||||||||||||||||||||||
The whole stuff is implemented via a limiter script ( /usr/bin/glite_cream_load_monitor ) very similar to the one used in the WMS. | |||||||||||||||||||||||
Changed: | |||||||||||||||||||||||
< < | Basically this limiter script check the values for some system and CREAM specific parameters, and compare them against some thresholds. If one or more threshold is exceeded, new job submissions get disabled. If a new submission is attempted when submissions are disabled, an error message is returned, e.g.: | ||||||||||||||||||||||
> > | Basically this limiter script check the values for some system and CREAM specific parameters, and compare them against some thresholds, defined in a configuration file (/etc/glite-ce-cream-utils/glite_cream_load_monitor.conf ). If one or more threshold is exceeded, new job submissions get disabled. If a new submission is attempted when submissions are disabled, an error message is returned.
The limiter script is run every 10 minutes.
To disable the limiter, it is necessary to edit the CREAM configuration file /etc/glite-ce-cream/cream-config.xml setting JOB_SUBMISSION_MANAGER_ENABLE to false and restarting tomcat.
The values that are currently taken into account are the following:
/etc/glite-ce-cream/cream-config.xml .
If needed, the limiter script can be easily augmented to take into account some other parameters. | ||||||||||||||||||||||
Deleted: | |||||||||||||||||||||||
< < | TBC | ||||||||||||||||||||||
0.1 How to drain a CREAM CE | |||||||||||||||||||||||
Line: 1198 to 1222 | |||||||||||||||||||||||
This can be achieved via the glite-ce-disable-submission command (provided by the CREAM CLI package installed on the UI), that can be issued only by a CREAM CE administrator, that is the DN of this person must be listed in the /etc/grid-security/admin-list file of the CE. | |||||||||||||||||||||||
Changed: | |||||||||||||||||||||||
< < | If newer job submissions are attempted, users will get an error message such as: | ||||||||||||||||||||||
> > | If newer job submissions are attempted, users will get an error message. | ||||||||||||||||||||||
Deleted: | |||||||||||||||||||||||
< < | TBC | ||||||||||||||||||||||
Added: | |||||||||||||||||||||||
> > | It is possible to then resume new job submissions calling the glite-ce-enable-submission command.
To check if job submissions on a specific CREAM CE are allowed, the command glite-ce-allowed-submission can be used.
It is possible to resume the job submission calling the proper operation ( glite-ce-enable-submission ).
E.g.:
> glite-ce-disable-submission grid006.pd.infn.it:8443 Operation for disabling new submissions succeeded > > glite-ce-allowed-submission grid006.pd.infn.it:8443 Job Submission to this CREAM CE is disabled > > glite-ce-enable-submission grid006.pd.infn.it:8443 Operation for enabling new submissions succeeded > > glite-ce-allowed-submission grid006.pd.infn.it:8443 Job Submission to this CREAM CE is enabled | ||||||||||||||||||||||
0.1 How to trace a specific jobTo trace a specific job, first of all get the CREAMjobid. | |||||||||||||||||||||||
Line: 1387 to 1431 | |||||||||||||||||||||||
From a site administrator point of view, this requires creating and properly filling some scripts ( /usr/bin/xxx_local_submit_attributes.sh ). | |||||||||||||||||||||||
Changed: | |||||||||||||||||||||||
< < | The relevant documentation is available at TBC | ||||||||||||||||||||||
> > | The relevant documentation is available at https://wiki.italiangrid.it/twiki/bin/view/CREAM/UserGuideEMI2#Forward_of_requirements_to_the_b![]() | ||||||||||||||||||||||
0.1 Querying the CREAM Database |
Line: 1 to 1 | ||||||||
---|---|---|---|---|---|---|---|---|
System Administrator Guide for CREAM for EMI-2 release | ||||||||
Line: 12 to 12 | ||||||||
The following operating systems are supported:
| ||||||||
Changed: | ||||||||
< < |
| |||||||
> > |
| |||||||
It is assumed that the operating system is already properly installed. | ||||||||
Line: 287 to 287 | ||||||||
0.0.0.1 Installation of the CREAM CE software | ||||||||
Changed: | ||||||||
< < | On sl5_x86_64 first of all install xml-commons-apis : | |||||||
> > | On sl5_x86_64 (this is not needed on sl6) first of all install xml-commons-apis : | |||||||
yum install xml-commons-apis | ||||||||
Changed: | ||||||||
< < | This is due to a dependency problem within the Tomcat distribution | |||||||
> > | This is due to a dependency problem within the Tomcat distribution. | |||||||
Then install the CREAM-CE metapackage: | ||||||||
Line: 301 to 301 | ||||||||
yum install emi-cream-ce | ||||||||
Changed: | ||||||||
< < | TBC | |||||||
> > | ||||||||
0.0.0.1 Installation of the batch system specific software | ||||||||
Line: 309 to 309 | ||||||||
After the installation of the CREAM CE metapackage it is necessary to install the batch system specific metapackage(s): | ||||||||
Changed: | ||||||||
< < | On sl5_x86_64: | |||||||
> > | On sl5_x86_64 and sl6_x86_64: | |||||||
| ||||||||
Line: 336 to 336 | ||||||||
yum install emi-ge-utils | ||||||||
Changed: | ||||||||
< < | TBC | |||||||
> > | ||||||||
0.0.1 Installation of a CREAM CE node in cluster mode | ||||||||
Line: 382 to 382 | ||||||||
After the installation of the CREAM CE metapackage it is necessary to install the batch system specific metapackage(s). | ||||||||
Changed: | ||||||||
< < | On sl5_x86_64: | |||||||
> > | On sl5_x86_64 and sl6_x86_64: | |||||||
| ||||||||
Line: 408 to 408 | ||||||||
yum install emi-ge-utils | ||||||||
Changed: | ||||||||
< < | TBC | |||||||
> > | ||||||||
0.0.0.1 Installation of the cluster metapackage | ||||||||
Line: 416 to 416 | ||||||||
If the CREAM CE node has to host also the glite-cluster , install also the relevant metapackage. | ||||||||
Changed: | ||||||||
< < | On sl5_x86_64: | |||||||
> > | On sl5_x86_64 and sl6_x86_64: | |||||||
yum install emi-cluster | ||||||||
Deleted: | ||||||||
< < | TBC | |||||||
0.0.1 Installation of a glite-cluster node | ||||||||
Line: 463 to 462 | ||||||||
Only when the old BLAH Blparser must be used AND the BLPARSER_HOST is different than the CREAM-CE, it is necessary to install the BLParser software on this BLPARSER_HOST. This is done in the following way: | ||||||||
Changed: | ||||||||
< < | On sl5_x86_64: | |||||||
> > | On sl5_x86_64 and sl6_x86_64: | |||||||
yum install glite-ce-blahp yum install glite-yaim-cream-ce | ||||||||
Changed: | ||||||||
< < | TBC | |||||||
> > | ||||||||
0.0.1 Installation of the CREAM CLI | ||||||||
Line: 479 to 478 | ||||||||
0.1 CREAM CE configuration | ||||||||
Changed: | ||||||||
< < |
0.0.1 Manual and automatic (yaim) configurationThe following sections describe the needed configuration steps for two following scenarios:
| |||||||
> > | The following sections describe the needed configuration steps for the automatic configuration via yaim | |||||||
For a detailed description on how to configure the middleware with YAIM, please check the YAIM guide![]() | ||||||||
Line: 512 to 505 | ||||||||
Deleted: | ||||||||
< < | 0.0.0.1 Manual configurationTBD | |||||||
0.0.0.1 Configuration via yaim | ||||||||
Line: 578 to 568 | ||||||||
Deleted: | ||||||||
< < | 0.0.0.1 Manual configurationTBD | |||||||
0.0.0.1 Configuration via yaim | ||||||||
Line: 673 to 660 | ||||||||
chmod 400 /etc/grid-security/hostkey.pem | ||||||||
Deleted: | ||||||||
< < | 0.0.0.1 Manual configuration | |||||||
0.0.0.1 Configuration via yaim | ||||||||
Line: 699 to 685 | ||||||||
/opt/glite/yaim/bin/yaim -r -s <site-info.def> -n creamCE -f config_cream_blparser | ||||||||
Deleted: | ||||||||
< < | In case of manual configuration, TBD | |||||||
Then it is necessary to restart tomcat on the CREAM-CE node: | ||||||||
Line: 830 to 814 | ||||||||
If the CREAM-CE has to be also the torque server, install the emi-torque-server metapackage: | ||||||||
Changed: | ||||||||
< < |
| |||||||
> > |
| |||||||
In all cases (Torque server in the CREAM-CE or in a different host) then install the emi-torque-utils metapackage: | ||||||||
Changed: | ||||||||
< < |
| |||||||
> > |
| |||||||
Deleted: | ||||||||
< < | TBC | |||||||
0.0.0.1 Yaim Configuration |
Line: 1 to 1 | ||||||||
---|---|---|---|---|---|---|---|---|
System Administrator Guide for CREAM for EMI-2 release | ||||||||
Line: 227 to 227 | ||||||||
rpm -Uvh http://dl.fedoraproject.org/pub/epel/5/i386/epel-release-5-4.noarch.rpm![]() | ||||||||
Added: | ||||||||
> > | On sl6_x86_64 instead issue: | |||||||
Changed: | ||||||||
< < | TBC | |||||||
> > | rpm -Uvh http://dl.fedoraproject.org/pub/epel/6/x86_64/epel-release-6-5.noarch.rpm | |||||||
0.0.0.1 The EMI middleware repository |
Line: 1 to 1 | ||||||||
---|---|---|---|---|---|---|---|---|
System Administrator Guide for CREAM for EMI-2 release | ||||||||
Line: 224 to 224 | ||||||||
On sl5_x86_64, you can install the EPEL repository, issuing: | ||||||||
Changed: | ||||||||
< < | rpm -Uvh http://download.fedora.redhat.com/pub/epel/5/i386/epel-release-5-4.noarch.rpm![]() | |||||||
> > | rpm -Uvh http://dl.fedoraproject.org/pub/epel/5/i386/epel-release-5-4.noarch.rpm![]() | |||||||
Line: 268 to 268 | ||||||||
Then proceed with the installation of the CA certificates. | ||||||||
Changed: | ||||||||
< < | TBC | |||||||
> > | ||||||||
0.0.0.1 Installation of the CA certificates | ||||||||
Changed: | ||||||||
< < | On sl5_x86_64, the CA certificate can be installed issuing: | |||||||
> > | On sl5_x86_64 and sl6_x86_64, the CA certificate can be installed issuing: | |||||||
yum install ca-policy-egi-core | ||||||||
Deleted: | ||||||||
< < | TBC | |||||||
0.0.0.1 Installation of the CREAM CE software |
Line: 1 to 1 | ||||||||
---|---|---|---|---|---|---|---|---|
System Administrator Guide for CREAM for EMI-2 release | ||||||||
Line: 260 to 260 | ||||||||
0.0.1 Installation of a CREAM CE node in no cluster mode | ||||||||
Changed: | ||||||||
< < | On sl5_x86_64 first of all install the yum-protectbase rpm: | |||||||
> > | On sl5_x86_64 and sl6_x86_64 first of all install the yum-protectbase rpm: | |||||||
Changed: | ||||||||
< < | yum install yum-protectbase.noarch | |||||||
> > | yum install yum-protectbase | |||||||
Then proceed with the installation of the CA certificates. |
Line: 1 to 1 | ||||||||
---|---|---|---|---|---|---|---|---|
System Administrator Guide for CREAM for EMI-2 release | ||||||||
Line: 1292 to 1292 | ||||||||
JobAdminPurger allows to purge jobs based on their CREAM jobids and/or their status (considering how long the job is in that status). | ||||||||
Added: | ||||||||
> > | Usage:
JobDBAdminPurger.sh [-c|--conf CREAMConfPath] [-j|--jobIds jobId1:jobId2:...] | [-f|--filejobIds filenameJobIds] | [-s|--status statusType0,deltaTime:statusType1:...] [-h|--help]Options:
JobDBAdminPurger.sh -j CREAM217901296:CREAM324901232 JobDBAdminPurger.sh -s registered:pending:idle JobDBAdminPurger.sh -s registered,3:pending:idle,5 JobDBAdminPurger.sh -c /etc/glite-ce-cream/cream-config.xml --status registered:idle JobDBAdminPurger.sh --jobIds CREAM217901296:CREAM324901232 JobDBAdminPurger.sh -f /tmp/jobIdsToPurge.txtPlease note that this script should be run just to clean the CREAM DB in case of problems (i.e. jobs reported in a non terminal status while this is not the case) Please also note that this script purges jobs from the CREAM DB. The relevant job sandbox directories are also deleted. | |||||||
Deleted: | ||||||||
< < | TBC | |||||||
0.1 Proxy purging |
Line: 1 to 1 | |||||||||
---|---|---|---|---|---|---|---|---|---|
System Administrator Guide for CREAM for EMI-2 release | |||||||||
Line: 826 to 826 | |||||||||
0.0.0.1 Installation | |||||||||
Added: | |||||||||
> > | If the CREAM-CE has to be also the torque server, install the emi-torque-server metapackage: | ||||||||
Added: | |||||||||
> > |
emi-torque-utils metapackage:
0.0.0.1 Yaim ConfigurationSet yoursiteinfo.def file, which is the input file used by yaim.
The CREAM CE Torque integration is then configured running YAIM:
0.0.1 LSF0.0.1.1 RequirementsYou have to install and configure the LSF batch system software before installing and configuring the CREAM software.0.0.1.2 InstallationIf you are running LSF, install theemi-lsf-utils metapackage:
0.0.1.3 Yaim ConfigurationSet yoursiteinfo.def file, which is the input file used by yaim.
The CREAM CE LSF integration is then configured running YAIM:
0.0.2 Grid Engine0.0.2.1 RequirementsYou have to install and configure the GE batch system software before installing and configuring the CREAM software. The CREAM CE integration was tested with GE 6.2u5 but it should work with any forked version of the original GE software. The support of the GE batch system software (or any of its forked versions) is out of the scope of this activity. Before proceeding, please take note of the following remarks:
0.0.2.2 Integration pluginsThe GE integration with CREAM CE consists in deploying specific BLAH plugins and configure them to properly interoperate with Grid Engine batch system. The following GE BLAH plugins are deployed with CREAM CE installation: BUpdaterSGE, sge_hold.sh, sge_submit.sh, sge_resume.sh, sge_status.sh and sge_cancel.0.0.2.3 InstallationIf you are running GE, install theemi-ge-utils metapackage:
0.0.2.4 Yaim ConfigurationSet yoursiteinfo.def file, which is the input file used by yaim. Documentation about yaim variables relevant for CREAM CE and GE is available at
SGE_SHARED_INSTALL=yes in your site-info.def , otherwise YAIM may change your setup according to the definitions in your site-info.def .
The CREAM CE GE integration is then configured running YAIM:
0.0.2.5 Important notes0.0.2.5.1 File transfersBesides the input/output sandbox files (transfered via GFTP) there are some other files that need to be transferred from/to the CREAM sandbox directory on the CE node to/from the Worker Node, namely:
# diff -Nua sge_filestaging.modified sge_filestaging.orig --- sge_filestaging.modified 2010-03-25 19:38:11.000000000 +0000 +++ sge_filestaging.orig 2010-03-25 19:05:43.000000000 +0000 | ||||||||
Line: 21 to 21 | |||||||||
Added: | |||||||||
> > | my $remotefile = $3;
if ( $STAGEIN ) {
- system( 'cp', $remotefile, $localfile );
+ system( 'scp', "$remotemachine:$remotefile", $localfile );
} else {
- system( 'cp', $localfile, $remotefile" );
+ system( 'scp', $localfile, "$remotemachine:$remotefile" );
}
}
0.0.0.0.1 GE accounting fileBUpdaterSGE needs to consult the GE accounting file to determine how did a given job ended. Therefore, the GE accounting file must be shared between the GE SERVER / QMASTER and the CREAM CE. Moreover, to guarantee that the accounting file is updated on the fly, the GE configuration should be tunned (using qconf -mconf) in order to add under the reporting_params the following definitions:accounting=true accounting_flush_time=00:00:00
0.0.0.0.2 GE SERVER (QMASTER) tuningThe following suggestions should be implemented to achieve better performance when integrating with CREAM CE:
1 PostconfigurationHave a look at the Known issue page![]() 2 Operating the system2.1 Tomcat configuration guidelinesIn/etc/tomcat5/tomcat5.conf , there are some settings related to heap. They are in the JAVA_OPTS setting (see -Xms and -Xmx ).
It is suggested to customize such settings taking into account how much physical memory is available, as indicated in the following table (which refers to 64bit architectures):
2.2 MySQL database configuration guidelinesDefault values of some MySQL settings are likely to be suboptimal especially for large machines. In particular some parameters could improve the overall performance if carefully tuned.In this context one relevant parameter to be set is the innodb_buffer_poll_size which specifies the size of the buffer pool (the default value is 8MB).
The benefits obtained by using a proper value for this parameter are principally: an appreciable performance improving and the reduced amount of disk I/O needed for accessing the data in the tables. The optimal value depends on the amount of physical memory and the CPU architecture available in the host machine.
The maximum value depends on the CPU architecture, 32-bit or 64-bit. For 32-bit systems, the CPU architecture and operating system sometimes impose a lower practical maximum size. Larger this value is set, less disk I/O is needed to access data in tables. On a dedicated database server, it is possible to set this to up to 80% of the machine physical memory size. Scale back this value whether one of the following issues occur:
/etc/my.cnf , in particular within the [mysqld] section, it is suggested to customize the innodb_buffer_pool_size parameter taking into account how much physical memory is available.
Example:
[mysqld] innodb_buffer_pool_size=512MBAfter that, it's necessary to restart the mysql service for applying the change: /etc/init.d/mysqld restartFinally, the following sql command (root rights are needed) could be used for checking if the new value was applied successfully: SHOW VARIABLES like 'innodb_buffer_pool_size'; 2.3 MySQL database: How to resize Innodb log filesIf the following error occurs (see the mysql log file: /var/log/mysqld.log)InnoDB: ERROR: the age of the last checkpoint is , InnoDB: which exceeds the log group capacity . InnoDB: If you are using big BLOB or TEXT rows,you must set the InnoDB: combined size of log files at least 10 times bigger than the InnoDB: largest such row.then you must resize the innodb log files. Follow these steps:
SHOW VARIABLES like "innodb_log_file_size";
service mysqld stop
[mysqld] innodb_log_file_size=64M
mv /var/lib/mysql/ib_logfile* /tmp
service mysqld start
ls -lrth /var/lib/mysql/ib_logfile* 2.4 How to start the CREAM serviceA site admin can start the CREAM service just starting the CREAM container: For sl5_x86_64:/etc/init.d/tomcat5 startIn case the new BLAH blparser is used, this will also start it (if not already running). If for some reason it necessary to explicitly start the new BLAH blparser, the following command can be used: /etc/init.d/glite-ce-blah-parser startIf instead the old BLAH blparser is used, before starting tomcat it is necessary to start it on the BLPARSER_HOST using the command: /etc/init.d/glite-ce-blah-parser startTo stop the CREAM service, it is just necessary to stop the CREAM container. For sl5_x86_64: /etc/init.d/tomcat5 stop 2.5 DaemonsInformation about daemons running in the CREAM CE is available in TBC2.6 Init scriptsInformation about init scripts in the CREAM CE is available in the TBC2.7 Configuration filesInformation about configuration files in the CREAM CE is available in TBC2.8 Log filesInformation about log files in the CREAM CE is available in TBC2.9 Network portsInformation about ports used in the CREAM CE is available in TBC2.10 Cron jobsInformation about cron jobs used in the CREAM CE is available in TBC2.11 Security related operations2.11.1 How to enable a certain VO for a certain CREAM CE in ArgusLet's consider that a certain CREAM CE has been configured to use ARGUS as authorization system. Let's suppose that we chosehttp://pd.infn.it/cream-18 as the id of the CREAM CE (i.e. yaim variable CREAM_PEPC_RESOURCEID is http://pd.infn.it/cream-18 ).
On the ARGUS box (identified by the yaim variable ARGUS_PEPD_ENDPOINTS ) to enable the VO XYZ, it is necessary to define the following policy:
resource "http://pd.infn.it/cream-18" { obligation "http://glite.org/xacml/obligation/local-environment-map" {} action ".*" { rule permit { vo = "XYZ" } } } 2.11.2 Security recommendationsSecurity recommendations relevant for the CREAM CE is available in TBC2.11.3 How to block/ban a userInformation about how to ban users is available in TBC2.11.4 How to block/ban a VOTo ban a VO, it is suggested to reconfigure the service via yaim without that VO in thesiteinfo.def
2.11.5 How to define a CREAM administratorA CREAM administrator (aka super-user) can manage (e.g. cancel, check the status, etc.) also the jobs submitted by other people. Moreover he/she can issue some privileged operations, in particular the ones to disable the new job submissions (glite-ce-disable-submission ) and then to re-enable them ( glite-ce-disable-submission )
To define a CREAM CE administrator for a specific CREAM CE, the DN of this person must be specified in the /etc/grid-security/admin-list of this CREAM CE node, e.g.:
"/C=IT/O=INFN/OU=Personal Certificate/L=Padova/CN=Massimo Sgaravatto"Please note that including the DN between " is important 2.12 Input and Output Sandbox files transfer between the CREAM CE and the WNThe input and output sandbox files (unless they have to be copied from/to remote servers) are copied between the CREAM CE node and the Worker Node. These files transfers can be done in two possible ways:
SANDBOX_TRANSFER_METHOD_BETWEEN_CE_WN . Possible values are:
2.13 Sharing of the CREAM sandbox area between the CREAM CE and the WNBesides the input/output sandbox files there are some other files that need to be transferred from/to the CREAM sandbox directory on the CE node to/from the Worker Node:
2.13.1 Sharing of the CREAM sandbox area between the CREAM CE and the WN for TorqueWhen Torque is used as batch system, to share the CREAM sandbox area between the CREAM CE node and the WNs:
$usecp <CE node>://var/cream_sandbox /cream_sandboxThis $usecp line means that every time Torque will have to copy a file from/t the cream_sandbox directory on the CE (which is the case during the stage in/stage out phase), it will have to use a cp from /cream_sandbox instead.
2.14 Self-limiting CREAM behaviorCREAM is able to protect itself if the load, memory usage, etc. is too high. This happens disabling new job submissions, while the other commands are still allowed. The whole stuff is implemented via a limiter script (/usr/bin/glite_cream_load_monitor ) very similar to the one used in the WMS.
Basically this limiter script check the values for some system and CREAM specific parameters, and compare them against some thresholds. If one or more threshold is exceeded, new job submissions get disabled. If a new submission is attempted when submissions are disabled, an error message is returned, e.g.:
TBC
2.15 How to drain a CREAM CEThe administrator of a CREAM CE can decide to drain a CREAM CE, that is disabling new job submissions while allowing the other commands. This can be useful for example because of scheduled shutdown of the CREAM CE. This can be achieved via theglite-ce-disable-submission command (provided by the CREAM CLI package installed on the UI), that can be issued only by a CREAM CE administrator, that is the DN of this person must be listed in the /etc/grid-security/admin-list file of the CE.
If newer job submissions are attempted, users will get an error message such as:
TBC
2.16 How to trace a specific jobTo trace a specific job, first of all get the CREAMjobid. If the job was submitted through the WMS, you can get its CREAMjobdid in the following way:glite-wms-job-logging-info -v 2 <gridjobdid> | grep "Dest jobid"If the job is not yours and you are not LB admin, you can get the CREAMjobid of that gridjobid if you have access to the CREAM logs doing: grep <gridjobid> /var/log/cream.glite-ce-cream.log*Grep the "last part" of the CREAMjobid in the CREAM log file (e.g. if the CREAMjobid is https://cream-07.pd.infn.it:8443/CREAM383606450 ![]() grep CREAM383606450 /var/log/cream/glite-ce-cream.log*This will return all the information relevant for this job 2.17 How to check if you are using the old or the new blparserIf you want to quickly check if you are using the old or the new BLAH Blparser, do agrep registry blah.config . If you see something like:
# grep registry blah.config job_registry=/var/blah/user_blah_job_registry.bjryou are using the new BLAH blparser. Otherwise you are using the old one. 2.18 Job purgingPurging a CREAM job means removing it from the CREAM database and removing from the CREAM CE any information relevant for that job (e.g. the job sandbox area). When a job has been purged, it is not possible to manage it anymore (e.g. it is not possible to check anymore its status). A job can be purged:
/etc/glite_wms.conf ) the attribute purge_jobs in the ICE section is set to false .
2.18.1 Automatic job purgingThe automatic CREAM job purger is responsible to purge old - forgotten jobs, according to a policy specified in the CREAM configuration file (/etc/glite-ce-cream/cream-config.xml ).
This policy is specified by the attribute JOB_PURGE_POLICY .
For example, if JOB_PURGE_POLICY is the following:
<parameter name="JOB_PURGE_POLICY" value="ABORTED 1 days; CANCELLED 2 days; DONE-OK 3 days; DONE-FAILED 4 days; REGISTERED 5 days;" />then the job purger will purge jobs which are:
2.18.2 Purging jobs in a non terminal statusThe (manual or automatic) purge operation can be issued only for jobs which are in a terminal status. If it is necessary to purge a job which has been terminated but which is for CREAM in a non terminal status (e.g. RUNNING, REALLY_RUNNING) because of some bugs/problems/..., a specific utility (JobAdminPurger ) provided with the glite-ce-cream package can be used.
JobAdminPurger allows to purge jobs based on their CREAM jobids and/or their status (considering how long the job is in that status).
TBC
2.19 Proxy purgingExpired delegation proxies are automatically purged:
/etc/glite-ce-cream/cream-config.xml ) there is a property called delegation_purge_rate which defines how often the proxy purger is run. The default value is 720 (720 minutes, that is 12 hours).
If the value is changed, it is then necessary to restart tomcat.
Setting that value to -1 means disabling the proxy purger.
2.20 Job wrapper management2.20.1 Customization pointsThe CREAM JobWrapper running on the WN execute some scripts (to be provided by the local administrators) if they exist. These are calledcustomization points .
There are 3 customization points:
2.20.2 Customization of the CREAM Job wrapperTo customize the CREAM job wrapper it is just necessary to edit as appropriate the template file/etc/glite-ce-cream/jobwrapper.tpl .
When done, tomcat must be restarted.
2.20.3 Customization of the Input/Output Sandbox file transfersThe CREAM job wrapper, besides running the user payload, is also responsible for other operations, such as the transfer of the input and output sandbox files from/to remote gridftp servers. If in such transfers there is a failure, the operation is retried after a while. The sleep time between the first attempt and the second one is the “initial wait time” specified in the CREAM configuration file. In every next attempt the sleep time is doubled. In the CREAM configuration file (/etc/glite-ce-cream/cream-config.xml ) it is possible to set:
<parameter name="JOB_WRAPPER_COPY_RETRY_COUNT_ISB" value="2" /> <parameter name="JOB_WRAPPER_COPY_RETRY_FIRST_WAIT_ISB" value="60" /> <!-- sec. --> <parameter name="JOB_WRAPPER_COPY_RETRY_COUNT_OSB" value="6" /> <parameter name="JOB_WRAPPER_COPY_RETRY_FIRST_WAIT_OSB" value="300" /> <!-- sec. -->If one or more of these values are changed, it is then necessary to restart tomcat. 2.21 Managing the forwarding of requirements to the batch systemThe CREAM CE allows to forward, via tha BLAH component, requirements to the batch system. From a site administrator point of view, this requires creating and properly filling some scripts (/usr/bin/xxx_local_submit_attributes.sh ).
The relevant documentation is available at TBC
2.22 Querying the CREAM Database2.22.1 Check how many jobs are stored in the CREAM databaseThe following mysql query can be used to check how many jobs (along with their status) are reported in the CREAM database:mysql> select jstd.name, count(*) from job, job_status_type_description jstd, job_status AS status LEFT OUTER JOIN job_status AS latest ON latest.jobId=status.jobId AND status.id < latest.id WHERE latest.id IS null and job.id=status.jobId and jstd.type=status.type group by jstd.name; | ||||||||
-- MassimoSgaravatto - 2011-12-20 |
Line: 1 to 1 | ||||||||
---|---|---|---|---|---|---|---|---|
System Administrator Guide for CREAM for EMI-2 release | ||||||||
Line: 193 to 193 | ||||||||
0.0.1 Deployment models for CREAM databases | ||||||||
Added: | ||||||||
> > | The databases used by CREAM can be deployed in the CREAM CE host (which is the default scenario) or on a different machine.
Click here for information how to deploy the databases on a machine different wrt the CREAM-CE.
0.1 CREAM CE InstallationThis section explains how to install:
0.1.1 RepositoriesFor a successful installation, you will need to configure your package manager to reference a number of repositories (in addition to your OS);
0.1.1.1 The EPEL repositoryOn sl5_x86_64, you can install the EPEL repository, issuing:rpm -Uvh http://download.fedora.redhat.com/pub/epel/5/i386/epel-release-5-4.noarch.rpmTBC 0.1.1.2 The EMI middleware repositoryOn sl5_x86_64 you can install the EMI-2 yum repository, issuing:wget TBD yum install ./TBDTBC 0.1.1.3 The Certification Authority repositoryThe most up-to-date version of the list of trusted Certification Authorities (CA) is needed on your node. The relevant yum repo can be installed issuing:wget http://repository.egi.eu/sw/production/cas/1/current/repo-files/EGI-trustanchors.repo -O /etc/yum.repos.d/EGI-trustanchors.repo 0.1.1.4 Important note on automatic updatesAn update of an the packages not followed by configuration can cause problems. Therefore WE STRONGLY RECOMMEND NOT TO USE AUTOMATIC UPDATE PROCEDURE OF ANY KIND. Running the script available at http://forge.cnaf.infn.it/frs/download.php/101/disable_yum.sh![]() 0.1.2 Installation of a CREAM CE node in no cluster modeOn sl5_x86_64 first of all install theyum-protectbase rpm:
yum install yum-protectbase.noarchThen proceed with the installation of the CA certificates. TBC 0.1.2.1 Installation of the CA certificatesOn sl5_x86_64, the CA certificate can be installed issuing:yum install ca-policy-egi-coreTBC 0.1.2.2 Installation of the CREAM CE softwareOn sl5_x86_64 first of all installxml-commons-apis :
yum install xml-commons-apisThis is due to a dependency problem within the Tomcat distribution Then install the CREAM-CE metapackage: yum install emi-cream-ceTBC 0.1.2.3 Installation of the batch system specific softwareAfter the installation of the CREAM CE metapackage it is necessary to install the batch system specific metapackage(s): On sl5_x86_64:
yum install emi-torque-server yum install emi-torque-utils
yum install emi-torque-utils
yum install emi-lsf-utils
yum install emi-ge-utilsTBC 0.1.3 Installation of a CREAM CE node in cluster modeOn sl5_x86_64, first of all install theyum-protectbase rpm:
yum install yum-protectbase.noarchThen proceed with the installation of the CA certificates. 0.1.3.1 Installation of the CA certificatesOn sl5_86_64 the CA certificate can be installed issuing:yum install ca-policy-egi-core 0.1.3.2 Installation of the CREAM CE softwareOn sl5_x86_64, first of all installxml-commons-apis :
yum install xml-commons-apisThis is due to a dependency problem within the Tomcat distribution Then install the CREAM-CE metapackage: yum install emi-cream-ce 0.1.3.3 Installation of the batch system specific softwareAfter the installation of the CREAM CE metapackage it is necessary to install the batch system specific metapackage(s). On sl5_x86_64:
yum install emi-torque-server yum install emi-torque-utils
yum install emi-torque-utils
yum install emi-lsf-utils* If you are running GE, install the emi-ge-utils metapackage: yum install emi-ge-utilsTBC 0.1.3.4 Installation of the cluster metapackageIf the CREAM CE node has to host also theglite-cluster , install also the relevant metapackage.
On sl5_x86_64:
yum install emi-clusterTBC 0.1.4 Installation of a glite-cluster nodeOn sl5_x86_64, first of all install theyum-protectbase rpm:
yum install yum-protectbase.noarchThen proceed with the installation of the CA certificates. 0.1.4.1 Installation of the CA certificatesOn sl5_x86_64, the CA certificates can be installed issuing:yum install ca-policy-egi-core 0.1.4.2 Installation of the cluster metapackageInstall the glite-CLUSTER metapackage. On sl5_x86_64:yum install emi-cluster 0.1.5 Installation of the BLAH BLparserIf the new BLAH Blparser must be used, there isn't anything to be installed for the BLAH Blparser (i.e. the installation of the CREAM-CE is enough). This is also the case when the old BLAH Blparser must be used AND the BLPARSER_HOST is the CREAM-CE. Only when the old BLAH Blparser must be used AND the BLPARSER_HOST is different than the CREAM-CE, it is necessary to install the BLParser software on this BLPARSER_HOST. This is done in the following way: On sl5_x86_64:yum install glite-ce-blahp yum install glite-yaim-cream-ceTBC 0.1.6 Installation of the CREAM CLIThe CREAM CLI is part of the EMI-UI. To install it please refer to TBD.0.2 CREAM CE configuration0.2.1 Manual and automatic (yaim) configurationThe following sections describe the needed configuration steps for two following scenarios:
![]() 0.2.2 Configuration of a CREAM CE node in no cluster mode0.2.2.1 Install host certificateThe CREAM CE node requires the host certificate/key files to be installed. Contact your national Certification Authority (CA) to understand how to obtain a host certificate if you do not have one already. Once you have obtained a valid certificate:
/etc/grid-security directory. Then set the proper mode and ownerships doing:
chown root.root /etc/grid-security/hostcert.pem chown root.root /etc/grid-security/hostkey.pem chmod 600 /etc/grid-security/hostcert.pem chmod 400 /etc/grid-security/hostkey.pem 0.2.2.2 Manual configurationTBD0.2.2.3 Configuration via yaim0.2.2.3.1 Configure the siteinfo.def fileSet yoursiteinfo.def file, which is the input file used by yaim. Documentation about yaim variables relevant for CREAM CE is available at TBD,
Be sure that CREAMCE_CLUSTER_MODE is set to no (or not set at all, since no is the default value).
0.2.2.3.2 Run yaimAfter having filled thesiteinfo.def file, run yaim:
/opt/glite/yaim/bin/yaim -c -s <site-info.def> -n creamCE -n <LRMSnode>Examples:
/opt/glite/yaim/bin/yaim -c -s <site-info.def> -n creamCE -n TORQUE_server -n TORQUE_utils
/opt/glite/yaim/bin/yaim -c -s <site-info.def> -n creamCE -n TORQUE_utils
/opt/glite/yaim/bin/yaim -c -s <site-info.def> -n creamCE -n LSF_utils
/opt/glite/yaim/bin/yaim -c -s <site-info.def> -n creamCE -n SGE_utils 0.2.3 Configuration of a CREAM CE node in cluster mode0.2.3.1 Install host certificateThe CREAM CE node requires the host certificate/key files to be installed. Contact your national Certification Authority (CA) to understand how to obtain a host certificate if you do not have one already. Once you have obtained a valid certificate:
/etc/grid-security directory. Then set the proper mode and ownerships doing:
chown root.root /etc/grid-security/hostcert.pem chown root.root /etc/grid-security/hostkey.pem chmod 600 /etc/grid-security/hostcert.pem chmod 400 /etc/grid-security/hostkey.pem 0.2.3.2 Manual configurationTBD0.2.3.3 Configuration via yaim0.2.3.3.1 Configure the siteinfo.def fileSet yoursiteinfo.def file, which is the input file used by yaim.
Variables which are required in cluster mode are described at TBD.
When the CREAM CE is configured in cluster mode it will stop publishing information about clusters and subclusters. That information should be published by the glite-CLUSTER node type instead. A specific set of yaim variables has been defined for configuring the information which is still required by the CREAM CE in cluster mode. The names of these variables follow this syntax:
CREAMCE_CLUSTER_MODE is set to yes
0.2.3.3.2 Run yaimAfter having filled thesiteinfo.def file, run yaim:
/opt/glite/yaim/bin/yaim -c -s <site-info.def> -n creamCE -n <LRMSnode> [-n glite-CLUSTER] -n glite-CLUSTER must be specified only if the glite-CLUSTER is deployed in the same node of the CREAM-CE
Examples:
/opt/glite/yaim/bin/yaim -c -s <site-info.def> -n creamCE -n LSF_utils
/opt/glite/yaim/bin/yaim -c -s <site-info.def> -n creamCE -n SGE_utils
/opt/glite/yaim/bin/yaim -c -s <site-info.def> -n creamCE -n TORQUE_server -n TORQUE_utils
/opt/glite/yaim/bin/yaim -c -s <site-info.def> -n creamCE -n TORQUE_utils
/opt/glite/yaim/bin/yaim -c -s <site-info.def> -n creamCE -n LSF_utils -n glite-CLUSTER* Configuration of a CREAM CE in cluster mode (with glite-CLUSTER deployed on the same node of the CREAM-CE) using GE as batch system /opt/glite/yaim/bin/yaim -c -s <site-info.def> -n creamCE -n SGE_utils -n glite-CLUSTER
/opt/glite/yaim/bin/yaim -c -s <site-info.def> -n creamCE -n TORQUE_server -n TORQUE_utils -n glite-CLUSTER
/opt/glite/yaim/bin/yaim -c -s <site-info.def> -n creamCE -n TORQUE_utils -n glite-CLUSTER 0.2.4 Configuration of a glite-CLUSTER node0.2.4.1 Install host certificateThe glite-CLUSTER node requires the host certificate/key files to be installed. Contact your national Certification Authority (CA) to understand how to obtain a host certificate if you do not have one already. Once you have obtained a valid certificate:
/etc/grid-security directory. Then set the proper mode and ownerships doing:
chown root.root /etc/grid-security/hostcert.pem chown root.root /etc/grid-security/hostkey.pem chmod 600 /etc/grid-security/hostcert.pem chmod 400 /etc/grid-security/hostkey.pem 0.2.4.2 Manual configuration0.2.4.3 Configuration via yaim0.2.4.3.1 Configure the siteinfo.def fileSet yoursiteinfo.def file, which is the input file used by yaim. Documentation about yaim variables relevant for glite-CLUSTER is available at TBD.
0.2.4.3.2 Run yaimAfter having filled thesiteinfo.def file, run yaim:
/opt/glite/yaim/bin/yaim -c -s <site-info.def> -n glite-CLUSTER 0.2.5 Configuration of the BLAH BlparserIf the new BLAH Blparser must be used, there isn't anything to be configured for the BLAH Blparser (i.e. the configuration of the CREAM-CE is enough). If the old BLparser must be used, it is necessary to configure it on the BLPARSER_HOST (which, as said above, can be the CREAM-CE node or on a different host). This is done via yaim in the following way:/opt/glite/yaim/bin/yaim -r -s <site-info.def> -n creamCE -f config_cream_blparserIn case of manual configuration, TBD Then it is necessary to restart tomcat on the CREAM-CE node: service tomcat5 restart 0.2.5.1 Configuration of the old BLAH Blparser to serve multiple CREAM CEsThe configuration instructions reported above explains how to configure a CREAM CE and the BLAH blparser (old model) considering the scenario where the BLAH blparser has to "serve" a single CREAM CE. Considering that the blparser (old model) has to run where the batch system log files are available, let's consider a scenario where there are 2 CREAM CEs (ce1.mydomain and ce2.mydomain ) that must be configured. Let's suppose that the batch system log files are not available on these 2 CREAM CEs machine. Let's assume they are available in another machine ( blhost.mydomain ), where the old blparser has to be installed.
The following summarizes what must be done:
BLPARSER_HOST=blhost.mydomain BLAH_JOBID_PREFIX=cre01_ BLP_PORT=33333and configure ce1.mydomain via yaim:
/opt/glite/yaim/bin/yaim -c -s <site-info.def> -n creamCE -n <LRMSnode> [-n glite-CLUSTER]
BLPARSER_HOST=blhost.mydomain BLAH_JOBID_PREFIX=cre02_ BLP_PORT=33334and configure ce2.mydomain via yaim:
/opt/glite/yaim/bin/yaim -c -s <site-info.def> -n creamCE -n <LRMSnode> [-n glite-CLUSTER]
CREAM_PORT=56565and configure blhost.mydomain via yaim:
/opt/glite/yaim/bin/yaim -r -s <site-info.def> -n creamCE -f config_cream_blparser
GLITE_CE_BLPARSERPBS_NUM=2 # ce01.mydomain GLITE_CE_BLPARSERPBS_PORT1=33333 GLITE_CE_BLPARSERPBS_CREAMPORT1=56565 # ce02.mydomain GLITE_CE_BLPARSERPBS_PORT2=33334 GLITE_CE_BLPARSERPBS_CREAMPORT2=56566
/etc/init.d/glite-ce-blparser restart
0.2.5.2 Configuration of the new BLAH Blparser to to use cached batch system commandsThe new BLAH blparser can be configured in order to not interact directly with the batch system, but through a program (to be implemented by the site admin) which can implement some caching functionality. This is the case for example ofCommandProxyTools , implement at Cern
To enable this feature, add in /etc/blah.config (the example below is for lsf, with /usr/bin/runcmd.pl as name of the "caching" program):
lsf_batch_caching_enabled=yes batch_command_caching_filter=/usr/bin/runcmd.plSo the blparser, insead of issuing bjobs -u .... , will issue /usr/bin/runcmd.pl bjobs -u .. ." </verbatim>
0.2.6 Configuration of the CREAM databases on a host different than the CREAM-CE (using yaim)To configure the CREAM databases on a host different than the CREAM-CE:
0.2.7 Configuration of the CREAM CLIThe CREAM CLI is part of the EMI-UI. To configure it please refer to https://twiki.cern.ch/twiki/bin/view/EMI/EMIui#Client_Installation_Configuratio![]() 0.2.8 Configurations possible only manuallyyaim allows to choose the most important parameters (via yaim variables) related to the CREAM-CE. It is then possible to tune some other attributes manually editing the relevant configuration files. Please note that:
0.3 Batch system integration0.3.1 Torque0.3.1.1 Installation | |||||||
-- MassimoSgaravatto - 2011-12-20 \ No newline at end of file |
Line: 1 to 1 | ||||||||
---|---|---|---|---|---|---|---|---|
| ||||||||
Added: | ||||||||
> > | System Administrator Guide for CREAM for EMI-2 release | |||||||
Added: | ||||||||
> > |
1 Installation and Configuration1.1 Prerequisites1.1.1 Operating systemThe following operating systems are supported:
1.1.2 Node synchronizationA general requirement for the Grid nodes is that they are synchronized. This requirement may be fulfilled in several ways. One of the most common one is using theNTP protocol with a time server.
1.1.3 Cron and logrotateMany components deployed on the CREAM CE rely on the presence ofcron (including support for /etc/cron.* directories) and logrotate . You should make sure these utils are available on your system.
1.1.4 Batch systemIf you plan to use Torque as batch system for your CREAM CE, it will be installed and configured along with the middleware (i.e. you don't have to install and configure it in advance) If you plan to use LSF as batch system for your CREAM CE, you have to install and configure it before installing and configuring the CREAM software. Since LSF is a commercial software it can't be distributed together with the middleware. If you plan to use GE as batch system for your CREAM CE, you have to install and configure it before installing and configuring the CREAM software. The CREAM CE integration was tested with GE 6.2u5 but it should work with any forked version of the original GE software. The support of the batch system softwares is out of the scope of this activity. More information abut batch system integration is available in the relevant section.1.2 Plan how to deploy the CREAM CE1.2.1 CREAM CE and gLite-clusterglite-CLUSTER is a node type that can publish information about clusters and subclusters in a site, referenced by any number of compute elements. In particular it allows to deal with sites having multiple CREAM CE nodes and/or multiple subclusters (i.e. disjoint sets of worker nodes, each set having sufficiently homogeneous properties). In Glue1, batch system queues are represented through GlueCE objectclasses. Each GlueCE refers to a Cluster, which can be composed by one or more SubClusters. However the gLite WMS requires the publication of exactly one SubCluster per Cluster (and hence per batch queue). Thus sites with heterogeneous hardware have two possible choices:
![]() ![]() ![]() 1.2.2 Define a DNS alias to refer to set of CREAM CEsIn order to distribute load for job submissions, it is possible to deploy multiple CREAM CEs head nodes referring to the same set of resources. As explained in the previous section, this should be implemented with:
POISE is used; using metrics (which take into account in particular the load and the sandbox size ) it decides the physical instance the alias should point to. Another possibility to define aliases is to use commercial network techniques such as F5.
It must be noted that, as observed by Desy sysadmins, the proliferation of the aliases (C-records) is not well defined among DNS'. Therefore changes of an alias sometimes can take hours to be propagated to other sites.
The use of alias for job submission is a good solution to improve load balancing and availability of the service (the unavailability of a physical CREAM CE would be hidden by the use of the alias). It must however be noted that:
1.2.3 Choose the authorization modelThe CREAM CE can be configured to use as authorization system:
USE_ARGUS must be set in the following way:
USE_ARGUS=yesIn this case it is also necessary to set the following yaim variables:
USE_ARGUS must be set in the following way:
USE_ARGUS=no 1.2.4 Choose the BLAH BLparser deployment modelThe BLAH Blparser is the component of the CREAM CE responsible to notify CREAM about job status changes. For LSF and PBS/Torque it is possible to configure the BLAH blparser in two possible ways:
1.2.4.1 New BLAH BlparserThe new Blparser runs on the CREAM CE machine and it is automatically installed when installing the CREAM CE. The configuration of the new BLAH Blparser is done when configuring the CREAM CE (i.e. it is not necessary to configure the Blparser separately from the CREAM CE). To use the new BLAH blparser, it is just necessary to set:BLPARSER_WITH_UPDATER_NOTIFIER=truein the siteinfo.def and then configure the CREAM CE. This is the default value. The new BLParser doesn't parse the log files. However the bhist (for LSF) and tracejob (for Torque) commands (used by the new BLParser) require the batch system log files, which therefore must be available (in case e.g. via NFS in the CREAM CE node. Actually for Torque the blparser uses tracejob (which requires the log files) only when qstat can't find anymore the job. And this can happen if the job has been completed more than keep_completed seconds ago and the blparser was not able to detect before that the job completed/was cancelled/whatever. This can happen e.g. if keep_completed is too short or if the BLAH blparser for whatever reason didn't run for a while. If the log files are not available and the tracejob command is issued (for the reasons specified above), the BLAH blparser will not be able to find the job, which will considered "lost" (DONE-FAILED wrt CREAM).
The init script of the new Blparser is /etc/init.d/glite-ce-blah-parser . Please note that it is not needed to explicitly start the new blparser: when CREAM is started, it starts also this new BLAH Blparser if it is not already running.
When the new Blparser is running, you should see the following two processes on the CREAM CE node:
tomcat on the CREAM CE should be allowed to issue the relevant status/history commands (for Torque: qstat , tracejob , for LSF: bhist , bjobs ). Some sites configure the batch system so that users can only see their own jobs (e.g. in torque:
set server query_other_jobs = False). If this is done at the site, then the tomcat user will need a special privilege in order to be exempt from this setting (in torque: set server operators += tomcat@creamce.yoursite.domain). 1.2.4.2 Old BLAH BlparserThe old BLAH blparser must be installed on a machine where the batch system log files are available (let's call this hostBLPARSER_HOST . So the BLPARSER_HOST can be the batch system master or a different machine where the log files are available (e.g. they have been exported via NFS). There are two possible layouts:
BLPARSER_WITH_UPDATER_NOTIFIER=falsein the siteinfo.def before configuring via yaim. 1.2.5 Deployment models for CREAM databases | |||||||
Line: 1 to 1 | ||||||||
---|---|---|---|---|---|---|---|---|
Added: | ||||||||
> > |
|