Working with the daemon and server – Oracle Audio Technologies B31679-01 User Manual

Page 56

background image


Oracle TimesTen In-Memory Database Installation Guide

• Copies the daemon scripts into the appropriate directories.

• If installed by user


, 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





if installed as


, or


if installed as a non-root user.

• 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 file into the directory the
daemon was started from:




if installed

by the user




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



file is removed.

Working with the daemon and Server

The TimesTen main daemon (


) starts automatically when the

operating system is booted, if the instance startup scripts have been
installed in


, 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

Note: You must have root privileges or be the

TimesTen instance


to interact with the TimesTen daemon.