cluster:Interactive/3/node
Contents |
Interactive/3/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:
- 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
administrator's script: prepare.sh
# install umd#clean oldrm /etc/yum.repos.d/UMD* /etc/yum.repos.d/epel*
wget http://download.fedoraproject.org/pub/epel/5/i386/epel-release-5-4.noarch.rpm
wget http://repository.egi.eu/sw/production/umd/1/sl5/x86_64/updates/umd-release-1.0.2-1.el5.noarch.rpm
rm -f epel-release-5-4.noarch.rpm umd-release-1.0.2-1.el5.noarch.rpm
yum install epel-release-5-4.noarch.rpm
yum install yum-prioritiesyum install umd-release-1.0.2-1.el5.noarch.rpm
sed -i -e "s/priority=.*/priority=5/g" /etc/yum.repos.d/UMD-1-base.repo
sed -i -e "s/priority=.*/priority=4/g" /etc/yum.repos.d/UMD-1-updates.repo
mkdir -p /etc/grid-security/
#
Install
- Install server component gsi-openssh.x86_64 and client component ige-meta-globus-gsissh with yum from UMD repo
administrator's script: install.sh
#!/bin/bash# install interactive nodeyum -y install gsi-openssh.x86_64
yum -y install ige-meta-globus-gsissh
Configure
| 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:
administrator's script: configure.sh
#!/bin/bash# configure interactive node# To configure the gsisshd:su rootsed -i "s/Port 22/Port 2222/g" /etc/ssh/sshd_config
sed -i "s/UsePAM/\#UsePAM/g" /etc/ssh/sshd_config
# Setting up GSI-SSH service# In order to work with the GSI-SSH Service, the following line must be inserted as 'root' into the /etc/services:#gsissh 2222/tcp# 2.1. In /etc/hosts the IP address of the server must be mapped to the FQDN as follows:# <IP ADDRESS> <FQDN> <hostname># Insert as 'root' the following entries in the file /etc/hosts.allow:echo "gsisshd:ALL:ALLOW" >> /etc/hosts.allow
Proceed
- Start gsisshd
administrator's script: proceed.sh
#!/bin/bash/etc/rc.d/init.d/gsisshd {start|stop|restart|reload|condrestart|status}
Initial test
- Connect to server with gsissh client software
- Grid user initialization
- Try to connect with gsissh to interactive node with 2222 port
administrator's script: test.sh
#!/bin/bash# initial test for interactive node# Log on into a grid client (eg. with ssh)ssh griduser@gridclient
# logged in griduser@gridclient# GSI Authenticationgrid-proxy-init
# Your identity: /C=DE/O=GermanGrid/OU=FZK/CN=Grid User# Enter GRID pass phrase for this identity:# Creating proxy ...................................................... Done# Your proxy is valid until: Fri Aug 15 23:27:06 2008# GSI-SSH Access to login nodegsissh -p 2222 dgiref-login.fzk.de
#********************************************************## Welcome to the D-Grid-Referenzinstallation:## - Interactive node Installation:## * GSI-SSH (Globus 4.0.7 64 bit)# * gLite WN_TAR#**********************************************************# dgdt0001@dgiref-login.fzk.de:~>