Sybase 12.5.1 User Manual page 49

Historical server
Table of Contents

Advertisement

Determining current activity on Historical Server
Deferred versus immediate shutdown
Detailed shutdown procedures
User's Guide
The superuser is the one whose account was specified in the
parameters to the Historical Server start-up command.
Before shutting down Historical Server, check current activity on Historical
Server to determine if you want to issue a deferred shutdown or an immediate
shutdown. A deferred shutdown lets all current activity complete before
terminating Historical Server.
Historical Server activity might include fully defined and initiated recording
sessions, uninitiated recording sessions with definitions still in progress,
playback sessions in progress, and playback sessions being defined. Client
connections can be from multiple machines and they might be monitoring
various Adaptive Servers.
To determine current activity in Historical Server, connect to Historical Server
with the
utility and issue the
isql
To close Historical Server, connect to it using the
the following commands:
– defers shutdown until all active recording sessions
hs_shutdown
complete and any other active connections are closed. No new connections
are accepted during this time.
A deferred shutdown may block for an extended period of time, and typing
Ctrl+C while the
hs_shutdown no_wait
terminates any connections and active recording sessions.
In either case, the active recording sessions are shut down in a controlled
manner. The Historical Server control file and the historical data files are
available to Historical Server when it is restarted.
Shut down servers in the following order:
Historical Server
Monitor Server
CHAPTER 3
Starting and Stopping Historical Server
hs_status activity
command is blocked has no effect.
hs_shutdown
– shuts down Historical Server immediately and
and
-U
-P
command.
utility and issue one of
isql
35

Advertisement

Table of Contents
loading

Table of Contents