middleware:Glite/31/server

From Dgiref
Jump to: navigation, search

See also troubleshooting for this page.


Please open a NGI-DE ticket if you experience any Installation or Configuration problem.

Contents

gLite server v.3.1

Prepare

Software
  • Scientific Linux version 4.8 32 bit
  • Java JDK >= 1.6.0
  • perl
  • Torque Client

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:

The supported installation method for SL4 is the yum tool, and you have to configure yum repositories yourself and install the meta packages using your preferred way.

Note-icon.png
  
Please note that YAIM IS NOT SUPPORTING INSTALLATION
  • Download the following repo files into the /etc/yum.repo.d:
    • jpackage.repo
    • lcg-CA.repo
    • lcg-CE.repo
    • glite-TORQUE_utils.repo


Firewall configuration

The LCG/gLite frontend runs the LCG CE and Site-BDII services. To enable the communication, check the following ports (how to open port in firewall):

Service Incoming ports (TCP) Differs from default configuration
GRAM Gatekeeper + Jobmanager 2119 No
Globus port-range (Jobmanager, GridFTP) 20000-25000 No
BDII 2170 No
GridFTP 2811 No

Install

The D-Grid reference installation uses the LCG CE variant for the gLite computing resources. Hence the following three main gLite components must be installed on the CE (Computing Element):

  1. Computing Element: lcg-CE package
  2. Information system: glite-BDII package
  3. Batch system components: glite-TORQUE_utils package


Configure

Note-icon.png
  
To install the gLite Monitoring services (BDII and RGMA), please refer to gLite services page.

Generally speaking the gLite configuration done by the YAIM packages (for the YAIM description check YAIM guide). There are three important site-specific configuration files:

The files structure description can be found: into the /opt/glite/yaim/examples/ (for example users.conf.README). The file users.conf must be created or adapted for all VOs users. During the configuration, the YAIM configuration tool creates these users if they are not exist yet. If the user accounts already exist YAIM do not change the UIDs/GIDs. The entries are controlled in the directory /etc/grid-security/gridmapdir.

Certificates

The certificate installation procedure can be done by the two ways:

  • Use the apt savannah.fzk.de repository. Examples:
  • install the fzk-vomscert package from the apt repository:
 
        rpm savannah.fzk.de repository/fzk security
        cat << EOF > /etc/apt/sources.list.d/fzk.list 
              ###
              ### FZK apt repository containing some packages needed for DGrid
              ###   Currently these are the VOMS server certificate, and the GridKa-CA
              ###   configuration rpms. Do not remove this repository.
              ###
              rpm http://savannah.fzk.de repository/fzk security
 
        EOF
 
        apt-get update
        apt-get install fzk-vomscert
  • GSI configuration. Install the ca_FZK-local package from the following apt repository:
     rpm savannah.fzk.de repository/fzk security
  • Use the d-grid download area (see the following script)


Proceed

The gLite instance is started automatically.

Note-icon.png
  
To make available stagein/stageout options for PBS Jobs, the /etc/ssh/shosts.equiv and /etc/ssh/ssh_known_hosts should be distributed from gLite into all worker nodes. The reference installation use the cfengine to implement such a procedure (use link).

Initial test

Examine the newly installed system by the following commands:

Update

Updates to gLite 3.1 are released regularly. It is enough to execute yum update to update the instance.

WARNING: Several sites use auto update mechanism. Sometimes middleware updates require non-trivial configuration changes or a reconfiguration of the service. This could involve database schema changes, restart service, new configuration files, etc, which makes it difficult to ensure that automatic updates will not break up a service. Thus NOT TO USE AUTOMATIC UPDATE PROCEDURE OF ANY KIND!

Personal tools