Using systemd to Automatically Manage the TimesTen Daemon
For TimesTen, the root user can set up systemd to use for automatic management (including starting and stopping) of the TimesTen daemon.
Once you setup and start systemd, you can no longer use the
ttDaemonAdmin utility to manage the daemon. See
Using systemd to Manage
a TimesTen Service in Oracle TimesTen In-Memory Database
Installation, Migration, and Upgrade Guide for full details on installing, configuring,
and managing systemd.
Perform the following to setup systemd to automatically manage the TimesTen daemon:
Note:
These steps are an overview of what you must perform to use systemd. See About Creating an Instance on Linux/UNIX in Oracle TimesTen In-Memory Database Installation, Migration, and Upgrade Guide.
-
Create the TimesTen instance with systemd.
-
Modify the TimesTen service file.
-
As the root user, run the
timesten_home/bin/setuprootutility script with the-install-systemdoptions. The setuproot script copies the systemd initialization scripts to the appropriate location. -
As the root user, run the systemd
systemctl startcommand to start the TimesTen service.Note:
You can use the systemd
systemctlcommands to manually control systemd.
Once set up and started, systemd takes precedence over any SysV initialization scripts.