Changes between Version 1 and Version 2 of gridftp server

Show
Ignore:
Timestamp:
07/05/13 15:14:52 (11 years ago)
Author:
mmamonski
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • gridftp server

    v1 v2  
    1 * install grid-ftp server using the YUM Package Manager: 
    2 It is recommended to take the gridFTP server from the IGE (Initiative for Globus in Europe) repository. 
    3 Please configure IGE repositories 
    4 {{{ 
    5 #!div style="font-size: 90%" 
     1= GridFTP server installation = 
     2* It is recommended to take the gridFTP server from the IGE (Initiative for Globus in Europe) repository. 
     3Please configure IGE repositories. Example configuration for **SL5**: 
    64{{{#!sh 
    75cat > /etc/yum.repos.d/IGE.repo << EOF 
     
    1412EOF 
    1513}}} 
    16 }}} 
    1714 
    18 {{{ 
    19 #!div style="font-size: 90%" 
    2015{{{#!sh 
    2116cat > /etc/yum.repos.d/IGE-updates.repo << EOF 
     
    2621gpgcheck=1 
    2722gpgkey=http://repo-rpm.ige-project.eu/RPM-GPG-KEY-IGE 
    28 }}} 
     23EOF 
    2924}}} 
    3025 
     
    3833}}} 
    3934 
    40 Install the gridFTP server package: 
     35 * Install the gridFTP server package: 
    4136{{{ 
    4237#!div style="font-size: 90%" 
     
    4843 
    4944The 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'' 
     45    * ''/etc/grid-security/hostcert.pem'' 
     46    * ''/etc/grid-security/hostkey.pem'' 
    5247 
    5348The GridFTP server has to be configured to know the range of opened ports for connections. 
    5449Please edit the /etc/xinetd.d/gsiftp file and set the GLOBUS_TCP_PORT_RANGE environment variable. 
    5550 
    56 {{{ 
    57 #!div style="font-size: 90%" 
    5851{{{#!sh 
    5952service gsiftp 
     
    6659 env                     += GLOBUS_TCP_PORT_RANGE=20000,25000 
    6760 server                  = /usr/sbin/globus-gridftp-server 
    68  server_args             = -i  -l /var/log/globus-gridftp.log 
    69  server_args             += -d ERROR,WARN 
     61 server_args             = -i  -l /var/log/globus-gridftp.log -disable-usage-stats -d ERROR,WARN 
    7062 log_on_success          += DURATION 
    7163 nice                    = 10 
    7264 disable                 = no 
    7365} 
    74  
    75  
    76 }}} 
    7766}}} 
    7867 
    79 * If needed please install the xinetd tool first 
    80 {{{ 
    81 #!div style="font-size: 90%" 
     68If needed please install the xinetd tool first 
    8269{{{#!sh 
    8370yum install xinetd.x86_64 
    8471}}} 
     72 
     73IMPORTANT: Do not forget to reload xinetd service. 
     74 
     75{{{#!default 
     76/etc/init.d/xinetd reload 
    8577}}} 
    8678 
    87 IMPORTANT: Do not forget to start or reload xinetd service. 
     79also check if its started on system boot by default: 
    8880{{{ 
    89 #!div style="font-size: 90%" 
    90 {{{#!default 
    91 service xinetd reload 
    92 }}} 
     81/sbin/chkconfig --list xinetd 
     82xinetd          0:off   1:off   2:off   3:on    4:on    5:on    6:off 
    9383}}} 
    9484 
    95 {{{ 
    96 #!div style="font-size: 90%" 
    97 {{{#!default 
    98 service xinetd start 
    99 }}} 
    100 }}} 
    101  
    102 If you plan to  transfer large files we advice you to adjust system wide TCP keepalive: parameters: 
     85We also recommend to adjust system wide TCP keepalive parameters for reliability reasons: 
    10386{{{ 
    10487echo "600" > /proc/sys/net/ipv4/tcp_keepalive_time 
     
    10790}}} 
    10891In order to make the changes persistent add it also to the `/etc/sysctl.conf` 
     92 * finally simply verify the installation by issuing the following command (if posible using external client host) 
     93{{{ 
     94telnet grass1.man.poznan.pl 2811 
     95Trying 150.254.173.215... 
     96Connected to grass1.man.poznan.pl (150.254.173.215). 
     97Escape character is '^]'. 
     98220 grass1.man.poznan.pl GridFTP Server 6.19 (gcc64, 1359994843-83) [Globus Toolkit 5.2.3] ready. 
     99}}}