Creating an Instance on Linux/UNIX: Basics
The information in the following section is relevant for TimesTen full instances. See "Creating a TimesTen Client Instance" and "Client-Only Installations and Instances" for information on creating TimesTen client instances.
-
A Linux/UNIX system that does not support systemd
- A Linux system that supports both the System V init mechanism and systemd, but you have chosen either the SystemV init mechanism or have chosen to have the instance administrator control the TimesTen daemon at all times.
See "Using systemd to Manage a TimesTen Service" for information on creating a full instance when your choice is systemd.
-
Use the
ttInstanceCreateutility located in theinstallation_dir/tt26.1.1.1.0/bindirectory to create the instance. You can run thettInstanceCreateutility on the command line, in a file, or interactively. -
Configure Linux kernel parameters.
-
Optionally, run the
timesten_home/bin/setuprootscript with the-installoption to have the TimeTen daemon automatically started at system startup and automatically stopped at system shutdown. This script copies the System V init scripts to the proper location (/etc/init.d). If you want the instance administrator to control the TimesTen daemon at system startup and at system shutdown, do not run this script.
Note:
-
Only the user who unpacked the distribution (the creator of the installation) can create an instance from the installation.
-
This user must be a member of the TimesTen users group.
-
This user creates the instance by running the
ttInstanceCreateutility. -
After creating the instance, this user becomes the instance administrator of the instance.
-
This user is the only user that can be the instance administrator of this instance and all other instances associated with the installation.
Perform the procedures in these sections: