1LFC‐DLI(1) LFC Administrator Commands
2LFC‐DLI(1)
3
4
5
6[1mNAME[0m
7 lfc‐dli ‐ start the LFC Data Location Interface server
8
9[1mSYNOPSIS[0m
10 [1mlfc‐dli [22m[ [1m‐l [4m[22mlog_file[24m ]
11
12[1mDESCRIPTION[0m
13 The [1mlfc‐dli [22mcommand starts the LFC Data Loca‐
14tion Interface server.
15 This command is usually executed at system
16startup time
17 ([1m/etc/rc.local[22m). This will create a pool of
18threads, look for requests
19 and pass them to the LFC. When a request has been
20completed, the
21 thread becomes idle until it is allocated to another re‐
22quest.
23
24 All error messages and statistical information are kept in
25a log.
26
27 The Data Location Interface server listen port number can
28be defined on
29 client hosts and on the server itself in either of the
30following ways:
31
32 setting an environment variable DLI_PORT
33
34 setenv DLI_PORT 8085
35
36 an entry in [1m/etc/shift.conf [22mlike:
37
38 DLI PORT 8085
39
40 If none of these methods is used, the default port number
41is taken from
42 the definition of DLI_PORT in dli_server.h.
43
44 In the log each entry has a timestamp. For each user re‐
45quest there is
46 one message giving information about the requestor (host‐
47name) and one
48 message DLI98 giving the request itself. The comple‐
49tion code of the
50 request is also logged.
51
52[1mOPTIONS[0m
53 [1m‐l [4m[22mlog_file[0m
54 Specifies a different path for the LFC Data Loca‐
55tion Interface
56 server log file. The special value [1msyslog
57[22mwill send the log
58 messages to the system logger syslogd.
59
60[1mFILES[0m
61 [1m/var/log/dli/log[0m
62
63[1mEXAMPLES[0m
64 Here is a small log:
65 05/18 16:27:21 1942 dli: started
66 05/18 22:10:33 1942,0 listReplicas: request from
67lxb2016.cern.ch
68 05/18 22:10:33 1942,0 listReplicas: DLI98 ‐
69listReplicas lfn:/grid/dteam/foo888
70 05/18 22:10:34 1942,0 listReplicas: returns 0
71 05/18 22:12:10 1942,0 listReplicas: request from
72lxb2016.cern.ch
73 05/18 22:12:10 1942,0 listReplicas: DLI98 ‐
74listReplicas guid:41b20a76‐2287‐4f81‐9750‐7e2eb4d199c8
75 05/18 22:12:11 1942,0 listReplicas: returns 0
76
77[1mSEE ALSO[0m
78 [1mClogit(3)[22m, [1mlfcdaemon(1)[0m
79
80
81
82LCG $Date$
83LFC‐DLI(1)
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132