WN

From Gridkaschool

Description

WN.png

Services and Ports

Installation of WN

Repositories

The repositories are placed in directory /etc/yum.repos.d/. The DAG repository has to be replaced:

cd /etc/yum.repos.d
rm -f dag.repo

All yum *.repos are available at http://grid-deployment.web.cern.ch/grid-deployment/glite/repos/

The needed repositories are:

dag.repo
glite-TORQUE_client.repo
glite-WN.repo
lcg-CA.repo

Get them with

 wget http://grid-deployment.web.cern.ch/grid-deployment/glite/repos/3.2/dag.repo
 wget http://grid-deployment.web.cern.ch/grid-deployment/glite/repos/3.2/glite-TORQUE_client.repo
 wget http://grid-deployment.web.cern.ch/grid-deployment/glite/repos/3.2/glite-WN.repo
 wget http://grid-deployment.web.cern.ch/grid-deployment/glite/repos/3.2/lcg-CA.repo

Installing the packages

Now the software has to be installed. After installation a update should be done (or before installation, but this might cause some conflicts with packages).

yum groupinstall glite-WN
yum install glite-TORQUE_client ca_GermanGrid
yum update

Configuration

site-info.def

Now get your site-info.def from the example/siteinfo/site-info.def and save it somewhere you like, e.g. /root/yaim. or /opt/glite/yaim/. and make sure that it is only readable by root.

mkdir /root/yaim
cp /opt/glite/yaim/examples/siteinfo/site-info.def /root/yaim/.
cd /root/yaim

users.conf

For every VO you are supporting you need to define user in the users.conf file. For details please refer to this page.

Variables

Before the configuration script can be run the site-info.def has to be adapted. Required Variables are:

MY_DOMAIN=$(hostname -d)         # domain name, leave the default
BATCH_SERVER=$CE_HOST             # Batch system master node, today on the CE_HOST
CE_HOST=gks-0-0??.$MY_DOMAIN      # Choose one of you machines to be the CE                  
JAVA_LOCATION=/usr/java/jdk-???  # set to java location under /usr/java/jdk-???
USERS_CONF                       # leave the default, path to your users configuration file
BDII_HOST=gks-0-060.$MY_DOMAIN   # Select toplevel BDII
VOS="dech"                       # list of all supported VOs

Add VO specific information: In addition some information for the supported VOs have to be set. Please refer to this link.

Configuration with yaim

Run yaim:

/opt/glite/yaim/bin/yaim -c -s /root/yaim/site-info.def -n glite-WN -n glite-TORQUE_client

Check the value of the batch server name in file /var/spool/pbs/server_name. Here the host of the batch system should be written. Today this is your CE (gks-0-???.fzk.de). If you had to change it, please reboot the pbs deamon.

/etc/init.d/pbs_mom restart

Functions

The functions used are listed in /opt/glite/yaim/node-info.d/glite-wn

WN_FUNCTIONS="
   config_ldconf
   config_sysconfig_edg
   config_sysconfig_globus
   config_sysconfig_lcg
   config_crl
   config_rfio
   config_globus_clients
   config_lcgenv
   config_users
   config_sw_dir
   config_rgma_client
   config_fts_client
   config_amga_client
   config_wn
   config_vomsdir
   config_vomses
   config_add_pool_env
   config_wn_info
"

TORQUE_client_FUNCTIONS="
  config_torque_client
"




Go back to gLite Administration Course