Oracle Audio Technologies B31679-01 manual Working with the TimesTen daemon and Server

Models: B31679-01

1 130
Download 130 pages 38.83 Kb
Page 77
Image 77
Manual background

Copies the daemon scripts into the appropriate directories.

If installed by user root, configures the system to start the daemon when the system boots.

Creates the directory where data stores created by the TimesTen demo applications will reside. By default they reside in /var/ TimesTen/TTinstance/DemoDataStore.

Starts the daemon.

If there are other instances of the same patch release of TimesTen installed on the same machine, prompts you to provide a unique port to be used by the TimesTen daemon.

If the TimesTen Server is being installed, prompts you to configure the Server: server name, port number and logging options.

Prompts you to install the TimesTen documentation.

The daemon writes a timestend.pid file into the directory the daemon was started from: /var/TimesTen/TTinstance/ if installed by the user root or install_dir/info if installed by a non-root user.

This file contains the daemon’s process ID. When the script to stop the daemon is run, this ID is used to determine the process to terminate. When the process terminates, the timestend.pid file is removed.

Working with the TimesTen daemon and Server

The TimesTen main daemon (timestend) starts automatically when the operating system is booted and operates continually in the background. Application developers do not interact with the daemon directly; no application code runs in the daemon and application developers do not, in general, have to be concerned with it. Application programs that use TimesTen data stores communicate with the daemon transparently by using TimesTen internal routines.

There are situations, however, when you may have to start and stop the daemon manually, using the TimesTen main daemon startup script. This section explains how to start and stop the daemon. If you have installed the TimesTen Server, it starts automatically when the TimesTen daemon is started and stops automatically when the TimesTen daemon is stopped.

Note: You must have root privileges or be the TimesTen instance administrator to interact with the TimesTen daemon.

To stop the daemon manually, use the utility command:

ttDaemonAdmin -stop

TimesTen Installation 69

Page 77
Image 77
Oracle Audio Technologies B31679-01 manual Working with the TimesTen daemon and Server