广告
返回顶部
首页 > 资讯 > 数据库 >Oralce RU版本的安装过程
  • 552
分享到

Oralce RU版本的安装过程

2024-04-02 19:04:59 552人浏览 安东尼
摘要

这篇文章主要介绍“Oralce RU版本的安装过程”,在日常操作中,相信很多人在Oralce RU版本的安装过程问题上存在疑惑,小编查阅了各式资料,整理出简单好用的操作方法,希望对大家解答”Oralce R

这篇文章主要介绍“Oralce RU版本的安装过程”,在日常操作中,相信很多人在Oralce RU版本的安装过程问题上存在疑惑,小编查阅了各式资料,整理出简单好用的操作方法,希望对大家解答”Oralce RU版本的安装过程”的疑惑有所帮助!接下来,请跟着小编一起来学习吧!

数据库版本:oracle Database 12c Enterprise Edition Release 12.2.0.1.0 - 64bit Production

RU,RUR 下载路径:Database 12.2.0.1 Proactive Patch InfORMation (文档 ID 2285557.1)

Release DateVersionDownload LinkIncluded in windows Bundle
17-Jul-201812.2.0.1.180717 (Jul 2018) Database Release UpdatePatch 2816313312.2.0.1.180717 WIN DB BP  Patch 27937914
17-Apr-201812.2.0.1.180417 (Apr 2018) Database Release UpdatePatch 2767438412.2.0.1.180417 WIN DB BP  Patch 27426753
16-Jan-201812.2.0.1.180116 (Jan 2018) Database Release UpdatePatch 2710525312.2.0.1.180116 WIN DB BP  Patch 27162931
17-Oct-201712.2.0.1.171017 (Oct 2017) Database Release UpdatePatch 2671046412.2.0.1.171017 WIN DB BP  Patch 26758841
14-Aug-201712.2.0.1.170814 (Jul 2017) Database Release UpdatePatch 2660981712.2.0.1.170814 WIN DB BP  Patch 26204214
18-Jul-201712.2.0.1.170718 (Jul 2017) Database Release UpdatePatch 2612383012.2.0.1.170718 WIN DB BP  Patch 26204212

本次安装RU版本为: Patch 26123830 ,单机环境。

1,解压RU

[oracle@prod04 ~]$ unzip p26123830_122010_linux-x86-64.zip 

ArcHive:  p26123830_122010_Linux-x86-64.zip

..............

..............

[oracle@prod04 ~]$ cd 26123830/

[oracle@prod04 26123830]$ ls

etc  files  README.html  README.txt

2,关闭数据库和,监听程序。

3,补丁安装

[oracle@prod04 26123830]$ /u01/app/oracle/product/12.2.0/dbhome_1/OPatch/opatch apply

Oracle Interim Patch Installer version 12.2.0.1.6

Copyright (c) 2018, Oracle Corporation.  All rights reserved.

Oracle Home       : /u01/app/oracle/product/12.2.0/dbhome_1

Central Inventory : /u01/app/orainventory

   from           : /u01/app/oracle/product/12.2.0/dbhome_1/oraInst.loc

OPatch version    : 12.2.0.1.6

OUI version       : 12.2.0.1.4

Log file location : /u01/app/oracle/product/12.2.0/dbhome_1/cfgtoollogs/opatch/opatch3018-08-06_13-04-12PM_1.log

Verifying environment and performing prerequisite checks...

OPatch continues with these patches:   26123830  

Do you want to proceed? [y|n]

y

User Responded with: Y

All checks passed.

Please shutdown Oracle instances running out of this ORACLE_HOME on the local system.

(Oracle Home = '/u01/app/oracle/product/12.2.0/dbhome_1')

Is the local system ready for patching? [y|n]

y

User Responded with: Y

Backing up files...

Applying interim patch '26123830' to OH '/u01/app/oracle/product/12.2.0/dbhome_1'

Patching component oracle.oracore.rsf, 12.2.0.1.0...

Patching component oracle.ctx, 12.2.0.1.0...

Patching component oracle.rdbms.deconfig, 12.2.0.1.0...

Patching component oracle.rdbms.rsf, 12.2.0.1.0...

Patching component oracle.rdbms.rman, 12.2.0.1.0...

Patching component oracle.rdbms, 12.2.0.1.0...

Patching component oracle.rdbms.util, 12.2.0.1.0...

Patching component oracle.rdbms.dbscripts, 12.2.0.1.0...

Patching component oracle.tfa, 12.2.0.1.0...

Patching component oracle.rdbms.rsf.ic, 12.2.0.1.0...

Patch 26123830 successfully applied.

Log file location: /u01/app/oracle/product/12.2.0/dbhome_1/cfgtoollogs/opatch/opatch3018-08-06_13-04-12PM_1.log

OPatch succeeded.

5,启动数据库(Single/Multitenant (CDB/PDB) DB),并且应用补丁。

sql> startup

ORACLE instance started.

Total System Global Area 1845493760 bytes

Fixed Size    8793976 bytes

Variable Size  704643208 bytes

Database Buffers 1124073472 bytes

Redo Buffers    7983104 bytes

Database mounted.

Database opened.

SQL> show pdbs

    CON_ID CON_NAME  OPEN MODE  RESTRICTED

---------- ------------------------------ ---------- ----------

2 PDB$SEED  READ ONLY  NO

3 PDB01  MOUNTED

SQL>  alter pluggable database all open;

Pluggable database altered.

SQL> show pdbs;

    CON_ID CON_NAME  OPEN MODE  RESTRICTED

---------- ------------------------------ ---------- ----------

2 PDB$SEED  READ ONLY  NO

3 PDB01  READ WRITE NO

SQL> exit

Disconnected from Oracle Database 12c Enterprise Edition Release 12.2.0.1.0 - 64bit Production

[oracle@prod04 26123830]$ 

[oracle@prod04 26123830]$ /u01/app/oracle/product/12.2.0/dbhome_1/OPatch/datapatch -verbose

SQL Patching tool version 12.2.0.1.0 Production on Mon Aug  6 13:06:18 2018

Copyright (c) 2012, 2017, Oracle.  All rights reserved.

Log file for this invocation: /u01/app/oracle/cfgtoollogs/sqlpatch/sqlpatch_7981_2018_08_06_13_06_18/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 DBRU:

  ID 170718 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 PDB01

    Nothing to roll back

    The following patches will be applied:

      26123830 (DATABASE RELEASE UPDATE 12.2.0.1.170718)

Installing patches...

Patch installation complete.  Total patches installed: 3

Validating logfiles...

Patch 26123830 apply (pdb CDB$ROOT): SUCCESS

  logfile: /u01/app/oracle/cfgtoollogs/sqlpatch/26123830/21405588/26123830_apply_CDB_CDBROOT_2018Aug06_13_06_37.log (no errors)

Patch 26123830 apply (pdb PDB$SEED): SUCCESS

  logfile: /u01/app/oracle/cfgtoollogs/sqlpatch/26123830/21405588/26123830_apply_CDB_PDBSEED_2018Aug06_13_07_21.log (no errors)

Patch 26123830 apply (pdb PDB01): SUCCESS

  logfile: /u01/app/oracle/cfgtoollogs/sqlpatch/26123830/21405588/26123830_apply_CDB_PDB01_2018Aug06_13_07_21.log (no errors)

SQL Patching tool complete on Mon Aug  6 13:07:59 2018

[oracle@prod04 26123830]$ 

6,检查补丁状态

SQL> select patch_id,action,status,BUNDLE_SERIES from dba_registry_sqlpatch;

  PATCH_ID ACTION   STATUS   BUNDLE_SERIES

---------- --------------- --------------- ------------------------------

  26123830 APPLY   SUCCESS   DBRU

# select patch_id,patch_uid,version,flags,action,status,action_time,description,bundle_series from dba_registry_sqlpatch;

到此,关于“Oralce RU版本的安装过程”的学习就结束了,希望能够解决大家的疑惑。理论与实践的搭配能更好的帮助大家学习,快去试试吧!若想继续学习更多相关知识,请继续关注编程网网站,小编会继续努力为大家带来更多实用的文章!

您可能感兴趣的文档:

--结束END--

本文标题: Oralce RU版本的安装过程

本文链接: https://www.lsjlt.com/news/60460.html(转载时请注明来源链接)

有问题或投稿请发送至: 邮箱/279061341@qq.com    QQ/279061341

本篇文章演示代码以及资料文档资料下载

下载Word文档到电脑,方便收藏和打印~

下载Word文档
猜你喜欢
软考高级职称资格查询
编程网,编程工程师的家园,是目前国内优秀的开源技术社区之一,形成了由开源软件库、代码分享、资讯、协作翻译、讨论区和博客等几大频道内容,为IT开发者提供了一个发现、使用、并交流开源技术的平台。
  • 官方手机版

  • 微信公众号

  • 商务合作