In addition to Weibo, there is also WeChat
Please pay attention
WeChat public account
Shulou
2025-03-01 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Database >
Share
Shulou(Shulou.com)06/01 Report--
Patch 27282436 Combo OJVM PSU 11.2.0.4.180116 and GI PSU 11.2.0.4.180116
Patch 27107360 GI PSU
Oracle Grid Infrastructure Patch Set Update 11.2.0.4.180116 (Includes Database PSU 11.2.0.4.180116)
1. Before patching the RAC production library, please make a full backup of DB RMAN.
2. Oracle and grid home directory backup, can be restored.
3. OPatch Utility Information
You must use the OPatch utility version 11.2.0.3.6 or later to apply this patch.
Update OPatch Utility under oracle and grid.
3.1. OPatch Utility updates under oracle users
Node 1:
[oracle@newrac1 ~] $cd / u01/app/oracle/product/11.2.0/db_1
[oracle@newrac1 db_1] $mv OPatch/ OPatch_bak20180130
[oracle@newrac1 patch] $unzip p6880880_112000_Linux-x86-64.zip-d $ORACLE_HOME
[oracle@newrac1 db_1] $chmod 755 OPatch
[oracle@newrac1 db_1] $cd OPatch
[oracle@newrac1 OPatch] $. / opatch version
OPatch Version: 11.2.0.3.17
OPatch succeeded.
Node 2:
[oracle@newrac2 ~] $cd / u01/app/oracle/product/11.2.0/db_1
[oracle@newrac2 db_1] $mv OPatch/ OPatch_bak20180130
[oracle@newrac2 patch] $unzip p6880880_112000_Linux-x86-64.zip-d / u01/app/oracle/product/11.2.0/db_1
[oracle@newrac2 db_1] $chmod 755 OPatch
[oracle@newrac2 db_1] $cd OPatch
[oracle@newrac2 OPatch] $. / opatch version
OPatch Version: 11.2.0.3.17
OPatch succeeded.
3.2. OPatch Utility updates under grid users
Node 1:
[root@newrac1 ~] # cd / u01/app/11.2.0/grid
[root@newrac1 grid] # mv OPatch/ OPatch_bak20180130
[grid@newrac1 patch] $unzip p6880880_112000_Linux-x86-64.zip
[grid@newrac1 patch] $echo $ORACLE_HOME
/ u01/app/11.2.0/grid
[root@newrac1 patch] # mv OPatch/ / u01/app/11.2.0/grid
[grid@newrac1 grid] $chmod 755 OPatch
[grid@newrac1 grid] $cd OPatch
[grid@newrac1 OPatch] $. / opatch version
OPatch Version: 11.2.0.3.17
OPatch succeeded.
Node 2:
[root@newrac2 ~] # cd / u01/app/11.2.0/grid
[root@newrac2 grid] # mv OPatch/ OPatch_bak20180130
[grid@newrac2 patch] $unzip p6880880_112000_Linux-x86-64.zip
[root@newrac2 patch] # mv OPatch/ / u01/app/11.2.0/grid
[grid@newrac2 grid] $chmod 755 OPatch
[grid@newrac2 grid] $cd OPatch
[grid@newrac2 OPatch] $. / opatch version
OPatch Version: 11.2.0.3.17
OPatch succeeded.
4. OCM Configuration
Node 1:
[grid@newrac1 ~] $cd / u01/app/11.2.0/grid/OPatch/ocm/bin/
[grid@newrac1 bin] $ll-athr
Total dosage 20K
-rwxr-x--- 1 grid oinstall 8.9K November 27 2009 emocmrsp
[grid@newrac1 bin] $. / emocmrsp
OCM Installation Response Generator 10.3.7.0.0-Production
Copyright (c) 2005, 2012, Oracle and/or its affiliates. All rights reserved.
Provide your email address to be informed of security issues, install and
Initiate Oracle Configuration Manager. Easier for you if you use your My
Oracle Support Email address/User Name.
Visit http://www.oracle.com/support/policies.html for details.
Email address/User Name:
You have not provided an email address for notification of security issues.
Do you wish to remain uninformed of security issues ([Y] es, [N] o) [N]: y
The OCM configuration response file (ocm.rsp) was successfully created.
[grid@newrac1 bin] $
[grid@newrac1 bin] $ll-athr
Total dosage 24K
-rwxr-x--- 1 grid oinstall 8.9K November 27 2009 emocmrsp
Drwxr-x--- 5 grid oinstall 4.0K October 11 02:16..
Drwxr-x--- 2 grid oinstall 4.0K January 31 11:29.
-rw-r--r-- 1 grid oinstall 621 January 31 11:29 ocm.rsp
[grid@newrac1 bin] $
[grid@newrac1 bin] $chmod 775 ocm.rsp
[grid@newrac1 bin] $
[grid@newrac1 bin] $ll-athr
Total dosage 24K
-rwxr-x--- 1 grid oinstall 8.9K November 27 2009 emocmrsp
Drwxr-x--- 5 grid oinstall 4.0K October 11 02:16..
Drwxr-x--- 2 grid oinstall 4.0K January 31 11:29.
-rwxrwxr-x 1 grid oinstall 621 January 31 11:29 ocm.rsp
Node 2:
[grid@newrac2 ~] $cd / u01/app/11.2.0/grid/OPatch/ocm/bin/
[grid@newrac2 bin] $. / emocmrsp
OCM Installation Response Generator 10.3.7.0.0-Production
Copyright (c) 2005, 2012, Oracle and/or its affiliates. All rights reserved.
Provide your email address to be informed of security issues, install and
Initiate Oracle Configuration Manager. Easier for you if you use your My
Oracle Support Email address/User Name.
Visit http://www.oracle.com/support/policies.html for details.
Email address/User Name:
You have not provided an email address for notification of security issues.
Do you wish to remain uninformed of security issues ([Y] es, [N] o) [N]: y
The OCM configuration response file (ocm.rsp) was successfully created.
[grid@newrac2 bin] $
[grid@newrac2 bin] $ll-athr
Total dosage 24K
-rwxr-x--- 1 grid oinstall 8.9K November 27 2009 emocmrsp
Drwxr-x--- 5 grid oinstall 4.0K October 11 02:16..
Drwxr-x--- 2 grid oinstall 4.0K January 31 11:40.
-rw-r--r-- 1 grid oinstall 621 January 31 11:40 ocm.rsp
[grid@newrac2 bin] $
[grid@newrac2 bin] $chmod 775 ocm.rsp
[grid@newrac2 bin] $ll-athr
Total dosage 24K
-rwxr-x--- 1 grid oinstall 8.9K November 27 2009 emocmrsp
Drwxr-x--- 5 grid oinstall 4.0K October 11 02:16..
Drwxr-x--- 2 grid oinstall 4.0K January 31 11:40.
-rwxrwxr-x 1 grid oinstall 621 January 31 11:40 ocm.rsp
5. Validation of Oracle Inventory
Node 1:
Under grid users:
$. / opatch lsinventory-detail-oh / u01/app/11.2.0/grid
[grid@newrac1 ~] $
[grid@newrac1 ~] $cd / u01/app/11.2.0/grid/OPatch
[grid@newrac1 OPatch] $
[grid@newrac1 OPatch] $. / opatch lsinventory-detail-oh / u01/app/11.2.0/grid
Oracle Intermediate Patch installer version 11.2.0.3.17
Copyright (c) 2018, Oracle Corporation. All rights reserved.
Oracle Home: / u01/app/11.2.0/grid
Central Inventory: / u01/app/oraInventory
From: / u01/app/11.2.0/grid/oraInst.loc
OPatch version: 11.2.0.3.17
OUI version: 11.2.0.4.0
Log file location: / u01/app/11.2.0/grid/cfgtoollogs/opatch/opatch3018-01-31pm 11-42-02 AM _ 1.log
Lsinventory Output file location: / u01/app/11.2.0/grid/cfgtoollogs/opatch/lsinv/lsinventory2018-01-31 11-42-02 a.m. Txt
Local Machine Information::
Hostname: newrac1
ARU platform id: 226
ARU platform description:: Linux x86-64
Installed top-level products (1):
Oracle Grid Infrastructure 11g 11.2.0.4.0
1 product has been installed in this Oracle home directory.
Installed products (89):
Agent Required Support Files 10.2.0.4.5
Assistant Common Files 11.2.0.4.0
Automatic Storage Management Assistant 11.2.0.4.0
Bali Share 1.1.18.0.0
Buildtools Common Files 11.2.0.4.0
Character Set Migration Utility 11.2.0.4.0
Cluster Ready Services Files 11.2.0.4.0
Cluster Verification Utility Common Files 11.2.0.4.0
Cluster Verification Utility Files 11.2.0.4.0
Database SQL Scripts 11.2.0.4.0
Deinstallation Tool 11.2.0.4.0
Enterprise Manager Common Core Files 10.2.0.4.5
Enterprise Manager Common Files 10.2.0.4.5
Enterprise Manager plugin Common Files 11.2.0.4.0
Expat libraries 2.0.1.0.1
HAS Common Files 11.2.0.4.0
HAS Files for DB 11.2.0.4.0
Installation Common Files 11.2.0.4.0
Installation Plugin Files 11.2.0.4.0
Installer SDK Component 11.2.0.4.0
Java Development Kit 1.5.0.51.10
LDAP Required Support Files 11.2.0.4.0
OLAP SQL Scripts 11.2.0.4.0
Oracle Advanced Security 11.2.0.4.0
Oracle Clusterware RDBMS Files 11.2.0.4.0
Oracle Configuration Manager Deconfiguration 10.3.1.0.0
Oracle Containers for Java 11.2.0.4.0
Oracle Core Required Support Files 11.2.0.4.0
Oracle Database 11g 11.2.0.4.0
Oracle Database 11g Multimedia Files 11.2.0.4.0
Oracle Database Deconfiguration 11.2.0.4.0
Oracle Database User Interface 2.2.13.0.0
Oracle Database Utilities 11.2.0.4.0
Oracle DBCA Deconfiguration 11.2.0.4.0
Oracle Extended Windowing Toolkit 3.4.47.0.0
Oracle Globalization Support 11.2.0.4.0
Oracle Globalization Support 11.2.0.4.0
Oracle Grid Infrastructure 11g 11.2.0.4.0
Oracle Help For Java 4.2.9.0.0
Oracle Ice Browser 5.2.3.6.0
Oracle Internet Directory Client 11.2.0.4.0
Oracle Java Client 11.2.0.4.0
Oracle JDBC/OCI Instant Client 11.2.0.4.0
Oracle JDBC/THIN Interfaces 11.2.0.4.0
Oracle JFC Extended Windowing Toolkit 4.2.36.0.0
Oracle JVM 11.2.0.4.0
Oracle LDAP administration 11.2.0.4.0
Oracle Locale Builder 11.2.0.4.0
Oracle Multimedia 11.2.0.4.0
Oracle Multimedia Client Option 11.2.0.4.0
Oracle Multimedia Java Advanced Imaging 11.2.0.4.0
Oracle Multimedia Locator 11.2.0.4.0
Oracle Multimedia Locator RDBMS Files 11.2.0.4.0
Oracle Net 11.2.0.4.0
Oracle Net Listener 11.2.0.4.0
Oracle Net Required Support Files 11.2.0.4.0
Oracle Netca Client 11.2.0.4.0
Oracle Notification Service 11.2.0.3.0
Oracle Notification Service (eONS) 11.2.0.4.0
Oracle One-Off Patch Installer 11.2.0.3.4
Oracle Quality of Service Management (Client) 11.2.0.4.0
Oracle Quality of Service Management (Server) 11.2.0.4.0
Oracle RAC Deconfiguration 11.2.0.4.0
Oracle RAC Required Support Files-HAS 11.2.0.4.0
Oracle Recovery Manager 11.2.0.4.0
Oracle Security Developer Tools 11.2.0.4.0
Oracle Text Required Support Files 11.2.0.4.0
Oracle Universal Installer 11.2.0.4.0
Oracle USM Deconfiguration 11.2.0.4.0
Oracle Wallet Manager 11.2.0.4.0
Parser Generator Required Support Files 11.2.0.4.0
Perl Interpreter 5.10.0.0.2
Perl Modules 5.10.0.0.1
PL/SQL 11.2.0.4.0
PL/SQL Embedded Gateway 11.2.0.4.0
Platform Required Support Files 11.2.0.4.0
Precompiler Required Support Files 11.2.0.4.0
RDBMS Required Support Files 11.2.0.4.0
RDBMS Required Support Files for Instant Client 11.2.0.4.0
RDBMS Required Support Files Runtime 11.2.0.4.0
Required Support Files 11.2.0.4.0
Secure Socket Layer 11.2.0.4.0
SQL*Plus 11.2.0.4.0
SQL*Plus Files for Instant Client 11.2.0.4.0
SQL*Plus Required Support Files 11.2.0.4.0
SSL Required Support Files for InstantClient 11.2.0.4.0
Universal Storage Manager Files 11.2.0.4.0
XDK Required Support Files 11.2.0.4.0
XML Parser for Java 11.2.0.4.0
89 products have been installed in this Oracle home directory.
No intermediate patches are installed in this Oracle home directory.
OPatch succeeded.
Under oracle users:
[oracle@newrac1 ~] $cd / u01/app/oracle/product/11.2.0/db_1/OPatch
[oracle@newrac1 OPatch] $. / opatch lsinventory-detail-oh / u01/app/oracle/product/11.2.0/db_1
Oracle Intermediate Patch installer version 11.2.0.3.17
Copyright (c) 2018, Oracle Corporation. All rights reserved.
Oracle Home: / u01/app/oracle/product/11.2.0/db_1
Central Inventory: / u01/app/oraInventory
From: / u01/app/oracle/product/11.2.0/db_1/oraInst.loc
OPatch version: 11.2.0.3.17
OUI version: 11.2.0.4.0
Log file location: / u01/app/oracle/product/11.2.0/db_1/cfgtoollogs/opatch/opatch3018-01-31 October 11-45-16 AM _ 1.log
Lsinventory Output file location: / u01/app/oracle/product/11.2.0/db_1/cfgtoollogs/opatch/lsinv/lsinventory2018-01-31 11-45-16 a.m. Txt
Local Machine Information::
Hostname: newrac1
ARU platform id: 226
ARU platform description:: Linux x86-64
Installed top-level products (1):
Oracle Database 11g 11.2.0.4.0
1 product has been installed in this Oracle home directory.
Installed products (136):
Agent Required Support Files 10.2.0.4.5
Assistant Common Files 11.2.0.4.0
Bali Share 1.1.18.0.0
Buildtools Common Files 11.2.0.4.0
Character Set Migration Utility 11.2.0.4.0
Cluster Verification Utility Common Files 11.2.0.4.0
Database Configuration and Upgrade Assistants 11.2.0.4.0
Database SQL Scripts 11.2.0.4.0
Database Workspace Manager 11.2.0.4.0
Deinstallation Tool 11.2.0.4.0
Enterprise Edition Options 11.2.0.4.0
Enterprise Manager Agent 10.2.0.4.5
Enterprise Manager Agent Core Files 10.2.0.4.5
Enterprise Manager Common Core Files 10.2.0.4.5
Enterprise Manager Common Files 10.2.0.4.5
Enterprise Manager Database Plugin-- Agent Support 11.2.0.4.0
Enterprise Manager Database Plugin-- Repository Support 11.2.0.4.0
Enterprise Manager Grid Control Core Files 10.2.0.4.5
Enterprise Manager plugin Common Files 11.2.0.4.0
Enterprise Manager Repository Core Files 10.2.0.4.5
Exadata Storage Server 11.2.0.1.0
Expat libraries 2.0.1.0.1
Generic Connectivity Common Files 11.2.0.4.0
HAS Common Files 11.2.0.4.0
HAS Files for DB 11.2.0.4.0
Installation Common Files 11.2.0.4.0
Installation Plugin Files 11.2.0.4.0
Installer SDK Component 11.2.0.4.0
JAccelerator (COMPANION) 11.2.0.4.0
Java Development Kit 1.5.0.51.10
LDAP Required Support Files 11.2.0.4.0
OLAP SQL Scripts 11.2.0.4.0
Oracle 11g Warehouse Builder Required Files 11.2.0.4.0
Oracle Advanced Security 11.2.0.4.0
Oracle Application Express 11.2.0.4.0
Oracle Call Interface (OCI) 11.2.0.4.0
Oracle Clusterware RDBMS Files 11.2.0.4.0
Oracle Code Editor 1.2.1.0.0I
Oracle Configuration Manager 10.3.8.1.0
Oracle Configuration Manager Client 10.3.2.1.0
Oracle Configuration Manager Deconfiguration 10.3.1.0.0
Oracle Containers for Java 11.2.0.4.0
Oracle Core Required Support Files 11.2.0.4.0
Oracle Data Mining RDBMS Files 11.2.0.4.0
Oracle Database 11g 11.2.0.4.0
Oracle Database 11g 11.2.0.4.0
Oracle Database 11g Multimedia Files 11.2.0.4.0
Oracle Database Deconfiguration 11.2.0.4.0
Oracle Database Gateway for ODBC 11.2.0.4.0
Oracle Database User Interface 2.2.13.0.0
Oracle Database Utilities 11.2.0.4.0
Oracle Database Vault J2EE Application 11.2.0.4.0
Oracle Database Vault option 11.2.0.4.0
Oracle DBCA Deconfiguration 11.2.0.4.0
Oracle Display Fonts 9.0.2.0.0
Oracle Enterprise Manager Console DB 11.2.0.4.0
Oracle Extended Windowing Toolkit 3.4.47.0.0
Oracle Globalization Support 11.2.0.4.0
Oracle Globalization Support 11.2.0.4.0
Oracle Help For Java 4.2.9.0.0
Oracle Help for the Web 2.0.14.0.0
Oracle Ice Browser 5.2.3.6.0
Oracle Internet Directory Client 11.2.0.4.0
Oracle Java Client 11.2.0.4.0
Oracle JDBC Server Support Package 11.2.0.4.0
Oracle JDBC/OCI Instant Client 11.2.0.4.0
Oracle JDBC/THIN Interfaces 11.2.0.4.0
Oracle JFC Extended Windowing Toolkit 4.2.36.0.0
Oracle JVM 11.2.0.4.0
Oracle Label Security 11.2.0.4.0
Oracle LDAP administration 11.2.0.4.0
Oracle Locale Builder 11.2.0.4.0
Oracle Message Gateway Common Files 11.2.0.4.0
Oracle Multimedia 11.2.0.4.0
Oracle Multimedia Annotator 11.2.0.4.0
Oracle Multimedia Client Option 11.2.0.4.0
Oracle Multimedia Java Advanced Imaging 11.2.0.4.0
Oracle Multimedia Locator 11.2.0.4.0
Oracle Multimedia Locator RDBMS Files 11.2.0.4.0
Oracle Net 11.2.0.4.0
Oracle Net Listener 11.2.0.4.0
Oracle Net Required Support Files 11.2.0.4.0
Oracle Net Services 11.2.0.4.0
Oracle Netca Client 11.2.0.4.0
Oracle Notification Service 11.2.0.3.0
Oracle Notification Service (eONS) 11.2.0.4.0
Oracle ODBC Driver 11.2.0.4.0
Oracle ODBC Driverfor Instant Client 11.2.0.4.0
Oracle OLAP 11.2.0.4.0
Oracle OLAP API 11.2.0.4.0
Oracle OLAP RDBMS Files 11.2.0.4.0
Oracle One-Off Patch Installer 11.2.0.3.4
Oracle Partitioning 11.2.0.4.0
Oracle Programmer 11.2.0.4.0
Oracle Quality of Service Management (Client) 11.2.0.4.0
Oracle RAC Deconfiguration 11.2.0.4.0
Oracle RAC Required Support Files-HAS 11.2.0.4.0
Oracle Real Application Testing 11.2.0.4.0
Oracle Recovery Manager 11.2.0.4.0
Oracle Security Developer Tools 11.2.0.4.0
Oracle Spatial 11.2.0.4.0
Oracle SQL Developer 11.2.0.4.0
Oracle Starter Database 11.2.0.4.0
Oracle Text 11.2.0.4.0
Oracle Text Required Support Files 11.2.0.4.0
Oracle UIX 2.2.24.6.0
Oracle Universal Connection Pool 11.2.0.4.0
Oracle Universal Installer 11.2.0.4.0
Oracle USM Deconfiguration 11.2.0.4.0
Oracle Wallet Manager 11.2.0.4.0
Oracle XML Development Kit 11.2.0.4.0
Oracle XML Query 11.2.0.4.0
Parser Generator Required Support Files 11.2.0.4.0
Perl Interpreter 5.10.0.0.2
Perl Modules 5.10.0.0.1
PL/SQL 11.2.0.4.0
PL/SQL Embedded Gateway 11.2.0.4.0
Platform Required Support Files 11.2.0.4.0
Precompiler Common Files 11.2.0.4.0
Precompiler Required Support Files 11.2.0.4.0
Provisioning Advisor Framework 10.2.0.4.3
RDBMS Required Support Files 11.2.0.4.0
RDBMS Required Support Files for Instant Client 11.2.0.4.0
RDBMS Required Support Files Runtime 11.2.0.4.0
Regexp 2.1.9.0.0
Required Support Files 11.2.0.4.0
Sample Schema Data 11.2.0.4.0
Secure Socket Layer 11.2.0.4.0
SQL*Plus 11.2.0.4.0
SQL*Plus Files for Instant Client 11.2.0.4.0
SQL*Plus Required Support Files 11.2.0.4.0
SQLJ Runtime 11.2.0.4.0
SSL Required Support Files for InstantClient 11.2.0.4.0
XDK Required Support Files 11.2.0.4.0
XML Parser for Java 11.2.0.4.0
XML Parser for Oracle JVM 11.2.0.4.0
136products have been installed in this Oracle home directory.
No intermediate patches are installed in this Oracle home directory.
OPatch succeeded.
Node 2:
Grid user
[grid@newrac2 ~] $cd / u01/app/11.2.0/grid/OPatch
[grid@newrac2 OPatch] $. / opatch lsinventory-detail-oh / u01/app/11.2.0/grid
Oracle user
[oracle@newrac2 ~] $cd / u01/app/oracle/product/11.2.0/db_1/OPatch
[oracle@newrac2 OPatch] $. / opatch lsinventory-detail-oh / u01/app/oracle/product/11.2.0/db_1
6. Unzip the patch as grid home owner
Node 1:
[grid@newrac1 patch] $unzip p27282436_112040_Linux-x86-64.zip
Node 2:
[grid@newrac2 patch] $unzip p27282436_112040_Linux-x86-64.zip
7. Emctl stop dbconsole
8. OPatch auto for GI
As root user, execute the following command on each node of the cluster:
Node 1: under root users
8.1. Close the instance and monitoring of the patched node
[oracle@newrac1] $srvctl stop instance-d newrac-n newrac1
[oracle@newrac1 ~] $
[oracle@newrac1] $srvctl stop listener-n newrac1
Ps-ef | grep ora
Kill oracle process
8.2. Query the current system LANG variable is Chinese
# echo $LANG
En_US.UTF-8
Set the system variable to English
# export LANG=en_US
Oracle and grid user environment variables are set first
$export LANG=en_US
8.3. OPatch auto
[root@newrac1 ~] # echo $LANG
Zh_CN.UTF-8
[root@newrac1 ~] #
[root@newrac1 ~] # export LANG=en_US
Add the LANG=en_US variable to grid and oracle .bash _ profile
[root@newrac1 ~] # vim / home/grid/.bash_profile
[root@newrac1 ~] # vim / home/oracle/.bash_profile
[root@newrac1] # / u01/app/11.2.0/grid/OPatch/opatch auto / u01/install/patch/27282436/27107360/-ocmrf / u01/app/11.2.0/grid/OPatch/ocm/bin/ocm.rsp
Executing / u01/app/11.2.0/grid/perl/bin/perl / u01/app/11.2.0/grid/OPatch/crs/patch21203.pl-patchdir / u01/install/patch/27282436-patchn 27107360-ocmrf / u01/app/11.2.0/grid/OPatch/ocm/bin/ocm.rsp-paramfile / u01/app/11.2.0/grid/crs/install/crsconfig_params
This is the main log file: / u01/app/11.2.0/grid/cfgtoollogs/opatchauto2018-01-31 14-39-30.log
This file will show your detected configuration and all the steps that opatchauto attempted to do on your system:
/ u01/app/11.2.0/grid/cfgtoollogs/opatchauto2018-01-31mm 14-39-30.report.log
2018-01-31 14:39:30: Starting Clusterware Patch Setup
Using configuration parameter file: / u01/app/11.2.0/grid/crs/install/crsconfig_params
Stopping RAC / u01/app/oracle/product/11.2.0/db_1...
Stopped RAC / u01/app/oracle/product/11.2.0/db_1 successfully
Patch/ u01/install/patch/27282436/27107360/26925576 apply successful for home / u01/app/oracle/product/11.2.0/db_1
Patch/ u01/install/patch/27282436/27107360/26609929/custom/server/26609929 apply successful for home / u01/app/oracle/product/11.2.0/db_1
Stopping CRS...
Stopped CRS successfully
Patch/ u01/install/patch/27282436/27107360/26925576 apply successful for home / u01/app/11.2.0/grid
Patch/ u01/install/patch/27282436/27107360/26609929 apply successful for home / u01/app/11.2.0/grid
Patch/ u01/install/patch/27282436/27107360/22502505 apply successful for home / u01/app/11.2.0/grid
Starting CRS...
Installing Trace File Analyzer
CRS-4123: Oracle High Availability Services has been started.
Starting RAC / u01/app/oracle/product/11.2.0/db_1...
Started RAC / u01/app/oracle/product/11.2.0/db_1 successfully
Opatch auto succeeded.
Node 2:
Root@newrac2 ~] # export LANG=en_US
Add the LANG=en_US variable to grid and oracle .bash _ profile
[root@newrac2 ~] # vim / home/grid/.bash_profile
[root@newrac2 ~] # vim / home/oracle/.bash_profile
[root@newrac2] # / u01/app/11.2.0/grid/OPatch/opatch auto / u01/install/patch/27282436/27107360-ocmrf / u01/app/11.2.0/grid/OPatch/ocm/bin/ocm.rsp
[root@newrac2] # / u01/app/11.2.0/grid/OPatch/opatch auto / u01/install/patch/27282436/27107360-ocmrf / u01/app/11.2.0/grid/OPatch/ocm/bin/ocm.rsp
Executing / u01/app/11.2.0/grid/perl/bin/perl / u01/app/11.2.0/grid/OPatch/crs/patch21203.pl-patchdir / u01/install/patch/27282436-patchn 27107360-ocmrf / u01/app/11.2.0/grid/OPatch/ocm/bin/ocm.rsp-paramfile / u01/app/11.2.0/grid/crs/install/crsconfig_params
This is the main log file: / u01/app/11.2.0/grid/cfgtoollogs/opatchauto2018-01-31, 17-47-28.log
This file will show your detected configuration and all the steps that opatchauto attempted to do on your system:
/ u01/app/11.2.0/grid/cfgtoollogs/opatchauto2018-01-31 / 17-47-28.report.log
2018-01-31 17:47:28: Starting Clusterware Patch Setup
Using configuration parameter file: / u01/app/11.2.0/grid/crs/install/crsconfig_params
Stopping RAC / u01/app/oracle/product/11.2.0/db_1...
Stopped RAC / u01/app/oracle/product/11.2.0/db_1 successfully
Patch/ u01/install/patch/27282436/27107360/26925576 apply successful for home / u01/app/oracle/product/11.2.0/db_1
Patch/ u01/install/patch/27282436/27107360/26609929/custom/server/26609929 apply successful for home / u01/app/oracle/product/11.2.0/db_1
Stopping CRS...
Stopped CRS successfully
Patch/ u01/install/patch/27282436/27107360/26925576 apply successful for home / u01/app/11.2.0/grid
Patch/ u01/install/patch/27282436/27107360/26609929 apply successful for home / u01/app/11.2.0/grid
Patch/ u01/install/patch/27282436/27107360/22502505 apply successful for home / u01/app/11.2.0/grid
Starting CRS...
Installing Trace File Analyzer
CRS-4123: Oracle High Availability Services has been started.
Starting RAC / u01/app/oracle/product/11.2.0/db_1...
Started RAC / u01/app/oracle/product/11.2.0/db_1 successfully
Opatch auto succeeded.
9. Loading Modified SQL Files into the Database
Perform these steps on only one node.
Cd $ORACLE_HOME/rdbms/admin
Sqlplus / nolog
SQL > CONNECT / AS SYSDBA
SQL > STARTUP
SQL > @ catbundle.sql psu apply
SQL > QUIT
Dba_registry_history
Cd $ORACLE_HOME/rdbms/admin
Sqlplus / nolog
SQL > CONNECT / AS SYSDBA
SQL > @ utlrp.sql
Patch Deinstallation-
If you encounter an exception, you can roll back according to the following steps
As root user, execute the following command on each node of the cluster.
[root@newrac1 ~] # export LANG=en_US
[root@newrac1] # / u01/app/11.2.0/grid/OPatch/opatch auto / u01/install/patch/27282436/27107360-rollback-ocmrf / u01/app/11.2.0/grid/OPatch/ocm/bin/ocm.rsp
Executing / u01/app/11.2.0/grid/perl/bin/perl / u01/app/11.2.0/grid/OPatch/crs/patch21203.pl-patchdir / u01/install/patch/27282436-patchn 27107360-rollback-ocmrf / u01/app/11.2.0/grid/OPatch/ocm/bin/ocm.rsp-paramfile / u01/app/11.2.0/grid/crs/install/crsconfig_params
This is the main log file: / u01/app/11.2.0/grid/cfgtoollogs/opatchauto2018-01-31 / 15-39-27.log
This file will show your detected configuration and all the steps that opatchauto attempted to do on your system:
/ u01/app/11.2.0/grid/cfgtoollogs/opatchauto2018-01-31 / 15-39-27.report.log
2018-01-31 15:39:27: Starting Clusterware Patch Setup
Using configuration parameter file: / u01/app/11.2.0/grid/crs/install/crsconfig_params
Stopping RAC / u01/app/oracle/product/11.2.0/db_1...
Stopped RAC / u01/app/oracle/product/11.2.0/db_1 successfully
Patch 26925576 rollback successful for home / u01/app/oracle/product/11.2.0/db_1
Patch 26609929 rollback successful for home / u01/app/oracle/product/11.2.0/db_1
Stopping CRS...
Stopped CRS successfully
Patch 26925576 rollback successful for home / u01/app/11.2.0/grid
Patch 26609929 rollback successful for home / u01/app/11.2.0/grid
Patch 22502505 rollback successful for home / u01/app/11.2.0/grid
Starting CRS...
Installing Trace File Analyzer
CRS-4123: Oracle High Availability Services has been started.
Starting RAC / u01/app/oracle/product/11.2.0/db_1...
Started RAC / u01/app/oracle/product/11.2.0/db_1 successfully
Opatch auto succeeded.
Patch 26925532 OJVM Patch
Oracle JavaVM Component 11.2.0.4.180116 Database PSU
Node 1:
[root@newrac1 27282436] # pwd
/ u01/install/patch/27282436
[root@newrac1 27282436] #
[root@newrac1 27282436] # ll-athr
Total dosage 44K
Drwxr-xr-x 4 grid oinstall 4.0K January 12 13:06 26925532
Drwxr-xr-x 5 grid oinstall 4.0K January 12 14:03 27107360
-rw-r--r-- 1 grid oinstall 21 January 12 14:09 README.txt
Drwxr-xr-x 4 grid oinstall 4.0K January 12 14:09.
-rw-rw-r-- 1 grid oinstall 21K January 23 15:15 README.html
Drwxr-xr-x 3 grid oinstall 4.0K January 31 13:18..
[root@newrac1 27282436] # chown-R oracle:oinstall 26925532 /
[root@newrac1 27282436] # ll-athr
Total dosage 44K
Drwxr-xr-x 4 oracle oinstall 4.0K January 12 13:06 26925532
Drwxr-xr-x 5 grid oinstall 4.0K January 12 14:03 27107360
Node 2:
[root@newrac2 27282436] # pwd
/ u01/install/patch/27282436
[root@newrac2 27282436] #
[root@newrac2 27282436] # ll-athr
Total dosage 44K
Drwxr-xr-x 4 grid oinstall 4.0K January 12 13:06 26925532
Drwxr-xr-x 5 grid oinstall 4.0K January 12 14:03 27107360
-rw-r--r-- 1 grid oinstall 21 January 12 14:09 README.txt
Drwxr-xr-x 4 grid oinstall 4.0K January 12 14:09.
-rw-rw-r-- 1 grid oinstall 21K January 23 15:15 README.html
Drwxr-xr-x 3 grid oinstall 4.0K January 31 13:18..
[root@newrac2 27282436] # chown-R oracle:oinstall 26925532 /
[root@newrac2 27282436] # ll-athr
Total dosage 44K
Drwxr-xr-x 4 oracle oinstall 4.0K January 12 13:06 26925532
Drwxr-xr-x 5 grid oinstall 4.0K January 12 14:03 27107360
Prerequisites
1. Ensure that the following Oct2014 or greater to be already installed prior to installing this patch:
Database PSU 11.2.0.4.4 (Oct2014) (Patch number: 19121551)
Database SPU 11.2.0.4 (CPUOct2014)
Database patch for Exadata 11.2.0.4.12 (Oct2014)
2. You must use the OPatch utility version 11.2.0.3.5 or later to apply this patch.
3. Ensure that the $PATH definition has the following executables: make, ar, ld and nm
Node 1:
[oracle@newrac1 ~] $which make ar ld nm
/ usr/bin/make
/ usr/bin/ar
/ usr/bin/ld
/ usr/bin/nm
Node 2:
[oracle@newrac2 ~] $which make ar ld nm
/ usr/bin/make
/ usr/bin/ar
/ usr/bin/ld
/ usr/bin/nm
4. Opatch lsinventory
5. Verify conflict with this patch 26925532
Operate on each node.
$cd 26925532
Opatch prereq CheckConflictAgainstOHWithDetail-ph. /
Node 1:
[oracle@newrac1 ~] $cd / u01/install/patch/27282436/26925532/
[oracle@newrac1 26925532] $/ u01/app/oracle/product/11.2.0/db_1/OPatch/opatch prereq CheckConflictAgainstOHWithDetail-ph. /
Oracle Interim Patch Installer version 11.2.0.3.17
Copyright (c) 2018, Oracle Corporation. All rights reserved.
PREREQ session
Oracle Home: / u01/app/oracle/product/11.2.0/db_1
Central Inventory: / u01/app/oraInventory
From: / u01/app/oracle/product/11.2.0/db_1/oraInst.loc
OPatch version: 11.2.0.3.17
OUI version: 11.2.0.4.0
Log file location: / u01/app/oracle/product/11.2.0/db_1/cfgtoollogs/opatch/opatch3018-01-31 / 23-10-02PM_1.log
Invoking prereq "checkconflictagainstohwithdetail"
Prereq "checkConflictAgainstOHWithDetail" passed.
OPatch succeeded.
Node 2:
Oracle@newrac2 ~] $cd / u01/install/patch/27282436/26925532/
[oracle@newrac2 26925532] $/ u01/app/oracle/product/11.2.0/db_1/OPatch/opatch prereq CheckConflictAgainstOHWithDetail-ph. /
Oracle Interim Patch Installer version 11.2.0.3.17
Copyright (c) 2018, Oracle Corporation. All rights reserved.
PREREQ session
Oracle Home: / u01/app/oracle/product/11.2.0/db_1
Central Inventory: / u01/app/oraInventory
From: / u01/app/oracle/product/11.2.0/db_1/oraInst.loc
OPatch version: 11.2.0.3.17
OUI version: 11.2.0.4.0
Log file location: / u01/app/oracle/pr
Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.
Views: 0
*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.
Continue with the installation of the previous hadoop.First, install zookooper1. Decompress zookoope
"Every 5-10 years, there's a rare product, a really special, very unusual product that's the most un
© 2024 shulou.com SLNews company. All rights reserved.