标签云
asm 恢复 asm恢复 bbed bootstrap$ dul In Memory kcbzib_kcrsds_1 kccpb_sanity_check_2 kfed MySQL恢复 ORA-00312 ORA-00607 ORA-00704 ORA-01110 ORA-01555 ORA-01578 ORA-08103 ORA-600 2662 ORA-600 2663 ORA-600 3020 ORA-600 4000 ORA-600 4137 ORA-600 4193 ORA-600 4194 ORA-600 16703 ORA-600 kcbzib_kcrsds_1 ORA-600 KCLCHKBLK_4 ORA-15042 ORA-15196 ORACLE 12C oracle dul ORACLE PATCH Oracle Recovery Tools oracle加密恢复 oracle勒索 oracle勒索恢复 oracle异常恢复 ORACLE恢复 Oracle 恢复 ORACLE数据库恢复 oracle 比特币 OSD-04016 YOUR FILES ARE ENCRYPTED 勒索恢复 比特币加密文章分类
- Others (2)
- 中间件 (2)
- WebLogic (2)
- 操作系统 (100)
- 数据库 (1,597)
- DB2 (22)
- MySQL (70)
- Oracle (1,463)
- Data Guard (49)
- EXADATA (7)
- GoldenGate (21)
- ORA-xxxxx (158)
- ORACLE 12C (72)
- ORACLE 18C (6)
- ORACLE 19C (13)
- ORACLE 21C (3)
- Oracle ASM (65)
- Oracle Bug (7)
- Oracle RAC (47)
- Oracle 安全 (6)
- Oracle 开发 (27)
- Oracle 监听 (27)
- Oracle备份恢复 (530)
- Oracle安装升级 (84)
- Oracle性能优化 (62)
- 专题索引 (5)
- 勒索恢复 (75)
- PostgreSQL (17)
- PostgreSQL恢复 (5)
- SQL Server (27)
- SQL Server恢复 (8)
- TimesTen (7)
- 达梦数据库 (2)
- 生活娱乐 (2)
- 至理名言 (11)
- 虚拟化 (2)
- VMware (2)
- 软件开发 (36)
- Asp.Net (9)
- JavaScript (12)
- PHP (2)
- 小工具 (19)
-
最近发表
- Oracle 19c/21c最新patch信息-202404
- PostgreSQL恢复系列:pg_filedump批量处理
- PostgreSQL部分主要字典信息
- PostgreSQL恢复系列:pg_filedump恢复字典构造
- PostgreSQL 16 源码安装
- ORA-00742 ORA-00312 恢复
- 数据库open成功后报ORA-00353 ORA-00354错误引起的一系列问题(本质ntfs文件系统异常)
- ORA-600 ktsiseginfo1故障
- ORA-00600: internal error code, arguments: [16703], [1403], [4] 原因
- 最近遇到几起ORA-600 16703故障(tab$被清空),请引起重视
- ORA-600 2662快速恢复之Patch scn工具
- TNS-12518: TNS:listener could not hand off client connection
- ora.storage无法启动报ORA-12514故障处理
- 断电引起文件scn异常数据库恢复
- ORA-16188: LOG_ARCHIVE_CONFIG settings inconsistent with previously started instance
- .[hudsonL@cock.li].mkp勒索加密数据库完美恢复
- 模拟带库实现rman远程备份
- 又一例:ORA-600 kclchkblk_4和2662故障
- Oracle误删除数据文件恢复
- Oracle 19C 备库DML重定向—DML Redirection
标签归档:tfa
11.2.0.4 GI单独安装tfa
在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
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 <command> [options] <command> = 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 <command> -help
安装tfa成功后
--/etc/inittab h1:2:respawn:/etc/init.ohasd run >/dev/null 2>&1 </dev/null htfa:2:respawn:/etc/init.tfa run >/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 <command> [options] <command> = 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 <command> -help