• 单实例dg软件从10.2.0.4版本安装至10.2.0.5.12


    DG环境搭建需求,因此安装与主库相同的软件版本

    1.主库软件版本10.2.0.5.12

    2dg环境提供的是全新的10.2.0.4.0

    3.安装步骤,安装10.2.0.5 静默安装

                        psu安装10.2.0.5.12 

    前期准备:
    生产环境
    SQL>select * from dba_registry_history;
    ACTION_TIME                ACTION        NAMESPACE  VERSION          ID BUNDL COMMENTS
    ----------------------------------- --------------- ---------- ---------- ---------- ----- -------------------------
    19-SEP-14 09.05.16.192055 PM        VIEW RECOMPILE                 8289601       view recompilation
    19-SEP-14 09.05.16.206264 PM        UPGRADE        SERVER     10.2.0.5.0           Upgraded from 10.2.0.4.0
    19-SEP-14 09.15.20.187048 PM        APPLY        SERVER     10.2.0.5       12 PSU   PSU 10.2.0.5.12
    
    [oracle@qisdb OPatch]$ ./opatch lsinventory
    Oracle Database 10g                                                  10.2.0.1.0
    Oracle Database 10g Release 2 Patch Set 3                            10.2.0.4.0
    Oracle Database 10g Release 2 Patch Set 4                            10.2.0.5.0
    Patch  16619894     : applied on Fri Sep 19 21:13:48 HKT 2014
    Unique Patch ID:  16519126
    
    新dg环境
    [oracle@qisdbdg OPatch]$ ./opatch lsinventory
    OPatch version    : 10.2.0.4.2
    OUI version       : 10.2.0.4.0
    Oracle Database 10g                                                  10.2.0.1.0
    Oracle Database 10g Release 2 Patch Set 3                            10.2.0.4.0
    
    下载ORALCE 介质 10.2.0.5 软件包,及补丁包 8202632,pus 10.2.0.5.12 psu
    补丁程序8202632: 10.2.0.5 PATCH SET FOR ORACLE DATABASE SERVER
    10g Release 2 (10.2.0.5) Patch Set 4 for Linux x86-64
    
    第一步. 安装10.2.0.5 psu 
    [oracle@qisdbdg soft]$ unzip p8202632_10205_Linux-x86-64.zip 
    
    1)阅读 README
    5 Oracle Universal Installer Version Requirements
    This is not a complete software distribution. You must install it in an existing Oracle Database 10g (10.2.0.x) installation.
    需要实现安装10.2.0.x版本的oracle软件
    9.2 Installing the Oracle Database 10g Patch Set Noninteractively
        To install the Oracle Database 10g patch set noninteractively:
         1.Copy the response file template provided in the response directory where you unpacked the patch set archive file.
         2.Edit the values for all fields labeled as <Value Required> as described by the comments and examples in the template.
          Note:
          For Oracle RAC installations, make sure the CLUSTER_NODES variable specifies all of the nodes used in the original Oracle RAC installation.
         3.To run Oracle Universal Installer, enter a command similar to the following, where response_file is the full path to the response file that you edited:
          $ ./runInstaller -silent -responseFile response_file
         4.After the installation, run the $ORACLE_HOME/root.sh script as the root user. If you are applying the patch set to an Oracle RAC installation, then run the root.sh script on each node of the cluster.
          Note:
          If you are applying this patch set to an Oracle Clusterware installation, then complete all the steps in the CRS_home/install/readme.txt file. You must run this script as the root user on all nodes.
    
          
    --查询信息
    /oracle/oraInventory/ContentsXML      
    [oracle@qisdbdg ContentsXML]$ cat inventory.xml 
    <HOME NAME="OraDb10g_home1"
    [oracle@qisdbdg ContentsXML]$ id oracle
    uid=500(oracle) gid=500(dba) groups=500(dba)
    [oracle@qisdbdg ContentsXML]$ echo $ORACLE_HOME
    /oracle/product/10.2.0
    
    
    可以阅读/oracle/soft/Disk1/response,上传解压后response目录下的响应文件patchset.rsp 
     # Specify whether user doesn't want to configure Security Updates.
     # The value for this variable should be true if you don't want to configure
     # Security Updates, false otherwise.
     # The value can be either true or false. If left blank it will be assumed
     # to be false.
     # Example    : DECLINE_SECURITY_UPDATES=false
    
    [oracle@qisdbdg response]$ pwd
    /oracle/soft/Disk1/response
    [oracle@qisdbdg response]$ vi patchset.rsp 
    配置rsp文件
    UNIX_GROUP_NAME="dba"
    FROM_LOCATION="/oracle/soft/Disk1/stage/products.xml"
    ORACLE_HOME="/oracle/product/10.2.0/"
    ORACLE_HOME_NAME="OraDb10g_home1"
    MYORACLESUPPORT_USERNAME=""
    MYORACLESUPPORT_PASSWORD=""
    DECLINE_SECURITY_UPDATES=true
    
    
    升级软件
    $ ./runInstaller -silent -responseFile /oracle/soft/Disk1/response/patchset.rsp
    
    
    --最开始自己写了个rsp响应文件,一直提示如下报错,后续直接编辑oracle 提供的响应文件进行调用安装通过。
    SEVERE:Values for the following variables could not be obtained from the command line or response file(s): 
      ORACLE_HOME(OracleHome),
      ORACLE_HOME_NAME(OracleHomeName)
    
    参考
    http://blog.itpub.net/11590946/viewspace-1086257/
    https://blog.csdn.net/csdn909034/article/details/100321430
    
    
    [oracle@qisdbdg Disk1]$ ./runInstaller -silent -responseFile /oracle/soft/Disk1/response/patchset.rsp
    Starting Oracle Universal Installer...
    Checking installer requirements...
    Checking operating system version: must be redhat-3, SuSE-9, SuSE-10, redhat-4, redhat-5, redhat-6, UnitedLinux-1.0, asianux-1, asianux-2, asianux-3, enterprise-4, enterprise-5 or SuSE-11 Passed
    All installer requirements met.
    Loading Product Information
    .................................................................................................................. 100% Done.
    Starting execution of Prerequisites...
    Total No of checks: 8
    Performing check for CertifiedVersions
    Checking operating system requirements ...
    Expected result: One of redhat-6,redhat-5,redhat-4,redhat-3,SuSE-11,SuSE-10,SuSE-9,asianux-3,asianux-2,asianux-1
    Actual Result: redhat-5
    Check complete. The overall result of this check is: Passed
    Check complete: Passed
    =======================================================================
    Performing check for Packages
    Checking operating system package requirements ...
    Checking for make-3.81; found make-1:3.81-3.el5.        Passed
    Checking for binutils-2.17.50.0.6; found binutils-2.17.50.0.6-12.el5.   Passed
    Checking for gcc-4.1.1; found gcc-4.1.2-46.el5. Passed
    Checking for libaio-0.3.106; found libaio-0.3.106-3.2.  Passed
    Checking for libstdc++-4.1.1; found libstdc++-4.1.2-46.el5.     Passed
    Check complete. The overall result of this check is: Passed
    Check complete: Passed
    =======================================================================
    Performing check for Kernel
    Checking kernel parameters
    Checking for semmsl=250; found semmsl=250.      Passed
    Checking for semmns=32000; found semmns=32000.  Passed
    Checking for semopm=100; found semopm=100.      Passed
    Checking for semmni=128; found semmni=128.      Passed
    Checking for shmmax=1073741824; found shmmax=68719476736.       Passed
    Checking for shmmni=4096; found shmmni=4096.    Passed
    Checking for shmall=2097152; found shmall=4294967296.   Passed
    Checking for file-max=101365; found file-max=65536.     Failed <<<<
    Checking for VERSION=2.6.18; found VERSION=2.6.18-164.el5.      Passed
    Checking for ip_local_port_range=9000 - 65500; found ip_local_port_range=1024 - 65000.  Failed <<<<
    Checking for rmem_default=1048576; found rmem_default=262144.   Failed <<<<
    Checking for rmem_max=1048576; found rmem_max=262144.   Failed <<<<
    Checking for wmem_default=262144; found wmem_default=262144.    Passed
    Checking for wmem_max=262144; found wmem_max=262144.    Passed
    Check complete. The overall result of this check is: Failed <<<<
    Check complete: Failed <<<<
    Problem: The kernel parameters do not meet the minimum requirements (see above).
    Recommendation: Perform operating system specific instructions to update the kernel parameters.
    =======================================================================
    Performing check for GLIBC
    Checking Recommended glibc version
    Expected result: ATLEAST=2.5-12 NOT_EQUALS=2.5-18 
    Actual Result: 2.5-42
    Check complete. The overall result of this check is: Passed
    Check complete: Passed
    =======================================================================
    Performing check for TotalMemory
    Checking physical memory requirements ...
    Expected result: 922MB
    Actual Result: 16048MB
    Check complete. The overall result of this check is: Passed
    Check complete: Passed
    =======================================================================
    Performing check for SwapSpace
    Checking available swap space requirements ...
    Expected result: 12036MB
    Actual Result: 9983MB
    Check complete. The overall result of this check is: Failed <<<<
    Check complete: Failed <<<<
    Problem: The system does not have the required swap space.
    Recommendation: Make more swap space available to perform the install.
    =======================================================================
    Performing check for checkToInstallCCR
    Checking the Components installed in Oracle Home
    Check complete. The overall result of this check is: Passed
    Check complete: Passed
    =======================================================================
    Performing check for CompatibilityChecks
    Checking for Oracle Home incompatibilities ...
    Check complete. The overall result of this check is: Passed
    Check complete: Passed
    =======================================================================
    PrereqChecks complete
    Analyzing dependencies 
    ...................................................................................................... 100% Done.
    -----------------------------------------------------------------------------
    Summary
    Global Settings
        Source: /oracle/soft/Disk1/stage/products.xml
        Oracle Home: /oracle/product/10.2.0 (OraDb10g_home1)
    Product Languages
       English
    Space Requirements
       / Required 139MB (includes 54MB temporary) : Available 348.53GB
    New Installations (6 products)
       Oracle interMedia Annotator 10.2.0.5.0 
       Enterprise Manager Minimal Integration 10.2.0.5.0 
       Parser Generator Required Support Files 10.2.0.5.0 
       Buildtools Common Files 10.2.0.5.0 
       Oracle UIX 2.2.24.6.0 
       Bali Share 1.1.19.0.0 
    Upgrades (84 products)
       Oracle Notification Service Patch 10.2.0.5.0 
       Database Configuration and Upgrade Assistants Patch 10.2.0.5.0 
       Character Set Migration Utility Patch 10.2.0.5.0 
       Oracle Database 10g Patch 10.2.0.5.0 
       Oracle JDBC/OCI Instant Client Patch 10.2.0.5.0 
       Oracle Database 10g Patch 10.2.0.5.0 
       Enterprise Manager plugin Common Files Patch 10.2.0.5.0 
       SQL*Plus 10.2.0.5.0 
       HAS Common Files Patch 10.2.0.5.0 
       HAS Files for DB Patch 10.2.0.5.0 
       Oracle Java Client Patch 10.2.0.5.0 
       Oracle JVM Patch 10.2.0.5.0 
       Oracle Internet Directory Client Patch 10.2.0.5.0 
       iSQL*Plus 10.2.0.5.0 
       Oracle Advanced Security Patch 10.2.0.5.0 
       Oracle Net Patch 10.2.0.5.0 
       Oracle Net Listener Patch 10.2.0.5.0 
       Oracle Wallet Manager Patch 10.2.0.5.0 
       Precompiler Common Files Patch 10.2.0.5.0 
       Secure Socket Layer Patch 10.2.0.5.0 
       Oracle ODBC Driver Patch 10.2.0.5.0 
       Oracle OLAP Patch 10.2.0.5.0 
       Oracle OLAP API Patch 10.2.0.5.0 
       OLAP SQL Scripts Patch 10.2.0.5.0 
       Oracle interMedia Client Option Patch 10.2.0.5.0 
       Oracle Database 10g interMedia Files Patch 10.2.0.5.0 
       Oracle interMedia Patch 10.2.0.5.0 
       PL/SQL Embedded Gateway Patch 10.2.0.5.0 
       Oracle XML Development Kit Patch 10.2.0.5.0 
       Oracle Text Patch 10.2.0.5.0 
       Oracle Clusterware RDBMS Files Patch 10.2.0.5.0 
       Database SQL Scripts Patch 10.2.0.5.0 
       Oracle Data Mining RDBMS Files Patch 10.2.0.5.0 
       Generic Connectivity Common Files Patch 10.2.0.5.0 
       Oracle Net Required Support Files Patch 10.2.0.5.0 
       Oracle Starter Database Patch 10.2.0.5.0 
       Sample Schema Data Patch 10.2.0.5.0 
       Oracle interMedia Locator RDBMS Files Patch 10.2.0.5.0 
       Oracle Call Interface (OCI) Patch 10.2.0.5.0 
       Oracle OLAP RDBMS Files Patch 10.2.0.5.0 
       PL/SQL 10.2.0.5.0 
       Oracle Recovery Manager Patch 10.2.0.5.0 
       Oracle Database Utilities Patch 10.2.0.5.0 
       Oracle interMedia Locator Patch 10.2.0.5.0 
       XML Parser for Java Patch 10.2.0.5.0 
       Assistant Common Files Patch 10.2.0.5.0 
       Oracle JDBC Thin Driver for JDK 1.2 Patch 10.2.0.5.0 
       Oracle JDBC Thin Driver for JDK 1.4 Patch 10.2.0.5.0 
       Oracle interMedia Java Advanced Imaging Patch 10.2.0.5.0 
       SQLJ Runtime Patch 10.2.0.5.0 
       XML Parser for Oracle JVM Patch 10.2.0.5.0 
       Enterprise Manager Agent DB 10.2.0.5.0 
       Enterprise Manager Baseline 10.2.0.5.0 
       Oracle Enterprise Manager Console DB 10.2.0.5.0 
       XDK Required Support Files Patch 10.2.0.5.0 
       Agent Required Support Files Patch 10.2.0.5.0 
       DBJAVA Required Support Files Patch 10.2.0.5.0 
       LDAP Required Support Files Patch 10.2.0.5.0 
       Precompiler Required Support Files Patch 10.2.0.5.0 
       Oracle RAC Required Support Files-HAS Patch 10.2.0.5.0 
       RDBMS Required Support Files for Instant Client Patch 10.2.0.5.0 
       RDBMS Required Support Files Patch 10.2.0.5.0 
       SQL*Plus Required Support Files Patch 10.2.0.5.0 
       SSL Required Support Files for InstantClient Patch 10.2.0.5.0 
       Installation Common Files Patch 10.2.0.5.0 
       Oracle Globalization Support Patch 10.2.0.5.0 
       Oracle Core Required Support Files Patch 10.2.0.5.0 
       Platform Required Support Files 10.2.0.5.0 
       Oracle Message Gateway Common Files Patch 10.2.0.5.0 
       Enterprise Manager Agent Core Patch 10.2.0.5.0a 
       Enterprise Manager Common Core Patch 10.2.0.5.0a 
       Enterprise Manager Repository Core patch 10.2.0.5.0a 
       Oracle Containers for Java 10.2.0.5.0 
       Enterprise Manager Repository DB 10.2.0.5.0 
       Oracle LDAP administration patch 10.2.0.5.0 
       Oracle Required Support Files 32 bit Patch 10.2.0.5.0 
       JDBC Common Files 10.2.0.5.0 
       Database Workspace Manager 10.2.0.5.0 
       Oracle Real Application Testing 10.2.0.5.0 
       Oracle Configuration Manager 10.3.2.1.0 
       Oracle Universal Installer 10.2.0.5.0 
       Oracle One-Off Patch Installer 10.2.0.4.2 
       Installer SDK Component 10.2.0.5.0 
       Sun JDK 1.4.2.14.05 
    Already Installed (85 products)
       Oracle Notification Service 10.1.0.3.0 
       Database Configuration and Upgrade Assistants 10.2.0.1.0 
       Character Set Migration Utility 10.2.0.1.0 
       Oracle Database 10g 10.2.0.1.0 
       Oracle JDBC/OCI Instant Client 10.2.0.1.0 
       Oracle Database 10g 10.2.0.1.0 
       Enterprise Manager plugin Common Files 10.2.0.1.0 
       SQL*Plus 10.2.0.1.0 
       HAS Common Files 10.2.0.1.0 
       HAS Files for DB 10.2.0.1.0 
       Oracle Java Client 10.2.0.1.0 
       Oracle JVM 10.2.0.1.0 
       Oracle Internet Directory Client 10.2.0.1.0 
       iSQL*Plus 10.2.0.1.0 
       Oracle Advanced Security 10.2.0.1.0 
       Oracle Net 10.2.0.1.0 
       Oracle Net Listener 10.2.0.1.0 
       Oracle Wallet Manager 10.2.0.1.0 
       Precompiler Common Files 10.2.0.1.0 
       Secure Socket Layer 10.2.0.1.0 
       Oracle ODBC Driver 10.2.0.1.0 
       Oracle OLAP 10.2.0.1.0 
       Oracle OLAP API 10.2.0.1.0 
       OLAP SQL Scripts 10.2.0.1.0 
       Oracle interMedia Client Option 10.2.0.1.0 
       Oracle Database 10g interMedia Files 10.2.0.1.0 
       Oracle interMedia 10.2.0.1.0 
       PL/SQL Embedded Gateway 10.2.0.1.0 
       Oracle XML Development Kit 10.2.0.1.0 
       Oracle Text 10.2.0.1.0 
       Oracle Clusterware RDBMS Files 10.2.0.1.0 
       Database SQL Scripts 10.2.0.1.0 
       Oracle Data Mining RDBMS Files 10.2.0.1.0 
       Generic Connectivity Common Files 10.2.0.1.0 
       Oracle Net Required Support Files 10.2.0.1.0 
       Oracle Starter Database 10.2.0.1.0 
       Sample Schema Data 10.2.0.1.0 
       Oracle interMedia Locator RDBMS Files 10.2.0.1.0 
       Oracle Call Interface (OCI) 10.2.0.1.0 
       Oracle OLAP RDBMS Files 10.2.0.1.0 
       PL/SQL 10.2.0.1.0 
       Oracle Recovery Manager 10.2.0.1.0 
       Oracle Database Utilities 10.2.0.1.0 
       Oracle interMedia Locator 10.2.0.1.0 
       XML Parser for Java 10.2.0.1.0 
       Assistant Common Files 10.2.0.1.0 
       Oracle JDBC Thin Driver for JDK 1.2 10.2.0.1.0 
       Oracle JDBC Thin Driver for JDK 1.4 10.2.0.1.0 
       Oracle interMedia Java Advanced Imaging 10.2.0.1.0 
       SQLJ Runtime 10.2.0.1.0 
       XML Parser for Oracle JVM 10.2.0.1.0 
       Enterprise Manager Agent DB 10.2.0.1.0 
       Enterprise Manager Baseline 10.2.0.1.0 
       Oracle Enterprise Manager Console DB 10.2.0.1.0 
       XDK Required Support Files 10.2.0.1.0 
       Agent Required Support Files 10.2.0.1.0 
       DBJAVA Required Support Files 10.2.0.1.0 
       LDAP Required Support Files 10.2.0.1.0 
       Precompiler Required Support Files 10.2.0.1.0 
       Oracle RAC Required Support Files-HAS 10.2.0.1.0 
       RDBMS Required Support Files for Instant Client 10.2.0.1.0 
       RDBMS Required Support Files 10.2.0.1.0 
       SQL*Plus Required Support Files 10.2.0.1.0 
       SSL Required Support Files for InstantClient 10.2.0.1.0 
       Installation Common Files 10.2.0.1.0 
       Oracle Globalization Support 10.2.0.1.0 
       Oracle Core Required Support Files 10.2.0.1.0 
       Platform Required Support Files 10.2.0.1.0 
       Oracle Message Gateway Common Files 10.2.0.1.0 
       Enterprise Manager Agent Core 10.2.0.1.0 
       Enterprise Manager Common Files 10.2.0.1.0 
       Enterprise Manager Repository Core 10.2.0.1.0 
       Oracle Containers for Java 10.2.0.1.0 
       Enterprise Manager Repository DB 10.2.0.1.0 
       Oracle LDAP administration 10.2.0.1.0 
       Oracle Required Support Files 32 bit 10.2.0.0.0 
       JDBC Common Files 10.2.0.1.0 
       Database Workspace Manager 10.2.0.1.0 
       Oracle interMedia Annotator 10.2.0.1.0 
       Enterprise Manager Minimal Integration 10.2.0.1.0 
       Parser Generator Required Support Files 10.2.0.1.0 
       Buildtools Common Files 10.2.0.1.0 
       Oracle UIX 2.1.22.0.0 
       Bali Share 1.1.18.0.0 
       Java Runtime Environment 1.4.2.14.0 
    -----------------------------------------------------------------------------
    Deinstall in progress (Thursday, November 28, 2019 11:08:11 AM CST)
    ...............................................................   0% Done.
    ...............................................................  11% Done.
    ...............................................................  23% Done.
    ...............................................................  35% Done.
    ...............................................................  46% Done.
    ...............................................................  58% Done.
    ...............................................................  70% Done.
    ...............................................................  81% Done.
    ..................................                              100% Done.
    
    Deinstall successful
    
    Installation in progress (Thursday, November 28, 2019 11:08:11 AM CST)
    ...............................................................  11% Done.
    ...............................................................  23% Done.
    ...............................................................  35% Done.
    ...............................................................  46% Done.
    ...............................................................  58% Done.
    ..............................................................   70% Done.
    Install successful
    
    Linking in progress (Thursday, November 28, 2019 11:08:55 AM CST)
    ...                                                              70% Done.
    Link successful
    
    Setup in progress (Thursday, November 28, 2019 11:09:15 AM CST)
    ..........                                                      100% Done.
    Setup successful
    
    End of install phases.(Thursday, November 28, 2019 11:09:17 AM CST)
    WARNING:
    The following configuration scripts need to be executed as the "root" user.
    #!/bin/sh
    #Root script to run
    /oracle/product/10.2.0/root.sh
    To execute the configuration scripts:
        1. Open a terminal window
        2. Log in as "root"
        3. Run the scripts
    
    The installation of Oracle Database 10g Release 2 Patch Set 4 was successful.
    Please check '/oracle/oraInventory/logs/silentInstall2019-11-28_11-07-51AM.log' for more details.
    
    --
    Performing check for Kernel
    Checking kernel parameters
    Checking for semmsl=250; found semmsl=250.      Passed
    Checking for semmns=32000; found semmns=32000.  Passed
    Checking for semopm=100; found semopm=100.      Passed
    Checking for semmni=128; found semmni=128.      Passed
    Checking for shmmax=1073741824; found shmmax=68719476736.       Passed
    Checking for shmmni=4096; found shmmni=4096.    Passed
    Checking for shmall=2097152; found shmall=4294967296.   Passed
    Checking for file-max=101365; found file-max=65536.     Failed <<<<
    Checking for VERSION=2.6.18; found VERSION=2.6.18-164.el5.      Passed
    Checking for ip_local_port_range=9000 - 65500; found ip_local_port_range=1024 - 65000.  Failed <<<<
    Checking for rmem_default=1048576; found rmem_default=262144.   Failed <<<<
    Checking for rmem_max=1048576; found rmem_max=262144.   Failed <<<<
    Checking for wmem_default=262144; found wmem_default=262144.    Passed
    Checking for wmem_max=262144; found wmem_max=262144.    Passed
    Check complete. The overall result of this check is: Failed <<<<
    Check complete: Failed <<<<
    Problem: The kernel parameters do not meet the minimum requirements (see above).
    Recommendation: Perform operating system specific instructions to update the kernel parameters.
    
    
    #cat /etc/sysctl.conf  
    kernel.shmmni=4096
    kernel.sem=250 32000 100 128
    fs.file-max=65536
    net.ipv4.ip_local_port_range=1024 65000
    net.core.rmem_default=262144
    net.core.rmem_max=262144
    net.core.wmem_default=262144
    net.core.wmem_max=262144
    
    根据oracle 提供的建议值,进行调整修改
    当前生效  执行
    /sbin/sysctl -p
    /sbin/sysctl -a --查看所有参数,验证
    
    [root@qisdbdg soft]# /sbin/sysctl -a |grep -E "file-max|ip_local_port_range|rmem_default|rmem_max"
    net.ipv4.ip_local_port_range = 9000     65500
    net.core.rmem_default = 1048576
    net.core.rmem_max = 1048576
    fs.file-max = 101365
    
    
    ===================================================================================================
    第二步. 10.2.0.5.12 psu安装
    
    阅读README
    前提条件
    要安装PSU 10.2.0.5.12补丁程序,Oracle主目录必须已安装10.2.0.5.0数据库。随后的PSU修补程序可以安装在Oracle Database 10.2.0.5.0上,也可以安装在第5个数字版本低于所安装版本的任何PSU上。
    2.1 OPatch实用程序
    您必须使用OPatch 10.2 10.2.0.5.0或更高版本来应用此补丁。Oracle建议您使用最新发行的OPatch 10.2,可以通过选择10.2.0.0.0版本从My Oracle Support补丁6880880下载该补丁。
    [oracle@qisdbdg OPatch]$ ./opatch version
    Invoking OPatch 10.2.0.4.9
    OPatch Version: 10.2.0.4.9
    OPatch succeeded.
    [oracle@qisdbdg OPatch]$ ./opatch lsinventory
    OPatch version    : 10.2.0.4.9
    Oracle Database 10g                                                  10.2.0.1.0
    Oracle Database 10g Release 2 Patch Set 3                            10.2.0.4.0
    Oracle Database 10g Release 2 Patch Set 4                            10.2.0.5.0
    
    -- 274526.1
    [oracle@qisdbdg soft]$ unzip p6880880_102000_Linux-x86-64.zip 
    [oracle@qisdbdg 10.2.0]$ mv OPatch OPatch_20191128.bak
    [oracle@qisdbdg soft]$ mv OPatch /oracle/product/10.2.0/.
    [oracle@qisdbdg OPatch]$ ./opatch version
    Invoking OPatch 10.2.0.5.1
    OPatch Version: 10.2.0.5.1
    OPatch succeeded.
    
    
    3.2补丁安装
    Set your current directory to the directory where the patch is located and then run the OPatch utility by entering the following commands:
    [oracle@qisdbdg soft]$ unzip p16619894_10205_Linux-x86-64.zip 
    [oracle@qisdbdg soft]$ cd 16619894
    /oracle/product/10.2.0/OPatch/opatch apply
    You have not provided an email address for notification of security issues.  回车跳过输入接收的email地址
    Do you wish to remain uninformed of security issues ([Y]es, [N]o) [N]:y    安全提示,yes 继续
    Is the local system ready for patching? [y|n]  y  是否准备好了,yes
    ApplySession adding interim patch '16619894' to inventory
    Verifying the update...
    Inventory check OK: Patch ID 16619894 is registered in Oracle Home inventory with proper meta-data.
    Files check OK: Files from Patch ID 16619894 are present in Oracle Home.
    The local system has been patched and can be restarted.
    OPatch succeeded.
    
    
    [oracle@qisdbdg OPatch]$ ./opatch lsinventory
    Oracle Database 10g                                                  10.2.0.1.0
    Oracle Database 10g Release 2 Patch Set 3                            10.2.0.4.0
    Oracle Database 10g Release 2 Patch Set 4                            10.2.0.5.0
    Patch  16619894     : applied on Thu Nov 28 12:19:18 CST 2019
    Unique Patch ID:  16519126
  • 相关阅读:
    Gson中@SerializedName 注解使用
    centos8 安装mongodb4.4
    ssh 连接manjaro失败
    git保存仓库的账号密码
    centos 安装etcd
    kubeadm部署k8s 拉取基础镜像
    centos 安装cloc 代码统计工具
    centos7 安装mongodb
    shell获取时间戳
    最详细的阿里云ECS服务器CentOS7上安装tomcat8服务(三)
  • 原文地址:https://www.cnblogs.com/lvcha001/p/11950355.html
Copyright © 2020-2023  润新知