12c 补丁架构 以及opatch 功能
cd $ORACLE_HOME/ccr/bin
./emocmrsp
oracle@qc550705:/oracle/app/oracle/product/12.1.0.2/db_1/ccr/bin>ls -rlt ocm.rsp
-rw-r--r-- 1 oracle oinstall 623 Aug 07 12:34 ocm.rsp
PSU, SPU(CPU), Bundle Patches
12.1.0.2 |
|||
---|---|---|---|
PSU | GI PSU | Proactive Bundle Patch | Bundle Patch (Windows 32bit & 64bit) |
24006101 (12.1.0.2.161018) | 24412235 (12.1.0.2.161018) | 24448103 (12.1.0.2.161018) | 24591642 (12.1.0.2.161018) |
23054246 (12.1.0.2.160719) | 23273629 (12.1.0.2.160719) | 23273686 (12.1.0.2.160719) | 23530387 (12.1.0.2.160719) |
22291127 (12.1.0.2.160419) | 22646084 (12.1.0.2.160419) | 22899531 | 22809813 (12.1.0.2.160419) |
21948354 (12.1.0.2.160119) | 22191349 (12.1.0.2.160119) | 22243551 | 22310559 (12.1.0.2.160119) |
21359755 (12.1.0.2.5) | 21523234 (12.1.0.2.5) | 21744410 (12.1.0.2.13) | 21821214 (12.1.0.2.10) |
20831110 (12.1.0.2.4) | 20996835 (12.1.0.2.4) | 21188742 (12.1.0.2.10) | 21126814 (12.1.0.2.7) |
20299023 (12.1.0.2.3) | 20485724 (12.1.0.2.3) | 20698050 (12.1.0.2.7) | 20684004 (12.1.0.2.4) |
19769480 (12.1.0.2.2) | 19954978 (12.1.0.2.2) | 20141343 (12.1.0.2.4) | 19720843 (12.1.0.2.1) |
19303936 (12.1.0.2.1) | 19392646 (12.1.0.2.1) | 19404326 (12.1.0.2.1) | N/A |
http://blog.itpub.net/53956/viewspace-1789203/
---
opatch prereq CheckConflictAgainstOHWithDetail -ph .
opatch prereq CheckSystemSpace -ph .
使用 datapatch.bat -verbose 安装opatch
Go to window server to start all oracle services, then do open all pluggable DB. |
c:\stage_oraCD\PSU\24591642>sqlplus /nolog SQL*Plus: Release 12.1.0.2.0 Production on 星期四 12月 22 16:03:42 2016 Copyright (c) 1982, 2016, Oracle. All rights reserved. SQL> conn / as sysdba 已连接。 SQL> alter pluggable database all open; 插接式数据库已变更。 SQL> |
*** Note: Must use ‘datapatch.bat’ for patching window’s ORACLE_HOME not ‘datapatch’, the result should see ‘No Error’ C:\app\oracle\product\12.1.0\dbhome_1\OPatch>datapatch.bat -verbose SQL Patching tool version 12.1.0.2.0 on Fri Dec 23 10:15:46 2016 Copyright (c) 2016, Oracle. All rights reserved. Log file for this invocation: C:\app\sissadmin\cfgtoollogs\sqlpatch\sqlpatch_290 8_2016_12_23_10_15_46\sqlpatch_invocation.log Connecting to database...OK Note: Datapatch will only apply or rollback SQL fixes for PDBs that are in an open state, no patches will be applied to closed PDBs. Please refer to Note: Datapatch: Database 12c Post Patch SQL Automation (Doc ID 1585822.1) Bootstrapping registry and package to current versions...done Determining current state...done Current state of SQL patches: Bundle series PSU: ID 161018 in the binary registry and not installed in any PDB Adding patches to installation queue and performing prereq checks... Installation queue: For the following PDBs: CDB$ROOT PDB$SEED PSISSDEV Nothing to roll back The following patches will be applied: 24591642 (WINDOWS DB BUNDLE PATCH 12.1.0.2.161018(64bit):24591642) Installing patches... Patch installation complete. Total patches installed: 3 Validating logfiles... Patch 24591642 apply (pdb CDB$ROOT): SUCCESS logfile: C:\app\sissadmin\cfgtoollogs\sqlpatch\24591642\20650331/24591642_appl y_SISSUAT_CDBROOT_201612月23_10_16_31.log (no errors) Patch 24591642 apply (pdb PDB$SEED): SUCCESS logfile: C:\app\sissadmin\cfgtoollogs\sqlpatch\24591642\20650331/24591642_appl y_SISSUAT_PDBSEED_201612月23_10_17_53.log (no errors) Patch 24591642 apply (pdb PSISSDEV): SUCCESS logfile: C:\app\sissadmin\cfgtoollogs\sqlpatch\24591642\20650331/24591642_appl y_SISSUAT_PSISSDEV_201612月23_10_17_53.log (no errors) SQL Patching tool complete on Fri Dec 23 10:19:07 2016 C:\app\oracle\product\12.1.0\dbhome_1\OPatch> |
SQL> select * from registry$sqlpatch; PATCH_ID ACTION ---------- ------------------------------ ACTION_TIME --------------------------------------------------------------------------- DESCRIPTION -------------------------------------------------------------------------------- -------------------- LOGFILE -------------------------------------------------------------------------------- -------------------- STATUS VERSION PATCH_U ID ------------------------------ ---------------------------------------- -------- -- FLAGS BUNDLE_SERIES BUNDLE_ID -------------------- ----------------------------------------------------------- - ---------- BUNDLE_DATA -------------------------------------------------------------------------------- 24591642 APPLY 23-12月-16 10.19.01.662000 上午 WINDOWS DB BUNDLE PATCH 12.1.0.2.161018(64bit):24591642 C:\app\sissadmin\cfgtoollogs\sqlpatch\24591642\20650331/24591642_apply_SISSUAT_C DBROOT_201612月23_10 _16_31.log SUCCESS 12.1.0.2 206503 31 NB PSU 161018 <?xml version="1.0"?> <!-- $Header: rdbms/admin/bundledata_PSU.xml --> <!-- C SQL> select * from pdb_plug_in_violations; 未选定行 SQL> SQL> select * from v$pdbs; CON_ID DBID CON_UID GUID ---------- ---------- ---------- -------------------------------- NAME OPEN_MODE RESTRI ------------------------------------------------------------ ------------------- - ------ OPEN_TIME CREA TE_SCN TOTAL_SIZE --------------------------------------------------------------------------- ---- ------ ---------- BLOCK_SIZE RECOVERY_STATUS SNAPSHOT_PARENT_CON_ID ---------- ---------------- ---------------------- 2 1811739569 1811739569 06928CC7E3C742419A3C228AD6E2BFBA PDB$SEED READ ONLY NO 23-12月-16 10.19.05.177 上午 +08:00 2 233954 933232640 8192 ENABLED 0 3 224741511 224741511 219D128682FE4428936342B153B15B2E PSISSDEV READ WRITE NO 23-12月-16 09.59.42.739 上午 +08:00 2 380325 969932800 8192 ENABLED 0 SQL> |
SQL> alter session set container=psissdev; 会话已更改。 SQL> select * from registry$sqlpatch; PATCH_ID ACTION ---------- ------------------------------ ACTION_TIME --------------------------------------------------------------------------- DESCRIPTION -------------------------------------------------------------------------------- -------------------- LOGFILE -------------------------------------------------------------------------------- -------------------- STATUS VERSION PATCH_U ID ------------------------------ ---------------------------------------- -------- -- FLAGS BUNDLE_SERIES BUNDLE_ID -------------------- ----------------------------------------------------------- - ---------- BUNDLE_DATA -------------------------------------------------------------------------------- 24591642 APPLY 23-12月-16 10.19.03.709000 上午 WINDOWS DB BUNDLE PATCH 12.1.0.2.161018(64bit):24591642 C:\app\sissadmin\cfgtoollogs\sqlpatch\24591642\20650331/24591642_apply_SISSUAT_P SISSDEV_201612月23_1 0_17_53.log SUCCESS 12.1.0.2 206503 31 NB PSU 161018 <?xml version="1.0"?> <!-- $Header: rdbms/admin/bundledata_PSU.xml --> <!-- C SQL> |
SQL> alter session set container=pdb$seed; 会话已更改。 SQL> select * from registry$sqlpatch; PATCH_ID ACTION ---------- ------------------------------ ACTION_TIME --------------------------------------------------------------------------- DESCRIPTION -------------------------------------------------------------------------------- -------------------- LOGFILE -------------------------------------------------------------------------------- -------------------- STATUS VERSION PATCH_U ID ------------------------------ ---------------------------------------- -------- -- FLAGS BUNDLE_SERIES BUNDLE_ID -------------------- ----------------------------------------------------------- - ---------- BUNDLE_DATA -------------------------------------------------------------------------------- 24591642 APPLY 23-12月-16 10.19.02.630000 上午 WINDOWS DB BUNDLE PATCH 12.1.0.2.161018(64bit):24591642 C:\app\sissadmin\cfgtoollogs\sqlpatch\24591642\20650331/24591642_apply_SISSUAT_P DBSEED_201612月23_10 _17_53.log SUCCESS 12.1.0.2 206503 31 NB PSU 161018 <?xml version="1.0"?> <!-- $Header: rdbms/admin/bundledata_PSU.xml --> <!-- C SQL> |
Apply OJVM PSU, first stop all ‘Oracle’ window services for below (ensure DB stopped, lsnrctl stopped):
OracleServiceSISSUAT
OracleOraDB12Home1TNSListenerVSISSUAT
OracleOraDB12HomeMTRecover..
OracleRpmExecServicesV2
OracleVssWriterSISSUAT
12c 补丁架构 以及opatch 功能的更多相关文章
- Oracle 12C 补丁升级
升级步骤 Oracle 12.2.0.1升级至12.2.0.1.190115 1.阅读readme文件 2.检查更新opatch 3.备份程序 4.使用opatchauto工具进行数据库升级 5.打O ...
- Oracle 补丁体系 及 opatch 工具 介绍
一. CPU(Critical Patch Update) 一个CPU内包含了对多个安全漏洞的修复,并且也包括相应必需的非安全漏洞的补丁.CPU是累积型的,只要安装最新发布的CPU即可,其中包括之前发 ...
- MVC5 网站开发之四 业务逻辑层的架构和基本功能
业务逻辑层在Ninesky.Core中实现,主要功能封装一些方法通过调用数据存储层,向界面层提供服务. 目录 奔跑吧,代码小哥! MVC5网站开发之一 总体概述 MVC5 网站开发之二 创建项目 ...
- Data Guard:Oracle 12c –新增和更新的功能 (Doc ID 1558256.1)
Data Guard: Oracle 12c – New and updated Features (Doc ID 1558256.1) APPLIES TO: Oracle Database - E ...
- 【Lucene】Apache Lucene全文检索引擎架构之搜索功能3
上一节主要总结了一下Lucene是如何构建索引的,这一节简单总结一下Lucene中的搜索功能.主要分为几个部分,对特定项的搜索:查询表达式QueryParser的使用:指定数字范围内搜索:指定字符串开 ...
- OpenStack Blazar 架构解析与功能实践
目录 文章目录 目录 Blazar Blazar 的安装部署 Blazar 的软件架构 Blazar 的资源模型与状态机 Blazar 的主机资源预留功能(Host Reservation) 代码实现 ...
- MVC架构介绍—查询功能的开发
select和from语句 注意:select和from可以不设置,默认情况下: select获取映射表的所有字段: from获取实体映射表的表名:如果设置select则必须设置frorm,但是允许仅 ...
- Oracle 补丁及opatch 工具介绍
一. CPU(Critical Patch Update) 一个CPU内包含了对多个安全漏洞的修复,并且也包括相应必需的非安全漏洞的补丁.CPU是累积型的,只要安装最新发布的CPU即可,其中包括之前发 ...
- [转帖]Oracle 补丁体系(PSR/PSU/CPU) 及 opatch 工具 介绍
Oracle 补丁体系(PSR/PSU/CPU) 及 opatch 工具 介绍 原文:http://blog.csdn.net/tianlesoftware/article/details/58095 ...
随机推荐
- PHP-FPM进程数的设定
近日,服务器出现异常,网站不能正常访问.经排查是php的问题. 在重启php-fpm时,恢复正常.1分钟之后又出现故障.查看php日志文件 /usr/local/php/var/log 后提示 WAR ...
- 洛谷-谁拿了最多奖学金-NOIP2005提高组复赛
题目描述 Description 某校的惯例是在每学期的期末考试之后发放奖学金.发放的奖学金共有五种,获取的条件各自不同: 1) 院士奖学金,每人8000元,期末平均成绩高于80分(>8 ...
- 向多个会话窗口发送命令 -SecureCRT
1.前提 一个服务可能部署在多台机器上,这时如果要查问题,最繁复的方法就是打开该服务的每个session,把命令在每一台机器上复制一下执行,找到相关的日志:还有一种方法就是一条命令同时向多个会话窗口发 ...
- MySql-授权,使远程主机能够访问自己的数据库
转自:http://www.jb51.net/article/85218.htm GRANT ALL PRIVILEGES ON *.* TO 'root'@'%'IDENTIFIED BY 'mys ...
- TCP跟UDP乱侃
原文链接http://www.cnblogs.com/xiaoEight/archive/2013/02/19/2917814.html 由于最近在恶补关于网络编程的东西,所以决定做个简单的记录.之前 ...
- C++编程技巧(长期更新)
1.数组使用 int* p = new int[5](); // 数组新建并全部初始化为0 等价于: int* p; p = new int[5](); int* q = new int[5]; ...
- 关于python的元类
当你创建一个类时: class Foo(Bar): pass Python做了如下的操作: Foo中有__metaclass__这个属性吗?如果是,Python会在内存中通过__metaclass__ ...
- servlet的url-pattern匹配规则
首先需要明确几容易混淆的规则: servlet容器中的匹配规则既不是简单的通配,也不是正则表达式,而是特定的规则.所以不要用通配符或者正则表达式的匹配规则来看待servlet的url-pattern. ...
- lldb 命令
po [[UIWindow keyWindow] recursiveDescription]
- fido-uaf-protocol-v1.0
EXAMPLE 1: Policy matching either a FPS-, or Face Recognition-based Authenticator { "accepted&q ...