iSelfSchooling.com  Since 1999     References  |  Search more  | Oracle Syntax  | Free Online Oracle Training

    Home      .Services     Login       Start Learning     Certification      .                 .Share your BELIEF(s)...

 

. Online Accounting        .Copyright & User Agreement   |
    .Vision      .Biography     .Acknowledgement

.Contact Us      .Comments/Suggestions       Email2aFriend    |

 

Online Oracle Training for beginners and advanced - The most comprehensive Oracle tutorial

The authors do not guarantee or take any responsibility for the accuracy, or completeness of the information.

 

 

 

 

 

 

 

 

 

 

Lesson 08

"If something comes to life in others because of you, then you have made an approach to immortality."

-Norman Cousins (1912-1990)

How to use the Oracle download method to install the Oracle Management Agent:


1- Make sure to download the latest version of the Mass Agent Deployment from http://www.oracle.com/technology/software/products/oem/htdocs/agentsoft.html


2- Read the following document before installing the Agent target host using this method. (http://<OMShost>:<OMSport>/agent_download/agent_install_readme.html )


3- The Agent installation files should be staged in the OMS home directory.


4- Install the Oracle Management Service if it is not. 


5- Make sure that the agentDownload script was located at OMShome/sysman/agent_download/<version>/<platform>


6- Download the agentDownload script to the target host from the Management Service URL. (http://OMShost:4889/agent_download/<version>/<platform> or 

http://OMShost:4889/agent_download/)


7- The agentDownload script should be executed on the target host(s). This script can be customized for specific environments using a silent, scripted installation and it will copy the Agent files to the destination host(s) over the network using HTTP. It will use pull technology and it must be executed from the target host. 


8- Execute the agentDownload script on the target host. Make sure the directory is empty. 
/u01/oracle/product/agent $agentDownload.solaris -h
Usage: agentDownload.solaris [-dhiostx]
d - Do NOT initiate automatic target discovery
h - Usage (this message)
i - Inventory pointer location file
o - ORACLE_HOME
s - Installer stage directory
t - Do NOT start the Agent
x - Debug output

- make sure $AGENT_HOME is empty
- example: (on target machine after you down loaded to the /u04 directroy a different directory)
- $ ORACLE_HOME=$AGENT_HOME;export ORACLE_HOME
- $ cd /u04
- $ chmod 700 agentDownload.solaris


9- Notice that the jar executable file be in the PATH environment variable and the /usr/local/bin/wget or /usr/bin/wget file exits.
10- After successful installation, change the directory to the Agent Home directory and run the root.sh script as the root user.


Uploading Agent Installation Software for different platforms:


1- Download the "…cpio.gz" file from OTN.

 

2- Copy the downloaded file to the <OMShome>/sysman/agent_download/<version> directory.


3- Go to above directory.


4- Run gunzip ($ gunzip …cpio.gz).


5- Run cpio ($ cpio -idcmv < …cpio)


6- Edit the agentDownload file and modify (ex: OMShost=server.iselfschooling.com and httpPort=4889)

 

# - Edit this script, modifying variable declarations for your environment.
# - Exec this script.
# agentDownload -d to disable automatic target discovery
# agentDownload -h for help
# agentDownload -i to specify the OUI inventory pointer location file
# NOTE: this is an advanced feature that affects how
# products and patches are tracked in OUI inventories.
# Do not set this unless you have a specific need and
# understand the ramifications.
# agentDownload -x will provide debug shell output
# agentDownload -o allows ORACLE_HOME to be set on the command line
# agentDownload -s allows InstallerLocalStage to be set on the command line.
# When this happens, the script assumes that the Installer
# and response files have already been downloaded to this
# location.
# agentDownload -t to disable agent startup


Output installation:
/u04 $agentDownload.solaris
Platform: SunOS
Logging actions to /u01/oracle/product/agent/agentDownload.solaris021706152614.log
Installer location: /u01/oracle/product/agentDownload410Oui
Downloading Oracle Installer ...
--15:26:14-- http://oradev1.senate.gov:4889/agent_download/solaris/oui/oui_solaris.jar
=> `oui_solaris.jar'
Resolving oradev1.senate.gov... 156.33.161.137
Connecting to oradev1.senate.gov[156.33.161.137]:4889... connected.
HTTP request sent, awaiting response... 200 OK
Length: 61,412,814 [application/java-archive]
100%[======================================================>] 61,412,814 332.99K/s ETA 00:00
15:28:33 (432.13 KB/s) - `oui_solaris.jar' saved [61412814/61412814]
Verifying Installer jar ...
Downloading Agent install response file ...
--15:28:36-- http://oradev1.senate.gov:4889/agent_download/agent_download.rsp
=> `agent_download.rsp'
Resolving oradev1.senate.gov... 156.33.161.137
Connecting to oradev1.senate.gov[156.33.161.137]:4889... connected.
HTTP request sent, awaiting response... 200 OK
Length: 18,235 [text/plain]

100%[======================================================>] 18,235 --.--K/s 
15:28:36 (4.17 MB/s) - `agent_download.rsp' saved [18235/18235]

Unjarring Oracle Installer ...
Adding execute permissions to runInstaller ...
Adding execute permissions to unzip ...
Launching Oracle Installer ...
/u01/oracle/product/agentDownload410Oui/Disk1/install/runInstaller -ignoreSysPrereqs 

-waitforcompletion -force -responseFile /u01/oracle/product/agentDownload410

ui/agent_download.rsp 

-silent b_doDiscovery=TRUE b_startAgent=TRUE 

FROM_LOCATION=

"http://oradev1.senate.gov:4889/agent_download/solaris/agent/stage/products.xml

ORACLE_HOME="/u01/oracle/product/agent" ORACLE_HOME_NAME="agent410"
Installing Agent to unsecured OMS
Starting Oracle Universal Installer...
Checking installer requirements...
Checking operating system version: must be 5.8 or 5.9. Actual 5.10
Failed <<<<

>>> Ignoring required pre-requisite failures. Continuing...
Preparing to launch Oracle Universal Installer from /tmp/OraInstall2006-02-17_03-28-42PM. 

Please wait ...

Oracle Universal Installer, Version 10.1.0.3.0 Production
Copyright (C) 1999, 2004, Oracle. All rights reserved.

Warning:*** Alert: You have specified a non-empty directory to install this product. 

It is recommended to specify either an empty or a non-existent directory. 

You may, however, choose to ignore this message if the 

directory contains Operating System generated files or subdirectories like lost+found.
Do you want to proceed with installation in this Oracle Home? ***
..........................
Loading Product Information
...............................................................100% Done.
Analyzing dependencies 
...............................................................100% Done.
-----------------------------------------------------------------------------
Summary
Global Settings
Source: http://oradev1.senate.gov:4889/agent_download/solaris/agent/stage/products.xml
Oracle Home: /u01/oracle/product/agent (agent410)
Installation Type: Complete
Product Languages
English
Space Requirements
/u01/ Required 296MB : Available 12.62GB
/tmp/ Required 24MB (only as temporary space) : Available 8.27GB
New Installations (52 products)
Additional Management Agent 10.1.0.3.0 
Bali Share 1.1.18.0.0 
Enterprise Manager Agent 10.1.0.3.0 
Parser Generator Required Support Files 10.1.0.3.0 
Oracle RAC Required Support Files 10.1.0.3.0 
Oracle RAC Required Support Files-HAS 10.1.0.3.0 
Oracle Client Required Support Files 10.1.0.3.0 
Enterprise Manager Common Files 10.1.0.3.0 
Oracle Core Required Support Files 10.1.0.3.0 
Oracle JDBC Thin Driver for JDK 1.4 10.1.0.3.0 
JDBC Common Files 10.1.0.3.0 
JDBC/OCI Common Files 10.1.0.3.0 
JDBC/OCI Common Files for Instant Client 10.1.0.3.0 
Oracle JDBC Thin Driver for JDK 1.4 for Instant Client 10.1.0.3.0 
Secure Socket Layer 10.1.0.3.0 
Oracle Net Required Support Files 10.1.0.3.0 
Oracle Globalization Support 10.1.0.3.0 
Agent Required Support Files 10.1.0.3.0 
XML Parser for Java 10.1.0.3.0 
Perl Interpreter 5.6.1.0.2e 
Platform Required Support Files 10.1.0.3.0 
PL/SQL Required Support Files 10.1.0.3.0 
Precompiler Required Support Files 10.1.0.3.0 
RDBMS Required Support Files 10.1.0.3.0 
Documentation Required Support Files 10.1.0.3.0 
LDAP Required Support Files 10.1.0.3.0 
SSL Required Support Files 10.1.0.3.0 
SSL Required Support Files for InstantClient 10.1.0.3.0 
XDK Required Support Files 10.1.0.3.0 
Installation Common Files 10.1.0.3.0 
OracleAS Repository API 9.0.4.0.0 
OracleAS JAAS Support Common Files 9.0.4.0.0 
OracleAS Containers for J2EE Common Files 9.0.4.0.0 
Oracle Dynamic Monitoring Service 9.0.4.0.0 
Agent disco files 10.1.0.3.0 
Agent forms files 10.1.0.3.0 
Enterprise Manager Agent for iAS 10.1.0.3.0 
Enterprise Manager Agent OCS 10.1.0.3.0 
Agent wireless files 10.1.0.3.0 
Agent workflow files 10.1.0.3.0 
BC4J Config Assistant for agent 9.0.4.1304.0 
Forms Services Management Agent Plugin 9.0.4.0.19 
Oracle CM SDK and Oracle Files Plugin for Oracle Management Agent 9.0.4.0.0 
Oracle10g Real Application Clusters Common Files 10.1.0.3.0 
Reports Services Management Agent Plugin 9.0.4.0.22 
Oracle Application Server 10g ProcessConnect for Central Agent 9.0.4.0.0 
Agent Ultra Search files 10.1.0.3.0 
Oracle EM agent 9.0.4.0.99 
Oracle One-Off Patch Installer 10.1.0.3.0 
Installer SDK Component 10.1.0.3.0 
Sun JDK 1.4.2.0.1 
Sun JDK extensions 9.0.4.0.0 
-----------------------------------------------------------------------------
Copying files in progress (Fri Feb 17 15:29:05 EST 2006)
............................................................. 88% Done.
Copy successful
Linking in progress (Fri Feb 17 15:33:28 EST 2006)
Link successful
Setup in progress (Fri Feb 17 15:33:41 EST 2006)
...... 97% Done.
Setup successful
End of install phases.(Fri Feb 17 15:33:45 EST 2006)
Starting to execute configuration assistants
-----------------------------------------------------------------------------
Launched configuration assistant 'Agent Configuration Assistant'
Tool type is: Optional.
The command being spawned is: '/u01/oracle/product/agent/jdk/jre/bin/java 

-DORACLE_HOME=/u01/oracle/product/agent -classpath 

/u01/oracle/product/agent/jdk/jre/lib/rt.jar:

/u01/oracle/product/agent/jlib/emConfigInstall.

jar:/u01/oracle/product/agent/sysman/jlib/emd_java.jar:

/u01/oracle/product/agent/sysman/jlib/emCORE.jar:

/u01/oracle/product/agent/jlib/ojmisc.jar:

/u01/oracle/product/agent/jlib/instanceconfig.jar:

/u01/oracle/product/agent/jlib/srvm.jar:

/u01/oracle/product/agent/jlib/srvmhas.jar:

/u01/oracle/product/agent/jlib/emca.jar:

/u01/oracle/product/agent/j2ee/home/lib/http_client.jar:

/u01/oracle/product/agent/lib/xmlparserv2.jar:

/u01/oracle/product/agent/sysman/install/jlib/agentca.jar oracle.agent.AgentCA /orahome /u01/oracle/product/agent /nodelist NO_VALUE /hostname 

SAAPortaltb /chaininstall false /omsonly false /iasinstance NO_VALUE /startagent true /dodiscovery true /crshome NO_VALUE /agentport 1830 /pwdencrypted false /seedinstall false /clusterware false'
Configuration assistant "Agent Configuration Assistant" succeeded 
Result code for launching of configuration assistant is: 0 
The installation of Additional Management Agent was successful.
Please check /u01/oracle/oraInventory/logs/silentInstall2006-02-17_03-28-42PM.log for more details.
Finished -- deleting oui_solaris.jar and installer response file ...
/u01/oracle/product/agent/root.sh needs to be executed by root to complete this installation.
Agent is running

portalt: /u04 $cd $AGENT_HOME
portalt: /u01/oracle/product/agent $ls

portalt: /u01/oracle/product/agent/bin $emctl status agent
Oracle Enterprise Manager 10g Release 10.1.0.3.0. 
Copyright (c) 1996, 2004 Oracle Corporation. All rights reserved.
---------------------------------------------------------------
Agent Version : 10.1.0.3.0
OMS Version : 10.1.0.4.0
Protocol Version : 10.1.0.3.0
Agent Home : /u01/oracle/product/agent
Agent binaries : /u01/oracle/product/agent
Agent Process ID : 2283
Parent Process ID : 2275
Agent URL : http://SAAPortaltb:1830/emd/main/
Started at : 2006-02-17 15:34:38
Started by user : oracle
Last Reload : 2006-02-17 15:34:38
Last successful upload : 2006-02-17 15:35:37
Total Megabytes of XML files uploaded so far : 2.71
Number of XML files pending upload : 0
Size of XML files pending upload(MB) : 0.00
Available disk space on upload filesystem : 83.69%
---------------------------------------------------------------
Agent is Running and Ready