middleware:Globus/service/gridftp

From Dgiref
Jump to: navigation, search
configuration

As root user insert the following data to the /etc/xinetd.d/gsiftp file:

service gsiftp 
{ 
instances  = 100 
socket_type  = stream 
wait  = no 
user  = root
env  += LD_LIBRARY_PATH=<$GLOBUS_LOCATION>/lib
env  += GLOBUS_TCP_PORT_RANGE=20000,25000
server  = <$GLOBUS_LOCATION>/sbin/globus-gridftp-server
server_args  = -i
nice = 10
disable = no
}

Restart the xinetd daemon as the root user:

$ /etc/init.d/xinetd restart
GridFTP test

To be sure that GridFTP can successfully transfer data, execute as grid-user:

> grid-proxy-init
> globus-url-copy gsiftp://localhost/etc/hosts file:///tmp/hosts_copy 
> ls /tmp/hosts_copy
Personal tools