LSDF Online Storage rdata: Difference between revisions

From Lsdf
Jump to navigationJump to search
(Created page with "<H1> Access to the Filesystem LSDF Online Storage from HPC-Cluster</H1> Users of the filesystem LSDF Online Storage can furthermore transfer data to '''bwUniCluster''' and ''...")
 
(Redirected page to Category:LSDF Online Storage)
Line 1: Line 1:
#REDIRECT [[:Category:LSDF_Online_Storage|HPC]]
<H1> Access to the Filesystem LSDF Online Storage from HPC-Cluster</H1>
<!--http://wiki.scc.kit.edu/lsdf/index.php/LSDF_Online_Storage_rdata-->

Users of the filesystem LSDF Online Storage can furthermore transfer data to '''bwUniCluster''' and '''ForHLR''' via the tool '''rdata'''. Therefore the environment variables '''$LSDF''', '''$LSDFHOME''' and '''$LSDFPROJECTS''' are set.
The command rdata executes the filesystem operations on special "data mover" nodes and distributes the load.

'''Examples:'''
<pre>
>rdata "ls $LSDFPROJECTS"
>rdata "ls $LSDFHOME/*.c"
>rdata "cp foo $LSDFPROJECTS/ProjectPath/"
or
>rdata
> cp -a $WORK/path $LSDFPROJECTS/ProjectPath/“
</pre>
The command
<pre>
>man rdata
</pre>
shows how to use the command rdata.
<pre>
rdata(1) Cluster Commands rdata(1)

NAME
rdata - File operations are executed on a data mover node of the cluster

SYNOPSIS
rdata [ COMMAND ]

DESCRIPTION
The program executes the specified command (with arguments) on a data mover node. As remote host, a host with the lowest load is selected.

Interactive mode: If rdata is invoked without arguments, rdata reads line by line from standard input (like a restricted shell); at EOF rdata will be ended.

COMMANDS
The following commands are allowed in COMMAND of rdata:

cp rm mv ls mkdir rmdir pwd echo rsync Execution of the corresponding system command.

help Output of a short help text.

cd Changing the directory.

quit exit Termination of rdata.

ENVIRONMENT
The following user specific environment variables are available with rdata:

$HOME home directory

$WORK work directory

$UC1WORK uc1 work directory

$PROJECT fh1 project directory

$BWFILESTORAGE $BWFS bwFileStorage directory

$LSDF LSDF for Data Intensive Science - LSDF Path

$LSDFPROJECTS LSDF for Data Intensive Science - Project Directory

$LSDFHOME LSDF for Data Intensive Science - LSDF Home Directory

EXAMPLES
rdata

rdata 'ls $BWFILESTORAGE/*.c'

rdata 'cp $WORK/foo $BWFILESTORAGE'

RETURNCODE
rdata returns the exit status of the last command or 127 when the last command was not found.

remote-fs-utils April 2013
</pre>
<hr>
<hr>
<br>
<br>

Revision as of 14:26, 19 December 2019