1DPM‐REGISTER(1)                DPM     Administrator     Commands
2DPM‐REGISTER(1)
3
4
5
6[1mNAME[0m
7       dpm‐register ‐ register external files in DPNS
8
9[1mSYNOPSIS[0m
10       [1mdpm‐register    ‐‐filesize    [4m[22mfilesize[24m     [
11[1m‐‐user  [4m[22mowner_user[24m  ]  [ [1m‐‐group[0m
12       [4mowner_group[24m  ]  [  [1m‐‐mode  [4m[22mfilemode[24m ]
13[1m‐‐pfn  [4m[22mpfn[24m  [1m‐‐server    [4m[22mhostname[24m    [
14[1m‐‐st[0m
15       [4mstatus[24m ] [ [1m‐‐help [22m] [4mfilename[0m
16
17[1mDESCRIPTION[0m
18       [1mdpm‐register   [22mregisters  a given filename with the
19specified permissions
20       into DPNS:
21          ‐ create the file metadata entry in DPNS (dpns_creat)
22          ‐ set the ownership (dpns_chown) to   [4mowner_user[24m
23:  [4mowner_group[24m  (by
24       default the requester’s DN and group)
25          ‐ set the filemode (dpns_chmod) to [4mfilemode[0m
26          ‐  set the size of the file (dpns_setfsize) to [4mfile‐
27size[0m
28          ‐ add the replica entry (dpns_addreplicax) setting
29            * sfn = [4mpfn[0m
30            * status to [4mstatus[24m (’O’ for  Online,  ’N’  for
31Nearline)
32            * f_type = ’P’ (Permanent)
33            * r_type = ’P’ (Primary)
34
35[1mEXAMPLE[0m
36            dpm‐register  ‐‐filesize  525424  ‐‐server  ‘hostname
37‐‐fqdn‘                   ‐‐group  biomed  ‐‐pfn   dicom:///1/2/3
38/dpm/cern.ch/home/biomed/mdm/1/2/3
39
40[1mEXIT STATUS[0m
41       This  program  returns  0  if the operation was successful
42or >0 if the
43       operation failed.
44
45[1mSEE ALSO[0m
46       [1mdpns_creat(3)[22m,     [1mdpns_chown(3)[22m,     [1mdp‐
47ns_chmod(3)[22m,    [1mdpns_setfsize(3)[22m,
48       [1mdpns_addreplicax(3)[0m
49
50
51
52LCG                         $Date:    2008/01/07    10:38:38    $
53DPM‐REGISTER(1)
54
55
56
57
58
59
60
61
62
63
64
65
66
Impressum