###############################################
##############Installing#######################
###############################################
--Default instance name is tt1121_32 and tt1121_64 for 32 and 64bit
--On UNIX the default port is 53384 for 32bit 53388 for 64bit
--Create a group named timesten and put the user on this group
--Create the directory and group
mkdir /etc/TimesTen
groupadd ttadmin
useradd -g ttadmin -oinstall oratt
--Give the right privileges on directories
# chgrp -R ttadmin /etc/TimesTen
# chmod 770 /etc/TimesTen/
# chmod 660 /etc/TimesTen/*
--Install TimesTen using record option to use with batch option in future (optional)
./setup.sh -record setup_rec_04112009.rec
--Start TimesTen Instance on rebbot:
# cd install_dir/bin
# setuproot -install
--Execute the following command:
setprivgrp ttadmin MLOCK
--Check the privilege of the group
getprivgrp timesten
--Output
[oratt@dbms linux86]$ ./setup.sh -record setup_rec_04112009.rec
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? [ tt1121 ] oratt
Instance name will be 'oratt'.
Is this correct? [ yes ]
Of the three components:
[1] Client/Server and Data Manager
[2] Data Manager Only
[3] Client Only
Which would you like to install? [ 1 ]
Where would you like to install the oratt instance of TimesTen? [ /home/oratt ] /u01/app/oracle/product/timesten
Where would you like to create the daemon home directory? [ /u01/app/oracle/product/timesten/TimesTen/oratt/info ]
Installing into /u01/app/oracle/product/timesten/TimesTen/oratt ...
Uncompressing ...
NOTE: If you are configuring TimesTen for use with Oracle Clusterware, the
daemon port number must be the same across all TimesTen installations
managed within the same Oracle Clusterware cluster.
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 53384.
Do you want to use the default port number for the TimesTen daemon? [ yes ]
The daemon will run on the default port number (53384).
NOTE: For security, we recommend that you restrict access to the
TimesTen installation to members of a single OS group. Only members of
that OS group will be allowed to perform direct mode connections to
TimesTen, and only members of that OS group will be allowed to perform
operations that access TimesTen data stores, TimesTen files and shared
memory. The OS group defaults to the primary group of the instance
administrator. You can default to this group, choose another OS group
or you can make this instance world-accessible. If you choose to make
this instance world-accessible, all database files and shared memory
are readable and writable by all users.
Restrict access to the the TimesTen installation to the group 'ttadmin'? [ yes ]
NOTE: Enabling PL/SQL will increase the size of some TimesTen libraries.
Would you like to enable PL/SQL for this instance? [ yes ]
The daemon logs will be located in /u01/app/oracle/product/timesten/TimesTen/oratt/info
Would you like to specify a different location for the daemon logs? [ no ]
In order to use the 'In-Memory Database Cache' feature in any databases
created within this installation, you must set a value for the TNS_ADMIN
environment variable. It can be left blank, and a value can be supplied later
using
Please enter a value for TNS_ADMIN (s=skip)? [ ]
Please enter a value for TNS_ADMIN (s=skip)? [ ]
Please enter a value for TNS_ADMIN (s=skip)? [ ] skip
skip is not a readable directory, use it anyways ? [ no ]
Please enter a value for TNS_ADMIN (s=skip)? [ ] /u01/app/oracle/product/timesten/TimesTen/
TNS_ADMIN will be set to /u01/app/oracle/product/timesten/TimesTen
You can change TNS_ADMIN later by running
Installing server components ...
What is the TCP/IP port number that you want the TimesTen Server to listen on? [ 53385 ]
Do you want to install QuickStart and the TimesTen Documentation? [ no ] Yes
Where would you like to install the quickstart and doc directories (s=skip)? [ /u01/app/oracle/product/timesten/TimesTen/oratt ] /u01/app/oracle/product/timesten/TimesTen/oratt/docs
The directory /u01/app/oracle/product/timesten/TimesTen/oratt/docs does not exist.
Do you want to create it? [ yes ]
The TimesTen Quickstart applications can take up to 64 Mbytes of disk space.
Depending on how your system is configured, you may not want to create the
QuickStart DemoDataStore directory in the default location,
/u01/app/oracle/product/timesten/TimesTen/oratt/info/DemoDataStore
Where would you like to create the DemoDataStore directory? [ /u01/app/oracle/product/timesten/TimesTen/oratt/info ] /u01/app/oracle/product/timesten/TimesTen/oratt/info/demo
The directory /u01/app/oracle/product/timesten/TimesTen/oratt/info/demo does not exist.
Do you want to create it? [ yes ]
Creating /u01/app/oracle/product/timesten/TimesTen/oratt/info/demo/DemoDataStore ...
Installing client components ...
Would you like to use TimesTen Replication with Oracle Clusterware? [ no ]
NOTE: The TimesTen daemon startup/shutdown scripts have not been installed.
Run the 'setuproot' script :
cd /u01/app/oracle/product/timesten/TimesTen/oratt/bin
./setuproot -install
This will move the TimesTen startup script into its appropriate location.
The startup script is currently located here :
'/u01/app/oracle/product/timesten/TimesTen/oratt/startup/tt_oratt'.
The Quickstart home page can be accessed here :
'/u01/app/oracle/product/timesten/TimesTen/oratt/quickstart/index.html'
The 11.2.1.3 Release Notes are located here :
'/u01/app/oracle/product/timesten/TimesTen/oratt/README.html'
Starting the daemon ...
TimesTen Daemon startup OK.
End of TimesTen installation.
[oratt@dbms linux86]$ cd /u01/app/oracle/product/timesten/TimesTen/oratt/bin
[oratt@dbms bin]$ ./setuproot -install
Sorry, you must be root to install the TimesTen daemon start script ...
[root@dbms timesten]# cd /u01/app/oracle/product/timesten/TimesTen/oratt/bin
[root@dbms bin]# ./setuproot -install
Would you like to install the TimesTen daemon startup scripts into /etc/init.d? [ yes ]
Copying /u01/app/oracle/product/timesten/TimesTen/oratt/startup/tt_oratt to /etc/init.d
Successfully installed the following scripts :
/etc/init.d/tt_oratt
/etc/rc.d/rc0.d/K45tt_oratt
/etc/rc.d/rc1.d/K45tt_oratt
/etc/rc.d/rc2.d/S90tt_oratt
/etc/rc.d/rc3.d/S90tt_oratt
/etc/rc.d/rc5.d/S90tt_oratt
/etc/rc.d/rc6.d/K45tt_oratt
###############################################
###########Start/Stop##########################
###############################################
[oratt@dbms startup]$ pwd
/u01/app/oracle/product/timesten/TimesTen/oratt/startup
[oratt@dbms startup]$ ls
tt_oratt
[oratt@dbms startup]$ ./tt_oratt stop
Stopping TimesTen Daemon : [ OK ]
[oratt@dbms startup]$ ./tt_oratt start
Starting TimesTen Daemon : [ OK ]
[oratt@dbms startup]$
No comments:
Post a Comment