source: trunk/FACT++/dim/README_v17.txt@ 20115

Last change on this file since 20115 was 11071, checked in by tbretz, 13 years ago
Replaced v19r21 by a version extracted with 'unzip -a' to get proper unix text format.
File size: 13.2 KB
Line 
1
2 DIM version 17.12 Release Notes
3
4Notes 1 and 2 for Unix Users only
5NOTE 1: In order to "make" DIM two environment variables should be set:
6 OS = one of {HP-UX, AIX, OSF1, Solaris, SunOS, LynxOS, Linux, Darwin}
7 DIMDIR = the path name of DIM's top level directory
8 The user should then go to DIM's top level directory and do:
9 > source .setup
10 > gmake all
11 Or, if there is no support for C++ on the machine:
12 > gmake CPP=no all
13
14NOTE 2: The Name Server (Dns), DID, servers and clients (if running in
15 background) should be started whith the output redirected to a
16 logfile ex:
17 Dns </dev/null >& dns.log &
18
19NOTE 3: The Version Number service provided by servers is now set to 1712.
20
2106/11/2008
22Changes for version 17.12:
23 - Client functionality:
24 - Added a new function dic_stop(), to close anything related to DIM
25 for a client
26 - Added the function dic_get_server_pid(). Similar to dic_get_server().
27 Can be executed in a callback to retrieve the pid of the current server
28 - DimBrowser Class:
29 - DimBrowser::getServices() used to create and destroy the DimRpc connection
30 to the Dns every time it was called. This was heavy if called in a loop.
31 Now the connection is maintained until the DimBrowser itself is destroyed.
32 - A new method DimBrowser::getNextServer(char *&server, char *&node, int *pid)
33 has been created. similar to the previous one but returns also the server pid.
34 - DNS
35 - The DNS was still doing some blocking write calls to servers or clients.
36 Now all write calls have a timeout and can not block forever.
37 - Linux DID
38 - The "Subscribe" button was subscribing to services with update rate of 10 seconds.
39 This was misleading, the users could think the server was calling update_service
40 when it wasn't.
41 Now there are two Subscribe buttons ("on change" or "Update rate of 10 seconds").
42 - DimDridge
43 - Accepts an extra flag "-copy" which provokes an internal copy of the data.
44
45
4608/09/2008
47Changes for version 17.11:
48 - Some DIM Processes, servers or clients could enter a loop taking 100 % CPU
49 time in some rare occasions, fixed.
50 - Added some protections when removing services in the DimBridge.
51
52
5330/08/2008
54Changes for version 17.10:
55 - Some DIM Processes, servers or clients would not reconnect when the DNS was
56 restarted. Fixed two cause:
57 - Some processes in Linux were stuck reading from the DNS socket
58 - Some others "forgot" to set a timer under very special conditions
59 - Changed some of the DNS debug messages to be more explicit.
60
61
6221/07/2008
63Changes for version 17.09:
64 - DIM error messages were not being flushed when the output was redirected
65 to a logfile, fixed.
66
67
6818/07/2008
69Changes for version 17.08:
70 - Sometimes a server or a client could do a read on a sockect that had just
71 been closed which left them hanging forever - fixed.
72
73
7401/07/2008
75Changes for version 17.07:
76 - The DimTimer was sometimes not started when the constructor was called
77 with a time argument.
78 - Clients could not connect to more than 1024 servers - fixed.
79 (if the machine allows more than 1024 connections)
80
81
8230/06/2008
83Changes for version 17.06:
84 - Corrected the makefile for Darwin, now the number of accepted connections is
85 increased to 8192 only for Linux.
86 - Fixed a bug in the DimTimer, it used to accept to be re-started, but then crashed
87 at destruction time if not stopped the same number of times. Now it can not be
88 re-started.
89 - The Dns used to ask servers to re-register at regular intervals when they were not
90 sending their watchdog messages (i.e. they were in "ERROR", red in DID). Now the
91 DNS only asks once (unless they answer). This could cause the DNS to hang if
92 servers were in ERROR for a long time.
93 - The Dns now accepts a command line parameter: -d to print debug messages.
94 - The clients were not handling properly the case when they could contact the DNS
95 but then they could not contact the server that the DNS gave them (either because
96 of a firewall or because the server run on an inaccessible network). In this case
97 the clients would timeout trying to contact the server for each service and kept
98 asking the DNS the server coordinates over and over again. Now the clients keep
99 a list on unreacheable servers, so they don't try to contact the server for each
100 service and only ask the DNS again with an increasing interval that goes from 10
101 seconds to 2 minutes maximum.
102 - The server now issues an error message if the format string is too long.
103 - Linux DID
104 - Removed the command "Kill ALL Servers", it was too dangerous
105 - Now the list of nodes in "View Servers by Node" is in alphabetical order and
106 in lowercase.
107
108
10930/04/2008
110Changes for version 17.05:
111 - In Linux in some cases a SIGPIPE was generated. Normally the DIM library sets
112 the behaviour of SIGPIPE to ignored, but if another library or main program
113 changes the SIGPIPE behaviour, then the application could exit when the SIGPIPE
114 was generated. Fixed - on Linux now the function send with flag MSG_NOSIGNAL
115 is used in oder to avoid generating SIGPIPE.
116
117
118
1194/04/2008
120Changes for version 17.04:
121 - Sometimes processes (servers or clients) would hang when the DNS was restarted.
122 This was due to a strange (Windows?) feature, by which a connect could succeed
123 after a connection was closed (and reported) on the other side. Fixed.
124
125
126
12727/03/2008
128Changes for version 17.03:
129 - Can now make DID for 64 bits by making DIM using:
130 gmake X64=yes all
131 - Increased the size of the Hash tables for the servers and the DNS.
132
133
134
13520/02/2008
136Changes for version 17.02:
137 - Fixed the Java DimTimer - stop() didn't work
138 Required changing dim_jni.c as well as the java part
139 - Fixed DIM for Darwin - had stopped working
140
141
142
14320/01/2008
144Changes for version 17.01:
145 - The Java API now works on 64 bit machines, Thanks to Joern Adamczewski.
146 Please use:
147 gmake JDIM=yes all
148 - Linux executables are now compiled/linked on slc4 (32 bits).
149 - Big changes in the DimRpcs both client and server part. Tere were bugs
150 related to the handling of timeouts.
151 Unfortunatelly all applications using RPCs need to be re-linked.
152
153
154
155-----------------------------------------------------------------------------------------
156Previous version history:
157
15807/12/2007
159Changes for version 16.14:
160 - Now by default All DIM processes are ready to accept up to 8192 connections, both
161 in Linux and Windows. Although in Linux for this to be effective the machine system
162 limits must allow more than 1024 descriptors/open files per process.
163 - Fixed a little memory leak in tokenstring.cxx
164 - And a little compilation bug for some platforms in tcpip.c
165
166
16715/05/2007
168Changes for version 16.13:
169 - If DIM_HOST_NODE is defined when starting up a server, a DIM client will now try
170 two network interfaces in order to talk to that server and only give up if they both
171 fail. First it will try the ip name or ip address specified by the server using
172 DIM_HOST_NODE, if that fails it will try the ip address of the default interface
173 retrieved by the server using gethostname (and gethostbyname).
174 The changes basically affect the case in which the DIM_HOST_NODE given to the servers
175 is specified as IP address instad of an IP name. Otherwise this mechanism was already
176 working.
177
178
1793/05/2007
180Changes for version 16.12:
181 - The Java version did not exit properly when main() terminated - fixed.
182
183
18425/04/2007
185Changes for version 16.11:
186 - On Linux the timeout to detect a lost connections (unplugged ethernet cable
187 or machine reboot) was too long, around 15 minutes - Fixed.
188 On Linux the KEEPALIVE feature is now used instead of a regular socket write,
189 all other platforms should work as before.
190
191
19221/02/2007
193Changes for version 16.10:
194 - Found a bug in dis_stop_serving: one socket connection was not closed - fixed.
195 - Implemented a new environment variable for the DNS: DIM_DNS_ACCEPTED_NODES
196 Can receive a list on nodes or domains separated by commas.
197 If the DNS receives a connection from a node not in this list, it will
198 reject it and kill the server or client requesting it.
199 - Fixed some C++ warnings.
200
201
20219/01/2007
203Changes for version 16.9:
204 - The modifications done in version 16.8 have introduced a bug:
205 - DIM servers would not behave properly (exit) when receiving a kill command
206 from the DNS (for duplicated services, not allowed host names or manual "kill")
207 This is now fixed.
208
209
21030/10/2006
211Changes for version 16.8:
212 - Modified dis_stop_serving() and DimServer::stop() to completely stop DIM:
213 - Stop also the DIM threads.
214 - Release all allocated memory
215 - Allow a different port number when re-starting.
216
217
21811/07/2006
219Changes for version 16.7:
220 - Prepared for increasing the number of open connections per process
221 (On Linux still requires changing some parameters and recompiling the Dns)
222 - Fixed one error and several warnings for gcc 4.
223
224
22511/05/2006
226Changes for version 16.6:
227 - Sometimes a server or client would crash while exiting if the DNS was not running.
228 Fixed.
229 - Fixed the reporting of some ERROR messages on Windows (used to report error "0")
230 - Allowed dim_send_command to receive instead of -dns <node_name>
231 -dns <node_name>[:<port_number>]
232
233
23401/05/2006
235Changes for version 16.5:
236 - Big Spring Cleanup. Removed most warnings. Can now be compiled on
237 Windows with Warning Level 3 and on Linux with -Wall
238 (still not working for -ansi -pedantic...)
239 - When trying to access a server in a different network (i.e. not reacheable)
240 a client (for example DID) would take very very long to timeout - fixed.
241 - Added two new sets of functions that allow setting the DIM_DNS_NODE separately
242 for a server and a client in the same process:
243 - int dis_set_dns_node(char *node)
244 - int dis_get_dns_node(char *node)
245 - int dis_set_dns_port(int port)
246 - int dis_get_dns_port()
247
248 - int dic_set_dns_node(char *node)
249 - int dic_get_dns_node(char *node)
250 - int dic_set_dns_port(int port)
251 - int dic_get_dns_port()
252 These routines should be used instead of the equivalent ones starting with "dim_"
253 since these set the same DIM_DNS_NODE/port for both Server and client parts of a
254 process.
255 - Adapted the C++ equivalents (DimClient::setDnsNode, etc. and DimServer::setDnsNode,
256 etc.) to use the new routines, so they are now independent.
257 Adapted also the Java equivalents.
258 - Fixed DimBridge to use the new routines.
259 - Fixed a bug in DID that made it crash sometimes at startup (and also when the DNS
260 restarted)!
261 - Found some very interesting features of DIM:
262 - In a node with two ethernet interfaces (so connected to two networks):
263 - The DNS will answer to servers and client on both networks, only its server
264 part - DIS_DNS (the one that answers to DID and DimBrowser requests) would
265 in principle answer only to one of the networks (in principle the default
266 interface* but can be changed by setting the environment variable "DIM_HOST_NODE").
267 - But, in fact, if the DNS or any server is started with the environment variable
268 DIM_HOST_NODE set to the interface that is not the default* one. Than both the
269 DNS (including the server part) and the DIM servers will be accessible from both
270 networks. For example DID will work fine on both networks.
271 * The command "hostname" will return the name of the default network interface.
272
273 Note: As a result of inserting new functions the DIM shared library entry points have
274 changed, so all DIM Servers/Clients should be relinked (in particular in Linux).
275
276
27720/04/2006
278Changes for version 16.4:
279 - Optimized the DNS for providing the list or running servers dynamically
280 by subscribing to the service "DIS_DNS/SERVER_LIST"
281
282
28307/04/2006
284Changes for version 16.3:
285 - Upgraded to work on LynxOS Version 4.
286 - Updated makefile for INTEL platform
287 - Updated some ifdefs based on the existence of __Lynx__
288
289
29010/03/2006
291Changes for version 16.2:
292 - Increased the listen queue. To avoid "Connection Refused" messages from servers
293 or from the DNS.
294
295
29628/02/2006
297Changes for version 16.1:
298 - Fixed the NO_THREADS option for LINUX, it had stopped working.
299 - DimInfo::getData() could return an invalid pointer if called before connecting
300 to the server (or discovering the server did not exist). Fixed
301 (it now returns 0 in this case).
302
303
30409/11/2005
305Changes for version 16.0:
306 - Consolidated the new timer handling mechanism, should be much more precise.
307 - Fixed the RPC handling. Used to be based on timming assumptions.
308 Now uses a safe protocol to make sure the server is connected before sending
309 an RPC request.
310 - Included in the distribution some performance measurements and a benchmark
311 server and client. Sources in src/benchmark executables in /bin for windows
312 and /linux for linux.
313 Usage:
314 benchServer <message_size_in_bytes> <number_of_services>
315 benchClient
316 benchClient will run for a while and print the measurement results.
317
318Please check the Manual for more information at:
319 http://www.cern.ch/dim
Note: See TracBrowser for help on using the repository browser.