<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>惜分飞 &#187; tfa</title>
	<atom:link href="https://www.xifenfei.com/tag/tfa/feed" rel="self" type="application/rss+xml" />
	<link>https://www.xifenfei.com</link>
	<description>提供7*24专业数据库(Oracle,SQL Server,MySQL,PostgreSQL等)恢复和技术支持@Tel:17813235971</description>
	<lastBuildDate>Sun, 22 Nov 2026 15:21:14 +0000</lastBuildDate>
	<language>zh-CN</language>
		<sy:updatePeriod>hourly</sy:updatePeriod>
		<sy:updateFrequency>1</sy:updateFrequency>
	
	<item>
		<title>11.2.0.4 GI单独安装tfa</title>
		<link>https://www.xifenfei.com/2014/10/11-2-0-4-gi%e5%ae%89%e8%a3%85tfa.html</link>
		<comments>https://www.xifenfei.com/2014/10/11-2-0-4-gi%e5%ae%89%e8%a3%85tfa.html#comments</comments>
		<pubDate>Thu, 16 Oct 2014 11:50:56 +0000</pubDate>
		<dc:creator><![CDATA[惜分飞]]></dc:creator>
				<category><![CDATA[Oracle RAC]]></category>
		<category><![CDATA[tfa]]></category>

		<guid isPermaLink="false">https://www.xifenfei.com/?p=5549</guid>
		<description><![CDATA[联系：手机/微信(+86 17813235971) QQ(107644445)  &#8230; <a href="https://www.xifenfei.com/2014/10/11-2-0-4-gi%e5%ae%89%e8%a3%85tfa.html">继续阅读 <span class="meta-nav">&#8594;</span></a>]]></description>
				<content:encoded><![CDATA[<div id="xifenfeicopyright">
<p>联系：<a href="https://www.xifenfei.com/about_xifenfei" target="_blank">手机/微信(+86 17813235971)   QQ(107644445)</a><a target="_blank" href="http://wpa.qq.com/msgrd?v=3&#038;uin=107644445&#038;site=qq&#038;menu=yes"><img src="https://www.xifenfei.com/wp-content/themes/img/site_qq.jpg" alt="QQ咨询惜分飞" title="QQ咨询惜分飞"/></a></p>
<p>标题：<a href="https://www.xifenfei.com/2014/10/11-2-0-4-gi%e5%ae%89%e8%a3%85tfa.html" target="_blank">11.2.0.4 GI单独安装tfa</a></p>
<p>作者：<a href="https://www.xifenfei.com" target="_blank">惜分飞</a>©版权所有[未经本人同意,不得以任何形式转载,否则有进一步追究法律责任的权利.]</p>
</div>
<p>在11.2.0.4安装rac执行root.sh之时需要在root的环境变量中指定可以直接执行unzip命令(在非Linux,Win环境下root用户默认环境变量无unzip命令),如果忘记执行配置相应的PATH环境变量,将导致tfa不被安装,事后安装步骤<br />
<strong>未安装tfa现状</strong></p>
<pre class="brush: bash; title: ; notranslate">
--/etc/inittab中只有这一条和gi相关
h1:2:respawn:/etc/init.ohasd run &gt;/dev/null 2&gt;&amp;1 &lt;/dev/null

--只启动了init.ohasd
xifenf01/oradata/sys/soft#ps -ef|grep init
    root        1        0   0 13:12:11      -  0:00 /etc/init
    root 30539998        1   0 18:58:17      -  0:00 /bin/sh /etc/init.ohasd run
    root 31391906  5177692   0 19:44:15  pts/1  0:00 grep init
</pre>
<p><strong>使用tfa_setup.sh脚本安装</strong></p>
<pre class="brush: bash; title: ; notranslate">
xifenf01/#export PATH=$PATH:/u01/oracle/app/grid/bin
xifenf01/#/u01/oracle/app/grid/crs/install/tfa_setup.sh -silent -crshome /u01/oracle/app/grid

Starting TFA installation

TFA requires BASH shell. Please install bash and try again.
</pre>
<p><strong>提示缺少bash shell,下载相关包安装安装(系统AIX 7.1)</strong></p>
<pre class="brush: bash; title: ; notranslate">
xifenf01/oradata/sys/soft#rpm -ivh bash-4.2-3.aix6.1.ppc.rpm
bash                        ##################################################
</pre>
<p><strong>重新安装tfa</strong></p>
<pre class="brush: bash; title: ; notranslate">
xifenf01/oradata/sys/soft#/u01/oracle/app/grid/crs/install/tfa_setup.sh -silent -crshome /u01/oracle/app/grid

Starting TFA installation

Using JAVA_HOME : /u01/oracle/app/grid/jdk/jre

Running Auto Setup for TFA as user root...


The following installation requires temporary use of SSH.
If SSH is not configured already then we will remove SSH 
when complete.
  
Installing TFA now...


TFA Will be Installed on xifenf01...

TFA will scan the following Directories
++++++++++++++++++++++++++++++++++++++++++++

.-----------------------------------------------------.
|                       xifenf01                      |
+------------------------------------------+----------+
| Trace Directory                          | Resource |
+------------------------------------------+----------+
| /u01/oracle/app/grid/OPatch/crs/log      | CRS      |
| /u01/oracle/app/grid/cfgtoollogs         | INSTALL  |
| /u01/oracle/app/grid/crs/log             | CRS      |
| /u01/oracle/app/grid/cv/log              | CRS      |
| /u01/oracle/app/grid/evm/admin/log       | CRS      |
| /u01/oracle/app/grid/evm/admin/logger    | CRS      |
| /u01/oracle/app/grid/evm/log             | CRS      |
| /u01/oracle/app/grid/install             | INSTALL  |
| /u01/oracle/app/grid/log                 | CRS      |
| /u01/oracle/app/grid/log/                | CRS      |
| /u01/oracle/app/grid/network/log         | CRS      |
| /u01/oracle/app/grid/oc4j/j2ee/home/log  | CRSOC4J  |
| /u01/oracle/app/grid/opmn/logs           | CRS      |
| /u01/oracle/app/grid/racg/log            | CRS      |
| /u01/oracle/app/grid/rdbms/log           | ASM      |
| /u01/oracle/app/grid/scheduler/log       | CRS      |
| /u01/oracle/app/grid/srvm/log            | CRS      |
| /u01/oracle/app/oraInventory/ContentsXML | INSTALL  |
| /u01/oracle/app/oraInventory/logs        | INSTALL  |
'------------------------------------------+----------'


Installing TFA on xifenf01
HOST: xifenf01  TFA_HOME: /u01/oracle/app/grid/tfa/xifenf01/tfa_home

.-----------------------------------------------------.
| Host     | Status of TFA | PID     | Port | Version |
+----------+---------------+---------+------+---------+
| xifenf01 | RUNNING       | 7536914 | 5000 | 2.5.1.5 |
'----------+---------------+---------+------+---------'

Summary of TFA Installation:
.------------------------------------------------------------------.
|                             xifenf01                             |
+---------------------+--------------------------------------------+
| Parameter           | Value                                      |
+---------------------+--------------------------------------------+
| Install location    | /u01/oracle/app/grid/tfa/xifenf01/tfa_home |
| Repository location | /u01/oracle/app/oracle/tfa/repository      |
| Repository usage    | 0 MB out of 10240 MB                       |
'---------------------+--------------------------------------------'


TFA is successfully installed..

Usage : /u01/oracle/app/grid/tfa/bin/tfactl &lt;command&gt; [options]
&lt;command&gt; =
         print        Print requested details
         purge        Delete collections from TFA repository
         directory    Add or Remove or Modify directory in TFA
         host         Add or Remove host in TFA
         set          Turn ON/OFF or Modify various TFA features
         diagcollect  Collect logs from across nodes in cluster 

For help with a command: /u01/oracle/app/grid/tfa/bin/tfactl &lt;command&gt; -help
</pre>
<p><strong>安装tfa成功后</strong></p>
<pre class="brush: bash; title: ; notranslate">
--/etc/inittab
h1:2:respawn:/etc/init.ohasd run &gt;/dev/null 2&gt;&amp;1 &lt;/dev/null
htfa:2:respawn:/etc/init.tfa run &gt;/dev/null 2&gt;&amp;1 &lt;/dev/null

--init.tfa进程存在
xifenf01/oradata/sys/soft#ps -ef|grep init
    root        1        0   0 13:12:11      -  0:00 /etc/init
    root 30277638        1   0 19:26:37      -  0:00 /bin/sh /etc/init.tfa run
    root 30539998        1   0 18:58:17      -  0:00 /bin/sh /etc/init.ohasd run
    root 31391906  5177692   0 19:44:15  pts/1  0:00 grep init
</pre>
<p><strong>另外一个节点安装tfa</strong></p>
<pre class="brush: bash; title: ; notranslate">
xifenf02/#export PATH=$PATH:/u01/oracle/app/grid/bin
xifenf02/oradata/sys/soft#rpm -ivh bash-4.2-3.aix6.1.ppc.rpm.rpm
bash                        ##################################################
xifenf02/#/u01/oracle/app/grid/crs/install/tfa_setup.sh -silent -crshome /u01/oracle/app/grid

Starting TFA installation

Using JAVA_HOME : /u01/oracle/app/grid/jdk/jre

Running Auto Setup for TFA as user root...


The following installation requires temporary use of SSH.
If SSH is not configured already then we will remove SSH 
when complete.
  
Installing TFA now...


TFA Will be Installed on xifenf02...

TFA will scan the following Directories
++++++++++++++++++++++++++++++++++++++++++++

.-----------------------------------------------------.
|                       xifenf02                      |
+------------------------------------------+----------+
| Trace Directory                          | Resource |
+------------------------------------------+----------+
| /u01/oracle/app/grid/OPatch/crs/log      | CRS      |
| /u01/oracle/app/grid/cfgtoollogs         | INSTALL  |
| /u01/oracle/app/grid/crs/log             | CRS      |
| /u01/oracle/app/grid/cv/log              | CRS      |
| /u01/oracle/app/grid/evm/admin/log       | CRS      |
| /u01/oracle/app/grid/evm/admin/logger    | CRS      |
| /u01/oracle/app/grid/evm/log             | CRS      |
| /u01/oracle/app/grid/install             | INSTALL  |
| /u01/oracle/app/grid/log                 | CRS      |
| /u01/oracle/app/grid/log/                | CRS      |
| /u01/oracle/app/grid/network/log         | CRS      |
| /u01/oracle/app/grid/oc4j/j2ee/home/log  | CRSOC4J  |
| /u01/oracle/app/grid/opmn/logs           | CRS      |
| /u01/oracle/app/grid/racg/log            | CRS      |
| /u01/oracle/app/grid/rdbms/log           | ASM      |
| /u01/oracle/app/grid/scheduler/log       | CRS      |
| /u01/oracle/app/grid/srvm/log            | CRS      |
| /u01/oracle/app/oraInventory/ContentsXML | INSTALL  |
| /u01/oracle/app/oraInventory/logs        | INSTALL  |
'------------------------------------------+----------'


Installing TFA on xifenf02
HOST: xifenf02  TFA_HOME: /u01/oracle/app/grid/tfa/xifenf02/tfa_home

.-----------------------------------------------------.
| Host     | Status of TFA | PID     | Port | Version |
+----------+---------------+---------+------+---------+
| xifenf02 | RUNNING       | 5898636 | 5000 | 2.5.1.5 |
| xifenf01 | RUNNING       | 7536914 | 5000 | 2.5.1.5 |
'----------+---------------+---------+------+---------'

Summary of TFA Installation:
.------------------------------------------------------------------.
|                             xifenf02                             |
+---------------------+--------------------------------------------+
| Parameter           | Value                                      |
+---------------------+--------------------------------------------+
| Install location    | /u01/oracle/app/grid/tfa/xifenf02/tfa_home |
| Repository location | /u01/oracle/app/oracle/tfa/repository      |
| Repository usage    | 0 MB out of 10240 MB                       |
'---------------------+--------------------------------------------'


TFA is successfully installed..

Usage : /u01/oracle/app/grid/tfa/bin/tfactl &lt;command&gt; [options]
&lt;command&gt; =
         print        Print requested details
         purge        Delete collections from TFA repository
         directory    Add or Remove or Modify directory in TFA
         host         Add or Remove host in TFA
         set          Turn ON/OFF or Modify various TFA features
         diagcollect  Collect logs from across nodes in cluster 

For help with a command: /u01/oracle/app/grid/tfa/bin/tfactl &lt;command&gt; -help
</pre>
<div id="crp_related"><ul><li style="list-style-type:decimal;font-size:11px;" ><a href="https://www.xifenfei.com/2014/10/%e6%89%93patch%e5%87%ba%e7%8e%b0copy-failed-tfa%e6%9c%8d%e5%8a%a1%e5%af%bc%e8%87%b4%e9%83%a8%e5%88%86lib%e6%9c%aa%e9%87%8a%e6%94%be.html" rel="bookmark" class="crp_title">打patch出现Copy failed&#8212;tfa服务导致部分lib未释放</a></li><li style="list-style-type:decimal;font-size:11px;" ><a href="https://www.xifenfei.com/2024/08/opatch-auto-unable-to-get-oracle-owner-for.html" rel="bookmark" class="crp_title">opatch auto 出现unable to get oracle owner for 错误</a></li><li style="list-style-type:decimal;font-size:11px;" ><a href="https://www.xifenfei.com/2014/10/11gr2-gi%e6%89%93psu-oracle_home%e7%a9%ba%e9%97%b4%e4%b8%8d%e8%b6%b3%e6%a1%88%e4%be%8b-%e9%9c%80%e8%a6%8120g%e4%bb%a5%e4%b8%8a%e7%a9%ba%e9%97%b2%e7%a9%ba%e9%97%b4.html" rel="bookmark" class="crp_title">11gR2 GI打PSU ORACLE_HOME空间不足案例&#8212;需要20G以上空闲空间</a></li><li style="list-style-type:decimal;font-size:11px;" ><a href="https://www.xifenfei.com/2022/10/dd-npohasd.html" rel="bookmark" class="crp_title">11.2 crs启动超时dd  npohasd 处理</a></li><li style="list-style-type:decimal;font-size:11px;" ><a href="https://www.xifenfei.com/2013/12/olr%e7%9b%b8%e5%85%b3%e7%bb%b4%e6%8a%a4.html" rel="bookmark" class="crp_title">OLR相关维护</a></li><li style="list-style-type:decimal;font-size:11px;" ><a href="https://www.xifenfei.com/2021/09/error-4-opening-dom-asmself-in.html" rel="bookmark" class="crp_title">19c 非第一个节点执行root.sh报Error 4 opening dom ASM/Self in 错误</a></li><li style="list-style-type:decimal;font-size:11px;" ><a href="https://www.xifenfei.com/2017/03/high-space-usage-crfclust-bdb.html" rel="bookmark" class="crp_title">crfclust.bdb文件过大处理</a></li><li style="list-style-type:decimal;font-size:11px;" ><a href="https://www.xifenfei.com/2015/07/%e8%af%af%e4%bf%ae%e6%94%b9u01%e6%9d%83%e9%99%90%e6%89%80%e6%9c%89%e8%80%85%e7%9a%84%e6%95%85%e9%9a%9c%e6%81%a2%e5%a4%8d.html" rel="bookmark" class="crp_title">误修改/u01权限/所有者的故障恢复</a></li><li style="list-style-type:decimal;font-size:11px;" ><a href="https://www.xifenfei.com/2021/01/bash-binrm-argument-list-too-long.html" rel="bookmark" class="crp_title">-bash: /bin/rm: Argument list too long</a></li><li style="list-style-type:decimal;font-size:11px;" ><a href="https://www.xifenfei.com/2018/01/osw-oswprvtnet.html" rel="bookmark" class="crp_title">osw配置私网监控(oswprvtnet)</a></li><li style="list-style-type:decimal;font-size:11px;" ><a href="https://www.xifenfei.com/2018/07/kfed-error-could-not-initialize-the-diag-context.html" rel="bookmark" class="crp_title">KFED &#8211; ERROR!!! could not initialize the diag context</a></li><li style="list-style-type:decimal;font-size:11px;" ><a href="https://www.xifenfei.com/2021/05/linux-7-11-2-0-4-rac-issue.html" rel="bookmark" class="crp_title">记录在linux 7中安装11.2.0.4 RAC遇到问题</a></li></ul></div>]]></content:encoded>
			<wfw:commentRss>https://www.xifenfei.com/2014/10/11-2-0-4-gi%e5%ae%89%e8%a3%85tfa.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
