Oracle Management Agent Installation Read Me

This document describes how to add additional Host targets to the Enterprise Manager Central Console by installing the Oracle Management Agent.

To add a Host target, you simply install the Oracle Management Agent on the host computer you want to manage. When the Management Agent on that host begins communicating with the Oracle Management Service, the Agent target and the Host target will appear in the list of targets. Refer to the information in this document for instructions on installing the Oracle Management Agent.

This document is available from two locations after you install Oracle Enterprise Manager. You can display this document by clicking Add on the Hosts page in the Enterprise Manager Central Console, or you can locate and display this document in a text editor at the following location after you install the Oracle Management Service:

IAS_HOME/sysman/agent_download/agent_install_readme.html

IAS_HOME is the home directory of the Application Server where the Oracle Management Service is installed and deployed. For more information about the directories and files installed by the Enterprise Manager installation, see Oracle Enterprise Manager Advanced Configuration.

Methods for Installing the Management Agent

After you install the Oracle Management Service, your next step is to install the Oracle Management Agent on each host computer that you want to manage. Enterprise Manager provides two Management Agent installation methods:

This document describes how to use the Management Agent CD-ROM to install and deploy the Management Agent across multiple managed hosts across your Enterprise.

Overview of Using the Management Agent CD-ROM

There are a number of ways to install Agents from the Agent Download CD:

About the agentDownload Script

The Management Agent CD-ROM contains a sample script called agentDownload. This sample script is provided as an example of how you can deploy Multiple Agents using a silent, scripted installation. The agentDownload script is fully functional and self-documenting so it can be customized easily for specific environments.

The agentDownload script uses "pull" technology. In other words, even though the script does not have to exist on a local file system, it must always be executed from the target host computer. You must be logged into the target host to run the script. Files are not pushed from a central location to a list of target hosts. Instead, files are pulled to the local $ORACLE_HOME from the staged product installation location.

This means that the agentDownload needs to be launched from each target host where you want the Management Agent installed. Because the installation is scripted, it is possible to use a wrapper script, UNIX cron job, rdist, or a combination of operating system features to fully automate this process for mass deployments.

Benefits of the agentDownload Script

The download script deploys the standard Management Agent installation, with some additional benefits:

Using the agentDownload Script

To deploy multiple Management Agents using the agentDownload script, you must do the following:

  1. Install the Oracle Management Service.

  2. You install the Management Service using the Oracle Universal Installer and the instructions in Oracle Enterprise Manager Basic Installation and Configuration. The Management Service is installed and deployed into its own Oracle9iAS home directory.

    For more information about the directory structure of a typical Management Service installation, see Oracle Enterprise Manager Advanced Configuration.

  3. Copy or mount the contents of the Management Agent CD-ROM to the following directory inside the Oracle9iAS home directory where the Management Service was installed and deployed:

  4. IAS_HOME/sysman/agent_download/
  5. Download the agentDownload script to the target host from the Management Service URL.

  6. The Management Service installation creates a Web sever alias called agent_download that maps to a physical directory in the Oracle9iAS home directory where the Management Service is installed and deployed. OMS. For example, if you installed the Management Service on a host named mgmthost27.acme.com, you could access the following URL from a browser:

    http://mgmthost27.acme.com:4889/agent_download/

    Note: Port 4889 is the default port for the Enterprise Manager Central Console, and so it will always be available after you install the Management Service.

    Using this Web server alias, you can download the agentDownload script to the target host computer using the following URL:

    http://mgmthost27.acme.com:4889/agent_download/download_scripts/agentDownload

    Any method of retrieving the file is acceptable: for example, cp, rcp, scp, or FTP. The script can also be retrieved by launching a browser on the target machine and saving the link to a local file.

  7. Execute the agentDownload script on the target host.

  8. Before launching the script ensure that:

  9. After the Management Agent installation is complete, change directory to the Agent home directory and run the root.sh script as the root user.

  10. For example:

    $PROMPT>su root
    Password: root_password
    #./root.sh
    #exit
    $PROMPT>
    

    The root.sh script must be run as root; otherwise, the Management Agent will not be able to use the Enterprise Manager job system. The job system is required for some Enterprise Manager features, such as hardware and software configuration tasks and configuring managed database targets.

Script Details

The agentDownload script performs the following actions:

Customization

You can edit the contents of the agentDownload script so it uses a specific tool for transferring files from the Management Service Web server. The contents of the file contain instructions for doing so as shown below:

WGET="/usr/local/bin/wget --dot-style=mega --verbose --tries=5"
   InstallerDownloadCmd=$WGET
   # Define the command to be used to download the jarred installer from
   # the web server hosting the OMS.
   # Other download possibilities: ftp; cp/scp; use local browser to save
   # the link to a file on the target machine.
   # This example uses wget, a GNU tool for http and ftp file transfers.
   # If the products.jar referenced by the Oracle Installer is a URL,
   # then the Installer will download its files via http. This greatly
   # facilitates performing installs in a secure environment that may
   # include firewalls and servers with limited access (no ftp server,
   # NFS mounts not available, etc.).
   # Enterprise Manager version number. This is used to construct the
   # home name used by the installer
   EmVersion=400