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 10g downloadOracle 10g
- 11g New Feature: Health monitor (Doc ID 466920.1)
- 解決npm install報錯Tried to download(403)NPM
- Tasks of a Database Administrator : Download and Install Patches (16)Database
- Placeholder for AMDU binaries and using with ASM 10g (Doc ID 553639.1)ASM
- Download ProviderIDE
- Automatic TSPITR in 10G RMAN -A walk Through (Doc ID 335851.1)
- RMAN 11g Import catalog fails RMAN-6429 (Doc ID 457392.1)ImportAI
- 11g feature: Flashback Data Archive Guide. (Doc ID 470199.1)HiveGUIIDE
- [BlueZ] 1、Download install and use the BlueZ and hcitool on PI 3B+
- Install oracle 10G in redhat 5.1Oracle 10gRedhat
- download startup video in xlzhaoIDE
- 11g Agent Upload Fails with "OMS version not checked Yet". (Doc ID 1265052.1)AI
- Oracle 10g 10.2.0.4 Patchset Server Install - Does Not Install ODBC DriverOracle 10gServer
- Oracle 10g RAC Install for rhel 5.8Oracle 10g
- oracle 10g rac install for linuxOracle 10gLinux
- install oracle 11g for linuxOracleLinux
- Android-UIL-core.downloadAndroidUI
- 修改vip (Doc ID 276434.1)
- Install Oracle 10g on Solaris 10 simple recordOracle 10g
- Oracle 11g RAC Silent Install For NFSOracleNFS
- oracle 11g rac install for linuxOracleLinux
- oracle 11g r2 installOracle
- Oracle JDeveloper 11g (11.1.1.3.0) InstallOracleDeveloper
- install 11G ASM on RedHat step by stepASMRedhat
- android 系統下載 Download Manager(二)Download Manager使用詳情Android
- Install oracle 10g for aix 5L asmOracle 10gAIASM
- step by step install oracle 10g rac asm on windowsOracle 10gASMWindows
- [Oracle] oracle 11g database install(linux)OracleDatabaseLinux
- go install: no install location for directory outside GOPATHGoIDE
- HANGFG User Guide (Doc ID 362094.1)GUIIDE
- SVN Install GuideGUIIDE
- 10g RAC: How to Clean Up After a Failed CRS InstallAI
- How to Prepare Storage for ASM (Doc ID 452924.1)ASM
- oracle 10g/11g新名詞Oracle 10g
- Object Difference In TTS Migration From 10g To 11g (文件 ID 1643239.1)ObjectTTS
- 10g 11g 檢視是否DISABLE CRS和10g 11g LOCAL listener的區別
- AIX 5.3 Install Oracle 10g RAC 錯誤集錦AIOracle 10g