cluster:Interactive/2

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.4 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
  • Perl version >= 5.8.8 (with XML::PARSER)
Firewall configuration

Install

  • downloads and install the Grid Packaging Toolkit (GPT)
  • download gsissh package
  • install gsissh by using the gpt toolkit
  • execute gpt-postinstall

Configure

Please check the grid certificates allocation before to proceed.

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

To use the gsissh, user globus must be authenticated. There are two ways for user authentication in Globus:

1 - manually

as grid-user extract the Distinguished name (DN) as the following:
       su $USER
       grid-cert-info -subject /C=DE/O=GridGermany/OU=Leibniz-Rechenzentrum/CN=griduser1
Now, the grid-user should be included to the grid-mapfile. For this, execute as root:
       su root
       grid-mapfile-add-entry -dn<DN>-ln <locale user name for griduser1>

2 - automaticly

There is the dgridmap script for automatic generation of the grid-mapfile. It is mandatory to execute the dgridmap script regularly (e.g. cron minimum once per 24 hours) for update of the Globus grid-mapfile (see section join D-Grid).


Proceed

To start/stop services use the commands:

Initial test

To test the following commands can be used:

Update

  • deinstall software by the user root
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

Personal tools