Changes between Version 1 and Version 2 of gridftp server
- Timestamp:
- 07/05/13 15:14:52 (12 years ago)
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. 3 Please configure IGE repositories. Example configuration for **SL5**: 6 4 {{{#!sh 7 5 cat > /etc/yum.repos.d/IGE.repo << EOF … … 14 12 EOF 15 13 }}} 16 }}}17 14 18 {{{19 #!div style="font-size: 90%"20 15 {{{#!sh 21 16 cat > /etc/yum.repos.d/IGE-updates.repo << EOF … … 26 21 gpgcheck=1 27 22 gpgkey=http://repo-rpm.ige-project.eu/RPM-GPG-KEY-IGE 28 }}} 23 EOF 29 24 }}} 30 25 … … 38 33 }}} 39 34 40 Install the gridFTP server package:35 * Install the gridFTP server package: 41 36 {{{ 42 37 #!div style="font-size: 90%" … … 48 43 49 44 The 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'' 52 47 53 48 The GridFTP server has to be configured to know the range of opened ports for connections. 54 49 Please edit the /etc/xinetd.d/gsiftp file and set the GLOBUS_TCP_PORT_RANGE environment variable. 55 50 56 {{{57 #!div style="font-size: 90%"58 51 {{{#!sh 59 52 service gsiftp … … 66 59 env += GLOBUS_TCP_PORT_RANGE=20000,25000 67 60 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 70 62 log_on_success += DURATION 71 63 nice = 10 72 64 disable = no 73 65 } 74 75 76 }}}77 66 }}} 78 67 79 * If needed please install the xinetd tool first 80 {{{ 81 #!div style="font-size: 90%" 68 If needed please install the xinetd tool first 82 69 {{{#!sh 83 70 yum install xinetd.x86_64 84 71 }}} 72 73 IMPORTANT: Do not forget to reload xinetd service. 74 75 {{{#!default 76 /etc/init.d/xinetd reload 85 77 }}} 86 78 87 IMPORTANT: Do not forget to start or reload xinetd service. 79 also check if its started on system boot by default: 88 80 {{{ 89 #!div style="font-size: 90%" 90 {{{#!default 91 service xinetd reload 92 }}} 81 /sbin/chkconfig --list xinetd 82 xinetd 0:off 1:off 2:off 3:on 4:on 5:on 6:off 93 83 }}} 94 84 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: 85 We also recommend to adjust system wide TCP keepalive parameters for reliability reasons: 103 86 {{{ 104 87 echo "600" > /proc/sys/net/ipv4/tcp_keepalive_time … … 107 90 }}} 108 91 In 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 {{{ 94 telnet grass1.man.poznan.pl 2811 95 Trying 150.254.173.215... 96 Connected to grass1.man.poznan.pl (150.254.173.215). 97 Escape character is '^]'. 98 220 grass1.man.poznan.pl GridFTP Server 6.19 (gcc64, 1359994843-83) [Globus Toolkit 5.2.3] ready. 99 }}}