Changes between Initial Version and Version 1 of GridFTPInstallation

Show
Ignore:
Timestamp:
05/04/13 10:07:01 (11 years ago)
Author:
mmamonski
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • GridFTPInstallation

    v1 v1  
     1= GridFTP server installation = 
     2* install grid-ftp server using the YUM Package Manager: 
     3It is recommended to take the gridFTP server from the IGE (Initiative for Globus in Europe) repository. 
     4Please configure IGE repositories 
     5{{{#!sh 
     6cat > /etc/yum.repos.d/IGE.repo << EOF 
     7[IGE] 
     8name=IGE 
     9baseurl=http://repo-rpm.ige-project.eu/sl/sl5/x86_64/ 
     10enabled=1 
     11gpgcheck=1 
     12gpgkey=http://repo-rpm.ige-project.eu/RPM-GPG-KEY-IGE 
     13EOF 
     14}}} 
     15 
     16{{{#!sh 
     17cat > /etc/yum.repos.d/IGE-updates.repo << EOF 
     18[IGE-updates] 
     19name=IGE - Updates 
     20baseurl=http://repo-rpm.ige-project.eu/sl/updates/sl5/x86_64/ 
     21enabled=1 
     22gpgcheck=1 
     23gpgkey=http://repo-rpm.ige-project.eu/RPM-GPG-KEY-IGE 
     24}}} 
     25 
     26'''IMPORTANT:''' If for any reason you do not want to use IGE repos, you can alternatively configure the system to use EPEL (Extra Packages for Enterprise Linux) repository. 
     27* The configuration can be done by installation of yum-conf-epel.noarch package using the YUM Package Manager. 
     28{{{ 
     29#!div style="font-size: 90%" 
     30{{{#!sh 
     31yum install yum-conf-epel.noarch 
     32}}} 
     33}}} 
     34 
     35Install the gridFTP server package: 
     36{{{ 
     37#!div style="font-size: 90%" 
     38{{{#!sh 
     39yum install globus-gridftp-server-progs.x86_64 
     40}}} 
     41}}} 
     42 
     43 
     44The grid-ftp server requires the X.509 certificate and key to be present in the following locations 
     45* ''/etc/grid-security/hostcert.pem'' 
     46* ''/etc/grid-security/hostkey.pem'' 
     47 
     48The GridFTP server has to be configured to know the range of opened ports for connections. 
     49Please edit the /etc/xinetd.d/gsiftp file and set the GLOBUS_TCP_PORT_RANGE environment variable. 
     50 
     51{{{#!sh 
     52service gsiftp 
     53{ 
     54 instances               = 100 
     55 per_source              = 50 
     56 socket_type             = stream 
     57 wait                    = no 
     58 user                    = root 
     59 env                     += GLOBUS_TCP_PORT_RANGE=20000,25000 
     60 server                  = /usr/sbin/globus-gridftp-server 
     61 server_args             = -i  -l /var/log/globus-gridftp.log -disable-usage-stats 
     62 server_args             += -d ERROR,WARN 
     63 log_on_success          += DURATION 
     64 nice                    = 10 
     65 disable                 = no 
     66} 
     67}}} 
     68 
     69* If needed please install the xinetd tool first 
     70{{{#!sh 
     71yum install xinetd.x86_64 
     72}}} 
     73 
     74IMPORTANT: Do not forget to start or reload xinetd service. 
     75 
     76{{{#!default 
     77service xinetd reload 
     78}}} 
     79 
     80{{{#!default 
     81service xinetd start 
     82}}} 
     83 
     84We also recommend to adjust system wide TCP keepalive parameters for reliability reasons: 
     85{{{ 
     86echo "600" > /proc/sys/net/ipv4/tcp_keepalive_time 
     87echo "75" > /proc/sys/net/ipv4/tcp_keepalive_intvl 
     88echo "9" > /proc/sys/net/ipv4/tcp_keepalive_probes 
     89}}} 
     90In order to make the changes persistent add it also to the `/etc/sysctl.conf` 
     91