oracle tfa 占用cpu,oracle TFA 升级实例讲解-Oracle

此操作也可用于安装

[root@rac1 oracle]# cd /opt/oracle.tfa/

[root@rac1 oracle.tfa]# ls

TFA-LINUX_v18.2.1.zip

[root@rac1 oracle.tfa]# unzip TFA-LINUX_v18.2.1.zip

Archive: TFA-LINUX_v18.2.1.zip

inflating: README.txt

inflating: installTFA-LINUX

[root@rac1 oracle.tfa]# ls

installTFA-LINUX README.txt TFA-LINUX_v18.2.1.zip

[root@rac1 oracle.tfa]# ./installTFA-LINUX

TFA Installation Log will be written to File : /tmp/tfa_install_11436_2018_07_06-02_45_51.log

Starting TFA installation

TFA Version: 182100 Build Date: 201805291110

TFA HOME : /u01/app/11.2.0/grid/tfa/rac1/tfa_home

Installed Build Version: 0 Build Date: 201308012341

TFA is already installed. Patching /u01/app/11.2.0/grid/tfa/rac1/tfa_home...

TFA patching typical install from zipfile is written to /u01/app/11.2.0/grid/tfa/rac1/tfapatch.log

Unable to determine the status of TFA in other nodes.

TFA will be Patched on Node rac1:

Do you want to continue with patching TFA? [Y|N] [Y]:

Applying Patch on rac1:

Stopping TFA Support Tools...

Shutting down TFA for Patching...

Shutting down TFA

oracle-tfa stop/waiting

. . . . .

Killing TFA running with pid 1708

. . .

Successfully shutdown TFA..

Renaming /u01/app/11.2.0/grid/tfa/rac1/tfa_home/jar to /u01/app/11.2.0/grid/tfa/rac1/tfa_home/jlib

Adding INSTALL_TYPE = GI to tfa_setup.txt

Copying /u01/app/11.2.0/grid/tfa/rac1/tfa_home/output/ to /u01/app/grid/tfa/rac1/

The current version of Berkeley DB is 4.0.103

Copying je-4.1.27.jar to /u01/app/11.2.0/grid/tfa/rac1/tfa_home/jlib/

Copying je-6.4.25.jar to /u01/app/11.2.0/grid/tfa/rac1/tfa_home/jlib/

Running DbPreUpgrade_4_1 utility

Output of upgrade : Pre-upgrade succeeded

Copying TFA Certificates...

Moving Properties.bkp to Properties

Moving Properties.bkp to Properties

Moving Properties.bkp to Properties

Running commands to fix init.tfa and tfactl in localhost

Starting TFA in rac1...

Creating Sym Link /etc/rc.d/rc0.d/K17init.tfa to /etc/init.d/init.tfa

Creating Sym Link /etc/rc.d/rc1.d/K17init.tfa to /etc/init.d/init.tfa

Creating Sym Link /etc/rc.d/rc2.d/K17init.tfa to /etc/init.d/init.tfa

Creating Sym Link /etc/rc.d/rc4.d/K17init.tfa to /etc/init.d/init.tfa

Creating Sym Link /etc/rc.d/rc6.d/K17init.tfa to /etc/init.d/init.tfa

Starting TFA..

oracle-tfa start/running, process 12551

Waiting up to 100 seconds for TFA to be started..

. . . . .

. . . . .

Successfully started TFA Process..

. . . . .

TFA Started and listening for commands

Removing /u01/app/11.2.0/grid/tfa/rac1/tfa_home/jlib/je-4.0.103.jar

Enabling Access for Non-root Users on rac1...

ERROR: /u01/app/11.2.0/grid/tfa/rac1/tfa_home/internal/.buildversion does not exists

Adding default users to TFA Access list...

WARNING - TFA Software is older than 180 days. Please consider upgrading TFA to the latest version.

WARNING - TFA Software is older than 180 days. Please consider upgrading TFA to the latest version.

.------------------------------------------------------------.

| Host | TFA Version | TFA Build ID | Upgrade Status |

+------+-------------+----------------------+----------------+

| rac1 | 18.2.1.0.0 | 18210020180529111033 | UPGRADED |

| rac2 | - | - | NOT UPGRADED |

'------+-------------+----------------------+----------------'

[root@rac1 oracle.tfa]# tfactl syncnodes

-bash: tfactl: command not found

[root@rac1 oracle.tfa]# cd /u01/app/11.2.0/grid/tfa/rac1/tfa_home/

[root@rac1 tfa_home]# ls

bin client_pub.crt input jlib output resources tfa_directories.txt tfa.md5 transfers

browser database install jre public.jks server.jks tfa.jks tfa_setup.txt

client.jks ext internal log repository server_pub.crt tfa.lock tmp

[root@rac1 tfa_home]# cd bin

[root@rac1 bin]# ./tfactl syncnodes

Current Node List in TFA :

1. rac1

2. rac2

Node List in Cluster :

1. rac1

2. rac2

Node List to sync TFA Certificates :

1 rac2

Do you want to update this node list? [Y|N] [N]:

Syncing TFA Certificates on rac2 :

TFA_HOME on rac2 : /u01/app/11.2.0/grid/tfa/rac2/tfa_home

Shutting down TFA on rac2...

Copying TFA Certificates to rac2...

Copying SSL Properties to rac2...

Shutting down TFA on rac2...

TFA-00002 Oracle Trace File Analyzer (TFA) is not running

TFA-00104 Cannot establish connection with TFA Server. Please check TFA Certificates

Sleeping for 5 seconds...

Starting TFA on rac2...

.--------------------------------------------------------------------------------------------.

| Host | Status of TFA | PID | Port | Version | Build ID | Inventory Status |

+------+---------------+-------+------+------------+----------------------+------------------+

| rac1 | RUNNING | 16580 | 5000 | 18.2.1.0.0 | 18210020180529111033 | COMPLETE |

| rac2 | RUNNING | 25693 | 5000 | 18.2.1.0.0 | 18210020180529111033 | COMPLETE |

'------+---------------+-------+------+------------+----------------------+------------------'

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论

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

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

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

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

抵扣说明:

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

余额充值