Installing TimesTen

I was reading about the TimesTen db , it really fasinated me , so i thought to give it a try & install on a test server , below are the steps to install timesten on linux

Installing Times 10

Prepare Linux Host
pbrun cso -u root
cd /etc
mkdir TimesTen
chmod 775 TimesTen
chgrp dba /etc/TimesTen
chown pchandir:dba /etc/TimesTen
download timesTen code to dir name times10_v603, I used 6.3
cd /u02/app/pchandir/code/times10_v603/linux86
./setup.sh -verbose -record install

[pchandir@webtest linux86]$ ./setup.sh -verbose
INFO: platform = linux86 bits = 32
INFO: product name = TimesTen6.0.3
INFO: user = pchandir
INFO: Groupid for /etc/TimesTen=8500
INFO: Group name for /etc/TimesTen=dba
INFO: Effective userid running this process = 7220
INFO: Member of = 8500 8500

INFO: Current user is a member of group dba ...
INFO: Checking /etc for minimum avail space of 100k
INFO: No instance info file (/etc/TimesTen/instance_info)

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.

Please choose an instance name for this installation? [ tt60 ]
Instance name will be 'tt60'.
Is this correct? [ yes ]  
INFO: Cache Connect to Oracle is supported on this platform

Please select a product :

  [1] Oracle TimesTen In-Memory Database
  [2] Oracle TimesTen In-Memory Database with Cache Connect to Oracle

Which product would you like to install? [ 1 ] 2
INFO: Installing product type 'cache'

Of the three components:

  [1] Client/Server and Data Manager
  [2] Data Manager Only
  [3] Client Only

Which would you like to install? [ 1 ]
INFO: installing component 'ttserver.tar', type 'Client/Server and DataManager'
INFO: Cache Connect to Oracle is supported on this platform
Where would you like to install the tt60 instance of TimesTen? [ /home/pchandir ] /u02/app/pchandir
Where would you like to create the daemon home directory? [ /u02/app/pchandir/TimesTen/tt60/info ]
Installing into /u02/app/pchandir/TimesTen/tt60 ...
Uncompressing ...

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,
/u02/app/pchandir/TimesTen/tt60/info/DemoDataStore


WARNING: It is advised that you do not install the DemoDataStore directory onto a networked drive. Please see the TimesTen install guide for
         more info.

Where would you like to create the DemoDataStore directory? [ /u02/app/pchandir/TimesTen/tt60/info ]
INFO: Checking /u02/app/pchandir/TimesTen/tt60/info for minimum avail space of 64000k
Creating /u02/app/pchandir/TimesTen/tt60/info/DemoDataStore ...

Checking port 16000, range of 8 ...
Verifying that port 15992 is open ...
Verifying that port 15993 is open ...
Verifying that port 15994 is open ...
Verifying that port 15995 is open ...
Verifying that port 15996 is open ...
Verifying that port 15997 is open ...
Verifying that port 15998 is open ...
Verifying that port 15999 is open ...
Verifying that port 16000 is open ...
Verifying that port 16001 is open ...
Verifying that port 16002 is open ...
Verifying that port 16003 is open ...
Verifying that port 16004 is open ...
Verifying that port 16005 is open ...
Verifying that port 16006 is open ...
Verifying that port 16007 is open ...
Verifying that port 16008 is open ...
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 16000.

Do you want to use the default port number for the TimesTen daemon? [ yes ]
The daemon will run on the default port number (16000).

INFO: daemon will run on port 16000
INFO: Checking /etc for minimum avail space of 100k
Processing /u02/app/pchandir/TimesTen/tt60/PERL/perl.tar ...

Would you like to enable datastore access control? [ no ]

System logging appears to be configured correctly.
(TimesTen syslog messages should be recorded in the file '/var/log/messages')

Would you like to specify a different location for TimesTen syslog messages? [ no ]

The following variables have been set in the TimesTen daemon start scripts :

ORACLE_HOME=/u02/app/pchandir/product/10.1.8RC2
LD_LIBRARY_PATH=/u02/app/pchandir/TimesTen/tt60/lib:/u02/app/pchandir/product/10.1.8RC2/lib32:/u02/app/pchandir/product/10.1.8RC2/network/lib32:
/u02/app/pchandir/product/10.1.8RC2/lib:/u02/app/pchandir/product/10.1.8RC2/network/lib

In order for the Cache Connect to Oracle feature to function properly, these environment variables must be accurate. Please update the daemon start scripts (see installation guide for location) whenever these values change.

Select one of these Cache Connect to Oracle Administrator access options :

  [1] Allow access from this computer only
  [2] Allow access from any computer
  [3] Disable Cache Connect to Oracle Administrator
1

Would you like to enable datastore access control:n
Would you like to specify a different location for TimesTen syslog messages:n
Which mode would you like to run in:1
What TCP/IP port number would you like Cache Connect to Oracle Administrator to listen on:16004
Would you like to log all server Connects/Disconnects:y
What is the TCP/IP port number that you want the TimesTen Server to listen on:16002
What is the name of the host running the TimesTen server:webtest
What is the TCP/IP port number that the TimesTen server is listening on:16002
What is the name of the instance running the TimesTen server:tt60
Would you like to install the documentation:y
Where would you like to create the doc directory (q=quit):/u02/app/pchandir/TimesTen/tt60

as root
cd /u02/app/pchandir/TimesTen/tt60/bin
./setuproot -install
Would you like to install the TimesTen daemon startup scripts into /etc/init.d? [ yes ]
Copying /u02/app/pchandir/TimesTen/tt60/startup/tt_tt60 to /etc/init.d

Successfully installed the following scripts :
/etc/init.d/tt_tt60
/etc/rc.d/rc0.d/K45tt_tt60
/etc/rc.d/rc1.d/K45tt_tt60
/etc/rc.d/rc2.d/S90tt_tt60
/etc/rc.d/rc3.d/S90tt_tt60
/etc/rc.d/rc5.d/S90tt_tt60
/etc/rc.d/rc6.d/K45tt_tt60

Below is the log Files
cat  /u02/app/pchandir/code/times10_v603/linux86/install

Please choose an instance name for this installation:tt60
Is this correct1:y
Which product would you like to install:2
Which would you like to install:1
Where would you like to install the tt60 instance of TimesTen:/u02/app/pchandir
Where would you like to create the daemon home directory:/u02/app/pchandir/TimesTen/tt60/info
Where would you like to create the DemoDataStore directory:/u02/app/pchandir/TimesTen/tt60/info
Do you want to use the default port number for the TimesTen daemon:y
Would you like to enable datastore access control:n
Would you like to specify a different location for TimesTen syslog messages:n
Which mode would you like to run in:1
What TCP/IP port number would you like Cache Connect to Oracle Administrator to listen on:16004
Would you like to log all server Connects/Disconnects:y
What is the TCP/IP port number that you want the TimesTen Server to listen on:16002
What is the name of the host running the TimesTen server:webtest
What is the TCP/IP port number that the TimesTen server is listening on:16002
What is the name of the instance running the TimesTen server:tt60
Would you like to install the documentation:y
Where would you like to create the doc directory (q=quit):/u02/app/pchandir/TimesTen/tt60
 
Checking to see if TimesTen is up
[pchandir@webtest pchandir]$ ps -aef | grep Times
pchandir  26542     1  0 19:55 ?        00:00:00 /u02/app/pchandir/TimesTen/tt60/bin/timestend -initfd 13
pchandir  26545 26542  0 19:55 ?        00:00:00 /u02/app/pchandir/TimesTen/tt60/bin/timestensubd -verbose -id 0 -facility user
pchandir  26546 26542  0 19:55 ?        00:00:00 /u02/app/pchandir/TimesTen/tt60/bin/timestensubd -verbose -id 1 -facility user
pchandir  26547 26542  0 19:55 ?        00:00:00 /u02/app/pchandir/TimesTen/tt60/bin/timestensubd -verbose -id 2 -facility user
pchandir  26551 26542  0 19:55 ?        00:00:00 /u02/app/pchandir/TimesTen/tt60/bin/timestensubd -verbose -id 3 -facility user
pchandir  26561 26542  0 19:55 ?        00:00:00 /u02/app/pchandir/TimesTen/tt60/bin/timestenws -verbose -id 4 -facility user
pchandir  26563 26542  0 19:55 ?        00:00:00 /u02/app/pchandir/TimesTen/tt60/bin/ttcserver -verbose -id 5 -p 16002 -facility user
pchandir  26700 21299  0 19:55 pts/9    00:00:00 grep Times

To stop manually
pbrun cso -u root
/etc/rc.d/init.d/tt_60 stop
or
ttDaemonAdmin -stop

To Start manually
/etc/rc.d/init.d/tt_60 start
or
ttDaemonAdmin -start

Note :
Pls read http://www.oracle.com/timesten/index.html for more on TimesTen

Comments:

Slave.........

Posted by Slave on September 10, 2007 at 07:25 AM PDT #

Post a Comment:
  • HTML Syntax: NOT allowed
About

This blog is authored by Pankaj Chandiramani , Product Manager for Enterprise Manager . Main Focus of the blog will be on Enterprise Manager 12c with deep coverage of Database Life Cycle Management that includes Database Provisioning , Database Patching , Config , Compliance etc .

Search

Archives
« April 2014
SunMonTueWedThuFriSat
  
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
   
       
Today