Skip to content

Latest commit

 

History

History
42 lines (29 loc) · 1.69 KB

File metadata and controls

42 lines (29 loc) · 1.69 KB

LSGrid Manual

A very brief guide for Life Science Grid usage. See here for more details.

Job submission

glite-wms-job-submit -d <user_name> --nomsg cluster.jdl

List files

Listing files and directories, e.g. to see all the files that are stored:

lfc-ls -l /grid/lsgrid/<your_username>

Delete files

To delete a file from all storage elements, do

lcg-del -a lfn:/grid/lsgrid/<your_username>/<target_file.txt>

The -a option makes sure that all replicas of a file are removed. See the lcg-del man-page for more options.

Port Forwarding

(from: http://unix.stackexchange.com/a/118650)

Local: -L Specifies that the given port on the local (client) host is to be forwarded to the given host and port on the remote side.

ssh -L sourcePort:forwardToHost:onPort connectToHost

means: connect with ssh to connectToHost, and forward all connection attempts to the local sourcePort to port onPort on the machine called forwardToHost, which can be reached from the connectToHost machine.

Local port forwarding

Remote: -R Specifies that the given port on the remote (server) host is to be forwarded to the given host and port on the local side.

ssh -R sourcePort:forwardToHost:onPort connectToHost

means: connect with ssh to connectToHost, and forward all connection attempts to the remote sourcePort to port onPort on the machine called forwardToHost, which can be reached from your local machine.

Remote port forwarding