返回顶部
首页 > 资讯 > 数据库 >Oracle RUR 安装
  • 232
分享到

Oracle RUR 安装

2024-04-02 19:04:59 232人浏览 八月长安
摘要

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

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

RUR版本:p27872031_122010_linux-x86-64.zip


1,解压

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

2,关闭数据库

sql> shu immediate

Database closed.

Database dismounted.

ORACLE instance shut down.

3,安装补丁

OPatch 软件版本要求:(编号:p27872031_122010_Linux-x86-64)

You must use the OPatch utility version 12.2.0.1.12 or later to apply this patch.


3.1 备份原有Opatch

[oracle@prod04 ~]$ mv /u01/app/oracle/product/12.2.0/dbhome_1/OPatch/ /u01/app/oracle/product/12.2.0/dbhome_1/OPatch30180806bak/

3.2 解压新Opatch到 /u01/app/oracle/product/12.2.0/dbhome_1/OPatch/

unzip p6880880_122010_Linux-x86-64.zip  -d /u01/app/oracle/product/12.2.0/dbhome_1/


3.3 补丁安装

[oracle@prod04 ~]$ cd 27872031/

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

Oracle Interim Patch Installer version 12.2.0.1.14

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.14

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-49-42PM_1.log


Verifying environment and perfORMing prerequisite checks...

OPatch continues with these patches:   27872031  


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 '27872031' to OH '/u01/app/oracle/product/12.2.0/dbhome_1'

ApplySession: Optional component(s) [ oracle.has.crs, 12.2.0.1.0 ] , [ oracle.ons.daemon, 12.2.0.1.0 ] , [ oracle.network.cman, 12.2.0.1.0 ]  not present in the Oracle Home or a higher version is found.


Patching component oracle.rdbms.dv, 12.2.0.1.0...


Patching component oracle.ctx, 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.rsf.ic, 12.2.0.1.0...


Patching component oracle.tfa, 12.2.0.1.0...


Patching component oracle.rdbms.oci, 12.2.0.1.0...


Patching component oracle.ctx.rsf, 12.2.0.1.0...


Patching component oracle.xdk.rsf, 12.2.0.1.0...


Patching component oracle.rdbms.lbac, 12.2.0.1.0...


Patching component oracle.precomp.common, 12.2.0.1.0...


Patching component oracle.precomp.lang, 12.2.0.1.0...


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


Patching component oracle.has.deconfig, 12.2.0.1.0...


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


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


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


Patching component oracle.nlsrtl.rsf, 12.2.0.1.0...


Patching component oracle.xdk.parser.java, 12.2.0.1.0...


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


Patching component oracle.ons, 12.2.0.1.0...


Patching component oracle.xdk, 12.2.0.1.0...


Patching component oracle.network.rsf, 12.2.0.1.0...


Patching component oracle.rdbms.crs, 12.2.0.1.0...


Patching component oracle.sdo, 12.2.0.1.0...

Patch 27872031 successfully applied.

Sub-set patch [26123830] has become inactive due to the application of a super-set patch [27872031].

Please refer to Doc ID 2161861.1 for any possible further required actions.

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


OPatch succeeded.


4,启动数据库,应用补丁( Single/Multitenant (CDB/PDB) DB )

Connected to an idle instance.

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


[oracle@prod04 ~]$ /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:57:03 2018

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


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

  ID 180717 in the binary registry and not installed in any PDB

Bundle series DBRU:

  Not installed in the binary registry and ID 170718 in PDB CDB$ROOT, ID 170718 in PDB PDB$SEED, ID 170718 in PDB PDB01


Adding patches to installation queue and performing prereq checks...

Installation queue:

  For the following PDBs: CDB$ROOT PDB$SEED PDB01

    The following patches will be rolled back:

      26123830 (DATABASE RELEASE UPDATE 12.2.0.1.170718)

    The following patches will be applied:

      27872031 (DATABASE JAN 2018 RELEASE UPDATE REVISION 12.2.0.1.180717)


Installing patches...

Patch installation complete.  Total patches installed: 6


Validating logfiles...

Patch 26123830 rollback (pdb CDB$ROOT): SUCCESS

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

Patch 27872031 apply (pdb CDB$ROOT): SUCCESS

  logfile: /u01/app/oracle/cfgtoollogs/sqlpatch/27872031/22311840/27872031_apply_CDB_CDBROOT_2018Aug06_13_57_45.log (no errors)

Patch 26123830 rollback (pdb PDB$SEED): SUCCESS

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

Patch 27872031 apply (pdb PDB$SEED): SUCCESS

  logfile: /u01/app/oracle/cfgtoollogs/sqlpatch/27872031/22311840/27872031_apply_CDB_PDBSEED_2018Aug06_13_59_36.log (no errors)

Patch 26123830 rollback (pdb PDB01): SUCCESS

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

Patch 27872031 apply (pdb PDB01): SUCCESS

  logfile: /u01/app/oracle/cfgtoollogs/sqlpatch/27872031/22311840/27872031_apply_CDB_PDB01_2018Aug06_13_59_36.log (no errors)

SQL Patching tool complete on Mon Aug  6 14:00:56 2018



5,安装结果检查


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


  PATCH_ID ACTION   STATUS   BUNDLE_SERIES

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

  26123830 APPLY   SUCCESS   DBRU

  26123830 ROLLBACK   SUCCESS   DBRU

  27872031 APPLY   SUCCESS   12.2.0.1.180717DBJAN2018RUR


您可能感兴趣的文档:

--结束END--

本文标题: Oracle RUR 安装

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

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

猜你喜欢
  • Oracle RUR 安装
    数据库版本:Oracle Database 12c Enterprise Edition Release 12.2.0.1.0 - 64bit Production RUR版本:p27872031_1...
    99+
    2024-04-02
  • oracle安装
    https://www.jb51.net/article/174999.htm 硬件要求: 内存要求 :grep MemTotal /proc/meminfo 1) 最小值为1 GB 内存,建议值为2 GB of RAM 或者更多 ...
    99+
    2015-06-19
    oracle安装
  • 安装oracle
    Oracle安装http://www.cnblogs.com/gaojun/archive/2012/11/22/2783257.htmlhttp://www.jb51.net/article/53769....
    99+
    2024-04-02
  • Oracle安装(11g)静默安装
           本博文讲述如何在linux系统下静默安装oracle11g(11.2.4.0)。主要用于图形显示不方便的场景,也适用于脚本化批量部署的需要。系统环境OS...
    99+
    2024-04-02
  • oracle linux 5.8安装oracle 11g rac环境之oracle安装
     上续的系统配置,环境变量添加和grid安装在上一篇博客中,这篇主要是继上篇剩余的安装,上篇博客地址:http://tongcheng.blog.51cto.com/6214144/1852074...
    99+
    2024-04-02
  • PL/SQL不安装Oracle连接,Oracle instantclient安装
    ================================ ©Copyright 蕃薯耀 2020-01-07 https://www.cnblogs.com/fanshuyao/   第一步: 下载 instantclie...
    99+
    2020-04-27
    PL/SQL不安装Oracle连接,Oracle instantclient安装
  • oracle linux 安装oracle 11gR2
    oracle linux 是oracle公司根据redhat的linux发行版重新编译而来,加入了一些自己的元素,当然他和centos一样都属于rhel的衍生版,但是由于背靠oracle这棵大树,所以他提供...
    99+
    2024-04-02
  • vnc安装Oracle
    进入/u01/softwares/目录,对Oracle两个文件进行解压缩#unzip oracle_Linux-x86-64_1of.zip#unzip oracle_Linux-x86-64_2of.zi...
    99+
    2024-04-02
  • linux 安装oracle
    注意事项:hostname 一定要保持一致不然还有各种报错:例如:[oracle@C1 j2ee]$ emctl start dbconsole The f...
    99+
    2024-04-02
  • oracle 11g安装
    硬件准备:物理内存至少为1G,linux虚拟机的容量为60G。cat /etc/redhat-release 和uname -r  两个命令查看内核和版本,支持linux5/6   2....
    99+
    2024-04-02
  • ORACLE 12C安装
    上班比较忙慢慢些,慢慢更新win2012R2+oracle12cr2静默安装需要关注里面的配置,比11G多一些选项似乎模板注释有问题,搞了半天静默配置侦听服务 ...
    99+
    2024-04-02
  • oracle的安装
    1.修改主机名:# sed -i "s/HOSTNAME=localhost.localdomain/HOSTNAME=oracledb/" /etc/sysconfig/network# hostname...
    99+
    2024-04-02
  • Oracle - 11g安装
    小Q:最近因为工作的变动,接触了好多没接触的东西,一直在学习和熟悉业务,期间最有收获的就属于接触了除mysql之外的数据库,首先对oracle的安装记录一次。建议:第一次安装的朋友们,不要顺着我的来,将安装...
    99+
    2024-04-02
  • golang oracle 安装
    golang是一个高效的编程语言,因其快速的执行速度和简单的语法结构而备受开发人员的喜爱。Oracle数据库系统是全球著名的关系型数据库管理系统,被广泛应用于企业级应用程序。本文将介绍如何在golang环境中安装和配置Oracle数据库。一...
    99+
    2023-05-16
  • oracle linux 5.8安装oracle 11g rac环境之grid安装
    安装环境:操作系统:oracle linux 5.8 64位集群软件:linux.x64_11gR2_grid.zip数据库:linux.x64_11gR2_database_1of1.zip,linux....
    99+
    2024-04-02
  • oracle linux 4.8安装oracle 10g rac环境之cluster安装
    安装环境:操作系统:oracle linux 4.8 64位集群软件:10201_clusterware_linux_x86_64.cpio.gz数据库:10201_database_linux_x86_6...
    99+
    2024-04-02
  • oracle linux 4.8安装oracle 10g rac环境之database安装
    oracle 10g cluster安装地址:http://tongcheng.blog.51cto.com/6214144/1872157 oracle rac专业群:476687362oracle db...
    99+
    2024-04-02
  • 在Linux中安装Oracle(安装总结)
    1、检查硬件内存# grep MemTotal /proc/meminfo交换空间# grep SwapTotal /proc/meminfo磁盘空间# df -ah2、下载软件Oracle Databas...
    99+
    2024-04-02
  • centos6 安装oracle 11g
    一、安装oracle所需要的软件包(具体根据oracle官方文档)可以使用# yum -y install binutils* compat-lib*&nb...
    99+
    2024-04-02
  • oracle traffic director安装
    网络拓扑otdadmin 192.168.3.101node1 192.168.3.201node2 192.168.3.202     virtual ip 192.168.3.200...
    99+
    2024-04-02
软考高级职称资格查询
编程网,编程工程师的家园,是目前国内优秀的开源技术社区之一,形成了由开源软件库、代码分享、资讯、协作翻译、讨论区和博客等几大频道内容,为IT开发者提供了一个发现、使用、并交流开源技术的平台。
  • 官方手机版

  • 微信公众号

  • 商务合作