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.

  1. Create the TimesTen instance with systemd.

  2. Modify the TimesTen service file.

  3. As the root user, run the timesten_home/bin/setuproot utility script with the -install -systemd options. The setuproot script copies the systemd initialization scripts to the appropriate location.

  4. As the root user, run the systemd systemctl start command to start the TimesTen service.

    Note:

    You can use the systemd systemctl commands to manually control systemd.

Once set up and started, systemd takes precedence over any SysV initialization scripts.