EMDIAG Agtvfy 10g and 11g Kit - Download and Install (Doc ID 1210814.1)
EMDIAG Agtvfy 10g and 11g Kit - Download and Install (Doc ID 1210814.1)
In this Document
Purpose |
Scope |
Details |
Download and Install the EMDIAG AGTVFY Kit |
Windows ONLY: Setup the EMDIAG AGTVFY Kit |
Check the installation of the EMDIAG AGTVFY kit |
Tips and Tricks for using AGTVFY |
References |
Applies to:
Enterprise Manager Base Platform - Version 10.1.0.2 to 11.1.0.1 [Release 10.1 to 11.1]
Information in this document applies to any platform.
Purpose
Provide general instructions on how to Install, Upgrade or Deinstall the EMDiag agtvfy 10g and 11g Kit.
This EMDIAG agtvfy Kit cannot be used with a Cloud Control 12c agent.
A specific release of the EMDIAG agtvfy Kit has been developed for the Cloud Control agent.
Please consult the note:
Document 1374441.1 - EMDIAG Agtvfy 12c Kit - Download and Install
Scope
The EMDIAG AGTVFY kit is designed to assist in the diagnosis and correction of the Grid Control Management Agent 10g and 11g, the DB Control Agent 10g and 11g and the AS Control Agent issues.
Details
Download and Install the EMDIAG AGTVFY Kit
- Download the EMDIAG AGTVFY kit Release 2013.0315 from here
-
Extract the ZIP file in a directory or sub-directory emdiag or EMDIAG
IMPORTANT: The EMDIAG AGTVFY kit may fail to run some commands if installed in a directory or sub-directory name different than emdiag or EMDIAG.
Example: $ORACLE_BASE/agtvfy or $ORACLE_BASE/emdiag/agtvfy.
In that case you will need to set the environment variable EMDIAG_HOME before running any agtvfy command.
If you have multiple Grid Control or DB Control Management Agents installed on the same host and in one or several ORACLE_HOMEs, you do not need to install the EMDIAG AGTVFY kit several times. Agtvfy will check the current ORACLE_HOME (and ORACLE_SID for a DB Control Agent) to run the appropriate commands against the correct Management Agent.
So we highly recommend that you unzip the EMDIAG AGTVFY kit in the directory $ORACLE_BASE/emdiag or $ORACLE_BASE/EMDIAG.
Windows ONLY: Setup the EMDIAG AGTVFY Kit
-
Change the pointer to the Grid Control or DB Control Agent
The agtvfy.bat file has a hardcoded pointer to the ORACLE_HOME environment variable. This is the 'fallback' value in case nothing is found in the environment when the tool is launched.
To change this value: - Edit the file EMDIAG_HOME/bin/agtvfy.bat
-
Change:
IF NOT DEFINED ORACLE_HOME (SET OH=C:\ORA\agent10g)
Into:IF NOT DEFINED ORACLE_HOME (SET OH=)
Example:
IF NOT DEFINED ORACLE_HOME (SET OH=c:\app\oracle\product\agent10g) -
Determine the location of the PERL binaries EMPERLOHBIN
Check the directory %ORACLE_HOME\perl directory
If this directory contains a sub directory with the version of PERL (Example 5.8.3)
The location of the perl binaries will be either:
- perl\5.8.3\bin\MSWin32-x86
or
- perl\5.8.3\bin\MSWin32-x86-multi-thread
If this directory does not contains a sub directory with the version of PERL
The location of the perl binaries will be perl\bin
The directory %ORACLE_HOME%\must exist -
Determine the version of PERL
cd to the %ORACLE_HOME%\determined in the previous step
execute the command:
C> perl -version
This is perl, v5.10.0 built for MSWin32-x86-multi-thread -
Create the file %ORACLE_HOME%\bin\commonenv.bat with the following content if it does not exist:
Example of commonenv.bat content for the Grid Control Agent
set EMPERLVER=5.8.3
set EMPERLOHBIN=perl\5.8.3\bin\MSWin32-x86
Example of commonenv.bat content for the DB Control 11.1.0.x Agent
set EMPERLVER=5.8.3
set EMPERLOHBIN=perl\5.8.3\bin\MSWin32-x86-multi-thread
Example of commonenv.bat content for the DB Control 11.2.0.X Agent
set EMPERLVER=5.10.0
set EMPERLOHBIN=perl\5.8.3\bin
Check the installation of the EMDIAG AGTVFY kit
-
Set the ORACLE_HOME environment variable:
$ set ORACLE_HOME -
Verify the installation by running a check on the EMDIAG AGTVFY kit
version of the Grid Control or DB Control Agent
On Unix:
$ cd EMDIAG_HOME/bin
$ ./agtvfy version
On Windows
C> cd EMDIAG_HOME\bin
C> agtvfy -version
Tips and Tricks for using AGTVFY
This location is obtained by issuing the following command from the Grid Control Agent $ORACLE_HOME/bin directory or from the database $ORACLE_HOME/bin directory for a DB Control agent:
This command will take a second or two to execute, slowing down the initial response of AGTVFY.
If AGTVFY is going to get executed several times in a short period of time, the startup of AGTVFY can be sped up by setting the EMHOME environment variable to the location of the Agent state files.
The best way to specify this is to edit the file EMDIAG_HOME/cfg/agtvfy.cfg file and add a line to set the EMHOME variable:
References
NOTE:421053.1 - EMDIAG Troubleshooting Kits Master Index
NOTE:1374441.1 - EMDIAG Agtvfy 12c Kit - Download and Install

來自 “ ITPUB部落格 ” ,連結:http://blog.itpub.net/17252115/viewspace-1159618/,如需轉載,請註明出處,否則將追究法律責任。
相關文章
- Oracle 最新PSU (Doc ID 2118136.2)Oracle
- expdp/impdp變慢 (Doc ID 2469587.1)
- Reading and Understanding Systemstate Dumps (Doc ID 423153.1)
- 解決npm install報錯Tried to download(403)NPM
- RMAN -- Frequently Asked Question (FAQ) (Doc ID 469777.1)
- Oracle 下載最新psu (Doc ID 2118136.2)Oracle
- Oracle 11g RAC Silent Install For NFSOracleNFS
- PRCT-1011 : Failed to run "oifcfg" (Doc ID 1380183.1)AI
- How to Collect Diagnostics for Database Hanging Issues (Doc ID 452358.1)Database
- [BlueZ] 1、Download install and use the BlueZ and hcitool on PI 3B+
- [轉帖]Release Schedule of Current Database Releases (Doc ID 742060.1)Database
- 【CURSOR】How to Monitor and tune Open and Cached Cursors (Doc ID 1430255.1)
- AIX 5.3 Install Oracle 10g RAC 錯誤集錦AIOracle 10g
- Physical Standby Switchover_status Showing Not Allowed. (Doc ID 1392763.1)
- oracle11g: Scheduler Maintenance Tasks or Autotasks (Doc ID 756734.1)OracleAINaN
- 【DBA】Relinking Oracle Home 常見問題 (Doc ID 2048232.1)Oracle
- How To Replicate Data from Oracle to Postgres Using GoldenGate (Doc ID 1544137.1OracleGo
- oracle監聽檔案listener.ora for 10g/11gOracle
- 11g-Reduce Transportable Tablespace Downtime using XTTS (Doc ID 1389592.1)TTS
- Oracle從10g升級到11g詳細步驟Oracle
- Can GoldenGate Replicate An Oracle Table That Contains Only CLOB Column(s)? (Doc ID 971833.1)GoOracleAI
- 12c DG新特性 - Active Data Guard Far Sync (Doc ID 2179719.1)
- 【GRID】Grid Infrastructure 啟動的五大問題 (Doc ID 1526147.1)ASTStruct
- 【DATAGUARD】Data Guard 12C 新特性:Far Sync Standby (Doc ID 2179719.1)
- ORA-04063: package body SYS.DBMS_REGISTRY_SYS has errors (Doc ID 2165402.1)PackageError
- 【ASM】ORA-27504 ORA-27300 ORA-27303 while starting ASM (Doc ID 2281441.1)ASMWhile
- 【RAC】Oracle 12c以及以上版本的diagsnap是什麼? (Doc ID 2469643.1)Oracle
- 【OCP最新題庫解析(052)--題9】You want to install Oracle 11g databaseOracleDatabase
- jdk downloadJDK
- Oracle 9i, 10g, and 11g RAC on Linux所需要的Hangcheck-Timer Module介紹OracleLinuxGC
- sqlserver docSQLServer
- Oracle 10g/11g下如何將物理Standby庫臨時啟用用於災備測試Oracle 10g
- save download pdf
- Download Notepad++
- leapftp download,leapftp download軟體的8大傳輸功能FTP
- 9i and 10g 透過SQL_ADDRESS 或sql_id查詢執行計劃SQL
- Java 8 Documentation DownloadJava
- Reflected File Download Attack
- Altium Designer 20.2.5 Download