OCM實驗-grid control agent安裝

super_sky發表於2014-01-10
grid control安裝完成後,需要對監控的資料庫安裝agent

首先獲取agent到這個路徑

[oracle@ocm2 linux]$ pwd

/u01/app/oracle/OracleHomes/oms10g/sysman/agent_download/10.2.0.1.0/linux

agentDownload.linux 檔案拷貝到另外一臺機器上

agentDownload.linux許可權修改為755

[oracle@ocm2 linux]$ chmod 755 agentDownload.linux

其次,由於GC會用到oracle jdk包,因此需要在.bash_profilePATH中新增$ORACLE_HOME/jdk/bin

[oracle@ocm1 ~]$ cat .bash_profile

# .bash_profile

 # Get the aliases and functions

if [ -f ~/.bashrc ]; then

        . ~/.bashrc

fi

 # User specific environment and startup programs

 PATH=$PATH:$HOME/bin

 export PATH

 export ORACLE_BASE=/u01/app/oracle

export ORACLE_HOME=$ORACLE_BASE/product/10.2.0/db_1

export LD_LIBRARY_PATH=$ORACLE_HOME/lib:$LD_LIBRARY_PATH

export PATH=$ORACLE_HOME/bin:$ORACLE_HOME/jdk/bin:$PATH

 export ORACLE_SID=PROD

再次,
執行安裝命令,引數b指定安裝路徑,這個輸出結果,我將放到本文的最後

[oracle@ocm1 ~]$ ./agentDownload.linux -b /u01/app/oracle

指令碼執行過程
[root@ocm1 ~]# /u01/app/oracle/agent10g/root.sh
Running Oracle10 root.sh script...

The following environment variables are set as:
    ORACLE_OWNER= oracle
    ORACLE_HOME=  /u01/app/oracle/agent10g

Enter the full pathname of the local bin directory: [/usr/local/bin]: 
The file "dbhome" already exists in /usr/local/bin.  Overwrite it? (y/n) 
[n]: 
The file "oraenv" already exists in /usr/local/bin.  Overwrite it? (y/n) 
[n]: 
The file "coraenv" already exists in /usr/local/bin.  Overwrite it? (y/n) 
[n]: 

Entries will be added to the /etc/oratab file as needed by
Database Configuration Assistant when a database is created
Finished running generic part of root.sh script.
Now product-specific root actions will be performed.
Finished product-specific root actions.
[root@ocm1 ~]# 

dbsnmp賬戶進行解鎖

SYS@PROD>alter user dbsnmp identified by oracle account unlock;

 User altered.

OMS上配置這個資料庫的監控

檢查agent的狀態

[oracle@ocm1 bin]$ ./emctl status agent

Oracle Enterprise Manager 10g Release 10.2.0.1.0. 

Copyright (c) 1996, 2005 Oracle Corporation.  All rights reserved.

---------------------------------------------------------------

Agent is Not Running

 

啟動agent

[oracle@ocm1 bin]$ ./emctl start agent

Oracle Enterprise Manager 10g Release 10.2.0.1.0. 

Copyright (c) 1996, 2005 Oracle Corporation.  All rights reserved.

Starting agent ..... started.

 

[oracle@ocm1 bin]$ ./emctl status agent

Oracle Enterprise Manager 10g Release 10.2.0.1.0. 

Copyright (c) 1996, 2005 Oracle Corporation.  All rights reserved.

---------------------------------------------------------------

Agent Version     : 10.2.0.1.0

OMS Version       : 10.2.0.1.0

Protocol Version  : 10.2.0.0.0

Agent Home        : /u01/app/oracle/agent10g

Agent binaries    : /u01/app/oracle/agent10g

Agent Process ID  : 11306

Parent Process ID : 11280

Agent URL         : https://ocm1.com:3872/emd/main/

Repository URL    : https://ocm2.com:1159/em/upload

Started at        : 2014-01-10 14:32:48

Started by user   : oracle

Last Reload       : 2014-01-10 14:32:48

Last successful upload                       : 2014-01-10 14:33:31

Total Megabytes of XML files uploaded so far :     1.59

Number of XML files pending upload           :        0

Size of XML files pending upload(MB)         :     0.00

Available disk space on upload filesystem    :    68.07%

Last successful heartbeat to OMS             : 2014-01-10 14:32:50

---------------------------------------------------------------

Agent is Running and Ready


從OMS上,可以看到下面的資訊


到這裡agent 已經配置完成

附件-agent 的安裝過程

[oracle@ocm1 ~]$ ./agentDownload.linux -b /u01/app/oracle

agentDownload.linux invoked on Fri Jan 10 14:24:17 CST 2014 with Arguments "-b /u01/app/oracle"

Platform=Linux, OS=linux

GetPlatform:returned=0, and os is set to: linux, platform=Linux

Creating /home/oracle/agentDownload10.2.0.1.0Oui ...

LogFile for this Download can be found at: "/home/oracle/agentDownload10.2.0.1.0Oui/agentDownload.linux011014142417.log"

Running on Selected Platform: Linux

Installer location: /home/oracle/agentDownload10.2.0.1.0Oui

Downloading Agent install response file ...

--2014-01-10 14:24:17--  http://ocm2.com:4889/agent_download/10.2.0.1.0/agent_download.rsp

Resolving ocm2.com... 192.168.152.20

Connecting to ocm2.com|192.168.152.20|:4889... connected.

HTTP request sent, awaiting response... 200 OK

Length: 19999 (20K) [text/plain]

Saving to: `agent_download.rsp'

 

100%[==================================================================================================================>] 19,999      --.-K/s   in 0.002s 

 

2014-01-10 14:24:17 (10.6 MB/s) - `agent_download.rsp' saved [19999/19999]

 

Finished Downloading with Status=0

Downloaded response with status=0

Downloading Oracle Installer ...

--2014-01-10 14:24:17--  http://ocm2.com:4889/agent_download/10.2.0.1.0/linux/oui/oui_linux.jar

Resolving ocm2.com... 192.168.152.20

Connecting to ocm2.com|192.168.152.20|:4889... connected.

HTTP request sent, awaiting response... 200 OK

Length: 46620679 (44M) [application/java-archive]

Saving to: `oui_linux.jar'

 

100%[==================================================================================================================>] 46,620,679  29.2M/s   in 1.5s   

 

2014-01-10 14:24:19 (29.2 MB/s) - `oui_linux.jar' saved [46620679/46620679]

 

Downloaded Oracle Installer with status=0

Downloading  Unzip Utility ...

--2014-01-10 14:24:19--  http://ocm2.com:4889/agent_download/10.2.0.1.0/linux/agent/install/unzip

Resolving ocm2.com... 192.168.152.20

Connecting to ocm2.com|192.168.152.20|:4889... connected.

HTTP request sent, awaiting response... 200 OK

Length: 101448 (99K) [text/plain]

Saving to: `unzip'

 

100%[==================================================================================================================>] 101,448     --.-K/s   in 0.01s  

 

2014-01-10 14:24:19 (9.62 MB/s) - `unzip' saved [101448/101448]

 

Adding execute permissions to unzip ...

Downloaded UnzipUtility with status=0

The jar to be used=/u01/app/oracle/product/10.2.0/db_1/jdk/bin/jar

Verifying Installer jar ...

Verified InstallerJar with status=0

Unjarring Oracle Installer ...

Archive:  /home/oracle/agentDownload10.2.0.1.0Oui/oui_linux.jar

   creating: Disk1/stage/

   creating: Disk1/stage/fastcopy/

  inflating: Disk1/stage/fastcopy/setperms1.sh 

  inflating: Disk1/stage/fastcopy/oracle.swd_Complete_1.xml 

  inflating: Disk1/stage/fastcopy/oracle.swd_Complete_exp_1.xml 

  inflating: Disk1/stage/fastcopy/oracle.swd_Complete_dirs.lst 

  inflating: Disk1/stage/fastcopy/oracle.swd_Complete_filemap.jar 

  inflating: Disk1/stage/fastcopy/oracle.swd_Typical_1.xml 

  inflating: Disk1/stage/fastcopy/oracle.swd_Typical_exp_1.xml 

  inflating: Disk1/stage/fastcopy/oracle.swd_Typical_dirs.lst  

  inflating: Disk1/stage/fastcopy/oracle.swd_Typical_filemap.jar 

  inflating: Disk1/stage/fastcopy/oracle.swd_Custom_1.xml 

  inflating: Disk1/stage/fastcopy/oracle.swd_Custom_exp_1.xml 

  inflating: Disk1/stage/fastcopy/oracle.swd_Custom_dirs.lst 

  inflating: Disk1/stage/fastcopy/oracle.swd_Custom_filemap.jar 

  inflating: Disk1/stage/fastcopy/racfiles.jar 

   creating: Disk1/stage/Components/

   creating: Disk1/stage/Components/oracle.swd/

   creating: Disk1/stage/Components/oracle.swd/10.2.0.5.0/

   creating: Disk1/stage/Components/oracle.swd/10.2.0.5.0/1/

   creating: Disk1/stage/Components/oracle.swd/10.2.0.5.0/1/DataFiles/

   creating: Disk1/stage/Components/oracle.swd.oui/

   creating: Disk1/stage/Components/oracle.swd.oui/10.2.0.5.0/

   creating: Disk1/stage/Components/oracle.swd.oui/10.2.0.5.0/1/

   creating: Disk1/stage/Components/oracle.swd.oui/10.2.0.5.0/1/DataFiles/

  inflating: Disk1/stage/Components/oracle.swd.oui/10.2.0.5.0/1/DataFiles/filegroup3.jar 

  inflating: Disk1/stage/Components/oracle.swd.oui/10.2.0.5.0/1/DataFiles/filegroup6.jar 

  inflating: Disk1/stage/Components/oracle.swd.oui/10.2.0.5.0/1/DataFiles/filegroup10.jar 

  inflating: Disk1/stage/Components/oracle.swd.oui/10.2.0.5.0/1/DataFiles/filegroup9.jar 

  inflating: Disk1/stage/Components/oracle.swd.oui/10.2.0.5.0/1/DataFiles/filegroup2.jar 

  inflating: Disk1/stage/Components/oracle.swd.oui/10.2.0.5.0/1/DataFiles/filegroup5.jar 

  inflating: Disk1/stage/Components/oracle.swd.oui/10.2.0.5.0/1/DataFiles/filegroup8.jar 

  inflating: Disk1/stage/Components/oracle.swd.oui/10.2.0.5.0/1/DataFiles/filegroup1.jar 

  inflating: Disk1/stage/Components/oracle.swd.oui/10.2.0.5.0/1/DataFiles/filegroup4.jar 

  inflating: Disk1/stage/Components/oracle.swd.oui/10.2.0.5.0/1/DataFiles/filegroup7.jar 

  inflating: Disk1/stage/Components/oracle.swd.oui/10.2.0.5.0/1/DataFiles/filegroup11.jar 

   creating: Disk1/stage/Components/oracle.swd.oui.core/

   creating: Disk1/stage/Components/oracle.swd.oui.core/10.2.0.5.0/

   creating: Disk1/stage/Components/oracle.swd.oui.core/10.2.0.5.0/1/

   creating: Disk1/stage/Components/oracle.swd.oui.core/10.2.0.5.0/1/DataFiles/

   creating: Disk1/stage/Components/oracle.swd.oui.core/10.2.0.5.0/1/DataFiles/Expanded/

   creating: Disk1/stage/Components/oracle.swd.oui.core/10.2.0.5.0/1/DataFiles/Expanded/oui/

   creating: Disk1/stage/Components/oracle.swd.oui.core/10.2.0.5.0/1/DataFiles/Expanded/oui/instImages/

  inflating: Disk1/stage/Components/oracle.swd.oui.core/10.2.0.5.0/1/DataFiles/Expanded/oui/instImages/bg.jpg 

  inflating: Disk1/stage/Components/oracle.swd.oui.core/10.2.0.5.0/1/DataFiles/Expanded/oui/instImages/10gOneClickbusybar.gif 

  inflating: Disk1/stage/Components/oracle.swd.oui.core/10.2.0.5.0/1/DataFiles/Expanded/oui/instImages/splashScr.gif 

  inflating: Disk1/stage/Components/oracle.swd.oui.core/10.2.0.5.0/1/DataFiles/Expanded/oui/instImages/oneclickbg.gif 

  inflating: Disk1/stage/Components/oracle.swd.oui.core/10.2.0.5.0/1/DataFiles/Expanded/oui/instImages/images.properties 

  inflating: Disk1/stage/Components/oracle.swd.oui.core/10.2.0.5.0/1/DataFiles/filegroup3.jar 

  inflating: Disk1/stage/Components/oracle.swd.oui.core/10.2.0.5.0/1/DataFiles/filegroup2.jar  

  inflating: Disk1/stage/Components/oracle.swd.oui.core/10.2.0.5.0/1/DataFiles/filegroup1.jar 

   creating: Disk1/stage/Components/oracle.swd.oil/

   creating: Disk1/stage/Components/oracle.swd.oil/10.2.0.5.0/

   creating: Disk1/stage/Components/oracle.swd.oil/10.2.0.5.0/1/

   creating: Disk1/stage/Components/oracle.swd.oil/10.2.0.5.0/1/DataFiles/

  inflating: Disk1/stage/Components/oracle.swd.oil/10.2.0.5.0/1/DataFiles/filegroup1.1.1.jar 

   creating: Disk1/stage/Components/oracle.swd.jre/

   creating: Disk1/stage/Components/oracle.swd.jre/1.4.2.14.0/

   creating: Disk1/stage/Components/oracle.swd.jre/1.4.2.14.0/1/

   creating: Disk1/stage/Components/oracle.swd.jre/1.4.2.14.0/1/DataFiles/

  inflating: Disk1/stage/Components/oracle.swd.jre/1.4.2.14.0/1/DataFiles/filegroup5.jar 

  inflating: Disk1/stage/Components/oracle.swd.jre/1.4.2.14.0/1/DataFiles/filegroup4.jar 

  inflating: Disk1/stage/Components/oracle.swd.jre/1.4.2.14.0/1/DataFiles/filegroup3.jar 

  inflating: Disk1/stage/Components/oracle.swd.jre/1.4.2.14.0/1/DataFiles/filegroup2.jar 

  inflating: Disk1/stage/Components/oracle.swd.jre/1.4.2.14.0/1/DataFiles/filegroup1.jar 

   creating: Disk1/stage/Components/oracle.swd.opatch/

   creating: Disk1/stage/Components/oracle.swd.opatch/10.2.0.4.2/

   creating: Disk1/stage/Components/oracle.swd.opatch/10.2.0.4.2/1/

   creating: Disk1/stage/Components/oracle.swd.opatch/10.2.0.4.2/1/DataFiles/

  inflating: Disk1/stage/Components/oracle.swd.opatch/10.2.0.4.2/1/DataFiles/filegroup3.jar 

  inflating: Disk1/stage/Components/oracle.swd.opatch/10.2.0.4.2/1/DataFiles/filegroup6.jar 

  inflating: Disk1/stage/Components/oracle.swd.opatch/10.2.0.4.2/1/DataFiles/filegroup9.jar 

  inflating: Disk1/stage/Components/oracle.swd.opatch/10.2.0.4.2/1/DataFiles/filegroup2.jar 

  inflating: Disk1/stage/Components/oracle.swd.opatch/10.2.0.4.2/1/DataFiles/filegroup5.jar 

  inflating: Disk1/stage/Components/oracle.swd.opatch/10.2.0.4.2/1/DataFiles/filegroup8.jar 

  inflating: Disk1/stage/Components/oracle.swd.opatch/10.2.0.4.2/1/DataFiles/filegroup1.jar 

  inflating: Disk1/stage/Components/oracle.swd.opatch/10.2.0.4.2/1/DataFiles/filegroup4.jar 

  inflating: Disk1/stage/Components/oracle.swd.opatch/10.2.0.4.2/1/DataFiles/filegroup7.jar 

  inflating: Disk1/stage/oracle.swd.10_2_0_5_0.xml 

  inflating: Disk1/stage/OuiConfigVariables.xml 

  inflating: Disk1/stage/install1.jar 

   creating: Disk1/stage/Actions/

   creating: Disk1/stage/Actions/ntw32FoldersActions/

   creating: Disk1/stage/Actions/ntw32FoldersActions/10.2.0.3.0/

   creating: Disk1/stage/Actions/ntw32FoldersActions/10.2.0.3.0/1/

  inflating: Disk1/stage/Actions/ntw32FoldersActions/10.2.0.3.0/1/WindowsFolders.jar 

   creating: Disk1/stage/Actions/clusterActions/

   creating: Disk1/stage/Actions/clusterActions/10.1.0.2.0/

   creating: Disk1/stage/Actions/clusterActions/10.1.0.2.0/1/

  inflating: Disk1/stage/Actions/clusterActions/10.1.0.2.0/1/clusterActionLib.jar 

   creating: Disk1/stage/Actions/dbActions/

   creating: Disk1/stage/Actions/dbActions/10.1.0.2.0/

   creating: Disk1/stage/Actions/dbActions/10.1.0.2.0/1/

  inflating: Disk1/stage/Actions/dbActions/10.1.0.2.0/1/dbActions.jar 

   creating: Disk1/stage/Actions/fileActions/

   creating: Disk1/stage/Actions/fileActions/10.2.0.3.0/

   creating: Disk1/stage/Actions/fileActions/10.2.0.3.0/1/

  inflating: Disk1/stage/Actions/fileActions/10.2.0.3.0/1/fileActionLib.jar 

   creating: Disk1/stage/Actions/generalActions/

   creating: Disk1/stage/Actions/generalActions/10.2.0.8.0/

   creating: Disk1/stage/Actions/generalActions/10.2.0.8.0/1/

  inflating: Disk1/stage/Actions/generalActions/10.2.0.8.0/1/generalActions.jar 

   creating: Disk1/stage/Actions/jarActions/

   creating: Disk1/stage/Actions/jarActions/10.2.0.0.0/

   creating: Disk1/stage/Actions/jarActions/10.2.0.0.0/1/

  inflating: Disk1/stage/Actions/jarActions/10.2.0.0.0/1/jarActionLib.jar 

   creating: Disk1/stage/Actions/launchPadActions/

   creating: Disk1/stage/Actions/launchPadActions/10.1.0.2.0/

   creating: Disk1/stage/Actions/launchPadActions/10.1.0.2.0/1/

  inflating: Disk1/stage/Actions/launchPadActions/10.1.0.2.0/1/launchpadaction.jar 

   creating: Disk1/stage/Actions/ntServicesActions/

   creating: Disk1/stage/Actions/ntServicesActions/10.2.0.3.0/

   creating: Disk1/stage/Actions/ntServicesActions/10.2.0.3.0/1/

  inflating: Disk1/stage/Actions/ntServicesActions/10.2.0.3.0/1/ntServicesActions.jar 

   creating: Disk1/stage/Actions/oradim/

   creating: Disk1/stage/Actions/oradim/10.1.0.3.0/

   creating: Disk1/stage/Actions/oradim/10.1.0.3.0/1/

  inflating: Disk1/stage/Actions/oradim/10.1.0.3.0/1/oradim.jar 

   creating: Disk1/stage/Actions/rgsActions/

   creating: Disk1/stage/Actions/rgsActions/10.1.0.3.0/

   creating: Disk1/stage/Actions/rgsActions/10.1.0.3.0/1/

  inflating: Disk1/stage/Actions/rgsActions/10.1.0.3.0/1/rgsActions.jar 

   creating: Disk1/stage/Actions/SpawnActions/

   creating: Disk1/stage/Actions/SpawnActions/10.1.0.2.0/

   creating: Disk1/stage/Actions/SpawnActions/10.1.0.2.0/1/

  inflating: Disk1/stage/Actions/SpawnActions/10.1.0.2.0/1/spawnActions.jar 

   creating: Disk1/stage/Actions/unixActions/

   creating: Disk1/stage/Actions/unixActions/10.2.0.1.0/

   creating: Disk1/stage/Actions/unixActions/10.2.0.1.0/1/

  inflating: Disk1/stage/Actions/unixActions/10.2.0.1.0/1/unixActions.jar 

   creating: Disk1/stage/Actions/w32OcxRegActions/

   creating: Disk1/stage/Actions/w32OcxRegActions/10.2.0.1.0/

   creating: Disk1/stage/Actions/w32OcxRegActions/10.2.0.1.0/1/

  inflating: Disk1/stage/Actions/w32OcxRegActions/10.2.0.1.0/1/w32OcxLib.jar 

   creating: Disk1/stage/Actions/w32RegActions/

   creating: Disk1/stage/Actions/w32RegActions/10.2.0.1.0/

   creating: Disk1/stage/Actions/w32RegActions/10.2.0.1.0/1/

  inflating: Disk1/stage/Actions/w32RegActions/10.2.0.1.0/1/w32RegActionLib.jar 

   creating: Disk1/stage/Actions/wingeneralActions/

   creating: Disk1/stage/Actions/wingeneralActions/10.2.0.2.0/

   creating: Disk1/stage/Actions/wingeneralActions/10.2.0.2.0/1/

  inflating: Disk1/stage/Actions/wingeneralActions/10.2.0.2.0/1/wingeneralActionLib.jar 

   creating: Disk1/stage/Actions/customFileActions/

   creating: Disk1/stage/Actions/customFileActions/1.2/

   creating: Disk1/stage/Actions/customFileActions/1.2/1/

  inflating: Disk1/stage/Actions/customFileActions/1.2/1/customFileActions.jar 

   creating: Disk1/stage/Queries/

   creating: Disk1/stage/Queries/NtServicesQueries/

   creating: Disk1/stage/Queries/NtServicesQueries/10.2.0.3.0/

   creating: Disk1/stage/Queries/NtServicesQueries/10.2.0.3.0/1/

  inflating: Disk1/stage/Queries/NtServicesQueries/10.2.0.3.0/1/NtServiceQueries.jar 

   creating: Disk1/stage/Queries/WindowsGeneralQueries/

   creating: Disk1/stage/Queries/WindowsGeneralQueries/10.2.0.1.0/

   creating: Disk1/stage/Queries/WindowsGeneralQueries/10.2.0.1.0/1/

  inflating: Disk1/stage/Queries/WindowsGeneralQueries/10.2.0.1.0/1/WindowsGeneralQueries.jar 

   creating: Disk1/stage/Queries/areasQueries/

   creating: Disk1/stage/Queries/areasQueries/10.2.0.1.0/

   creating: Disk1/stage/Queries/areasQueries/10.2.0.1.0/1/

  inflating: Disk1/stage/Queries/areasQueries/10.2.0.1.0/1/areasQueries.jar 

   creating: Disk1/stage/Queries/clusterQueriesEx/

   creating: Disk1/stage/Queries/clusterQueriesEx/10.1.0.3.0/

   creating: Disk1/stage/Queries/clusterQueriesEx/10.1.0.3.0/1/

  inflating: Disk1/stage/Queries/clusterQueriesEx/10.1.0.3.0/1/clusterQuery.jar 

   creating: Disk1/stage/Queries/dbQueries/

   creating: Disk1/stage/Queries/dbQueries/10.1.0.2.0/

   creating: Disk1/stage/Queries/dbQueries/10.1.0.2.0/1/

  inflating: Disk1/stage/Queries/dbQueries/10.1.0.2.0/1/dbQueries.jar 

   creating: Disk1/stage/Queries/fileQueries/

   creating: Disk1/stage/Queries/fileQueries/10.1.0.3.0/

   creating: Disk1/stage/Queries/fileQueries/10.1.0.3.0/1/

  inflating: Disk1/stage/Queries/fileQueries/10.1.0.3.0/1/fileQueries.jar 

   creating: Disk1/stage/Queries/generalQueries/

   creating: Disk1/stage/Queries/generalQueries/10.1.0.3.0/

   creating: Disk1/stage/Queries/generalQueries/10.1.0.3.0/1/

  inflating: Disk1/stage/Queries/generalQueries/10.1.0.3.0/1/generalQueries.jar 

   creating: Disk1/stage/Queries/netQueries/

   creating: Disk1/stage/Queries/netQueries/10.2.0.2.0/

   creating: Disk1/stage/Queries/netQueries/10.2.0.2.0/1/

  inflating: Disk1/stage/Queries/netQueries/10.2.0.2.0/1/netQueries.jar 

   creating: Disk1/stage/Queries/rgsQueries/

   creating: Disk1/stage/Queries/rgsQueries/10.1.0.3.0/

   creating: Disk1/stage/Queries/rgsQueries/10.1.0.3.0/1/

  inflating: Disk1/stage/Queries/rgsQueries/10.1.0.3.0/1/rgsQueries.jar 

   creating: Disk1/stage/Queries/unixQueries/

   creating: Disk1/stage/Queries/unixQueries/10.1.0.2.0/

   creating: Disk1/stage/Queries/unixQueries/10.1.0.2.0/1/

  inflating: Disk1/stage/Queries/unixQueries/10.1.0.2.0/1/unixQueries.jar 

   creating: Disk1/stage/Queries/w32RegQueries/

   creating: Disk1/stage/Queries/w32RegQueries/10.2.0.1.0/

   creating: Disk1/stage/Queries/w32RegQueries/10.2.0.1.0/1/

  inflating: Disk1/stage/Queries/w32RegQueries/10.2.0.1.0/1/w32RegQueryLib.jar 

   creating: Disk1/stage/Queries/LangQueries/

   creating: Disk1/stage/Queries/LangQueries/1.3.6.4/

   creating: Disk1/stage/Queries/LangQueries/1.3.6.4/1/

  inflating: Disk1/stage/Queries/LangQueries/1.3.6.4/1/LangQueries.jar 

   creating: Disk1/stage/Queries/MemorySizeQuery/

   creating: Disk1/stage/Queries/MemorySizeQuery/1.2.8.0.3/

   creating: Disk1/stage/Queries/MemorySizeQuery/1.2.8.0.3/1/

  inflating: Disk1/stage/Queries/MemorySizeQuery/1.2.8.0.3/1/MemorySizeQuery.jar 

   creating: Disk1/stage/Queries/RepositoryQueries/

   creating: Disk1/stage/Queries/RepositoryQueries/3.0.0.1.0/

   creating: Disk1/stage/Queries/RepositoryQueries/3.0.0.1.0/1/

  inflating: Disk1/stage/Queries/RepositoryQueries/3.0.0.1.0/1/Queries.jar 

   creating: Disk1/stage/Queries/RepositoryQueries/3.0.0.2.2/

   creating: Disk1/stage/Queries/RepositoryQueries/3.0.0.2.2/1/

  inflating: Disk1/stage/Queries/RepositoryQueries/3.0.0.2.2/1/Queries.jar 

   creating: Disk1/stage/Queries/RunningProcessQuery/

   creating: Disk1/stage/Queries/RunningProcessQuery/1.5.1/

   creating: Disk1/stage/Queries/RunningProcessQuery/1.5.1/1/

  inflating: Disk1/stage/Queries/RunningProcessQuery/1.5.1/1/RunningProcessesQuery.jar 

   creating: Disk1/stage/Queries/SIDQueries/

   creating: Disk1/stage/Queries/SIDQueries/1.2.7/

   creating: Disk1/stage/Queries/SIDQueries/1.2.7/1/

  inflating: Disk1/stage/Queries/SIDQueries/1.2.7/1/SidQueries.jar 

   creating: Disk1/stage/Queries/ClusterQueries/

   creating: Disk1/stage/Queries/ClusterQueries/1.7.3.0.3/

   creating: Disk1/stage/Queries/ClusterQueries/1.7.3.0.3/1/

  inflating: Disk1/stage/Queries/ClusterQueries/1.7.3.0.3/1/clusterQueries.jar 

   creating: Disk1/stage/Queries/generalPortQueries/

   creating: Disk1/stage/Queries/generalPortQueries/2.1.0.18.7/

   creating: Disk1/stage/Queries/generalPortQueries/2.1.0.18.7/1/

  inflating: Disk1/stage/Queries/generalPortQueries/2.1.0.18.7/1/generalPortQueries.jar 

   creating: Disk1/stage/Queries/globalVarQueries/

   creating: Disk1/stage/Queries/globalVarQueries/2.1.0.4.1/

   creating: Disk1/stage/Queries/globalVarQueries/2.1.0.4.1/1/

  inflating: Disk1/stage/Queries/globalVarQueries/2.1.0.4.1/1/globalVarQueries.jar 

   creating: Disk1/stage/Queries/textFileQueries/

   creating: Disk1/stage/Queries/textFileQueries/2.1.0.4.0/

   creating: Disk1/stage/Queries/textFileQueries/2.1.0.4.0/1/

  inflating: Disk1/stage/Queries/textFileQueries/2.1.0.4.0/1/textFileQueries.jar 

   creating: Disk1/stage/Queries/ccrQueries/

   creating: Disk1/stage/Queries/ccrQueries/10.2.8.0.0/

   creating: Disk1/stage/Queries/ccrQueries/10.2.8.0.0/1/

  inflating: Disk1/stage/Queries/ccrQueries/10.2.8.0.0/1/ccrQueries.jar 

   creating: Disk1/stage/Dialogs/

   creating: Disk1/stage/Dialogs/standardDialogs/

   creating: Disk1/stage/Dialogs/standardDialogs/10.2.0.1.0/

   creating: Disk1/stage/Dialogs/standardDialogs/10.2.0.1.0/1/

  inflating: Disk1/stage/Dialogs/standardDialogs/10.2.0.1.0/1/standardDialogs.jar 

   creating: Disk1/stage/Dialogs/customDialogs/

   creating: Disk1/stage/Dialogs/customDialogs/3.3.0/

   creating: Disk1/stage/Dialogs/customDialogs/3.3.0/1/

  inflating: Disk1/stage/Dialogs/customDialogs/3.3.0/1/CustomDialogs.jar 

   creating: Disk1/stage/Dialogs/customDialogs/1.0.0/

   creating: Disk1/stage/Dialogs/customDialogs/1.0.0/1/

  inflating: Disk1/stage/Dialogs/customDialogs/1.0.0/1/newCustomDialogs.jar 

  inflating: Disk1/stage/products.xml 

  inflating: Disk1/stage/libs.xml   

  inflating: Disk1/stage/invDetails.properties 

  inflating: Disk1/stage/fastcopy.xml 

  inflating: Disk1/stage/disk.label 

   creating: Disk1/stage/Response/

  inflating: Disk1/stage/Response/oracle.swd.Complete.rsp 

  inflating: Disk1/stage/Response/oracle.swd.Typical.rsp 

  inflating: Disk1/stage/Response/oracle.swd.Custom.rsp 

   creating: Disk1/install/

  inflating: Disk1/install/lsnodes  

  inflating: Disk1/install/runInstaller 

  inflating: Disk1/install/addNode.sh 

  inflating: Disk1/install/addLangs.sh 

  inflating: Disk1/install/oraparam.ini 

  inflating: Disk1/install/attachHome.sh 

  inflating: Disk1/install/detachHome.sh 

   creating: Disk1/install/resource/

  inflating: Disk1/install/resource/cons.nls 

  inflating: Disk1/install/resource/cons_de.nls 

  inflating: Disk1/install/resource/cons_es.nls 

  inflating: Disk1/install/resource/cons_fr.nls 

  inflating: Disk1/install/resource/cons_it.nls 

  inflating: Disk1/install/resource/cons_ja.nls 

  inflating: Disk1/install/resource/cons_ko.nls 

  inflating: Disk1/install/resource/cons_pt_BR.nls 

  inflating: Disk1/install/resource/cons_zh_CN.nls 

  inflating: Disk1/install/resource/cons_zh_TW.nls 

  inflating: Disk1/install/oneclick.properties 

  inflating: Disk1/install/unzip    

  inflating: Disk1/install/oraparamsilent.ini 

  inflating: Disk1/runInstaller     

Adding execute permissions to runInstaller ...

Adding execute permissions to unzip ...

Launching Oracle Installer ...

Executing /home/oracle/agentDownload10.2.0.1.0Oui/Disk1/runInstaller  -ignoreSysPrereqs -waitforcompletion -force -responseFile /home/oracle/agentDownload10.2.0.1.0Oui/agent_download.rsp -silent  b_doDiscovery=TRUE b_startAgent=TRUE   -sourceLoc http://ocm2.com:4889/agent_download/10.2.0.1.0/linux/agent/stage/products.xml FROM_LOCATION=http://ocm2.com:4889/agent_download/10.2.0.1.0/linux/agent/stage/products.xml -baseDir /u01/app/oracle    CLUSTER_NODES={}  

Starting Oracle Universal Installer...

 

Checking installer requirements...

 

Checking operating system version: must be enterprise-4, enterprise-5, redhat-3, redhat-4, redhat-5, redhat-5.1, SuSE-9, SuSE-10, UnitedLinux-1.0, asianux-1 or asianux-2

                                      Failed <<<<

 

 

>>> Ignoring required pre-requisite failures. Continuing...

 

Preparing to launch Oracle Universal Installer from /tmp/OraInstall2014-01-10_02-24-21PM. Please wait ...Oracle Universal Installer, Version 10.2.0.5.0 Production

Copyright (C) 1999, 2009, Oracle. All rights reserved.

 

You can find a log of this install session at:

 /u01/app/oracle/oraInventory/logs/installActions2014-01-10_02-24-21PM.log

.................................................................................................... 100% Done.

 

 

Loading Product Information

............................................................................................................ 100% Done.

 

 

Starting execution of Prerequisites...

Total No of checks: 5

 

Performing check for CertifiedVersions_agent

Checking if Oracle software certified on the current O/S...

Expected result: One of redhat-3,redhat-4,redhat-5,SuSE-8,SuSE-9,SuSE-10,enterprise-5,redhat-5.1,enterprise-4,asianux-1,asianux-2

Actual Result: redhat-n/a

Check complete. The overall result of this check is: Failed <<<<

 

 

Check complete: Failed <<<<

Problem: This Oracle software is not certified on the current O/S.

Recommendation: Make sure you are installing the software on a certifid platform.

 

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

Performing check for Packages_agent

Checking for required packages installed on the system ....

Check complete. The overall result of this check is: Not executed <<<<

 

 

Check complete: Not executed <<<<

OUI-18001: The operating system 'Linux Version redhat-n/a' is not supported.

Recommendation: You may actually have installed packages which have obsoleted these, in which case you can  successfully continue with the install. If you have not, it is recommended that you do not continue.

 

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

Performing check for CompatibilityCheck

Checking whether the software compatibile for current o/s...

/home/oracle/agentDownload10.2.0.1.0Oui/Disk1/stage/shiphomeproperties.xml (No such file or directory)

Check complete. The overall result of this check is: Passed

 

 

Check complete: Passed

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

Performing check for CheckHostName

Checking for the Hostname...

Actual Result: Hostname contains hyphen "-" .

Check complete. The overall result of this check is: Failed <<<<

 

 

Check complete: Failed <<<<

Problem: The host name in /etc/hosts is not proper.

Recommendation: Please verify the hostname in /etc/hosts. The /etc/hosts might either contain short host name or ip address instead of full host name.

 

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

Performing check for ChecksNslookup

Checking the the DNS setup...

Check complete. The overall result of this check is: Passed

 

 

Check complete: Passed

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

PrereqChecks complete

 

 

Analyzing dependencies

...............................................................  48% Done.

...............................................................  96% Done.

.... 100% Done.

 

 

-----------------------------------------------------------------------------

Summary

Global Settings

    Source: http://ocm2.com:4889/agent_download/10.2.0.1.0/linux/agent/stage/products.xml

    Oracle Home: /u01/app/oracle/agent10g (agent10g)

    Installation Type: Complete

Product Languages

   English

Space Requirements

   /u01/ Required 426MB : Available 10.03GB

   / Required 9MB (only as temporary space) : Available 6.91GB

New Installations (64 products)

   Oracle Management Agent 10.2.0.1.1

   Enterprise Manager Agent 10.2.0.1.0

   Enterprise Manager Agent Core Files 10.2.0.1.0

   Oracle Recovery Manager 10.2.0.1.0

   Enterprise Manager Common Files 10.2.0.1.0

   Enterprise Manager Common Core Files 10.2.0.1.0

   Required Support Files 10.2.0.1.0

   Agent Required Support Files 10.2.0.1.0

   Oracle RAC Required Support Files-HAS 10.2.0.1.0

   Oracle JDBC Thin Driver for JDK 1.4 10.2.0.1.0

   JDBC Common Files 10.2.0.1.0

   Oracle JDBC/OCI Instant Client 10.2.0.1.0

   Secure Socket Layer 10.2.0.1.0

   LDAP Required Support Files 10.2.0.1.0

   Oracle Globalization Support 10.2.0.1.0

   Perl Interpreter 5.8.3.0.2

   XML Parser for Java 10.2.0.1.0

   Precompiler Required Support Files 10.2.0.1.0

   RDBMS Required Support Files 10.2.0.1.0

   RDBMS Required Support Files for Instant Client 10.2.0.1.0

   Parser Generator Required Support Files 10.2.0.1.0

   Oracle Net Required Support Files 10.2.0.1.0

   XDK Required Support Files 10.2.0.1.0

   Platform Required Support Files 10.2.0.1.0

   Oracle Core Required Support Files 10.2.0.1.0

   SSL Required Support Files for InstantClient 10.2.0.1.0

   DBJAVA Required Support Files 10.2.0.1.0

   SQL*Plus Required Support Files 10.2.0.1.0

   Enterprise Manager Agent for Grid Control 10.2.0.1.0

   Installation Common Files 10.2.0.1.0

   Oracle Notification Service 10.1.2.1.0

   Enterprise Manager Application Server Plugin -- Agent Support 10.2.0.1.0

   ADF BC agent for OracleAS GC 10.1.2.0.0

   Enterprise Manager BPEL Process Analytics Plugin -- Agent Plugin 10.2.0.0.0

   Discoverer EM plugin - agent portion 10.2.0.0.0

   Oracle SSO Agent 10.2.0.0.0

   Forms Services Management Agent Plugin 10.2.0.0.0

   Oracle CM SDK and Oracle Files Plugin for Oracle Management Agent 9.0.4.0.0

   Enterprise Manager Integration B2B Plugin -- Agent Plugin 10.2.0.0.0

   Enterprise Manager Integration InterConnect Plugin -- Agent Plugin 10.2.0.0.0

   Enterprise Manager BPEL Process Manager Plugin -- Agent Plugin 10.2.0.0.0

   Oracle Portal agent 10.2.0.0.0

   Reports Services EM Plugin - Agent portion 10.2.0.0.0

   Oracle Workflow Agent for Grid Control 2.6.0.0.0

   Wireless EM Agent 10.1.2.0.1

   Enterprise Manager Collaboration Suite Plugin -- Agent Support 10.2.0.1.0

   Oracle Discussions Plugin for Agent 10.2.0.0.0

   Oracle Content Services Plugin for Oracle Management Agent 10.1.1.0.0

   Oracle Mobile Collaboration Server Plugin for Agent 10.2.0.0.0

   Oracle Collaboration Suite Web Access Agent Plugin 10.2.0.0.0

   Oracle Email components for Enterprise Manager Grid Control Agent 10.1.2.0.1

   Oracle Ultra Search Plugin for Oracle Management Agent 10.2.0.1.0

   Oracle Voice Mail and Fax Files Plugin for Agent 10.2.0.0.0

   Oracle Workspaces Plugin for Agent 10.2.0.0.0

   Enterprise Manager Database Plugin -- Agent Support 10.2.0.1.0

   Enterprise Manager Application Server Plugin -- Common Support 10.2.0.1.0

   Oracle Dynamic Monitoring Service 10.1.2.1.0

   Oracle Application Server Repository API 10.1.2.0.2

   Bali Share 1.1.18.0.0

   Oracle Universal Installer 10.2.0.5.0

   Oracle One-Off Patch Installer 10.2.0.4.2

   Installer SDK Component 10.2.0.5.0

   Sun JDK 1.4.2.0.8

   Sun JDK extensions 10.1.2.0.0

-----------------------------------------------------------------------------

 

 

Installation in progress (Friday, January 10, 2014 2:25:07 PM CST)

.........................................................................................                                       78% Done.

Install successful

 

Linking in progress (Friday, January 10, 2014 2:26:01 PM CST)

Link successful

 

Setup in progress (Friday, January 10, 2014 2:26:29 PM CST)

.........                                                       100% Done.

Setup successful

 

End of install phases.(Friday, January 10, 2014 2:26:33 PM CST)

WARNING:

The following configuration scripts need to be executed as the "root" user.

#!/bin/sh

#Root script to run

/u01/app/oracle/agent10g/root.sh

To execute the configuration scripts:

    1. Open a terminal window

    2. Log in as "root"

    3. Run the scripts

 

Starting to execute configuration assistants

 

---END-----

來自 “ ITPUB部落格 ” ,連結:http://blog.itpub.net/11590946/viewspace-1069250/,如需轉載,請註明出處,否則將追究法律責任。

相關文章