1 |
|
---|
2 | DIM version 16.14 Release Notes
|
---|
3 |
|
---|
4 | Notes 1 and 2 for Unix Users only
|
---|
5 | NOTE 1: In order to "make" DIM two environment variables should be set:
|
---|
6 | OS = one of {HP-UX, AIX, OSF1, Solaris, SunOS, LynxOS, Linux}
|
---|
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 |
|
---|
14 | NOTE 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 |
|
---|
19 | NOTE 3: The Version Number service provided by servers is now set to 1614.
|
---|
20 |
|
---|
21 | 07/12/2007
|
---|
22 | Changes for version 16.14:
|
---|
23 | - Now by default All DIM processes are ready to accept up to 8192 connections, both
|
---|
24 | in Linux and Windows. Although in Linux for this to be effective the machine system
|
---|
25 | limits must allow more than 1024 descriptors/open files per process.
|
---|
26 | - Fixed a little memory leak in tokenstring.cxx
|
---|
27 | - And a little compilation bug for some platforms in tcpip.c
|
---|
28 |
|
---|
29 |
|
---|
30 | 15/05/2007
|
---|
31 | Changes for version 16.13:
|
---|
32 | - If DIM_HOST_NODE is defined when starting up a server, a DIM client will now try
|
---|
33 | two network interfaces in order to talk to that server and only give up if they both
|
---|
34 | fail. First it will try the ip name or ip address specified by the server using
|
---|
35 | DIM_HOST_NODE, if that fails it will try the ip address of the default interface
|
---|
36 | retrieved by the server using gethostname (and gethostbyname).
|
---|
37 | The changes basically affect the case in which the DIM_HOST_NODE given to the servers
|
---|
38 | is specified as IP address instad of an IP name. Otherwise this mechanism was already
|
---|
39 | working.
|
---|
40 |
|
---|
41 |
|
---|
42 | 3/05/2007
|
---|
43 | Changes for version 16.12:
|
---|
44 | - The Java version did not exit properly when main() terminated - fixed.
|
---|
45 |
|
---|
46 |
|
---|
47 | 25/04/2007
|
---|
48 | Changes for version 16.11:
|
---|
49 | - On Linux the timeout to detect a lost connections (unplugged ethernet cable
|
---|
50 | or machine reboot) was too long, around 15 minutes - Fixed.
|
---|
51 | On Linux the KEEPALIVE feature is now used instead of a regular socket write,
|
---|
52 | all other platforms should work as before.
|
---|
53 |
|
---|
54 |
|
---|
55 | 21/02/2007
|
---|
56 | Changes for version 16.10:
|
---|
57 | - Found a bug in dis_stop_serving: one socket connection was not closed - fixed.
|
---|
58 | - Implemented a new environment variable for the DNS: DIM_DNS_ACCEPTED_NODES
|
---|
59 | Can receive a list on nodes or domains separated by commas.
|
---|
60 | If the DNS receives a connection from a node not in this list, it will
|
---|
61 | reject it and kill the server or client requesting it.
|
---|
62 | - Fixed some C++ warnings.
|
---|
63 |
|
---|
64 |
|
---|
65 | 19/01/2007
|
---|
66 | Changes for version 16.9:
|
---|
67 | - The modifications done in version 16.8 have introduced a bug:
|
---|
68 | - DIM servers would not behave properly (exit) when receiving a kill command
|
---|
69 | from the DNS (for duplicated services, not allowed host names or manual "kill")
|
---|
70 | This is now fixed.
|
---|
71 |
|
---|
72 |
|
---|
73 | 30/10/2006
|
---|
74 | Changes for version 16.8:
|
---|
75 | - Modified dis_stop_serving() and DimServer::stop() to completely stop DIM:
|
---|
76 | - Stop also the DIM threads.
|
---|
77 | - Release all allocated memory
|
---|
78 | - Allow a different port number when re-starting.
|
---|
79 |
|
---|
80 |
|
---|
81 | 11/07/2006
|
---|
82 | Changes for version 16.7:
|
---|
83 | - Prepared for increasing the number of open connections per process
|
---|
84 | (On Linux still requires changing some parameters and recompiling the Dns)
|
---|
85 | - Fixed one error and several warnings for gcc 4.
|
---|
86 |
|
---|
87 |
|
---|
88 | 11/05/2006
|
---|
89 | Changes for version 16.6:
|
---|
90 | - Sometimes a server or client would crash while exiting if the DNS was not running.
|
---|
91 | Fixed.
|
---|
92 | - Fixed the reporting of some ERROR messages on Windows (used to report error "0")
|
---|
93 | - Allowed dim_send_command to receive instead of -dns <node_name>
|
---|
94 | -dns <node_name>[:<port_number>]
|
---|
95 |
|
---|
96 |
|
---|
97 | 01/05/2006
|
---|
98 | Changes for version 16.5:
|
---|
99 | - Big Spring Cleanup. Removed most warnings. Can now be compiled on
|
---|
100 | Windows with Warning Level 3 and on Linux with -Wall
|
---|
101 | (still not working for -ansi -pedantic...)
|
---|
102 | - When trying to access a server in a different network (i.e. not reacheable)
|
---|
103 | a client (for example DID) would take very very long to timeout - fixed.
|
---|
104 | - Added two new sets of functions that allow setting the DIM_DNS_NODE separately
|
---|
105 | for a server and a client in the same process:
|
---|
106 | - int dis_set_dns_node(char *node)
|
---|
107 | - int dis_get_dns_node(char *node)
|
---|
108 | - int dis_set_dns_port(int port)
|
---|
109 | - int dis_get_dns_port()
|
---|
110 |
|
---|
111 | - int dic_set_dns_node(char *node)
|
---|
112 | - int dic_get_dns_node(char *node)
|
---|
113 | - int dic_set_dns_port(int port)
|
---|
114 | - int dic_get_dns_port()
|
---|
115 | These routines should be used instead of the equivalent ones starting with "dim_"
|
---|
116 | since these set the same DIM_DNS_NODE/port for both Server and client parts of a
|
---|
117 | process.
|
---|
118 | - Adapted the C++ equivalents (DimClient::setDnsNode, etc. and DimServer::setDnsNode,
|
---|
119 | etc.) to use the new routines, so they are now independent.
|
---|
120 | Adapted also the Java equivalents.
|
---|
121 | - Fixed DimBridge to use the new routines.
|
---|
122 | - Fixed a bug in DID that made it crash sometimes at startup (and also when the DNS
|
---|
123 | restarted)!
|
---|
124 | - Found some very interesting features of DIM:
|
---|
125 | - In a node with two ethernet interfaces (so connected to two networks):
|
---|
126 | - The DNS will answer to servers and client on both networks, only its server
|
---|
127 | part - DIS_DNS (the one that answers to DID and DimBrowser requests) would
|
---|
128 | in principle answer only to one of the networks (in principle the default
|
---|
129 | interface* but can be changed by setting the environment variable "DIM_HOST_NODE").
|
---|
130 | - But, in fact, if the DNS or any server is started with the environment variable
|
---|
131 | DIM_HOST_NODE set to the interface that is not the default* one. Than both the
|
---|
132 | DNS (including the server part) and the DIM servers will be accessible from both
|
---|
133 | networks. For example DID will work fine on both networks.
|
---|
134 | * The command "hostname" will return the name of the default network interface.
|
---|
135 |
|
---|
136 | Note: As a result of inserting new functions the DIM shared library entry points have
|
---|
137 | changed, so all DIM Servers/Clients should be relinked (in particular in Linux).
|
---|
138 |
|
---|
139 |
|
---|
140 | 20/04/2006
|
---|
141 | Changes for version 16.4:
|
---|
142 | - Optimized the DNS for providing the list or running servers dynamically
|
---|
143 | by subscribing to the service "DIS_DNS/SERVER_LIST"
|
---|
144 |
|
---|
145 |
|
---|
146 | 07/04/2006
|
---|
147 | Changes for version 16.3:
|
---|
148 | - Upgraded to work on LynxOS Version 4.
|
---|
149 | - Updated makefile for INTEL platform
|
---|
150 | - Updated some ifdefs based on the existence of __Lynx__
|
---|
151 |
|
---|
152 |
|
---|
153 | 10/03/2006
|
---|
154 | Changes for version 16.2:
|
---|
155 | - Increased the listen queue. To avoid "Connection Refused" messages from servers
|
---|
156 | or from the DNS.
|
---|
157 |
|
---|
158 |
|
---|
159 | 28/02/2006
|
---|
160 | Changes for version 16.1:
|
---|
161 | - Fixed the NO_THREADS option for LINUX, it had stopped working.
|
---|
162 | - DimInfo::getData() could return an invalid pointer if called before connecting
|
---|
163 | to the server (or discovering the server did not exist). Fixed
|
---|
164 | (it now returns 0 in this case).
|
---|
165 |
|
---|
166 |
|
---|
167 | 09/11/2005
|
---|
168 | Changes for version 16.0:
|
---|
169 | - Consolidated the new timer handling mechanism, should be much more precise.
|
---|
170 | - Fixed the RPC handling. Used to be based on timming assumptions.
|
---|
171 | Now uses a safe protocol to make sure the server is connected before sending
|
---|
172 | an RPC request.
|
---|
173 | - Included in the distribution some performance measurements and a benchmark
|
---|
174 | server and client. Sources in src/benchmark executables in /bin for windows
|
---|
175 | and /linux for linux.
|
---|
176 | Usage:
|
---|
177 | benchServer <message_size_in_bytes> <number_of_services>
|
---|
178 | benchClient
|
---|
179 | benchClient will run for a while and print the measurement results.
|
---|
180 |
|
---|
181 | Please check the Manual for more information at:
|
---|
182 | http://www.cern.ch/dim
|
---|