About the DbProxy Agent
The information collected by the Visualiser can be saved to a file, to be
loaded and replayed later. Session persistence is provided by a special
utility agent called a DbProxy, which
in its simplest form can be started with the following syntax:
java zeus.agents.DbProxy name -s serverfile -p zeus.ext.FlatFile
where name is the identifying name of the DbProxy agent
and serverfile contains the address of an Agent Name Server
The reference to zeus.ext.FlatFile instructs the DbProxy to save session
information into an ASCII text file, although it is also possible to save
sessions to relational databases, (see main documentation for details).
Saving Visualiser Sessions
- Once a DbProxy is running a new session entry can be created by selecting the
Save Session option from the Playback menu.
- A dialog will now appear asking for the identifying name of the Proxy
agent that will store the session; enter its name in the SelectDBProxy
field.
- You must now choose the name that will be used to identify this session,
enter this into the Select Table field. This enables one agent to be
responsible for storing several individual sessions.
- Once the session has been created all agent activity will be logged and
stored by the DbProxy. The session can be closed by choosing the Close
Session option from the Playback menu. N.B. Nothing will be
written to the named file until this option is selected.
Related Options
The Record button
provides a short-cut to the Save Session option.
Instructions for loading a previously saved session are listed
here.
Other options from the Playback menu enable previously saved sessions
to be deleted through the Delete Session option. Alternatively, all the
saved sessions stored by a particular agent can be cleared by selecting the
Purge Database option.