...
Settings for bin/daemon.conf file
Code Block | ||||||||
---|---|---|---|---|---|---|---|---|
| ||||||||
max_worker_lifetime 60 360 max_worker_processes 30 disable_echo 0 ls_registration_interval 60 ls_instance [ http://192.168.117.129:9995/perfSONAR_PS/services/hLS] root_hints_url [ http://www.perfsonar.net/gls.root.hints] <port 9000> <endpoint /perfSONAR_PS/services/FT/MA> service_type MA module service_type MA module perfSONAR_PS::Services::MA::FT <ftma> service_description FT MA service_accesspoint [ <ftma> service_description FT MA service_accesspoint http://localhost:9000/perfSONAR_PS/services/FT/MA] enable_registration 0 service_name enable_registration 0 service_name perfSONAR_PS FT MA ls_registration_interval 60 service_timeout 60 query_size_limit 100000 db_host <database host> db_username <database user> db_name <database name> db_password <database password> db_type <database type> </ftma> 60 service_timeout 360 query_size_limit 100 db_host localhost db_username root db_name ft_ma db_password **** db_type mysql </ftma> </endpoint> </port> |
How to run the Service:
...
Code Block perl FTP_client.pl --help -d Switch to debug level, one of 0,1 or 2
...
--debug Same as -d
...
--url Url to the MA Service(FT)
...
default is localhost
...
--data Output Data as well
...
--src source ip (string)
...
--dst destination ip (string)
...
--SrcPath metadata param: Source file path(string)
...
--DestPath metadata param: Destination file path(string)
...
--stripes metadata param: number of stripes
...
--buffer metadata param: bufer size
...
--block metadata param: block size
...
--streams metadata param: number of streams
...
--program metadata param: program used for file transfer
...
--user metadata param: user, who requested the file transfer
...
--initEpochTime initial Time limit in Epoch (integer)
...
--finalEpochTime Final Time limit in Epoch (integer)
...
--initUtcTime initial Time limit in UTC (string)
...
--finalUtcTime final Time limit in UTC (string)
...
--startTuple start point of results to return
...
--tupleLimit number of tuples to return
...
-h Print this help
...
--help Same as -h
Code Block perl FTP_client.pl -d --data --DestPath=/ --stripes=1 --src=192.168.117.128 --dst=131.225.107.12 --initEpochTime=1220000000 --finalEpochTime=1225408002
...