Changes between Initial Version and Version 1 of gridftp server

Show
Ignore:
Timestamp:
06/13/13 09:28:55 (11 years ago)
Author:
piontek
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • gridftp server

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