CCR does not support Globus, for full installation guides see the Globus website

However, here is a sample Centos 7 Linux installation, supporting globus-url-copy with sshftp

$ sudo yum -y install globus-gridftp-server-progs globus-gass-copy-progs

$ ls /etc/grid-security/sshftp || sudo ln -s /etc/gridftp-sshftp /etc/grid-security/sshftp

There are other RPMs you will likely want to install which are not required for globus-url-copy with sshftp,

such as the "globus-myproxy" and "globus-myproxy-doc" - however these two require the EPEL repos

$ sudo /etc/init.d/globus-gridftp-sshftp reconfigure

In this config, we set the (data) port range for Globus to 50000 to 51000

$ sudo sh -c 'sed -i "s/^exec/export GLOBUS_TCP_PORT_RANGE=50000,51000\n\nexec/" /etc/gridftp-sshftp'

$ sudo sh -c 'echo "\$GLOBUS_TCP_PORT_RANGE 50000,51000" >> /etc/gridftp.conf'

$ sudo sh -c 'echo "\$GLOBUS_ERROR_VERBOSE 1" >> /etc/gridftp.conf'

$ sudo systemctl restart globus-gridftp-server

Verify that the "globus-gr" process is now running, and listening on TCP port 2811 e.g.

$ sudo lsof -i -n -P | grep globus

globus-gr 12302    root   8u  IPv4 286949894    0t0  UDP *:43676
globus-gr 12302    root   9u  IPv6 286950401    0t0  TCP *:2811 (LISTEN)

If you are running a firewall (firewalld in the case of CentOS), you have to open the

Globus server ports defined above:

$ sudo sh -c 'cat > /etc/firewalld/services/gridftp-server.xml <<- EOF
<?xml version="1.0" encoding="utf-8"?>

  <short>GridFTP Server</short>

  <description>Globus GridFTP Server</description>

  <port protocol="tcp" port="2811"/>

  <port protocol="tcp" port="50000-51000"/>

$ sudo sed -i 's/\xC2\xA0/ /g' /etc/firewalld/services/gridftp-server.xml

$ sudo firewall-cmd --reload


Having added the "gridftp-server" firewall service to firewalld, we allow this service in the firewall zone containing the network interface (NIC) we wish to use.

For example:

$ sudo firewall-cmd --get-active-zones
  interfaces: em1
  interfaces: em2


In this example interface "em1" is the Internet connected interface though which we want to allow globus-url-copy to send & receive data.  It is in the "public" zone, so we add the "gridftp-server" service to this zone:

$ sudo firewall-cmd --zone=public --add-service=gridftp-server

$ sudo firewall-cmd --permanent --zone=public --add-service=gridftp-server


The Globus RPMs from include user environment file scripts:




...but the CentOS RPMs do not, so we will create (very simplified) environment file scripts with the data port settings we desire:

$ sudo sh -c "cat > /usr/etc/ <<- EOF






$ sudo sed -i 's/\xC2\xA0/ /g' /usr/etc/

$ sudo sh -c "cat > /usr/etc/globus-user-env.csh <<- EOF

setenv GLOBUS_TCP_PORT_RANGE '50000,51000'

setenv GLOBUS_TCP_SOURCE_RANGE '50000,51000'


$ sudo sed -i 's/\xC2\xA0/ /g' /usr/etc/globus-user-env.csh


If you have a multi-homed (i.e. multiple active network interfaces) host you will also need to set GLOBUS_HOSTNAME to the IP address of the interface you want to sent the data through (generally your Internet connected NIC)


$ ip -o address list

2: em1    inet [...]


3: em2    inet [...]


In this case interface em1 is the Internet connected interface we want to use, so we would add the external address to the environment scripts

$ sudo sh -c "cat >> /usr/etc/ <<- EOF




$ sudo sed -i 's/\xC2\xA0/ /g' /usr/etc/

$ sudo sh -c "cat >> /usr/etc/globus-user-env.csh <<- EOF



$ sudo sed -i 's/\xC2\xA0/ /g' /usr/etc/globus-user-env.csh

You should now be able to do parallel "globus-ulr-copy" file transfers.

For example:

On a Globus GridFTP Client, transfer a file to CCR storage in 32 parallel streams

$ source /usr/etc/
$ globus-url-copy -verbose-perf -parallel 32 \
 -tcp-buffer-size 16777216 -block-size 16777216 \

 file:///home/_username_/largefile.bz2 \

On a Globus GridFTP Client, transfer a file from CCR storage in 32 parallel streams

$ source /usr/etc/
$ globus-url-copy -verbose-perf -parallel 32 \
 -tcp-buffer-size 16777216 -block-size 16777216 \
 ssh \

If "globus-url-copy" file transfers don't work, add the "-debugftp" option to help diagnose the problem.

This document is provided as a reference to installing Globus GridFTP services on your own machine running CentOS 7.  CCR does not provide support for this; however, please let us know if you find any errors in this document.  Thank you!