2012-05-02

how to install Oracle GRID Control Agent in silent mode


Case Study: How to Install the 11.1.0.1.0 Management Agent with the Silent Method on OEL 5.3 (x86_64) [ID 1068076.1]

Applies to:

Enterprise Manager Base Platform - Version: 11.1.0.1 to 11.1.0.1 - Release: 11.1 to 11.1
x86 64 bit (for Enterprise Linux only)

Goal

The installation of the Grid Control 11.1.0.1.0 Management agent by the silent technique makes use of the agent only full product installer with a response file. This agent base product installer is available for download from Oracle's OTN web site. The procedure outlined below shows the minimum modifications required to install the agent.

The sequence of events during installation and the detailed prerequisites are summarized in this document, which should be considered the universal reference for Grid Control 11.1.0.1.0 installation:

Oracle Enterprise Manager Grid Control Advanced Installation and Configuration Guide
11g Release 1 (11.1.0.1.0)
Part Number E16847-03
Chapter 12 Installing Oracle Management Agent Using Response File

A step-by-step description with graphical representation of the installer progress is available here.

Solution

A) Prerequisites

1) Prerequisites for the silent 11.1.0.1.0 agent installation with response file are detailed in Table 12-1 in:

Oracle Enterprise Manager Grid Control Advanced Installation and Configuration Guide
11g Release 1 (11.1.0.1.0)
Part Number E16847-03
Chapter 12 Installing Oracle Management Agent Using Response File



B) Procedure

1. Grid Control representation must be unique
Verify that the host is not already represented in the grid Control Host targets view.

2. Response File Changes
Edit the additional_agent.rsp: ( from the folder linux_64/response/

Ensure values are in place for these parameters if updates from Oracle are desired:

Inputs for Oracle Configuration Manager (if security updates are desired):

SECURITY_UPDATES_VIA_MYORACLESUPPORT=true
DECLINE_SECURITY_UPDATES=false
MYORACLESUPPORT_USERNAME=<provide value>
MYORACLESUPPORT_PASSWORD=<provide value>

Parameters for Software Updates (if installer updates are required):

SKIP_SOFTWARE_UPDATES=false
DOWNLOAD_FROM_MYORACLESUPPORT=true
STAGE_LOCATION= <provide value>
MYORACLESUPPORT_USERNAME_FOR_SOFTWAREUPDATES= <provide value>
MYORACLESUPPORT_PASSWORD_FOR_SOFTWAREUPDATES= <provide value>

Proxy Details for Security Updates/ Software Updates (in the case a proxy is used):

PROXY_USER=<provide value>
PROXY_PWD=<provide value>
PROXY_HOST=<provide value>
PROXY_PORT=<provide value>

Various inputs required for Installation and Configuration (required):

ORACLE_AGENT_HOME_LOCATION=<provide value>
b_silentInstall=true
COMPONENT_LANGUAGES={"en"}
OMS_HOST=<provide value>
OMS_PORT=<provide value>
AGENT_REGISTRATION_PASSWORD=<provide value>


Example values changed from default where no updates from Oracle are desired (minimum change set):

SECURITY_UPDATES_VIA_MYORACLESUPPORT=false
DECLINE_SECURITY_UPDATES=true
INSTALL_UPDATES_SELECTION="skip"
ORACLE_AGENT_HOME_LOCATION="/u01/app/agent"
b_silentInstall=true
OMS_HOST="em-64lnx1.us.oracle.com"
OMS_PORT="7799"
AGENT_REGISTRATION_PASSWORD="password"

3. Confirm the Destination Directory
Ensure the installation target directory is accessible and empty.

4. Invoke the Installer
<agent_install_stage>/linux-x64/agent/runInstaller -silent -responseFile <agent_install_stage>/linux_x64/response/additional_agent.rsp

Prerequisite checks are run first.

The install session will show a progress bar.

The progress report will show linking and setup completing.

Note that if the user configured for the installation is not sudo-enabled (i.e., configured for root capability on the root.sh script in the /etc/sudoers file for root.sh), then root.sh will need to be run as root after the installation

The Agent Configuration Assistant is run at the end of the install session.
Success will be denoted by this message:

Agent Plugin agent configuration finished with status = true

5. Agent Status
Running "./emctl status agent" should show the agent is running and actively uploading data.

6. Grid Control View
The new target host is displayed in the Grid Control Host target summary, confirming the agent status result.

7. Root actions required
Run the .../agent11g/root.sh script (as root) as soon after installation as is practical to enable job activity on a broad scale.

Niciun comentariu:

Trimiteți un comentariu