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

Page 69

Advertising
background image

TimesTen Installation

61

Working with the TimesTen daemon and server

The TimesTen daemon starts automatically when the operating system
is booted and operates continually in the background. Application
developers do not interact with timestend 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

To start the daemon manually, use the utility command:

ttDaemonAdmin -start

To determine the status of the daemon at any time, use the ttStatus
utility.

Uninstalling TimesTen

To uninstall TimesTen, follow these steps:

1.

Log in as the

TimesTen instance administrator

if installing as non-root,

or log in as user root.

2.

The TimesTen setup script is in the install_dir/bin directory.
Run the script with the -uninstall option in a directory outside of
the installation directory:

# install_dir/bin/setup.sh -uninstall

Uninstalling the system removes all TimesTen libraries and executables
and also stops and uninstalls the daemon. You can execute ps to verify
that all TimesTen processes have terminated. To verify that TimesTen
has been successfully uninstalled, check to see that the install_dir
no longer exists.

Advertising