在11.2.0.4安装rac执行root.sh之时需要在root的环境变量中指定可以直接执行unzip命令(在非Linux,Win环境下root用户默认环境变量无unzip命令),如果忘记执行配置相应的PATH环境变量,将导致tfa不被安装,事后安装步骤 未安装tfa现状 --/etc/inittab中只有这一条
在11.2.0.4安装rac执行root.sh之时需要在root的环境变量中指定可以直接执行unzip命令(在非Linux,Win环境下root用户默认环境变量无unzip命令),如果忘记执行配置相应的PATH环境变量,将导致tfa不被安装,事后安装步骤
未安装tfa现状
--/etc/inittab中只有这一条和gi相关
h1:2:respawn:/etc/init.ohasd run >/dev/null 2>&1 </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
使用tfa_setup.sh脚本安装
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.
提示缺少bash shell,下载相关包安装安装(系统AIX 7.1)
xifenf01/oradata/sys/soft#rpm -ivh bash-4.2-3.aix6.1.ppc.rpm bash ##################################################
重新安装tfa
安装环境: php5.2+mysql5.x 以上;Zend版本: Zend Optimizer 3.3.0 或以上版本最少配置 200M+20Mmysql;推荐配置:大于500M空间+大于50M数据库。 站长要求:网络建站初学者及更高级站长。网站管理要求:一天在线5小时左右(主要为了在线客服,邮件或电话服务可忽略),管理时间30分钟左右(做提现审核及支付处理,适当增加文章发布等)。适合环境:单独建
0
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 [options]
=
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 -help
安装tfa成功后
--/etc/inittab
h1:2:respawn:/etc/init.ohasd run >/dev/null 2>&1 /dev/null 2>&1 </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
另外一个节点安装tfa
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 [options]
=
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 -help
原文地址:11.2.0.4 GI单独安装tfa, 感谢原作者分享。
每个人都需要一台速度更快、更稳定的 PC。随着时间的推移,垃圾文件、旧注册表数据和不必要的后台进程会占用资源并降低性能。幸运的是,许多工具可以让 Windows 保持平稳运行。
Copyright 2014-2025 https://www.php.cn/ All Rights Reserved | php.cn | 湘ICP备2023035733号