11G OCM Patch OEM 10.2.0.5 (1)


Having assumed that I have installed OEM 10.2.0.1 correctly, I now blunder on and patch OEM ro 10.2.0.5 using the method outlined in MetaLink Note ID 784963.1 (How to Install Grid Control 10.2.0.5.0 on OEL/RHEL5/SLES10 Using the Existing Database (11g) Option).

Create the Patchset Response File

I copied the response file from /opt/oracle/software/OEM/3731593/Disk1/response/patchset.rsp to /home/oracle/patchset.rsp.

cp /opt/oracle/software/OEM/3731593/Disk1/response/patchset.rsp /home/oracle/patchset.rsp

I set the following values (comments and blank lines have been stripped):

RESPONSEFILE_VERSION=2.2.1.0.0
UNIX_GROUP_NAME="oinstall"
FROM_LOCATION="/opt/oracle/software/OEM/3731593/Disk1/stage/products.xml"
ORACLE_HOME="/opt/oracle/app/oms10g"
b_softwareonly=true
b_startOMS=false
s_sysPassword="********"
TOPLEVEL_COMPONENT={"oracle.sysman.patchset","10.2.0.5.0"}
DEINSTALL_LIST={"oracle.sysman.patchset","10.2.0.5.0"}
SHOW_SPLASH_SCREEN=true
SHOW_WELCOME_PAGE=false
SHOW_SUMMARY_PAGE=true
SHOW_INSTALL_PROGRESS_PAGE=true
SHOW_REQUIRED_CONFIG_TOOL_PAGE=true
SHOW_CONFIG_TOOL_PAGE=true
SHOW_XML_PREREQ_PAGE=true
SHOW_END_OF_INSTALL_MSGS=true
SHOW_ROOTSH_CONFIRMATION=true
SHOW_END_SESSION_PAGE=true
SHOW_EXIT_CONFIRMATION=false
CLUSTER_NODES={}
sl_pwdInfo={ "********" }
n_validate=1
oracle.iappserver.st_midtier:szl_InstanceInformation={ "********" }
ACCEPT_LICENSE_AGREEMENT=true
METALINK_USERNAME=<Value Required>
METALINK_PASSWORD=<Value Required>
PROXY_HOST=<Value Required>
PROXY_PORT=<Value Required>
PROXY_USER=<Value Required>
PROXY_PWD=<Value Required>
DECLINE_SECURITY_UPDATES=true
COLLECTOR_RESPONSE_FILE=<Value Required>
SECURITY_UPDATES_VIA_METALINK=<Value Required>

The highlighted lines are the ones I changed to match existing values in the original response file (see ). Please note that I have suppressed the passwords as a habit.

One problem I have is the setting of the value for oracle.iappserver.st_midtier:szl_InstanceInformation. Fortunately, I found an explanation in MetaLink Note ID 763072.1 (Oracle Enterprise Manager Grid Control Release Notes for Linux and Microsoft Windows 10g Release 5 (10.2.0.5)):

The oracle.iappserver.st_midtier:szl_InstanceInformation is the instance password for the current OracleAS 10g instance. The ias_admin user is the administrative user for Oracle Application Server instances and is required for software update installation on middle-tiers.

This password is same as the SYSMAN password that you specified when you first installed the Grid Control in your environment.

Emphasis Mine

Patchset Installation

I am now at step #3 of B. Product and Patchset Installation without Configuration of MetaLink Note ID 784963.1.

3. Stop OPMN Processes

cd /opt/oracle/app/oms10g/opmn/bin
./opmnctl stopall

And I get the following message because I had restarted the server several times since I installed OEM 10.1.0.1:

opmnctl: opmn is not running

4. Install the Patchset

I ran the following command:

/opt/oracle/software/OEM/3731593/Disk1/runInstaller -noconfig -silent -responseFile /home/oracle/patchset.rsp

5. Run the root.sh Command

Everything seems to be OK. I ran the following command as root:

/opt/oracle/app/oms10g/root.sh

No messages appeared.

6. Apply 10.2.0.5.0 patchset to the agent Oracle Home

It is at this point that I realise that I still have not been reading MetaLink Note ID 784963.1 carefully enough.

I updated /home/oracle/patchset.rsp to change the following line as follows:

ORACLE_HOME="/opt/oracle/app/agent10g"

And, I ran the same command again:

/opt/oracle/software/OEM/3731593/Disk1/runInstaller -noconfig -silent -responseFile /home/oracle/patchset.rsp

7. Run the root.sh Command

Everything seems to be OK. I ran the following command as root:

/opt/oracle/app/agent10g/root.sh

The only message was:

Finished product-specific root actions.

C. Configuring the Grid Control Installation with the ConfigureGC.pl Script

1. Ensure that the …/oms10g/oui/bin/runConfig.sh file has ’execute’ permission.

I checked the permissions via:

ls -l /opt/oracle/app/oms10g/oui/bin/runConfig.sh

The result is:

-rwxrwxr-x 1 oracle oinstall 1079 Dec 27 09:59 /opt/oracle/app/oms10g/oui/bin/runConfig.sh

This file is executable by everybody.

2. Use the following procedure to preserve (only if it is already set) and set the PERL5LIB environment variable:

The PERL5LIB variable is set to null as the following command verified:

echo $PERL5LIB

Set PERL5LIB:

export PERL5LIB=/opt/oracle/app/oms10g/perl/lib/5.6.1

3. Configure Enterprise Manager Grid Control by running the ConfigureGC.pl script:

I ran the following command to configure OEM:

/opt/oracle/app/oms10g/perl/bin/perl /opt/oracle/app/oms10g/sysman/install/ConfigureGC.pl /opt/oracle/app

And this failed with the following messages:

The plug-in Web Cache Configuration Assistant is running

2
Failed in smi manipulation().
Error initializing SMISessionManager.createSession().
Resolution:
Please make sure the file is in the correct location.
Base Exception:
This command requires communication with DCM daemon, the communication failed. The base exception is {0}. 
Resolution:
Check the base exception to determine why the operation failed.
oracle.ias.sysmgmt.exception.TaskException: Base Exception:
This command requires communication with DCM daemon, the communication failed. The base exception is {0}. 
Resolution:
Check the base exception to determine why the operation failed.

I will look at this later.

Advertisements

3 thoughts on “11G OCM Patch OEM 10.2.0.5 (1)

  1. 11G OCM Patch OEM 10.2.0.5 (2) « Yet Another OCM

  2. 11G OCM Patch OEM 10.2.0.5 (6) « Yet Another OCM

  3. 2010 in review « Yet Another OCM

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s