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 ...
随机推荐
- 4天html总结
- FORM提交请求后自动打开输出EDITOR_PKG.REPORT
DECLARE p_mode_request_id number := 1; p_ERRBUF VARCHAR2(250); p_RETCODE NUMBER; lv_msg varchar2(50) ...
- Mssql 行转列
) set @sql='' --初始化变量@sql --变量多值赋值 ,,'')--去掉首个',' set @sql=' select * from( select objectid,name,jyj ...
- sql server 2012提示评估期已过的解决办法 附序列号
sql server 2012提示评估期已过的解决方法: 第一步:进入SQL2012配置工具中的安装中心. 第二步:再进入左侧维护选项界面,然后选择选择版本升级. 第三步:进入输入产品密钥界面,输入相 ...
- channel bonding
一.什么是bondingLinux bonding驱动提供了一个把多个网络接口设备捆绑为单个的网络接口设置来使用,用于网络负载均衡及网络冗余二.bonding应用方向1.网络负载均衡对于bonding ...
- CMake如何执行shell命令
我在cmake编译后想执行一些特定的shell命令(执行.lcov收集代码覆盖报告等),我又不想写到XX.sh的shell脚本中,如何直接通过CMake执行shell命令呢? 在网上翻江倒海了一下,找 ...
- Journey
Journey 题目链接:http://codeforces.com/problemset/problem/721/C dp/记忆化搜索/拓扑排序 刚开始想到用bfs+dp,fst(然而中间有一步逻辑 ...
- 简单的XML和JSON数据的处理
一.XML格式装换成json数据格式 using System; using System.Collections.Generic; using System.Linq; using System.W ...
- JavaScript的BOM(浏览器对象)基础语法总结
1.window对象是BOM的核心,window对象指当前的浏览器窗口. window对象方法: 2.history对象记录了用户曾经浏览过的页面(URL),并可以实现浏览器前进与后退相似导航的功能. ...
- js 上传图片预览
<script language='javascript'> function show(){ var p=document.getElementById("file1" ...