Uploaded by trinhcuong1198

timesten note install

advertisement
[orattadmin@cuongtq-edb03 bin]$ ./ttinstallationcheck This installation has been verified.
[orattadmin@cuongtq-edb03 bin]$ mkdir /data/timesten/instance_dir
[orattadmin@cuongtq-edb03 bin]$ [orattadmin@cuongtq-edb03 bin]$ [orattadmin@cuongtq-edb03 bin]$ chmod -R 775 /data/timesten/instance_dir/
[orattadmin@cuongtq-edb03 bin]$ [orattadmin@cuongtq-edb03 bin]$ ./ttInstanceCreate -name instance1 -location /data/timesten/instance_dir
Creating instance in /data/timesten/instance_dir/instance1 ...
NOTE: The TimesTen daemon startup/shutdown scripts have not been installed.
The startup script is located here :
'/data/timesten/instance_dir/instance1/startup/tt_instance1'
Run the 'setuproot' script :
/data/timesten/instance_dir/instance1/bin/setuproot -install
This will move the TimesTen startup script into its appropriate location.
The 22.1 Release Notes are located here :
'/data/timesten/tt22.1.1.18.0/README.html'
Instance created successfully.
[orattadmin@cuongtq-edb03 bin]$ [orattadmin@cuongtq-edb03 bin]$ ./ttenv.sh LD_LIBRARY_PATH set to /data/timesten/instance_dir/instance1/install/lib:/data/timesten/instance_dir/instance1/install/ttoracle_home/instantclient
PATH set to /data/timesten/instance_dir/instance1/bin:/data/timesten/instance_dir/instance1/install/bin:/data/timesten/instance_dir/instance1/install/ttoracle_home/instantclient:/data/timesten/instance_dir/instance1/install/ttoracle_home/instantclient/sdk:/usr/local/bin:/bin:/usr/bin:/usr/local/sbin:/usr/sbin:/home/orattadmin/.local/bin:/home/orattadmin/bin
CLASSPATH set to /data/timesten/instance_dir/instance1/install/lib/ttjdbc8.jar:/data/timesten/instance_dir/instance1/install/lib/orai18n.jar:/data/timesten/instance_dir/instance1/install/lib/timestenjmsxla.jar:/data/timesten/instance_dir/instance1/install/3rdparty/jms1.1/lib/jms.jar:.
TNS_ADMIN set to TIMESTEN_HOME set to /data/timesten/instance_dir/instance1
[orattadmin@cuongtq-edb03 bin]$ pwd
/data/timesten/instance_dir/instance1/bin
[orattadmin@cuongtq-edb03 bin]$ [orattadmin@cuongtq-edb03 bin]$ ./ttinstancemodify Instance Info
-------------
Name:instance1
Version:22.1.1.18.0
Location:/data/timesten/instance_dir/instance1
Installation:/data/timesten/tt22.1.1.18.0
Daemon Port:6624
Server Port:6625
Would you like to change the installation that this instance points to? [ no ] no
The daemon for instance 'instance1' is currently configured to use port 6624.
Would you like to change this port? [ no ] no
The server for instance 'instance1' is currently configured to use port 6625.
Would you like to change this port? [ no ] no
TNS_ADMIN for the instance 'instance1' is currently set to '1'.
Would you like to change TNS_ADMIN for this instance? [ no ] no
Would you like to configure TimesTen Replication with Oracle Clusterware? [ no ] no
Would you like to use systemd to manage TimesTen? [ no ] [orattadmin@cuongtq-edb03 bin]$ [orattadmin@cuongtq-edb03 conf]$ export TIMESTEN_HOME=/data/timesten/instance_dir/instance1
[orattadmin@cuongtq-edb03 bin]$ ./ttenv.sh LD_LIBRARY_PATH set to /data/timesten/instance_dir/instance1/install/lib:/data/timesten/instance_dir/instance1/install/ttoracle_home/instantclient
PATH set to /data/timesten/instance_dir/instance1/bin:/data/timesten/instance_dir/instance1/install/bin:/data/timesten/instance_dir/instance1/install/ttoracle_home/instantclient:/data/timesten/instance_dir/instance1/install/ttoracle_home/instantclient/sdk:/usr/local/bin:/bin:/usr/bin:/usr/local/sbin:/usr/sbin:/home/orattadmin/.local/bin:/home/orattadmin/bin
CLASSPATH set to /data/timesten/instance_dir/instance1/install/lib/ttjdbc8.jar:/data/timesten/instance_dir/instance1/install/lib/orai18n.jar:/data/timesten/instance_dir/instance1/install/lib/timestenjmsxla.jar:/data/timesten/instance_dir/instance1/install/3rdparty/jms1.1/lib/jms.jar:.
TNS_ADMIN set to TIMESTEN_HOME set to /data/timesten/instance_dir/instance1
[orattadmin@cuongtq-edb03 bin]$ [orattadmin@cuongtq-edb03 bin]$ ttDaemonAdmin -start
TimesTen Daemon (PID: 8151, port: 6624) startup OK.
[orattadmin@cuongtq-edb03 bin]$ [database1]
DataStore=/data/timesten/database
LogDir=/data/timesten/logs
DatabaseCharacterSet=AL32UTF8
PermSize=1280
TempSize=640
LogBufMB=1024
[orattadmin@cuongtq-edb03 conf]$ ttIsql database1
Copyright (c) 1996, 2023, Oracle and/or its affiliates. All rights reserved.
Type ? or "help" for help, type "exit" to quit ttIsql.
connect "DSN=database1";
Connection successful: DSN=database1;UID=orattadmin;DataStore=/data/timesten/database;DatabaseCharacterSet=AL32UTF8;ConnectionCharacterSet=US7ASCII;LogBufMB=1024;LogDir=/data/timesten/logs;PermSize=1280;TempSize=640;
(Default setting AutoCommit=1)
Command> 
Download