Mutually Exclusive Sessions - Sybase 12.5.1 User Manual

Historical server
Table of Contents

Advertisement

Mutually exclusive sessions

Starting and ending a recording session definition
User's Guide
A Historical Server connection can be involved with only one session at a
time. You can either be defining a recording session, or defining and
executing a playback session, but you cannot mix together commands for
multiple sessions. That is, if you start a recording session definition with
the
hs_create_recording_session
of commands to define that session (or cancel the session) before you can
start to define a playback session or a new recording session.
Defining a recording session is not the same thing as a recording session
in progress. The user who defines a recording session is connected to and
actively communicating with Historical Server during definition of a
recording session. The user does not actively communicate with Historical
Server during the actual recording. Any user connections are irrelevant
during recording. For example, a user might connect to Historical Server
at 3 p.m., define a recording session that starts at 10 p.m., and then
disconnect from Historical Server. At 10 p.m., it is irrelevant whether the
user is connected to Historical Server; the recording session takes place if
Historical Server is running.
A playback session, however, requires the user connection during both
playback definition and playback execution. To cancel playback execution
and allow the user connection to perform some other communication, the
user must issue the
hs_terminate_playback
The
hs_create_recording_session
definition. After issuing this command, you further define the recording
session by issuing other commands to create views, filters, and alarms for
the recording session.
To end the recording session definition, use either:
hs_initiate_recording
enables the recording session to start at the session's specified start
time.
hs_terminate_recording
in progress.
CHAPTER 4
command, you must finish the sequence
command.
command starts a recording session
– signals that the definition is complete and
– cancels a recording session definition that is
Command Reference
49

Advertisement

Table of Contents
loading

Table of Contents