Create the timesten registry, Post-installation requirements, Create the timesten – Oracle Audio Technologies B31679-01 User Manual

Page 46

Advertising
background image

38

Oracle TimesTen In-Memory Database Installation Guide

# setprivgrp timesten MLOCK

The

getprivgrp

command can be used to check the privileges of a

group:

$ getprivgrp timesten

timesten: MLOCK

Note: On Linux and Tru64 systems, root privileges are required to use
MemoryLock attribute. On Solaris systems, you must be installed as
root to use

MemoryLock

=1 or 2.Data stores in a non-root instance of

TimesTen can use settings 3 and 4 for this attribute, on Solaris systems.

Create the TimesTen registry

1.

If the directory

/etc/TimesTen

does not already exist, create it.

# mkdir /etc/TimesTen

The disk space required for the files in this directory is less than 2k
bytes.

2.

Assign ownership permissions on this directory.

For example, with a TimesTen administrators group named

timesten

,

use:

# chmod 775 /etc/TimesTen

# chgrp timesten /etc/TimesTen

If you are upgrading from a TimesTen 5.1, you must change the existing
group ownership and permissions of the existing

/etc/TimesTe

n

directory on each machine that you wish to install TimesTen 7.0. In that
case the

instance_info

file must be assigned write permissions for

members of the TimesTen administrators group. For example:

# chgrp -R timesten /etc/TimesTen

# chmod 664 /etc/TimesTen/*

3.

You can now install TimesTen. See the section in this chapter on
installing TimesTen for your specific platform. The installer will verify
the existence and permissions of

/etc/TimesTen

and will fail if not

present and correct.

Post-installation requirements

For non-root installs, to install the TimesTen daemon start scripts in the
proper system locations, the user root must run the

setuproot

script

located in the install_dir

/bin

directory:

# setuproot -install

Advertising