Install timesten in Oracle Entripres Linux 5

15 Dec

1. extract timesten
[oracle@test ~]$ tar xvf timesten70500.linux86.tar.gz
[oracle@test ~]$ cd linux86/
[oracle@test linux86]$ ls
3rdparty doc LINUX86 setup.sh
behaviorchanges.txt install.pl README.html uninst.sh

2. setup timesten
[oracle@test linux86]$ ./setup.sh
ERROR: You do not have permissions to create the directory
/etc/TimesTen. The /etc/TimesTen directory needs to be
created for the instance registry, and its ownership
and permissions set appropriately. Please refer to the
installation guide for assistance.

[oracle@test linux86]$ pwd
/home/oracle/linux86
[oracle@test linux86]$ su – root
Password:
[root@test ~]# cd /home/oracle/linux86/
[root@test linux86]# ./setup.sh
NOTE: Each TimesTen installation is identified by a unique instance name.
The instance name must be a non-null alphanumeric string, not longer
than 255 characters.

a. instance name : tt70
Please choose an instance name for this installation? [ tt70 ]
Instance name will be ‘tt70’.
Is this correct? [ yes ]

b. select product : 1 Oracle TimesTen In-Memory Database
Please select a product :
[1] Oracle TimesTen In-Memory Database
[2] Oracle In-Memory Database Cache
Which product would you like to install? [ 1 ]

c. components : 1 Client/Server and Data Manager
Of the three components:
[1] Client/Server and Data Manager
[2] Data Manager Only
[3] Client Only

Which would you like to install? [ 1 ]

d. folder : /opt
Where would you like to install the tt70 instance of TimesTen? [ /opt ]
Installing into /opt/TimesTen/tt70 …
Creating /opt/TimesTen/tt70 …
Uncompressing …

e. DemoDataStore directory : /var/TimesTen/tt70/DemoDataStore
The TimesTen Demo applications can take up to 64 Mbytes of disk space.
Depending on how your system is configured, you may not want to create the
DemoDataStore directory in the default location,
/var/TimesTen/tt70/DemoDataStore

Where would you like to create the DemoDataStore directory? [ /var/TimesTen/tt70 ]
Creating /var/TimesTen/tt70/DemoDataStore …

f. port number : 17000
NOTE: All installations that replicate to each other must use the same daemon
port number that is set at installation time. The daemon port number can
be verified by running ‘ttVersion’.
The default port number is 17000.

Do you want to use the default port number for the TimesTen daemon? [ yes ]
The daemon will run on the default port number (17000).
Processing /opt/TimesTen/tt70/PERL/perl.tar …

g. enable datastore access control : yes
Would you like to enable datastore access control? [ no ] yes
The daemon logs will be located in /var/TimesTen/tt70
Would you like to specify a different location for the daemon logs? [ no ]

NOTE: It appears that you are running version 4.1 of the g++
compiler. TimesTen ships with multiple sets of client libraries and server
binaries : one built with g++ 3.2.3, one with g++ 3.4.6, and one with
g++ 4.1.0. The installer has created links to the 4.1.0 library in the
<install_dir>/lib directory and to the 4.1.0 server binary in the
<install_dir>/bin directory. If you want to use a different compiler,
please modify the links to point to the desired library and server binary.

h. log all server Connects/Disconnects : yes
Installing server components …
Would you like to log all server Connects/Disconnects? [ yes ]
What is the TCP/IP port number that you want the TimesTen Server to listen on? [ 17002 ]
Starting TimesTen Daemon : [ OK ]

i. Installing client components, name of the host, TCP/IP port number, name of the instance
Installing client components …
What is the name of the host running the TimesTen server? [ test.localdomain ]
What is the TCP/IP port number that the TimesTen server is listening on? [ 17002 ]
What is the name of the instance running the TimesTen server? [ tt70 ]
Creating new /var/TimesTen/sys.ttconnect.ini
Extracting 3rd party tools …

j. install documentation
Would you like to install the documentation? [ yes ]
Where would you like to create the doc directory (s=skip)? [ /opt/TimesTen/tt70/doc ]
The directory /opt/TimesTen/tt70/doc does not exist.
Do you want to create it? [ yes ]
End of TimesTen installation.

3. Status TimesTen
[root@test ~]# /opt/TimesTen/tt70/bin/ttstatus
TimesTen status report as of Tue Dec 16 00:59:13 2008
Daemon pid 3370 port 17000 instance tt70
TimesTen server pid 3388 started on port 17002
No TimesTen webserver running
————————————————————————
Access control enabled.
End of report

4. Start / Stop TimesTen
[root@test ~]# /opt/TimesTen/tt70/bin/ttdaemonadmin -stop
TimesTen Daemon stopped.

[root@test ~]# /opt/TimesTen/tt70/bin/ttstatus
ttStatus: Could not connect to the TimesTen daemon.
If the TimesTen daemon is not running, please start it
by running “ttDaemonAdmin -start”.

[root@test ~]# /opt/TimesTen/tt70/bin/ttdaemonadmin -start
TimesTen Daemon startup OK.
[root@test ~]# /opt/TimesTen/tt70/bin/ttstatus
TimesTen status report as of Tue Dec 16 00:59:13 2008
Daemon pid 3370 port 17000 instance tt70
TimesTen server pid 3388 started on port 17002
No TimesTen webserver running
————————————————————————
Access control enabled.
End of report

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

%d bloggers like this: