DPM-REPLICATE(1) DPM Administrator Commands DPM-REPLICATE(1)NAME
dpm-replicate - replicate a file given the SURL or the PFN
SYNOPSIS
dpm-replicate [ --f_type file_type ] [ --space_token s_token ] [ --lifetime file_lifetime ] [ --help ] file
DESCRIPTION
dpm-replicate replicates a file given the SURL or the PFN.
file_type
indicates the type of file desired for the new replica. It can be V (for Volatile), D (for Durable) or P (for Permanent).
file_lifetime
specifies the requested file lifetime of the new replica relative to the current time. It can be "Inf" (for infinite) or expressed
in years (suffix 'y'), months (suffix 'm'), days (suffix 'd'), hours (suffix 'h') or seconds (no suffix). If specified the
file_type and file_lifetime must be compatible.
s_token
specifies that the new replica should be allocated within a space identified by the given token.
EXAMPLE
dpm-replicate --f_type P /dpm/cern.ch/home/dteam/afile
dpm-replicate --f_type V lxb1921.cern.ch:/storage/dteam/2005-12-14/afile.38215.0
EXIT STATUS
This program returns 0 if the operation was successful or >0 if the operation failed.
SEE ALSO dpm(1), dpm_get(3), dpm_put(3)LCG $Date: 2008/08/27 12:43:28 $ DPM-REPLICATE(1)
Check Out this Related Man Page
DPM-GETSPACEMD(1) DPM Administrator Commands DPM-GETSPACEMD(1)NAME
dpm-getspacemd - get space metadata
SYNOPSIS
dpm-getspacemd --space_token s_token
dpm-getspacemd [ --token_desc u_token ]
dpm-getspacemd --help
DESCRIPTION
dpm-getspacemd gets the space metadata for a given space token or a space token description. If none of the options is specified, the
metadata for all the space tokens accessible by the user will be listed. For each token, it displays three lines. The first one gives the
space token, the user description and the poolname associated with it.
The second one gives the space usage restriction, either a DN or a list of VOMS FQANs.
The third one gives the size of the space, the amount of free space, the remaining space lifetime, the retention policy and the access
latency.
s_token
specifies the space token returned by a previous reservespace request.
u_token
specifies the user provided description associated with a previous reservespace request.
EXAMPLE
setenv DPM_HOST dpmhost
setenv DPNS_HOST dpnshost
dpm-getspacemd
fe869590-b771-4002-b11a-8e7430d72911 myspace pool1
dteam
10.00G 9.00G 24.0h REPLICA ONLINE
80e35f8b-7e4e-49a9-90b0-5d5a7ce7e8bc gilbert_1 pool1
dteam
146.48k 127.01k 1.1m REPLICA ONLINE
023a5ec1-03ea-464c-9af7-5246183ff5c5 gilbert_2 pool1
dteam
146.48k 127.01k 1.1m REPLICA ONLINE
dpm-getspacemd --token_desc myspace
fe869590-b771-4002-b11a-8e7430d72911 myspace pool1
dteam
10.00G 9.00G 24.0h REPLICA ONLINE
dpm-getspacemd --space_token fe869590-b771-4002-b11a-8e7430d72911
fe869590-b771-4002-b11a-8e7430d72911 myspace pool1
dteam
10.00G 9.00G 24.0h REPLICA ONLINE
EXIT STATUS
This program returns 0 if the operation was successful or >0 if the operation failed.
SEE ALSO dpm(1), dpm-reservespace(1)LCG $Date: 2008/09/24 11:25:00 $ DPM-GETSPACEMD(1)
looking for solution to replicate 1.5GB files to a remote location...
Currently, this process looks like the following:
move 1.5GB files into a staging area.
compress files.
rsync files to remote server.
remove compressed files.
I have performed some timings, and compress seems more... (5 Replies)
Hi
I'm relatively new to Unix - I done basics of getting around 13 years ago in college and didn't use it since - Until now !
Basically, I have two files a and b - I want to read through file a and see where it occurs in file b. Hmmmm - I'm not explaining it very well - essentially I want... (3 Replies)
Hey Folks and Gurus there
I am trying to replicate this logic in bash :
(1) if ; then
function1 parameters &
function2 parameters &
fi
Is there an easy method esp one with regex that can do this comparision.
e.g. $var is compared to this list ( case regardless ) (... (1 Reply)
hi all,
i need to replicate the environment of one server in another.
Two servers are there A and B. i need to replicate A's environment on B.
The server A's memory utlisation is 60%, whereas server B's is 15 to 20%. Can some one tell how i can increase the memory utilisation of B to reach... (5 Replies)
Morning all,
Is there a command on AIX that can replicate/synchronise two directories? I'm after functionality similar to robocopy on Windows.
Scenario: I have a directory of Oracle forms for my production system and one for my dev system, these directories start off identical.
The forms... (1 Reply)
Ok, so let's say that I have a file like the following:
I want to create 100 replicates of this file, except that for each file, I want different randomized combinations of either A or B at the end of each line so that I would end up with files like the following:
and
etc.
I... (1 Reply)
here is the part of the code
var1="replicate-ignore-db"
var2="replicate-same-server-id"
var3="skip-slave-start"
var4="report-host"
var5="master-host"
var6="master-user"
var7="master-password"
var8="master-port"
#code below deleted paramters as above if exists in my.cnf
for i in 1 2 3 4... (4 Replies)
Hello, I want pick up rows from input with conditions:
1) col2 is 2 replicate of col1 joint with "/"
2) col3 is a joint string as replicate of each side of the "/" symbol
3) col2 not equal to col3
input:
TG TG/TG TG/TGG
C C/C C/CG
C C/G CA/CA
C C/C CA/CA
AG AG/AG... (3 Replies)