Skip to content

Instantly share code, notes, and snippets.

@beheerderdag
Last active March 30, 2017 14:10
Show Gist options
  • Save beheerderdag/2c79b6285bb321837562b6d19596c95a to your computer and use it in GitHub Desktop.
Save beheerderdag/2c79b6285bb321837562b6d19596c95a to your computer and use it in GitHub Desktop.
b2stage test
# CONFIG
rods$ cat /etc/gridftp.conf
# globus-gridftp-server configuration file
# this is a comment
# option names beginning with '$' will be set as environment variables, e.g.
$GLOBUS_ERROR_VERBOSE 1
$GLOBUS_TCP_PORT_RANGE 50000,51000
# port
port 2811
#iRODS connection
$irodsConnectAsAdmin "rods"
$homeDirPattern "/%s/home/%s"
load_dsi_module iRODS
auth_level 4
log_level ALL
log_single "/var/log/globus-gridftp-server.log"
log_transfer "/var/log/globus-gridftp-server-transfer.log"
# ienv and ils works fine
rods$ ienv
NOTICE: Release Version = rods4.1.8, API Version = d
NOTICE: irods_session_environment_file - /home/rods/.irods/irods_environment.json.46647
NOTICE: irods_user_name - rods
NOTICE: irods_host - irods2.storage.surfsara.nl
NOTICE: xmsg_host is not defined
NOTICE: irods_home - /SURFsaraTest01/home/rods
NOTICE: irods_cwd - /SURFsaraTest01/home/rods
NOTICE: irods_authentication_scheme is not defined
NOTICE: irods_port - 1247
NOTICE: xmsg_port is not defined
NOTICE: irods_default_resource - demoResc
NOTICE: irods_zone_name - SURFsaraTest01
NOTICE: irods_client_server_policy - CS_NEG_REFUSE
NOTICE: irods_client_server_negotiation - request_server_negotiation
NOTICE: irods_encryption_key_size - 32
NOTICE: irods_encryption_salt_size - 8
NOTICE: irods_encryption_num_hash_rounds - 16
NOTICE: irods_encryption_algorithm - AES-256-CBC
NOTICE: irods_default_hash_scheme - SHA256
NOTICE: irods_match_hash_policy - compatible
NOTICE: irods_gsi_server_dn is not defined
NOTICE: irods_debug is not defined
NOTICE: irods_log_level is not defined
NOTICE: irods_authentication_file is not defined
NOTICE: irods_ssl_ca_certificate_path is not defined
NOTICE: irods_ssl_ca_certificate_file is not defined
NOTICE: irods_ssl_verify_server is not defined
NOTICE: irods_ssl_certificate_chain_file is not defined
NOTICE: irods_ssl_certificate_key_file is not defined
NOTICE: irods_ssl_dh_params_file is not defined
NOTICE: irods_server_control_plane_key - 10d933972ee7641d897a598db94da41d
NOTICE: irods_server_control_plane_encryption_num_hash_rounds - 16
NOTICE: irods_server_control_plane_encryption_algorithm - AES-256-CBC
NOTICE: irods_server_control_plane_port - 1248
NOTICE: irods_maximum_size_for_single_buffer_in_megabytes - 32
NOTICE: irods_default_number_of_transfer_threads - 4
NOTICE: irods_transfer_buffer_size_for_parallel_transfer_in_megabytes - 4
NOTICE: irods_plugins_home is not defined
rods$ ils -l
/SURFsaraTest01/home/rods:
rods 0 demoResc 413829000 2017-03-30.14:55 & file.dat
rods 0 demoResc 104857600 2017-03-24.14:53 & testfile
rods 0 demoResc 16 2017-03-30.14:08 & test.txt
C- /SURFsaraTest01/home/rods/globustest
grid-proxy info:
rods$ grid-proxy-info
subject : /O=Grid/OU=GlobusTest/OU=simpleCA-irods2.storage.surfsara.nl/OU=Globus Simple CA/CN=rods/CN=251252311
issuer : /O=Grid/OU=GlobusTest/OU=simpleCA-irods2.storage.surfsara.nl/OU=Globus Simple CA/CN=rods
identity : /O=Grid/OU=GlobusTest/OU=simpleCA-irods2.storage.surfsara.nl/OU=Globus Simple CA/CN=rods
type : RFC 3820 compliant impersonation proxy
strength : 1024 bits
path : /tmp/x509up_u38512
timeleft : 11:06:49
# connection error when using globus-url-copy
16:04 irods2.storage.surfsara.nl:/tmp
rods$ globus-url-copy gsiftp://irods2.storage.surfsara.nl/home/rods/file.dat file.dat
error: globus_ftp_client: the server responded with an error
530 530-Login incorrect. : /home/rods/iRODS_DSI/B2STAGE-GridFTP/DSI/globus_gridftp_server_iRODS.c:globus_l_gfs_iRODS_start:693:
530-rcConnect failed:: _rcConnect: setRhostInfo failed
530- Host: '', Port: '0', UserName 'rods', Zone ''
530-
530 End.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment