Opatch Auto in Windows DB in 11.2.0.4

Source: Internet
Author: User


CD D:\oracle_patch\1612
D:\app\Administrator\product\11.2.0\dbhome_1\OPatch\ocm\bin\emocmrsp.bat

Set Oracle_home=d:\app\administrator\product\11.2.0\dbhome_1
mkdir DB
mkdir OJVM
Unzip P23530402_112040_mswin-x86-64.zip-d DB
Unzip p23515277_112040_mswin-x86-64.zip-d OJVM
Unzip p6880880_112000_mswin-x86-64.zip-d%oracle_home%

D:\app\Administrator\product\11.2.0\dbhome_1\OPatch\ocm\bin\emocmrsp.bat
Lsnrctl Stop Listener_cepsuat

Sqlplus/as SYSDBA
Shutdown immediate
Exit

Opatch Rollback-id 19799291-OCMRF OCM.RSP
Opatch Rollback-id 19651773-OCMRF OCM.RSP

Opatch apply-silent DB\23530402-OCMRF OCM.RSP
Opatch apply-silent OJVM\23515277-OCMRF OCM.RSP

net start Oracleservicecepsdev
net start Oracleservicecepsuat

Set Oracle_sid=cepsuat

CD%oracle_home%\rdbms\admin
Sqlplus/nolog
Connect/as SYSDBA
STARTUP
@catbundle. SQL PSU Apply
QUIT
/


CD%oracle_home%\sqlpatch\23515277
Sqlplus/nolog
Connect/as SYSDBA
SHUTDOWN
STARTUP UPGRADE
@postinstall. sql
SHUTDOWN
STARTUP
QUIT
/

Set Oracle_sid=cepsdev

CD%oracle_home%\rdbms\admin
Sqlplus/nolog
Connect/as SYSDBA
STARTUP
@catbundle. SQL PSU Apply
QUIT
/

CD%oracle_home%\sqlpatch\23515277
Sqlplus/nolog
Connect/as SYSDBA
SHUTDOWN
STARTUP UPGRADE
@postinstall. sql
SHUTDOWN
STARTUP
QUIT
/


net start Oracleoradb11g_home1tnslistenercepsdev
net start Oracleoradb11g_home1tnslistenerlistener_cepsuat



--------------
WINDOWS:DDL Process active in Opatch
Workaround 2:
-------------------
When a specific DLL is mentioned during installation:
On Windows XP with the utility TASKLIST to list the currently opened files.
When using the TASKLIST with option/m, it would list all active processes with their opened files.

For example:
1. tasklist/m > Tasks.txt
2. Notepad tasks.txt
3. Search for the specified DLL in Tasks.txt and identify the process.
4. Stop the involved process or service. Stop Oracle Process

Copy Code

Opatch Auto in Windows DB in 11.2.0.4

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.