zoukankan      html  css  js  c++  java
  • How to Create an OCM Response file to Apply a Patch in Silent Mode

    Windows Server 2019 打补丁时缺少Oracle Configuration Manager(OCM) 响应文件处理方式。

    适用:

    Oracle Universal Installer -版本10.2.0.1到12.1.0.2[版本10.2到12.1]

    Oracle数据库-企业版-版本10.2.0.1到12.2.0.1[版本10.2到12.2]

    本文档中的信息适用于任何平台。

    % export ORACLE_HOME=/u01/app/oracle/11.2/db1
    % $ORACLE_HOME/OPatch/ocm/bin/emocmrsp -no_banner -output /u02/ocm.rsp

    Provide your email address to be informed of security issues, install and
    initiate Oracle Configuration Manager. Easier for you if you use your My
    Oracle Support Email address/User Name.
    Visit http://www.oracle.com/support/policies.html for details.
    Email address/User Name:

    <<<< Press Enter/Return key and don't provide any input >>>>

    You have not provided an email address for notification of security issues.
    Do you wish to remain uninformed of security issues ([Y]es, [N]o) [N]: Y <<< type Y/Yes >>>
    The OCM configuration response file (/u02/ocm.rsp) was successfully created. <<

    Assume applying patch 12345

    % cd 12345
    % opatch apply -silent -ocmrf <path_to_response_file>

    Example: % opatch apply -silent -ocmrf /u02/ocm.rsp

     Additional Examples (Showing command usage for  CPU/SPU/PSU/ "opatch auto" )

    1) User below for CPU/SPU apply
    % opatch napply -silent -ocmrf /u02/ocm.rsp
    2)Use below for  PSU apply
    % opatch apply -silent -ocmrf /u02/ocm.rsp
    3)GRID patching command changed sightly as below 
    % opatch auto -ocmrf /u02/ocm.rsp
  • 相关阅读:
    [洛谷P2523] HAOI2011 Problem c
    [CF156D] Clues
    [洛谷P4769] NOI2018 冒泡排序
    [CF605E] Intergalaxy Trips
    [洛谷P4492] HAOI2018 苹果树
    [洛谷P3349] ZJOI2016 小星星
    [洛谷P4336] SHOI2016 黑暗前的幻想乡
    [洛谷P5364] SNOI2017 礼物
    [洛谷P2606] ZJOI2010 排列计数
    [洛谷P6078] CEOI2004 candy
  • 原文地址:https://www.cnblogs.com/askscuti/p/10883001.html
Copyright © 2011-2022 走看看