cluster:Interactive/3

From Dgiref
Jump to: navigation, search

Contents

Introduction

Geographylogo.png The developer/user/administrator interaction can be done by using the specially configured Node. This node, named interactive, use the identical hardware/software configuration as the Worker Nodes.

The current D-Grid reference installation is combined together the login server with the interactive node on one server.

  • The Login Server provides an site-wide Single Sign-On (SSO) mechanism that enables access for the D-Grid users into the D-Grid site.
  • Interactive nodes provide an entry point to the system for users to be able to manage their workload and is NOT an User Interface for Job submission.

That allow the connection and access from the User Interface into the D-Grid reference installation site and to work with the grid applications and also to compile and test jobs using local libraries.


Package:    GSI-OpenSSH 4.3 / OpenSSH 4.7p1
 os:             Scientific Linux version 5.6 64 bit
 server:        dgiref-login.fzk.de
 manuals:   login server / Worker Node
 monitoring: monitoring page


Archive links
Information links
Download links



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

Login server

Prepare

Operating system
Scientific Linux version 5.6 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:

Additional software
  • java SDK >=1.6.0 (java-1_6_0-sun or java-1_6_0-ibm)
  • Perl version >= 5.8.8 (with XML::PARSER)
  • UMD repo
  • Host certificate
  • Worker node packages


Install

  • Install server component gsi-openssh.x86_64 and client component ige-meta-globus-gsissh with yum from UMD repo

Configure

Note-icon.png
  
Please check the grid certificates allocation before to proceed.
  • Change port in gsisshd config file /etc/ssh/sshd_config
  • Disable UsePAM

WARNING: Grid-mapfile: The grid-mapfile located in the directory /etc/grid-security/ is necessary for the successful launch of the Globus container. If you have none of it, an empty file with the name grid-mapfile should be created.

To configure gsissh do the following:

Proceed

  • Start gsisshd

Initial test

  • Connect to server with gsissh client software
  • Grid user initialization
  • Try to connect with gsissh to interactive node with 2222 port


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

Worker node

Prepare

Operating system
Scientific Linux version 5.6 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
Note-icon.png
  
WN should have an access to external network

Install

There are some types of packages to install into the Cluster Node that it will provide the Worker Node functionality

  • glite-WN packages to operate with Grid middleware

Configure

  • Mount File system
  • 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-icon.png
  
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.

Note-icon.png
  
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-cron
    • config_crl

by using the function TAR_WN_FUNCTIONS.

Note-icon.png
  
The following error message is NOT important: [ERROR] Failed to add group


Update