TimesTen6.0 for Solaris installation manual

# groupadd -g 600 timesten
# useradd -g 600 -u 600 timesten
# passwd timesten
New Password:
Re-enter new Password:
passwd: password successfully changed for timesten
# mkdir -p /etc/TimesTen
# chown timesten:timesten /etc/TimesTen
# mkdir -p /export/home/timesten
# chown -R timesten:timesten /export/home/timesten
# mkdir -p /opt/TimesTen
# chown -R timesten:timesten /opt/TimesTen
# mkdir -p /var/TimesTen
# chown -R timesten:timesten /var/TimesTen
# su - timesten
$ cd /export/home/timesten
$ uncompress timesten608.sparc64.tar.gz
$ tar xvf timesten608.sparc64.tar
$ cd sparc64
$ ./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.
 
Please choose an instance name for this installation? [ tt60 ] Enter
Instance name will be 'tt60'.
Is this correct? [ yes ]   Enter
 
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
 
Of the three components:
 
 [1] Client/Server and Data Manager
 [2] Data Manager Only
 [3] Client Only
 
Which would you like to install? [ 1 ]  Enter
Where would you like to install the tt60 instance of TimesTen? [ /export/home/timesten ]   /opt
Where would you like to create the daemon home directory? [ /opt/TimesTen/tt60/info ]  Enter
The directory /opt/TimesTen/tt60/info does not exist.
Do you want to create it? [ yes ] Enter
Installing into /opt/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,
/var/TimesTen/timesten/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? [ /opt/TimesTen/tt60/info ]  /var/TimesTen/tt60
The directory /var/TimesTen/tt60 does not exist.
Do you want to create it? [ yes ] Enter
Creating /var/TimesTen/timesten/DemoDataStore ...
 
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 16001.
 
Do you want to use the default port number for the TimesTen daemon? [ yes ] Enter
The daemon will run on the default port number (16001).
 
Processing /opt/TimesTen/timesten/PERL/perl.tar ...
 
Would you like to enable datastore access control? [ no ]  yes
WARNING: Cannot determine the syslog file where TimesTen daemon log messages
will be written.
Would you like to specify a different location for TimesTen syslog messages? [no]
Yes
Where would you like the daemon log to be written? [ /opt/TimesTen/tt60/info ] Enter
 
NOTE: Cache Connect to Oracle requires the ORACLE_HOME environment variable.
If you cannot provide a valid path to your Oracle installation,
you must modify the daemon start script (see installation guide for location)
when you have acquired the appropriate value. Cache Connect to Oracle will not function
properly without ORACLE_HOME defined in the daemon start script.

Would you like to specify a value for ORACLE_HOME ? [ yes ] Enter
Please enter a value for ORACLE_HOME (q=quit)? [ ]  /disk01/app/oracle/products/10.2.0
The following variables have been set in the TimesTen daemon start scripts :
 
ORACLE_HOME=/disk01/app/oracle/products/10.2.0
 
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
 
Which mode would you like to run in? [ 1 ] Enter
 
Enabling Cache Connect to Oracle Administrator with no access restrictions ...
 
What TCP/IP port number would you like Cache Connect to Oracle Administrator to listen on? [ 16005 ]  Enter
 
NOTE: To access the TimesTen Cache Connect to Oracle Administrator
      go to the url: http://mspsate21-admin:16005/cache
 
Installing server components ...
Would you like to log all server Connects/Disconnects? [ yes ]  Enter
What is the TCP/IP port number that you want the TimesTen Server to listen on? [ 16003 ] Enter
Starting the daemon ...
TimesTen Daemon startup OK.
 
Installing client components ...
Would you like to log all server Connects/Disconnects? [ yes ] Enter
What is the TCP/IP port number that the TimesTen server on tt60 is listening on? [ 16003 ]  Enter
Starting the daemon ...
TimesTen Daemon startup OK.
 
Installing client components ...
What is the name of the host running the TimesTen server? [ mspsate21-admin ] Enter
What is the TCP/IP port number that the TimesTen server is listening on? [ 16003 ] Enter
What is the name of the instance running the TimesTen server? [ tt60 ] Enter
Creating new /opt/TimesTen/tt60/info/sys.ttconnect.ini
Extracting 3rd party tools ...
Would you like to install the documentation? [ yes ]  Enter
Where would you like to create the doc directory (q=quit)? [ /opt/TimesTen/tt60 ]  Enter
Creating /opt/TimesTen/tt60/doc ...
 
NOTE: The TimesTen daemon startup/shutdown scripts have not been installed.
 
As root, run the script 'setuproot', located in /opt/TimesTen/tt60/bin,
to move the TimesTen startup script into its appropriate location.
 
The startup script is currently located here :
 '/opt/TimesTen/tt60/startup/tt_tt60'.
 
End of TimesTen installation.
 
As root:
# cd /opt/TimesTen/tt60/bin
# ./setuproot -install
Would you like to install the TimesTen daemon startup scripts into /etc/init.d? [ yes ]  Enter
Copying /opt/TimesTen/tt60/startup/tt_tt60 to /etc/init.d
 
Successfully installed the following scripts :
/etc/init.d/tt_tt60
/etc/rc0.d/K45tt_tt60
/etc/rc1.d/K45tt_tt60
/etc/rc2.d/S90tt_tt60
 
Checking to see if TimesTen is up:
# ps -aef | grep Times
timesten 15676 15671   0 15:33:17 ?           0:00 /opt/TimesTen/tt60/bin/timestenws -verbose -f timestend.log -id 4 -facility use
timesten 15671     1   0 15:33:16 ?           0:00 /opt/TimesTen/tt60/bin/timestend -initfd 13
timesten 15675 15671   0 15:33:16 ?           0:00 /opt/TimesTen/tt60/bin/timestensubd -verbose -f timestend.log -id 3 -facility u
timesten 15674 15671   0 15:33:16 ?           0:00 /opt/TimesTen/tt60/bin/timestensubd -verbose -f timestend.log -id 2 -facility u
timesten 15672 15671   0 15:33:16 ?           0:00 /opt/TimesTen/tt60/bin/timestensubd -verbose -f timestend.log -id 0 -facility u
timesten 15673 15671   0 15:33:16 ?           0:00 /opt/TimesTen/tt60/bin/timestensubd -verbose -f timestend.log -id 1 -facility u
timesten 15677 15671   0 15:33:17 ?           0:00 /opt/TimesTen/tt60/bin/ttcserver -verbose -f timestend.log -id 5 -p 16003 –faci
 
# su - timesten
$ echo ". /opt/TimesTen/tt60/bin/ttenv.sh" > .profile
$ chmod +x .profile
 
To stop manually:
# /etc/init.d/tt_tt60 stop
or
$ ttDaemonAdmin -stop

To Start manually:
# /etc/init.d/tt_tt60 start
or
$ ttDaemonAdmin -start
 
  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值