timesten删除实例

 

1.修改环境变量

让环境变量指向目前的实例

复制代码
[instanceadmin@localhost ~]$ more .bash_profile
# .bash_profile

# Get the aliases and functions
if [ -f ~/.bashrc ]; then
        . ~/.bashrc
fi

# User specific environment and startup programs
export TIMESTEN_HOME=/opt/tt18.1.4.34.0/hxl/hxl
export ORACLE_HOME=/usr/lib/oracle/12.2/client64
export PATH=$ORACLE_HOME/bin:$TIMESTEN_HOME/bin:$PATH
export LD_LIBRARY_PATH=$ORACLE_HOME/lib:/opt/tt18.1.4.34.0/lib:$LD_LIBRARY_PATH
TNS_ADMIN=/opt/tt18.1.4.34.0/network/admin

export PATH
复制代码

退出,用户instanceadmin重新登录

 

2.删除实例

复制代码
[instanceadmin@localhost ~]$ /opt/tt18.1.4.34.0/bin/ttInstanceDestroy
   
** WARNING **

   The uninstallation has been executed by a non-root user.
   If the TimesTen daemon startup scripts were installed,
   you must run $TIMESTEN_HOME/bin/setuproot -uninstall
   to remove them. If you proceed with this uninstallation, you
   will have to remove the startup scripts manually.
   
** WARNING **

   All files in the directory:

   /opt/tt18.1.4.34.0/hxl/hxl

   will be removed, including any file that you or other users
   may have created.

   Are you sure you want to completely remove this instance? [ yes ] yes
ttDaemonAdmin: daemon is not running
   Installation will remove all the files from /opt/tt18.1.4.34.0/hxl/hxl.
   Do you want to continue? [ yes ] yes
   
NOTE: /opt/tt18.1.4.34.0/hxl/hxl/info contains information related to the data stores
      that have been created with this release. If you remove
      /opt/tt18.1.4.34.0/hxl/hxl/info
      you will no longer be able to access your data stores,
      nor would you be able to restore nor migrate your data.

   
NOTE: /opt/tt18.1.4.34.0/hxl/hxl/conf contains information related to the instance configuration.
/opt/tt18.1.4.34.0/hxl/hxl Removed
复制代码

 

posted @   slnngk  阅读(20)  评论(0编辑  收藏  举报
相关博文:
阅读排行:
· DeepSeek 开源周回顾「GitHub 热点速览」
· 物流快递公司核心技术能力-地址解析分单基础技术分享
· .NET 10首个预览版发布:重大改进与新特性概览!
· AI与.NET技术实操系列(二):开始使用ML.NET
· 单线程的Redis速度为什么快?
历史上的今天:
2021-06-08 ORA-16003(18c)
2021-06-08 18c rac_to_single 部署dgbroker
点击右上角即可分享
微信分享提示