Main FTS Pages |
---|
FtsRelease22 |
Install |
Configuration |
Administration |
Procedures |
Operations |
Development |
Previous FTSes |
FtsRelease21 |
FtsRelease21 |
All FTS Pages |
FtsWikiPages |
Last Page Update |
SteveTraylen 2007-04-16 |
glite-transfer-channel-add
.
voms-proxy-init
and you must also be authorized, either as a service administrator or as a channel administrator for the given channel. Use the glite-transfer-getroles
command to see what priviliges you have upon the service. Note that by default, the root account on the FTS server machine is listed in the server administrator mapfile (in fact the host cert is listed in the mapfile, which the root account uses as its user cert).
Initially, try a list to see what channels are already defined on the system (if it is a new install on a blank database, there should be none):
glite-transfer-channel-list
note that man
pages are available for all commands.
list: listChannels: SOAP fault: SOAP-ENV:Client - CGSI-gSOAP: Could not open connection ! (TCP connect failed in tcp_connect())
then either the service is down, or your services.xml
file is pointing to the wrong endpoint. You can see what endpoint the client is attempting to connect to by using the version flag:
glite-transfer-channel-list -v
If you see:
list: Service discovery: No services of type org.glite.ChannelManagement were found
then either the services.xml
file is missing or not readable by the client.
If you see:
list: listChannels: SOAP fault: "http://xml.apache.org/axis/":Server.NoService - The AXIS engine could not find a target service to invoke! targetService is ChannelManagement
then either the endpoint specified in the services.xml
file is incorrect, or the service is misconfigured.
To check whether the endpoint specified in the services.xml
file is correct, connect to it directly with a web browser. e.g. connect to https://yourhostname:8443/glite-data-transfer-fts/services/FileTransferHi there, this is an AXIS service!
If you see:
list: listChannels: You are not authorised for channel management upon this service
then you are not in the manager mapfile. Look in the FTS server logs (org.glite.data
) to see how the authorisation decision was made.
mychannel
to state Inactive
:
glite-transfer-channel-set -S Inactive CHANNELNAME
This will stop putting any further work on the network. Any individual file transfers that have already been started will complete, so it can take a minute or two for all activity to stop.
To set the channel to state Active
:
glite-transfer-channel-set -S Active CHANNELNAME
This will start putting work on the network if there are any jobs assigned to that channel in the Pending
state.
To change the number of concurrent transfers being put on the network for a given channel:
glite-transfer-channel-set -f 10 CHANNELNAME
This will make the agent try to maintain 10 concurrent transfers on the channel when it is Active
.
glite-transfer-channel-drop CHANNELNAME
It is a current restriction that a channel cannot be dropped if any jobs have been assigned to it (because we do not cascade constraints on the database delete). We will provide a script to do this soon. Make sure that you are happy with a channel definition before submitting work that will be assigned to it.
Waiting
. After the retry period has elapsed it will be placed back in the Pending
state, and will subsequenrly be picked up again by the transfer agent.
If a file has been retried more than the max number of times, it is placed in the Hold
state. This state indicates that some manual intervention should be made to rescue (or cancel) the file. The channel admin should periodically check for jobs with files in Hold
state:
glite-transfer-list -c CHANNELNAME Hold
If there are any, there are two options for you. You may fix the whatever you believe the problem may be (e.g. reboot the SRM cluster) and try for one more retry.
glite-transfer-channel-signal -c CHANNELNAME Pending
All jobs on the channel in Hold
state will be dropped back onto the Pending
queue. The other option is to set all the jobs on the channel in Hold
state to Canceling
if you believe that there is nothing you can do to rescue the jobs (for example, if the filenames are invalid).
glite-transfer-channel-signal -c CHANNELNAME Canceling
You also have the option of applying the signal command to a single job, rather than all jobs on the entire channel.
glite-transfer-channel-signal -j 17cc7055-d3ac-11d9-a905-f173b72e4547 Pending
srm://castorgridsc.cern.ch:8443/srm/managerv1?SFN=/castor/cern.ch/grid/dteam/storage/transfer-test/1gig/file-001.dat
Load into MyProxy the user proxy that will be used for the transfer. You must use the DN_as_username mode and set the maximum age of the proxy suitably. Make sure that the SURLs domainame's match the channel definition, that the channel is Active and that the number of concurrent files on the channel is greater than zero.
voms-proxy-init myproxy-init -d [enter your MyProxy password twice] glite-transfer-submit \ srm://castorgridsc.cern.ch:8443/srm/managerv1?SFN=/castor/cern.ch/grid/dteam/storage/transfer-test/1gig/file-000.dat \ srm://srm1.tier1.sara.nl:8443/srm/managerv1?SFN=/data/dteam/testdestfile-glite-1.1.1-000.datchoose your SURLs appropriately. This will return a UUID identifier, e.g.
17cc7055-d3ac-11d9-a905-f173b72e4547
To check the status of the job, run:
glite-transfer-status --verbose 17cc7055-d3ac-11d9-a905-f173b72e4547
which should print the state and some other information. You should see the job progressing through:
Submitted
(if you're fast). The job is still to be assigned to channel.
Pending
. The job has been assigned to a channel, and is awaiting a transfer slot.
Active
. The job is being transferred or the file is awaiting retry.
Hold
. The single file in the job failed 3 times and needs to be resuced by manual intervention.
Done
. The job and its file has completed successfully.
Done
, then the test went fine.