TWiki
>
LCG Web
>
LCGGridDeployment
>
LcgDocs
>
TarUIInstall
>
WnTarInstall
(revision 41) (raw view)
Edit
Attach
PDF
---+!! gLite 3.1 / 3.2 WN tarball distribution %TOC% ---++ Introduction We provide the glite Worker Node as a tarball distribution. This distribution consists of two tarballs, one containing the glite software, the other containing external dependencies which are usually not installed on the host. The latter contains a string "external". The tarballs are versioned by the WN version (the version of the corresponding meta rpm). ---++ Availabilty A tarball distribution of the glite 3.2 Worker Node is available on the following platforms * SL5_x86_64 [[http://grid-deployment.web.cern.ch/grid-deployment/download/relocatable/glite-WN/SL5_x86_64/][http://grid-deployment.web.cern.ch/grid-deployment/download/relocatable/glite-WN/SL5_x86_64/]] A tarball distribution of the glite 3.1 Worker Node is available on the following platforms * SL4_i686 [[http://grid-deployment.web.cern.ch/grid-deployment/download/relocatable/glite-WN/SL4_i686][http://grid-deployment.web.cern.ch/grid-deployment/download/relocatable/glite-WN/SL4_i686]] * SL4_x86_64 [[http://grid-deployment.web.cern.ch/grid-deployment/download/relocatable/glite-WN/SL4_x86_64/][http://grid-deployment.web.cern.ch/grid-deployment/download/relocatable/glite-WN/SL4_x86_64/]] The x86_64 tarball also contains 32bit binaries, i.e. the x86_64 SL4 host has to be set up in compatibility mode. Releases intended for PPS are prefixed with PPS_ and contain also the creation date. ---++ Installation Download the two tarballs from the repository. Create an =INSTALL_ROOT= directory for the distribution, e.g. =/gLite=. Then cd into =INSTALL_ROOT= and untar the two tarballs. E.g for production: <verbatim> mkdir /gLite cd /gLite tar zxvf glite-WN-3.1.2-0.tar.gz tar zxvf glite-WN-3.1.2-0-external.tar.gz </verbatim> ---++ Configuration Make sure that your site-info.def file contains at least the following variables, plus the variables needed to configure a WN, which can be found here: [[https://twiki.cern.ch/twiki/bin/view/LCG/WN_configuration_variables][WN configuration variables]]: <verbatim> INSTALL_ROOT=base_install_dir GLITE_EXTERNAL_ROOT=${INSTALL_ROOT}/external GRID_ENV_LOCATION=${GLITE_EXTERNAL_ROOT}/etc/profile.d FUNCTIONS_DIR=${INSTALL_ROOT}/glite/yaim/functions </verbatim> =INSTALL_ROOT= is the directory in which the glite middleware is installed. =GLITE_EXTERNAL_ROOT= is the directory in which the external dependencies are installed. You must set =GLITE_EXTERNAL_ROOT=${INSTALL_ROOT}/external=. Note that other configurations have not been tested. To configure the TAR WN run the following command in =INSTALL_ROOT= (In this example site-info.def is also there): <verbatim> cd {INSTALL_ROOT}/glite/yaim/bin ./yaim -c -s site-info.def -n WN_TAR </verbatim> The pool accounts on the WN_TAR have to source the files in =GLITE_EXTERNAL_ROOT/etc/profile.d/= (*sh for bash, *csh for tcsh). As of glite-WN-3.1.3-0, =GLITE_EXTERNAL_ROOT/etc/profile.d/= also contains a1_grid_env.sh which has to be sourced by every job before other scripts are sourced. It is recommended to copy these files to =/etc/profile.d= or to create symlinks. ---++ Structure and content of the tarball The file =INSTALL_ROOT/glite/etc/relocatable-release.txt= contains a list of all rpms installed on the machine where the tarball was created. A subset of them is in the tarball. The file =GLITE_EXTERNAL_ROOT/content.txt= contains a list of rpms that were used to create the externals tarball. The externals tarball contains files of an rpm based WN installation that are not in =/opt/d-cache=, =/opt/edg=, =/opt/glite=, =/opt/globus=, =/opt/gpt= or =/opt/lcg=. These files are usually not found on an scientific linux installation. Currently we have no reference SL installation that guarantees to WN tarball to work but we plan to do so. It might be possible that the tarball WN does not work on your machine because of some missing files. If this is the case you can either install the relevant rpms or add the files under =GLITE_EXTERNAL_ROOT=. Don't forget to update the files =GLITE_EXTERNAL_ROOT/etc/profile.d/grid-env.(c)sh= accordingly. ---++ Additional installation tasks The following sections assume that you untarred the tarballs into /gLite. <verbatim> INSTALL_ROOT=/gLite GRID_ENV_LOCATION=/gLite/external/etc/profile.d GLITE_EXTERNAL_ROOT=/gLite/external </verbatim> Adapt the examples if you installed into a different directory. ---+++ Torque client installation Download the [[http://grid-deployment.web.cern.ch/grid-deployment/glite/repos/3.1/glite-TORQUE_client.repo][glite-TORQUE_client.repo for 3.1]] or [[http://grid-deployment.web.cern.ch/grid-deployment/glite/repos/3.2/glite-TORQUE_client.repo][glite-TORQUE_client.repo for 3.2]] file and run: <verbatim> yum install glite-TORQUE_client cd ${INSTALL_ROOT}/glite/yaim/bin ./yaim -c -s site-info.def -n glite-TORQUE_client </verbatim> ---+++ Creation of pool accounts The function =config_users= can be used to create pool accounts on a TAR WN. Note that this function also creates a cron job =cleanup-grid-accounts=. <verbatim> cd {INSTALL_ROOT}/glite/yaim/bin ./yaim -r -s site-info.def -n glite-WN_TAR -f config_users </verbatim> ---+++ Installation of certificates If you want that YAIM takes care of the installation of the CA files, run the following functions: <verbatim> cd {INSTALL_ROOT}/glite/yaim/bin ./yaim -r -s site-info.def -n glite-WN_TAR -f config_certs_userland -f config_crl </verbatim> =config_certs_userland= will install the CA files in the directory pointed by =X509_CERT_DIR=. Be aware that the directory pointed by X509_CERT_DIR must exist and the user must have write permissions or otherwise YAIM will fail. The default value for =X509_CERT_DIR= is =/etc/grid-security/certificates=. If you want to use another location, redefine this variable in site-info.def. Remember that in case you don't use the standard location, you have to make sure you define =X509_CERT_DIR= in the pool accounts environment. In that case, edit the =${GLITE_EXTERNAL_ROOT}/etc/profile.d/grid-env.sh= file and manually add: <verbatim> gridenv_set "X509_CERT_DIR" "your_non_standard_path" </verbatim> =config_crl= will create a cron job to maintain the crl files up to date. The _externals_ tarball contains VOMS server certifcates in ${GLITE_EXTERNAL_ROOT}/etc/grid-security/vomsdir. However, the function =config_vomsdir= is going to be introduced to create the =.lsc= files substituting the VOMS server certificates when [[https://savannah.cern.ch/bugs/?42943][bug 42943]] is fixed. ---+++ Set up of the pool account environment In =${GLITE_EXTERNAL_ROOT}/etc/profile.d= you find scripts that should be sourced by every pool account. Either copy them to =/etc/profile.d= or create symlinks. ---+++ Note on glite-wn-info.conf configuration If you want to configure only once a TAR WN for a certain group of WNs, they should all belong to the same subcluster. Otherwise, =/etc/glite-wn-info.conf= will be overwritten. So in case you have more than one subcluster, you would need different TAR WNs to be installed in different places and to be configured independently. ---++ Known issues For configuration issues in the WN tarball, check the [[https://twiki.cern.ch/twiki/bin/view/LCG/YaimGuide400#glite_yaim_clients][yaim clients known issues]] section in the YAIM guide. * During the configuration of the WN_TAR the following error message can be seen (it can be ignored): <verbatim> ./glite/yaim/bin/../libexec/configure_node: line 93: [: -lt: unary operator expected ./glite/yaim/bin/../libexec/configure_node: line 93: [: -eq: unary operator expected </verbatim> ---++ Using WN_TAR on different sites Using WN_TAR on different sites: WnTarOnSiteUsage ---++ Contact Ricardo Mendes Maria Alandes -- Main.AndreasUnterkircher - 07 Jan 2008
Edit
|
Attach
|
Watch
|
P
rint version
|
H
istory
:
r50
|
r43
<
r42
<
r41
<
r40
|
B
acklinks
|
V
iew topic
|
Raw edit
|
More topic actions...
Topic revision: r41 - 2009-07-31
-
MariaALANDESPRADILLO
Log In
LCG
LCG Wiki Home
LCG Web Home
Changes
Index
Search
LCG Wikis
LCG Service Coordination
LCG Grid Deployment
LCG Applications Area
Public webs
Public webs
ABATBEA
ACPP
ADCgroup
AEGIS
AfricaMap
AgileInfrastructure
ALICE
AliceEbyE
AliceSPD
AliceSSD
AliceTOF
AliFemto
ALPHA
ArdaGrid
ASACUSA
AthenaFCalTBAna
Atlas
AtlasLBNL
AXIALPET
CAE
CALICE
CDS
CENF
CERNSearch
CLIC
Cloud
CloudServices
CMS
Controls
CTA
CvmFS
DB
DefaultWeb
DESgroup
DPHEP
DM-LHC
DSSGroup
EGEE
EgeePtf
ELFms
EMI
ETICS
FIOgroup
FlukaTeam
Frontier
Gaudi
GeneratorServices
GuidesInfo
HardwareLabs
HCC
HEPIX
ILCBDSColl
ILCTPC
IMWG
Inspire
IPv6
IT
ItCommTeam
ITCoord
ITdeptTechForum
ITDRP
ITGT
ITSDC
LAr
LCG
LCGAAWorkbook
Leade
LHCAccess
LHCAtHome
LHCb
LHCgas
LHCONE
LHCOPN
LinuxSupport
Main
Medipix
Messaging
MPGD
NA49
NA61
NA62
NTOF
Openlab
PDBService
Persistency
PESgroup
Plugins
PSAccess
PSBUpgrade
R2Eproject
RCTF
RD42
RFCond12
RFLowLevel
ROXIE
Sandbox
SocialActivities
SPI
SRMDev
SSM
Student
SuperComputing
Support
SwfCatalogue
TMVA
TOTEM
TWiki
UNOSAT
Virtualization
VOBox
WITCH
XTCA
Welcome Guest
Login
or
Register
Cern Search
TWiki Search
Google Search
LCG
All webs
Copyright &© 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