Monday, October 29, 2007

Command Line Access to the FAS0.7

Command line tool provides immediate access to the FAS server. This is very useful for the test runs.
To user this command line tool, you don't need to run the service on your site. You will need only client of the service.

Step 1. You should download this .
All of the example, script files are included.

Step 2. Run the command.
(1)To create new user space
./run.sh AddNewUserSpace -f [FAS service location] -l [username] -h [host name] -p [port number] -dn [DN of the community cert for this host] -pr [protocol] -us [logical space for this user]
e.g.) ./run.sh AddNewUserSpace
-l leesangm -h "gridfarm001.ucs.indiana.edu" -p "2811" -pr "gridftp" -us "/home/quakesim/"

(2)To query user space
./run.sh QueryUserSpace -f [FAS service location] -l [username] -h [host name] -p [port number] -dn [DN of the community cert for this host] -pr [protocol] -us [logical space for this user]
e.g.) ./run.sh QueryUserSpace -l leesangm

(3)To remove user space
./run.sh RemoveUserSpace
-f [FAS service location] -l [username] -h [host name] -p [port number] -dn [DN of the community cert for this host] -pr [protocol] -us [logical space for this user]
e.g.) ./run.sh RemoveUserSpace -l leesangm

[NOTE]
Default value of FAS service location is
http://gridfarm002.ucs.indiana.edu:8080/axis2/services/FileAgentService
Default value of DN of the Community Certificate is Teragrid Quakesim cert.
/C=US/O=National Center for Supercomputing Applications/CN=QuakeSim Community User

No comments: