Moby Dick Consolidated System Integration Plan
Moby Dick Consolidated System Integration Plan
Moby Dick Consolidated System Integration Plan
Create successful ePaper yourself
Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.
D0103v1.doc Version 1 6.7.2003<br />
4.5.4.2.3 Re-Authentication, “Authorization-Lifetime”<br />
After 5 minutes the RE-authentication takes place. The session and hence the sessionID will not change.<br />
4.5.4.2.4 Duration of a Session, “Session-Lifetime”<br />
Each session is associated with a lifetime, which is defined during the AA-phases. The correspondent<br />
DIAMETER Parameter (“Session-Lifetime”) has to be set to a reasonable value. In <strong>Moby</strong> <strong>Dick</strong>, this<br />
lifetime will be set to 30 minutes, as it is the case in the GSM standard. After expiring, the AAAC client<br />
must generate a DIAMETER “end” message with the according entry in the accounting DB—since the<br />
current session is terminated and the user is disconnected.<br />
4.5.4.2.5 Charging of “open” Sessions<br />
As described in the section 5.2.6.1, the CC will contact the accounting database periodically. All open<br />
sessions—i.e. sessions without the last mandatory row (the one generated after a DIAMETER “end”<br />
message)—are not used for the charge calculation. It is important to note, that all open sessions need to be<br />
closed finally.<br />
If—due to an error or failure —DIAMETER “end” messages are missing in the accounting DB, then the<br />
AAAC home server has to create the “end” row, i.e. it needs to close the open session.<br />
When the AAAC server is started or restarted it checks whether all sessions have an “end” entry and if<br />
not generates one from the latest entry. This latest entry can be an “interim” or “start” message. The first<br />
case is an indication of lost “interim” messages—the AAAC home server can simply duplicate the last<br />
“interim” message belonging to the open session. The latter case indicates that only the DIAMETER<br />
“start” message was written to the accounting DB. And hence, only “null” values were written to the DB<br />
for this session. In this case the AAAC home server will also duplicate this “start” message and will<br />
generate the “end” message, which will of course contain “null” values only. The CC can detect such<br />
“null” sessions in the charging process and ignores them.<br />
4.5.4.2.6 Definition of Session ID<br />
The session ID is generated in the AR (by the AAAC Client) and has the following structure:<br />
;<br />
An example is: “access-router1.ethz.ch;1234” 2<br />
For a detailed description, see section 4.5.4.5.1.2.<br />
The domain part of the session ID (e.g. “ethz.ch”) is used to compare with the user home domain FQDN<br />
(cf. section 4.5.4.5.1.1) to check for roaming.<br />
4.5.4.2.7 Time Synchronization<br />
The AAAC clients are responsible to generate the session ID and the timestamps of the DIAMETER<br />
messages (cf. section 4.5.4.5.2). Within one domain all AAAC clients and the AAAC server (home or<br />
foreign) should use a synchronized clock. This synchronization is achieved by NTP. Each domain has an<br />
NTP server and the AAA machines have NTP clients installed with synch with the server).<br />
4.5.4.2.8 Counters<br />
The accounting and charging component will rely on counters per session, i.e. absolute counters. Table 23<br />
shows an example of an accounting DB, containing rows for one session (not all MySQL columns are<br />
shown). In the example we made the assumption that DIAMETER “interim” messages are generated after<br />
constant interval (3 minutes).<br />
… EventTime SessionTime AccType BytesToUser …<br />
… 2003-01-12 22:40:00 0 “start” 0 …<br />
… 2003-01-12 22:43:00 180 “interim” 250 …<br />
… 2003-01-12 22:46:00 360 “interim” 259 …<br />
… 2003-01-12 22:48:00 480 “stop” 478 …<br />
2 “1234” is a decimal value.<br />
Table 23: The accounting DB: Use of counters in a session<br />
D0103v1.doc 123 / 168