cluster:Worker/1/node
Contents |
Worker/1/node
Prepare
- Operating system
- Scientific Linux version 4.7 64 bit
Optimizing the configuration:
Use minimal operating system installation without firewall. To verify installed packages use the command
-
rpm -qa | grep package_name
Install the following additional packages:
-
yum -y install wget yum rpm make gcc gcc-c++ tar sed zlib openssl
After the installation is complete, turn off any unnecessary services (like gpm, sendmail, cups, haldaemon, messagebus, pcmcia, anacron, atd) with the following command:
-
chkconfig <SERVICE> off
Configure the following settings for the server:
- Firewall configuration
Allowing incoming connections directed to the WNs is optional and Resource Providers can freely decide whether to permit them on a voluntary base. However, when such inbound connections are blocked, data transfers using GridFTP will be forced to work in "single-stream" mode and their performance might be accordingly degraded (how to open port in firewall).
| Service | Incoming ports (TCP) | Change to default configuration |
| GridFTP | 20000-25000 | Yes |
administrator's script: prepare.sh
#!/bin/bash# prepare#-> start routineREPO_URL="http://dgiref.d-grid.de/svn/dgiref/PROD/cf3/repl/repos/external/"
wget -O /etc/yum.repos.d/sl-dgiref.repo ${REPO_URL}/sl-dgiref.repo
# Prepare for gLitewget -O /etc/yum.repos.d/glite-WN.repo http://grid-deployment.web.cern.ch/grid-deployment/glite/repos/3.1/glite-WN.repo
wget -O /etc/yum.repos.d/lcg-CA.repo http://grid-deployment.web.cern.ch/grid-deployment/glite/repos/3.1/lcg-CA.repo
# Missing packages installationyum -y install jdk gcc4 gcc4-c++
#<- end routine
Install
| Please note, that in this the reference installation release we do not describe the MPI packages. |
administrator's script: install.sh
#!/bin/bash# install worker node packagesyum -y install glite-WN-version lcg-CA
Configure
- Mount File system (see cluster:nfs/3/client)
- Configure torque mom
- Configure users
- Prepare WNs for gLite
- The packages for the gLite middleware and OGSA-DAI will be provided by NFS server.
- The middleware configuration for all Worker nodes is unique to any WN.
- This require the corresponding WN performs the write rights for the configuration scripts to the directory /opt/glite-MW.
- This directory mounts with appropriate write rights.
- Rights configuration can be changed later, after general configuration.
- The specific configuration can be implemented using the prepared templates on the: http://www.d-grid.de/index.php?id=132
- The info.def, groups.conf and users.conf files are required for the WN configuration.
| Note: The site-info.def have the JAVA_LOCATION which should be configured!
|
WARNING:
The dgrid_env.sh script should be edited and the variables VOS, INSTALL_ROOT and DGRID_VO_DIRECTORY adjusted. The script ensures that only the D-Grid VOs users used the middleware environment variables.
| The dgrid_env.sh is calling another script - grid_env.sh
|
- Optional adjustment
- In order to accelerate the WN configuration, the Certificates and CRLs configurations can be denied.
- They will be executed on the gLite-CE. This require removing the following functions from the
$GLITE_DIR/glite/yaim/scripts/node-info.def: install_certs_userland, config_fix_edg-fetch-crl-cronandconfig_crlby using the functionTAR_WN_FUNCTIONS.
| The following error message is NOT important: [ERROR] Failed to add group
|
administrator's script: configure.sh
#!/bin/bash# configure WNs# Torque Mom configurationTORQUE_SERVER="<FQDN of TORQUE-Servers>"
echo "${TORQUE_SERVER}" > /var/spool/pbs/server_name
cat > /var/spool/pbs/mom_priv/config << EOF
\$pbsserver ${TORQUE_SERVER}\$logevent 255\$ideal_load 4\$max_load 10\$usecp *:/home /homeEOF/etc/init.d/pbs_mom start
# Users configuration# User and group database# Is distributed by CFengine.## User environment linkingln -s $GLITE_DIR/etc/profile.d/dgrid_env.sh /etc/profile.d
# Prepare WNs for gLite## mount glite-MW# The appropriate gLite packages directory form the NFS server should be mounted to the# local directory /opt/glite-MW as the following:GLITE_DIR=/opt/glite-MW
NFS_SERVER="<Name of NFS-Server>"
mkdir -p $GLITE_DIR
echo "${NFS_SERVER}:/srv/glite-MW ${GLITE_DIR} nfs \
nfsvers=3,intr,nosuid,rsize=32768,wsize=32768 0 0" >> /etc/fstab
mount -a
# gLite middleware configurationcp site-info.def $GLITE_DIR/etc/
cp groups.conf users.conf $GLITE_DIR/etc/
# Optional adjustment<...>
TAR_WN_FUNCTIONS="config_check_tar
config_tar_user_envconfig_replica_managerconfig_lcgenvconfig_javaconfig_glite_tar_wnconfig_rgma_clientconfig_fts_clientconfig_gsissh"<...>
# Configure nodes:$GLITE_DIR/glite/yaim/scripts/configure_node $GLITE_DIR/etc/site-info.def TAR_WN
Proceed
Currently there are no information available.
administrator's script: proceed.sh
#!/bin/bash# proceed
Initial test
Currently there are no initial tests available.
administrator's script: test.sh
#!/bin/bash# test
Update
Use the standart rpm commands:
administrator's script: update.sh
#!/bin/bash# update WN packages# Reinstall packages:rpm -Uvh --force package-to-reinstall.rpm
# delete installation:rpm -Uvh --force package-to-delete.rpm