当前位置: 首页 > news >正文

Oracle Trace File Analyzer 介绍及简单使用

一、什么是Oracle Trace File Analyzer
Oracle Autonomous Health Framework(AHF) 包含 Oracle ORAchk, Oracle EXAchk, and Oracle Trace File Analyzer(TFA). AHF工具包包含了Oracle常用的多种诊断工具,如 ORAchk, Oracle EXAchk, and Oracle Trace File Analyzer(TFA)等,用于Oracle健康检查等用途。

AHF的下载地址:
Autonomous Health Framework (AHF) - Including TFA and ORAchk/EXAchk (Doc ID 2550798.1)

其中Oracle跟踪文件分析器(Oracle Trace File Analyzer)以下简称tfa,是Oracle提供的一个重要的数据库诊断工具。tfa可以收集诊断数据和诊断信息,监视日志中是否存在可能影响您服务的重大问题。tfa可以标识日志文件中的相关信息,将日志文件修整为仅解决问题所需的部分,还可以跨集群节点收集数据,并将所有内容整合到一个位置。

为获得AHF工具的完整功能,建议以root用户安装;如果非root用户安装,其功能会减少。如果已安装 AHF,则重新安装会在现有位置进行升级。

二、在Linux以守护程序模式在root用户下安装
要获得Oracle Trace File Analyzer的全部功能,需要在root用户下安装tfa。tfa维护访问控制列表(ACL),以确定允许哪些用户访问。默认情况下,GRID_HOME所有者和ORACLE_HOME所有者可以访问各自的诊断信息。如果已经安装了Oracle tfa,则重新安装将升级到现有位置;如果尚未安装Oracle tfa,则推荐位置为/opt/oracle.tfa。

在root用户下执行:
2.1. 下载最新版AHF
2.1.1 使用SSO登陆Oracle Support网站
https://support.oracle.com
2.1.2检索文档ID 2550798.1,下载最新版AHF。
Autonomous Health Framework (AHF)-Including TFA and ORAchk/EXAchk (Document 2550798.1)
在这里插入图片描述
安装AHF
2.2 将压缩包上传到RAC数据库服务器其中的一台数据库服务器并解压。
Unzip AHF-LINUX_22.2.4.zip

2.2 在解压后的目录中执行AHF的安装命令。

[root@dkf19c01 soft]# unzip AHF-LINUX_v22.3.2.zip 
Archive:  AHF-LINUX_v22.3.2.zipinflating: README.txt              inflating: ahf_setup               extracting: ahf_setup.dat           inflating: oracle-tfa.pub    

具体的安装命令如下:

# ./ahf_setup -ahf_loc /opt -data_dir <ORACLE_BASE of Grid owner>
# ./ahf_setup -ahf_loc /opt -data_dir /u01/app/grid

安装过程如下:

[root@dkf19c01 soft]# ./ahf_setup -ahf_loc /opt -data_dir /u01/app/gridAHF Installer for Platform Linux Architecture x86_64AHF Installation Log : /tmp/ahf_install_223200_9921_2023_02_11-22_19_09.logStarting Autonomous Health Framework (AHF) InstallationAHF Version: 22.3.2 Build Date: 202212190711TFA is already installed at : /u01/app/19.3.0/grid/tfa/dkf19c01/tfa_homeInstalled TFA Version : 183300 Build ID : 20190315044534AHF Location : /opt/oracle.ahfAHF Data Directory : /u01/app/grid/oracle.ahf/dataShutting down TFA : /u01/app/19.3.0/grid/tfa/dkf19c01/tfa_homeCopying TFA Data Files from /u01/app/19.3.0/grid/tfa/dkf19c01/tfa_homeUninstalling TFA : /u01/app/19.3.0/grid/tfa/dkf19c01/tfa_homeDo you want to add AHF Notification Email IDs ? [Y]|N : NAHF will also be installed/upgraded on these Cluster Nodes :1. dkf19c02The AHF Location and AHF Data Directory must exist on the above nodes
AHF Location : /opt/oracle.ahf
AHF Data Directory : /u01/app/grid/oracle.ahf/dataDo you want to install/upgrade AHF on Cluster Nodes ? [Y]|N : YExtracting AHF to /opt/oracle.ahfConfiguring TFA ServicesCopying TFA Data Files to AHFDiscovering Nodes and Oracle ResourcesStarting TFA Services
Created symlink from /etc/systemd/system/multi-user.target.wants/oracle-tfa.service to /etc/systemd/system/oracle-tfa.service.
Created symlink from /etc/systemd/system/graphical.target.wants/oracle-tfa.service to /etc/systemd/system/oracle-tfa.service..-----------------------------------------------------------------------------.
| Host     | Status of TFA | PID   | Port | Version    | Build ID             |
+----------+---------------+-------+------+------------+----------------------+
| dkf19c01 | RUNNING       | 16604 | 5000 | 22.3.2.0.0 | 22320020221219071158 |
| dkf19c02 | RUNNING       |  1532 | 5000 | 18.3.3.0.0 | 18330020190315044534 |
'----------+---------------+-------+------+------------+----------------------'Running TFA Inventory...Adding default users to TFA Access list....---------------------------------------------------------------.
|                  Summary of AHF Configuration                 |
+-----------------+---------------------------------------------+
| Parameter       | Value                                       |
+-----------------+---------------------------------------------+
| AHF Location    | /opt/oracle.ahf                             |
| TFA Location    | /opt/oracle.ahf/tfa                         |
| Orachk Location | /opt/oracle.ahf/orachk                      |
| Data Directory  | /u01/app/grid/oracle.ahf/data               |
| Repository      | /u01/app/grid/oracle.ahf/data/repository    |
| Diag Directory  | /u01/app/grid/oracle.ahf/data/dkf19c01/diag |
'-----------------+---------------------------------------------'Starting Orachk Scheduler from AHFSetting up AHF CLI and SDKAHF install completed on dkf19c01Installing AHF on Remote Nodes :AHF will be installed on dkf19c02, Please wait.AHF will prompt twice to install/upgrade per Remote Node. So total 2 promptsDo you want to continue Y|[N] : YAHF will continue with Installing on remote nodesInstalling AHF on dkf19c02 :[dkf19c02] Copying AHF Installer
root@dkf19c02's password: [dkf19c02] Running AHF Installer
root@dkf19c02's password: AHF binaries are available in /opt/oracle.ahf/binAHF is successfully installedDo you want AHF to store your My Oracle Support Credentials for Automatic Upload ? Y|[N] : Moving /tmp/ahf_install_223200_9921_2023_02_11-22_19_09.log to /u01/app/grid/oracle.ahf/data/dkf19c01/diag/ahf/[root@dkf19c01 soft]# 

2.3 查询版本确认安装成功:

[root@dkf19c01 soft]# tfactl version -all
TFA Version : 223200
TFA Build ID : 20221219071158
TFA Build Label : TFA_AHF22.3_GENERIC_221219.0508
[root@dkf19c01 soft]# 

2.4 查询下tfactl 各个工具的信息如下:

[root@dkf19c02 bin]# tfactl toolstatusRunning command tfactltoolstatus on dkf19c01 ....------------------------------------------------------------------.
|                  TOOLS STATUS - HOST : dkf19c01                  |
+----------------------+--------------+--------------+-------------+
| Tool Type            | Tool         | Version      | Status      |
+----------------------+--------------+--------------+-------------+
| AHF Utilities        | alertsummary |       22.3.2 | DEPLOYED    |
|                      | calog        |       22.3.2 | DEPLOYED    |
|                      | dbglevel     |       22.3.2 | DEPLOYED    |
|                      | grep         |       22.3.2 | DEPLOYED    |
|                      | history      |       22.3.2 | DEPLOYED    |
|                      | ls           |       22.3.2 | DEPLOYED    |
|                      | managelogs   |       22.3.2 | DEPLOYED    |
|                      | menu         |       22.3.2 | DEPLOYED    |
|                      | orachk       |       22.3.2 | DEPLOYED    |
|                      | param        |       22.3.2 | DEPLOYED    |
|                      | ps           |       22.3.2 | DEPLOYED    |
|                      | pstack       |       22.3.2 | DEPLOYED    |
|                      | summary      |       22.3.2 | DEPLOYED    |
|                      | tail         |       22.3.2 | DEPLOYED    |
|                      | triage       |       22.3.2 | DEPLOYED    |
|                      | vi           |       22.3.2 | DEPLOYED    |
+----------------------+--------------+--------------+-------------+
| Development Tools    | oratop       |       14.1.2 | DEPLOYED    |
+----------------------+--------------+--------------+-------------+
| Support Tools Bundle | darda        | 2.10.0.R6036 | DEPLOYED    |
|                      | oswbb        | 22.1.0AHF    | RUNNING     |
|                      | prw          | 12.1.13.11.4 | NOT RUNNING |
'----------------------+--------------+--------------+-------------'Note :-DEPLOYED    : Installed and Available - To be configured or run interactively.NOT RUNNING : Configured and Available - Currently turned off interactively.RUNNING     : Configured and Available..------------------------------------------------------------------.
|                  TOOLS STATUS - HOST : dkf19c02                  |
+----------------------+--------------+--------------+-------------+
| Tool Type            | Tool         | Version      | Status      |
+----------------------+--------------+--------------+-------------+
| AHF Utilities        | alertsummary |       22.3.2 | DEPLOYED    |
|                      | calog        |       22.3.2 | DEPLOYED    |
|                      | dbglevel     |       22.3.2 | DEPLOYED    |
|                      | grep         |       22.3.2 | DEPLOYED    |
|                      | history      |       22.3.2 | DEPLOYED    |
|                      | ls           |       22.3.2 | DEPLOYED    |
|                      | managelogs   |       22.3.2 | DEPLOYED    |
|                      | menu         |       22.3.2 | DEPLOYED    |
|                      | orachk       |       22.3.2 | DEPLOYED    |
|                      | param        |       22.3.2 | DEPLOYED    |
|                      | ps           |       22.3.2 | DEPLOYED    |
|                      | pstack       |       22.3.2 | DEPLOYED    |
|                      | summary      |       22.3.2 | DEPLOYED    |
|                      | tail         |       22.3.2 | DEPLOYED    |
|                      | triage       |       22.3.2 | DEPLOYED    |
|                      | vi           |       22.3.2 | DEPLOYED    |
+----------------------+--------------+--------------+-------------+
| Development Tools    | oratop       |       14.1.2 | DEPLOYED    |
+----------------------+--------------+--------------+-------------+
| Support Tools Bundle | darda        | 2.10.0.R6036 | DEPLOYED    |
|                      | oswbb        | 22.1.0AHF    | RUNNING     |
|                      | prw          | 12.1.13.11.4 | NOT RUNNING |
'----------------------+--------------+--------------+-------------'Note :-DEPLOYED    : Installed and Available - To be configured or run interactively.NOT RUNNING : Configured and Available - Currently turned off interactively.RUNNING     : Configured and Available.[root@dkf19c02 bin]# 

三、 执行TFA进行巡检:

Run a Oracle Trace File Analyzer (TFA) Collection
With the installation complete we can use the tfactl command to perform a number of collections, including TFA Service Request Data Collections (SRDC). There are a large number of SRDC collection types, with each gathering different information, as described here.Here are a few examples.cd /opt/oracle.ahf/tfa/bin/# Gather diagnostic information about TFA itself.
./tfactl diagnosetfa -local# Gather information about errors. You are prompted to select a specific incident.
./tfactl diagcollect -srdc ORA-00600
./tfactl diagcollect -srdc ORA-07445# Collect data for all components for a specific time period.
./tfactl diagcollect -from "2022-06-16 13:00:00" -to "2022-06-16 13:00:00"# Collect data for all components for the last 12 hours.
./tfactl diagcollect
Each TFA collection produces a single zip file that can be uploaded to My Oracle Support (MOS), as described below.

使用orachk工具进行RAC集群的健康巡检:

[root@dkf19c02 ~]# orachkClusterware stack is running from /u01/app/19.3.0/grid. Is this the correct Clusterware Home?[y/n][y] Searching for running databases . . . . .
.  .  
List of running databases registered in OCR1. dkf19c
2. None of aboveSelect databases from list for checking best practices. For multiple databases, select 1 for All or comma separated number like 1,2 etc [1-2][1]. 
.  .  .  .  .  .  Either Cluster Verification Utility pack (cvupack) does not exist at /opt/oracle.ahf/common/cvu or it is an old or invalid cvupackChecking Cluster Verification Utility (CVU) version at CRS Home - /u01/app/19.3.0/gridThis version of Cluster Verification Utility (CVU) was released on 13-Mar-2019 and it is older than 180 days. It is highly recommended that you download the latest version of CVU from MOS patch 30839369 to ensure the highest level of accuracy of the data contained within the reportDo you want to download latest version of Cluster Verification Utility (CVU) from my oracle support? [y/n] [y] nRunning older version of Cluster Verification Utility (CVU) from CRS Home - /u01/app/19.3.0/gridStarting to run orachk in background on dkf19c01 using socket
.  
.  .  .  .
.  .  Checking Status of Oracle Software Stack - Clusterware, ASM, RDBMS on dkf19c02
.  .  . . . .  
.  .  . . . .  .  .  .  .  .  .  .  
-------------------------------------------------------------------------------------------------------Oracle Stack Status                          
-------------------------------------------------------------------------------------------------------Host Name       CRS Installed  RDBMS Installed    CRS UP    ASM UP  RDBMS UP    DB Instance Name
-------------------------------------------------------------------------------------------------------dkf19c02                   Yes          Yes          Yes      Yes      Yes             dkf19c2
-------------------------------------------------------------------------------------------------------
. 
.  .  .  .  .  .  
. 
. 
. 
.  
. *** Checking Best Practice Recommendations ( Pass / Warning / Fail ) ***
.  
============================================================Node name - dkf19c02
============================================================
. . . . . . Collecting - ASM Disk GroupsCollecting - ASM Disk I/O statsCollecting - ASM Diskgroup AttributesCollecting - ASM disk partnership imbalanceCollecting - ASM diskgroup attributesCollecting - ASM diskgroup usable free spaceCollecting - ASM initialization parametersCollecting - Active sessions load balance for dkf19c databaseCollecting - Archived Destination Status for dkf19c databaseCollecting - Cluster Interconnect Config for dkf19c databaseCollecting - Database Archive Destinations for dkf19c databaseCollecting - Database Files for dkf19c databaseCollecting - Database Instance Settings for dkf19c databaseCollecting - Database Parameters for dkf19c databaseCollecting - Database Properties for dkf19c databaseCollecting - Database Registry for dkf19c databaseCollecting - Database Sequences for dkf19c databaseCollecting - Database Undocumented Parameters for dkf19c databaseCollecting - Database Undocumented Parameters for dkf19c databaseCollecting - Database Workload Services for dkf19c databaseCollecting - Dataguard Status for dkf19c databaseCollecting - Files not opened by ASMCollecting - List of active logon and logoff triggers for dkf19c databaseCollecting - Log Sequence Numbers for dkf19c databaseCollecting - Percentage of asm disk  ImbalanceCollecting - Process for shipping Redo to standby for dkf19c databaseCollecting - Redo Log information for dkf19c databaseCollecting - Standby redo log creation status before switchover for dkf19c databaseCollecting - /proc/cmdlineCollecting - /proc/modulesCollecting - CPU InformationCollecting - CRS active versionCollecting - CRS oifcfgCollecting - CRS software versionCollecting - CSS Reboot timeCollecting - Cluster interconnect (clusterware)Collecting - Clusterware OCR healthcheckCollecting - Clusterware Resource StatusCollecting - Disk I/O Scheduler on LinuxCollecting - DiskFree InformationCollecting - DiskMount InformationCollecting - Huge pages configurationCollecting - Interconnect network card speedCollecting - Kernel parametersCollecting - Linux module config.Collecting - Maximum number of semaphore sets on systemCollecting - Maximum number of semaphores on systemCollecting - Maximum number of semaphores per semaphore setCollecting - Memory InformationCollecting - NUMA ConfigurationCollecting - Network Interface ConfigurationCollecting - Network PerformanceCollecting - Network Service SwitchCollecting - OS PackagesCollecting - OS versionCollecting - Operating system release information and kernel versionCollecting - Oracle executable attributesCollecting - Patches for Grid InfrastructureCollecting - Patches for RDBMS HomeCollecting - RDBMS and GRID software owner UID across clusterCollecting - RDBMS patch inventoryCollecting - Shared memory segmentsCollecting - Table of file system defaultsCollecting - Voting disks (clusterware)Collecting - number of semaphore operations per semop system callCollecting - CHMAnalyzer to report potential Operating system resources usageCollecting - CRS Opatch versionCollecting - CRS user time zone checkCollecting - Clusterware patch inventoryCollecting - Custom rc init scripts (rc.local)Collecting - Disk InformationCollecting - Grid Infastructure user shell limits configurationCollecting - Interconnect interface configCollecting - Linux system service and RAC process configurationCollecting - Network interface statsCollecting - Root user limitsCollecting - Verify ORAchk scheduler configurationCollecting - Verify TCP Selective Acknowledgement is enabledCollecting - Verify no database server kernel out of memory errorsCollecting - Verify the vm.min_free_kbytes configurationCollecting - root time zone checkCollecting - slabinfoCollecting - umask setting for GI ownerData collections completed. Checking best practices on dkf19c02.
------------------------------------------------------------INFO =>     Important Automatic Storage Management (ASM) Notes and Technical White PapersINFO =>     Oracle Data Pump Best practices.WARNING =>  Linux swap configuration does not meet recommendationWARNING =>  Hidden database initialization parameters should not be set per best practice recommendations for dkf19cINFO =>     Most recent ADR incidents for /u01/app/oracle/product/19.3.0/dbhome_1INFO =>     Oracle GoldenGate failure prevention best practicesWARNING =>  One or more open PDBs have failed service verification checks for dkf19cWARNING =>  OCR and OCR backup locations are the same pathFAIL =>     The vm.min_free_kbytes configuration is not set as recommendedCRITICAL => The RMAN snapshot control file location is not shared on all database nodes in the cluster for dkf19cCRITICAL => Temporary location is not configured for auto cleanupINFO =>     Important Storage Minimum Requirements for Grid & Database HomesWARNING =>  NIC bonding is not configured for interconnectWARNING =>  NIC bonding is NOT configured for public network (VIP)WARNING =>  RAC interconnect network card speed does not meet recommendationFAIL =>     system service rngd is not runningINFO =>     Jumbo frames (MTU >= 9000) are not configured for interconnectWARNING =>  All disk groups should have compatible.rdbms attribute set to recommended valuesWARNING =>  All disk groups should have compatible.advm attribute set to recommended valuesFAIL =>     One or more log archive destination and alternate log archive destination settings are not as recommended for dkf19cWARNING =>  Database home does not fix for bug 30937410 /u01/app/oracle/product/19.3.0/dbhome_1FAIL =>     Database parameter DB_LOST_WRITE_PROTECT is not set to recommended value on dkf19c2 instanceFAIL =>     Database parameter DB_BLOCK_CHECKING on primary is not set to the recommended value. for dkf19cWARNING =>  Oracle patch 30786641 is not applied on RDBMS_HOME /u01/app/oracle/product/19.3.0/dbhome_1INFO =>     Operational Best PracticesINFO =>     Database Consolidation Best PracticesINFO =>     Computer failure prevention best practicesINFO =>     Data corruption prevention best practicesINFO =>     Logical corruption prevention best practicesINFO =>     Database/Cluster/Site failure prevention best practicesINFO =>     Client failover operational best practicesWARNING =>  fast_start_mttr_target should be greater than or equal to 300 on dkf19c2 instanceWARNING =>  Oracle patch 30712670 is not applied on RDBMS_HOME /u01/app/oracle/product/19.3.0/dbhome_1WARNING =>  Oracle patch 29423227 is not applied on RDBMS_HOME /u01/app/oracle/product/19.3.0/dbhome_1WARNING =>  Oracle patch 31031240 is not applied on RDBMS_HOME /u01/app/oracle/product/19.3.0/dbhome_1WARNING =>  Oracle patch 29867728 is not applied on RDBMS_HOME /u01/app/oracle/product/19.3.0/dbhome_1WARNING =>  Oracle patch 31142749 is not applied on RDBMS_HOME /u01/app/oracle/product/19.3.0/dbhome_1WARNING =>  Oracle patch 26749785 is not applied on RDBMS_HOME /u01/app/oracle/product/19.3.0/dbhome_1WARNING =>  Oracle patch 29302565 is not applied on RDBMS_HOME /u01/app/oracle/product/19.3.0/dbhome_1WARNING =>  Oracle patch 29259068 is not applied on RDBMS_HOME /u01/app/oracle/product/19.3.0/dbhome_1INFO =>     Information about hanganalyze and systemstate dumpFAIL =>     Database control files are not configured as recommended for dkf19cWARNING =>  Oracle patch 28907129 is not applied on RDBMS_HOME /u01/app/oracle/product/19.3.0/dbhome_1INFO =>     Database failure prevention best practicesFAIL =>     ASM Credentials are NOT set correctly.WARNING =>  Perl Patch 33912872 is not found in 19c RDBMS_HOME. /u01/app/oracle/product/19.3.0/dbhome_1WARNING =>  Perl Patch 33912872 is not found in 19c CRS_HOME. /u01/app/19.3.0/gridWARNING =>  Oracle patch 32043701 is not applied on RDBMS_HOME /u01/app/oracle/product/19.3.0/dbhome_1WARNING =>  Oracle patch 31602782 is not applied on RDBMS_HOME /u01/app/oracle/product/19.3.0/dbhome_1WARNING =>  Oracle patch 33121934 is not applied on RDBMS_HOME /u01/app/oracle/product/19.3.0/dbhome_1WARNING =>  Oracle patch 33025005 is not applied on RDBMS_HOME /u01/app/oracle/product/19.3.0/dbhome_1WARNING =>  Oracle patch 32103628 is not applied on RDBMS_HOME /u01/app/oracle/product/19.3.0/dbhome_1WARNING =>  Oracle patch 31211220 is not applied on RDBMS_HOME /u01/app/oracle/product/19.3.0/dbhome_1INFO =>     The Optimizer fixes for 19c database version is disabled by default for bugs with status value 0 for dkf19cINFO =>     Software maintenance best practicesINFO =>     Oracle recovery manager(rman) best practicesWARNING =>  Linux Disk I/O Scheduler should be configured to DeadlineWARNING =>  There exists one or more underscore parameters without a comment for dkf19cWaiting for orachk to finish on remote nodes . . . . . . . . . . . . . . . . Copying results from dkf19c01 and generating report. This might take a while. Be patient.============================================================Node name - dkf19c01
============================================================
. . . . . . Collecting - ASM Disk GroupsCollecting - ASM Disk I/O statsCollecting - ASM Diskgroup AttributesCollecting - ASM disk partnership imbalanceCollecting - ASM diskgroup attributesCollecting - ASM diskgroup usable free spaceCollecting - ASM initialization parametersCollecting - Active sessions load balance for dkf19c databaseCollecting - Archived Destination Status for dkf19c databaseCollecting - Cluster Interconnect Config for dkf19c databaseCollecting - Database Archive Destinations for dkf19c databaseCollecting - Database Files for dkf19c databaseCollecting - Database Instance Settings for dkf19c databaseCollecting - Database Parameters for dkf19c databaseCollecting - Database Properties for dkf19c databaseCollecting - Database Registry for dkf19c databaseCollecting - Database Sequences for dkf19c databaseCollecting - Database Undocumented Parameters for dkf19c databaseCollecting - Database Undocumented Parameters for dkf19c databaseCollecting - Database Workload Services for dkf19c databaseCollecting - Dataguard Status for dkf19c databaseCollecting - Files not opened by ASMCollecting - List of active logon and logoff triggers for dkf19c databaseCollecting - Log Sequence Numbers for dkf19c databaseCollecting - Percentage of asm disk  ImbalanceCollecting - Process for shipping Redo to standby for dkf19c databaseCollecting - Redo Log information for dkf19c databaseCollecting - Standby redo log creation status before switchover for dkf19c databaseCollecting - /proc/cmdlineCollecting - /proc/modulesCollecting - CPU InformationCollecting - CRS active versionCollecting - CRS oifcfgCollecting - CRS software versionCollecting - Cluster interconnect (clusterware)Collecting - Disk I/O Scheduler on LinuxCollecting - DiskFree InformationCollecting - DiskMount InformationCollecting - Huge pages configurationCollecting - Interconnect network card speedCollecting - Kernel parametersCollecting - Linux module config.Collecting - Maximum number of semaphore sets on systemCollecting - Maximum number of semaphores on systemCollecting - Maximum number of semaphores per semaphore setCollecting - Memory InformationCollecting - NUMA ConfigurationCollecting - Network Interface ConfigurationCollecting - Network PerformanceCollecting - Network Service SwitchCollecting - OS PackagesCollecting - OS versionCollecting - Operating system release information and kernel versionCollecting - Oracle executable attributesCollecting - Patches for Grid InfrastructureCollecting - Patches for RDBMS HomeCollecting - RDBMS and GRID software owner UID across clusterCollecting - RDBMS patch inventoryCollecting - Shared memory segmentsCollecting - Table of file system defaultsCollecting - number of semaphore operations per semop system callData collections completed. Checking best practices on dkf19c01.
------------------------------------------------------------WARNING =>  Linux swap configuration does not meet recommendationWARNING =>  Hidden database initialization parameters should not be set per best practice recommendations for dkf19cINFO =>     Most recent ADR incidents for /u01/app/oracle/product/19.3.0/dbhome_1INFO =>     Oracle GoldenGate failure prevention best practicesWARNING =>  One or more open PDBs have failed service verification checks for dkf19cWARNING =>  OCR and OCR backup locations are the same pathFAIL =>     The vm.min_free_kbytes configuration is not set as recommendedWARNING =>  ARCHIVELOG mode is disabled for dkf19cCRITICAL => The RMAN snapshot control file location is not shared on all database nodes in the cluster for dkf19cINFO =>     At some times checkpoints are not being completed for dkf19cWARNING =>  Some user sessions lack proper failover mode (BASIC) and method (SELECT) for dkf19cCRITICAL => Temporary location is not configured for auto cleanupWARNING =>  Controlfile is not multiplexed for dkf19cWARNING =>  One or more redo log groups are not multiplexed for dkf19cWARNING =>  Primary database is not protected with Data Guard (standby database) for real-time data protection and availability for dkf19cWARNING =>  Flashback on PRIMARY is not configured for dkf19cINFO =>     Important Storage Minimum Requirements for Grid & Database HomesWARNING =>  NIC bonding is not configured for interconnectWARNING =>  NIC bonding is NOT configured for public network (VIP)WARNING =>  RAC interconnect network card speed does not meet recommendationFAIL =>     system service rngd is not runningINFO =>     Jumbo frames (MTU >= 9000) are not configured for interconnectFAIL =>     One or more log archive destination and alternate log archive destination settings are not as recommended for dkf19cFAIL =>     Table AUD$[FGA_LOG$] should use Automatic Segment Space Management for dkf19cWARNING =>  Database home does not fix for bug 30937410 /u01/app/oracle/product/19.3.0/dbhome_1FAIL =>     Database parameter DB_LOST_WRITE_PROTECT is not set to recommended value on dkf19c1 instanceFAIL =>     Database parameter DB_BLOCK_CHECKING on primary is not set to the recommended value. for dkf19cWARNING =>  Oracle patch 30786641 is not applied on RDBMS_HOME /u01/app/oracle/product/19.3.0/dbhome_1WARNING =>  fast_start_mttr_target should be greater than or equal to 300 on dkf19c1 instanceWARNING =>  Oracle patch 30712670 is not applied on RDBMS_HOME /u01/app/oracle/product/19.3.0/dbhome_1WARNING =>  Oracle patch 29423227 is not applied on RDBMS_HOME /u01/app/oracle/product/19.3.0/dbhome_1WARNING =>  Oracle patch 31031240 is not applied on RDBMS_HOME /u01/app/oracle/product/19.3.0/dbhome_1WARNING =>  Oracle patch 29867728 is not applied on RDBMS_HOME /u01/app/oracle/product/19.3.0/dbhome_1WARNING =>  Oracle patch 31142749 is not applied on RDBMS_HOME /u01/app/oracle/product/19.3.0/dbhome_1WARNING =>  Oracle patch 26749785 is not applied on RDBMS_HOME /u01/app/oracle/product/19.3.0/dbhome_1WARNING =>  Oracle patch 29302565 is not applied on RDBMS_HOME /u01/app/oracle/product/19.3.0/dbhome_1WARNING =>  Oracle patch 29259068 is not applied on RDBMS_HOME /u01/app/oracle/product/19.3.0/dbhome_1FAIL =>     Database control files are not configured as recommended for dkf19cWARNING =>  Oracle patch 28907129 is not applied on RDBMS_HOME /u01/app/oracle/product/19.3.0/dbhome_1WARNING =>  One or more read/write errors found for ASM disks for dkf19cWARNING =>  Database Archivelog Mode should be set to ARCHIVELOG for dkf19cWARNING =>  Perl Patch 33912872 is not found in 19c RDBMS_HOME. /u01/app/oracle/product/19.3.0/dbhome_1WARNING =>  Perl Patch 33912872 is not found in 19c CRS_HOME. /u01/app/19.3.0/gridWARNING =>  Oracle patch 32043701 is not applied on RDBMS_HOME /u01/app/oracle/product/19.3.0/dbhome_1WARNING =>  Oracle patch 31602782 is not applied on RDBMS_HOME /u01/app/oracle/product/19.3.0/dbhome_1WARNING =>  Oracle patch 33121934 is not applied on RDBMS_HOME /u01/app/oracle/product/19.3.0/dbhome_1WARNING =>  Oracle patch 33025005 is not applied on RDBMS_HOME /u01/app/oracle/product/19.3.0/dbhome_1WARNING =>  Oracle patch 32103628 is not applied on RDBMS_HOME /u01/app/oracle/product/19.3.0/dbhome_1WARNING =>  Oracle patch 31211220 is not applied on RDBMS_HOME /u01/app/oracle/product/19.3.0/dbhome_1INFO =>     The Optimizer fixes for 19c database version is disabled by default for bugs with status value 0 for dkf19cINFO =>     Database feature usage statistics for dkf19cWARNING =>  Linux Disk I/O Scheduler should be configured to DeadlineWARNING =>  There exists one or more underscore parameters without a comment for dkf19cWARNING =>  Consider investigating changes to the schema objects such as DDLs or new object creation for dkf19cWARNING =>  Consider investigating the frequency of SGA resize operations and take corrective action for dkf19c------------------------------------------------------------CLUSTERWIDE CHECKS
------------------------------------------------------------INFO =>     Information about the impact of CPU contention on database instance performance is available.
------------------------------------------------------------UPLOAD [if required] - /u01/app/grid/oracle.ahf/data/dkf19c02/orachk/user_root/output/orachk_dkf19c02_dkf19c_021223_175034.zip[root@dkf19c02 ~]# 

=======================================================

相关文章:

Oracle Trace File Analyzer 介绍及简单使用

一、什么是Oracle Trace File Analyzer Oracle Autonomous Health Framework(AHF) 包含 Oracle ORAchk, Oracle EXAchk, and Oracle Trace File Analyzer(TFA). AHF工具包包含了Oracle常用的多种诊断工具&#xff0c;如 ORAchk, Oracle EXAchk, and Oracle Trace File Analyzer…...

面试实战篇 | 快手本地生活,结合项目谈Redis实战项目场景?MySQL InnoDB存储引擎如何工作的?策略模式?

本期是【你好&#xff0c;面试官】系列文章的第21期&#xff0c;持续更新中…。 《你好&#xff0c;面试官》系列目前已经连载20篇了&#xff0c;据说看了这个系列的朋友都拿到了大厂offer~ 你好&#xff0c;面试官 | 你真的理解面向 “对象”&#xff1f;你好&#xff0c;面…...

Hadoop之——WordCount案例与执行本地jar包

目录 一、WordCount代码 (一)WordCount简介 1.wordcount.txt (二)WordCount的java代码 1.WordCountMapper 2.WordCountReduce 3.WordCountDriver (三)IDEA运行结果 (四)Hadoop运行wordcount 1.在HDFS上新建一个文件目录 2.新建一个文件&#xff0c;并上传至该目录下…...

利用git reflog 命令来查看历史提交记录,并使用提交记录恢复已经被删除掉的分支

一.问题描述 当我们在操作中手误删除了某个分支&#xff0c;那该分支中提交的内容也没有了&#xff0c;我们可以利用git reflog这个命令来查看历史提交的记录从而恢复被删除的分支和提交的内容 二.模拟问题 1.创建git仓库&#xff0c;并提交一个文件 [rootcentos7-temp /da…...

【软件测试】大厂测试开发你真的了解吗?测试开发养成记......

目录&#xff1a;导读前言一、Python编程入门到精通二、接口自动化项目实战三、Web自动化项目实战四、App自动化项目实战五、一线大厂简历六、测试开发DevOps体系七、常用自动化测试工具八、JMeter性能测试九、总结&#xff08;尾部小惊喜&#xff09;前言 在一些大公司里&…...

Redis中的hash结构和扩容机制

1.rehash原理 hash包含两个数据结构为字典数组ht[0]和ht[1]。其中ht[0]用来存放数据&#xff0c;ht[1]在rehash时使用。 扩容时&#xff0c;ht[1]的大小为第一个大于等于ht[0].used*2的2的幂次方的数&#xff1b; 收缩时&#xff0c;ht[1]的大小为第一个大于等于ht[0].used的…...

【C++奇技淫巧】前置自增与后置自增的区别(++i,i++)【2023.02.08】

简介 先说i和i的区别&#xff0c;判断语句中if(i)是拿i的值先判断&#xff0c;而后自增&#xff1b;if(i)是先自增i再进行判断。涉及到左值与右值也有点区别&#xff0c;i返回的是右值&#xff0c;i返回的是左值。也就是下面的代码要解释的东西。 #include <iostream>i…...

实战打靶集锦-005-HL

**写在前面&#xff1a;**记录一次曲折的打靶经历。 目录1. 主机发现2. 端口扫描3. 服务枚举4. 服务探查4.1 浏览器访问4.2 目录枚举4.3 探查admin4.4 探查index4.5 探查login5 公共EXP搜索6. 再次目录枚举6.1 探查superadmin.php6.2 查看页面源代码6.3 base64绕过6.4 构建反弹…...

铁路系统各专业介绍(车机工电辆)

目录 1 车务段 1.1 职能简介 1.2 路段名单 1.3 岗位级别 2 机务段 2.1 职能简介 2.2 路段名单 2.3 岗位级别 3 工务段 3.1 职能简介 3.2 路段名单 3.3 岗位级别 4 电务段 4.1 职能简介 4.2 路段名单 4.3 岗位级别 5 车辆段 5.1 职能简介 5.2 路段名单 5.3 …...

2/11考试总结

时间安排 7:30–7:50 读题&#xff0c;T1貌似是个 dp &#xff0c;T2 数据结构&#xff0c;T3 可能是数据结构。 7:50–9:45 T1&#xff0c;点规模非常大&#xff0c;可以达到 1e18 级别&#xff0c;感觉应该没法直接做&#xff0c;考虑每条新增的边的贡献&#xff0c;想到用 …...

Java Set集合

7 Set集合 7.1 Set集合的概述和特点 Set集合的特点 不包含重复元素的集合没有带索引的方法&#xff0c;所以不能使用普通for循环 Set集合是接口通过实现类实例化&#xff08;多态的形式&#xff09; HashSet&#xff1a;添加的元素是无序&#xff0c;不重复&#xff0c;无索引…...

【手写 Vuex 源码】第七篇 - Vuex 的模块安装

一&#xff0c;前言 上一篇&#xff0c;主要介绍了 Vuex 模块收集的实现&#xff0c;主要涉及以下几个点&#xff1a; Vuex 模块的概念&#xff1b;Vuex 模块和命名空间的使用&#xff1b;Vuex 模块收集的实现-构建“模块树”&#xff1b; 本篇&#xff0c;继续介绍 Vuex 模…...

EOC第六章《块与中枢派发》

文章目录第37条&#xff1a;理解block这一概念第38条&#xff1a;为常用的块类型创建typedef第39条&#xff1a;用handler块降低代码分散程度第41条&#xff1a;多用派发队列&#xff0c;少用同步锁方案一&#xff1a;使用串行同步队列来将读写操作都安排到同一个队列里&#x…...

八、Git远程仓库操作——跨团队成员的协作

前言 前面一篇博文介绍了git团队成员之间的协作&#xff0c;现在在介绍下如果是跨团队成员的话&#xff0c;如何协作&#xff1f; 跨团队成员协作&#xff0c;其实就是你不属于那个项目的成员&#xff0c;你没有权限向那个仓库提交代码。但是github还有另一种 pull request&a…...

算法刷题打卡第88天:字母板上的路径

字母板上的路径 难度&#xff1a;中等 我们从一块字母板上的位置 (0, 0) 出发&#xff0c;该坐标对应的字符为 board[0][0]。 在本题里&#xff0c;字母板为board ["abcde", "fghij", "klmno", "pqrst", "uvwxy", "…...

UVa The Morning after Halloween 万圣节后的早晨 双向BFS

题目链接&#xff1a;The Morning after Halloween 题目描述&#xff1a; 给定一个二维矩阵&#xff0c;图中有障碍物和字母&#xff0c;你需要把小写字母移动到对应的大写字母位置&#xff0c;不同的小写字母可以同时移动&#xff08;上下左右四个方向或者保持不动 &#xff0…...

Connext DDS属性配置参考大全(3)

Transport传输dds.participant.logging.time_based_logging.process_received_messagedds.participant.logging.time_based_logging.process_received_message.timeout...

Docker-安装Jenkins-使用jenkins发版Java项目

文章目录0.前言环境背景1.操作流程1.1前期准备工作1.1.1环境变量的配置1.2使用流水线的方式进行发版1.2.1新建流水线任务1.2.2流水线操作工具tools步骤stages步骤1:拉取代码编译步骤2:发送文件并启动0.前言 学海无涯&#xff0c;旅“途”漫漫&#xff0c;“途”中小记&#xff…...

spring 中的 Bean 是否线程安全

文章目录结论1、spring中的Bean从哪里来&#xff1f;2、spring中什么样的Bean存在线程安全问题&#xff1f;3、如何处理spring Bean的线程安全问题&#xff1f;结论 其实&#xff0c;Spring 中的 Bean 是否线程安全&#xff0c;其实跟 Spring 容器本身无关。Spring框架中没有提…...

微电网两阶段鲁棒优化经济调度方法[3]【升级优化版本】(Matlab代码实现)

&#x1f4a5;&#x1f4a5;&#x1f4a5;&#x1f49e;&#x1f49e;&#x1f49e;欢迎来到本博客❤️❤️❤️&#x1f4a5;&#x1f4a5;&#x1f4a5; &#x1f3c6;博主优势&#xff1a;&#x1f31e;&#x1f31e;&#x1f31e;博客内容尽量做到思维缜密&#xff0c;逻辑…...

Vim 调用外部命令学习笔记

Vim 外部命令集成完全指南 文章目录 Vim 外部命令集成完全指南核心概念理解命令语法解析语法对比 常用外部命令详解文本排序与去重文本筛选与搜索高级 grep 搜索技巧文本替换与编辑字符处理高级文本处理编程语言处理其他实用命令 范围操作示例指定行范围处理复合命令示例 实用技…...

Oracle查询表空间大小

1 查询数据库中所有的表空间以及表空间所占空间的大小 SELECTtablespace_name,sum( bytes ) / 1024 / 1024 FROMdba_data_files GROUP BYtablespace_name; 2 Oracle查询表空间大小及每个表所占空间的大小 SELECTtablespace_name,file_id,file_name,round( bytes / ( 1024 …...

在HarmonyOS ArkTS ArkUI-X 5.0及以上版本中,手势开发全攻略:

在 HarmonyOS 应用开发中&#xff0c;手势交互是连接用户与设备的核心纽带。ArkTS 框架提供了丰富的手势处理能力&#xff0c;既支持点击、长按、拖拽等基础单一手势的精细控制&#xff0c;也能通过多种绑定策略解决父子组件的手势竞争问题。本文将结合官方开发文档&#xff0c…...

CentOS下的分布式内存计算Spark环境部署

一、Spark 核心架构与应用场景 1.1 分布式计算引擎的核心优势 Spark 是基于内存的分布式计算框架&#xff0c;相比 MapReduce 具有以下核心优势&#xff1a; 内存计算&#xff1a;数据可常驻内存&#xff0c;迭代计算性能提升 10-100 倍&#xff08;文档段落&#xff1a;3-79…...

2021-03-15 iview一些问题

1.iview 在使用tree组件时&#xff0c;发现没有set类的方法&#xff0c;只有get&#xff0c;那么要改变tree值&#xff0c;只能遍历treeData&#xff0c;递归修改treeData的checked&#xff0c;发现无法更改&#xff0c;原因在于check模式下&#xff0c;子元素的勾选状态跟父节…...

Unit 1 深度强化学习简介

Deep RL Course ——Unit 1 Introduction 从理论和实践层面深入学习深度强化学习。学会使用知名的深度强化学习库&#xff0c;例如 Stable Baselines3、RL Baselines3 Zoo、Sample Factory 和 CleanRL。在独特的环境中训练智能体&#xff0c;比如 SnowballFight、Huggy the Do…...

Map相关知识

数据结构 二叉树 二叉树&#xff0c;顾名思义&#xff0c;每个节点最多有两个“叉”&#xff0c;也就是两个子节点&#xff0c;分别是左子 节点和右子节点。不过&#xff0c;二叉树并不要求每个节点都有两个子节点&#xff0c;有的节点只 有左子节点&#xff0c;有的节点只有…...

有限自动机到正规文法转换器v1.0

1 项目简介 这是一个功能强大的有限自动机&#xff08;Finite Automaton, FA&#xff09;到正规文法&#xff08;Regular Grammar&#xff09;转换器&#xff0c;它配备了一个直观且完整的图形用户界面&#xff0c;使用户能够轻松地进行操作和观察。该程序基于编译原理中的经典…...

Mobile ALOHA全身模仿学习

一、题目 Mobile ALOHA&#xff1a;通过低成本全身远程操作学习双手移动操作 传统模仿学习&#xff08;Imitation Learning&#xff09;缺点&#xff1a;聚焦与桌面操作&#xff0c;缺乏通用任务所需的移动性和灵活性 本论文优点&#xff1a;&#xff08;1&#xff09;在ALOHA…...

安宝特方案丨船舶智造的“AR+AI+作业标准化管理解决方案”(装配)

船舶制造装配管理现状&#xff1a;装配工作依赖人工经验&#xff0c;装配工人凭借长期实践积累的操作技巧完成零部件组装。企业通常制定了装配作业指导书&#xff0c;但在实际执行中&#xff0c;工人对指导书的理解和遵循程度参差不齐。 船舶装配过程中的挑战与需求 挑战 (1…...