`
itspace
  • 浏览: 978657 次
  • 性别: Icon_minigender_1
  • 来自: 杭州
社区版块
存档分类
最新评论

Oracle 静默模式升级数据库

阅读更多

因X window原因不能启动图形界面,采用静默模式升级数据库,即10.2.0.1升级至10.2.0.4。
操作系统版本为
引用
$ oslevel -r
5300-06

升级步骤大致如下:
1、编辑升级介质中的../Disk1/response/patchset.rsp文件,主要编辑以下条目
UNIX_GROUP_NAME="oinstall"
FROM_LOCATION="/oracle/Disk1/stage/products.xml"
ORACLE_HOME="/oracle/app/oracle/product/10.2/db_2"
ORACLE_HOME_NAME="OUIHome2"
注意ORACLE_HOME_NAME可以从../oraInventory/ContentsXML/inventory.xml文件中HOME NAME获取。
2、升级Oracle软件,刷新数据字典,不再赘述
引用
$ ./runInstaller -silent -ignoreDiskWarning -responseFile /oracle/Disk1/response/patchset.rsp

3、执行root.sh
引用
$ su
root's Password:
# /oracle/app/oracle/product/10.2/db_2/root.sh
Running Oracle10 root.sh script...

The following environment variables are set as:
    ORACLE_OWNER= oracle
    ORACLE_HOME=  /oracle/app/oracle/product/10.2/db_2

Enter the full pathname of the local bin directory: [/usr/local/bin]:
The file "dbhome" already exists in /usr/local/bin.  Overwrite it? (y/n) [n]:
The file "oraenv" already exists in /usr/local/bin.  Overwrite it? (y/n) [n]:
The file "coraenv" already exists in /usr/local/bin.  Overwrite it? (y/n) [n]:

Entries will be added to the /etc/oratab file as needed by
Database Configuration Assistant when a database is created
Finished running generic part of root.sh script.
Now product-specific root actions will be performed.


附升级过程显示日志:

引用
$ ./runInstaller -silent -ignoreDiskWarning -responseFile /oracle/Disk1/response/patchset.rsp
********************************************************************************

Your platform requires the root user to perform certain pre-installation
OS preparation.  The root user should execute '/usr/sbin/slibclean' on all the nodes before
you proceed with Patchset Installation.

Answer 'y' if root has run '/usr/sbin/slibclean' so you can proceed with Oracle
Patchset installation.
Answer 'n' to abort installation and then ask root to run '/usr/sbin/slibclean'.

********************************************************************************
Has '/usr/sbin/slibclean' been run by root? [y/n] (n)
y

Starting Oracle Universal Installer...

Checking installer requirements...

Checking operating system version: must be 5200, 5300 or 6100
                                      Passed


All installer requirements met.

Preparing to launch Oracle Universal Installer from /tmp/OraInstall2010-02-27_03-32-47AM. Please wait ...$ Oracle Universal Installer, Version 10.2.0.4.0 Production
Copyright (C) 1999, 2008, Oracle. All rights reserved.

You can find a log of this install session at:
/oracle/app/oracle/oraInventory/logs/installActions2010-02-27_03-32-47AM.log
.................................................................................................... 100% Done.


Loading Product Information
.......................................................................................................... 100% Done.


Starting execution of Prerequisites...
Total No of checks: 2

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/Disk1/stage/products.xml
    Oracle Home: /oracle/app/oracle/product/10.2/db_2 (OUIHome2)
Product Languages
   English
Space Requirements
   /oracle/ Required 3.81GB : Available 7.82GB
   /tmp/ Required 142MB (only as temporary space) : Available 146MB
New Installations (80 products)
   Oracle Notification Service Patch 10.2.0.4.0
   Database Configuration and Upgrade Assistants Patch 10.2.0.4.0
   Character Set Migration Utility Patch 10.2.0.4.0
   Oracle Database 10g Patch 10.2.0.4.0
   Oracle JDBC/OCI Instant Client Patch 10.2.0.4.0
   Oracle Database 10g Patch 10.2.0.4.0
   Enterprise Manager plugin Common Files Patch 10.2.0.4.0
   SQL*Plus 10.2.0.4.0
   HAS Common Files Patch 10.2.0.4.0
   HAS Files for DB Patch 10.2.0.4.0
   Oracle Java Client Patch 10.2.0.4.0
   Oracle JVM Patch 10.2.0.4.0
   Oracle Internet Directory Client Patch 10.2.0.4.0
   iSQL*Plus 10.2.0.4.0
   Oracle Advanced Security Patch 10.2.0.4.0
   Oracle Net Patch 10.2.0.4.0
   Oracle Net Listener Patch 10.2.0.4.0
   Oracle Wallet Manager Patch 10.2.0.4.0
   Precompiler Common Files Patch 10.2.0.4.0
   Secure Socket Layer Patch 10.2.0.4.0
   Oracle OLAP Patch 10.2.0.4.0
   Oracle OLAP API Patch 10.2.0.4.0
   OLAP SQL Scripts Patch 10.2.0.4.0
   Oracle interMedia Client Option Patch 10.2.0.4.0
   Oracle Database 10g interMedia Files Patch 10.2.0.4.0
   Oracle interMedia Patch 10.2.0.4.0
   PL/SQL Embedded Gateway Patch 10.2.0.4.0
   Oracle XML Development Kit Patch 10.2.0.4.0
   Oracle Text Patch 10.2.0.4.0
   Oracle Clusterware RDBMS Files Patch 10.2.0.4.0
   Database SQL Scripts Patch 10.2.0.4.0
   Oracle Data Mining RDBMS Files Patch 10.2.0.4.0
   Generic Connectivity Common Files Patch 10.2.0.4.0
   Installation Common Files Patch 10.2.0.4.0
   Oracle Starter Database Patch 10.2.0.4.0
   Sample Schema Data Patch 10.2.0.4.0
   Oracle interMedia Locator RDBMS Files Patch 10.2.0.4.0
   Oracle Call Interface (OCI) Patch 10.2.0.4.0
   Oracle OLAP RDBMS Files Patch 10.2.0.4.0
   Oracle Partitioning Patch 10.2.0.4.0
   PL/SQL 10.2.0.4.0
   Oracle Recovery Manager Patch 10.2.0.4.0
   Oracle Database Utilities Patch 10.2.0.4.0
   Oracle interMedia Locator Patch 10.2.0.4.0
   XML Parser for Java Patch 10.2.0.4.0
   Assistant Common Files Patch 10.2.0.4.0
   Oracle JDBC Thin Driver for JDK 1.2 Patch 10.2.0.4.0
   Oracle JDBC Thin Driver for JDK 1.4 Patch 10.2.0.4.0
   Oracle interMedia Java Advanced Imaging Patch 10.2.0.4.0
   SQLJ Runtime Patch 10.2.0.4.0
   XML Parser for Oracle JVM Patch 10.2.0.4.0
   Enterprise Manager Agent DB 10.2.0.4.0
   Enterprise Manager Baseline 10.2.0.4.0
   Oracle Enterprise Manager Console DB 10.2.0.4.0
   XDK Required Support Files Patch 10.2.0.4.0
   Agent Required Support Files Patch 10.2.0.4.0
   DBJAVA Required Support Files Patch 10.2.0.4.0
   LDAP Required Support Files Patch 10.2.0.4.0
   Precompiler Required Support Files Patch 10.2.0.4.0
   Oracle RAC Required Support Files-HAS Patch 10.2.0.4.0
   RDBMS Required Support Files for Instant Client Patch 10.2.0.4.0
   RDBMS Required Support Files Patch 10.2.0.4.0
   SQL*Plus Required Support Files Patch 10.2.0.4.0
   SSL Required Support Files for InstantClient Patch 10.2.0.4.0
   Oracle Net Required Support Files Patch 10.2.0.4.0
   Oracle Globalization Support Patch 10.2.0.4.0
   Oracle Core Required Support Files Patch 10.2.0.4.0
   Platform Required Support Files 10.2.0.4.0
   Oracle Message Gateway Common Files Patch 10.2.0.4.0
   Enterprise Manager Agent Core Patch 10.2.0.4.0a
   Enterprise Manager Common Core Patch 10.2.0.4.0a
   Enterprise Manager Repository Core patch 10.2.0.4.0a
   Oracle Containers for Java 10.2.0.4.0
   Enterprise Manager Repository DB 10.2.0.4.0
   Oracle LDAP administration patch 10.2.0.4.0
   Oracle Required Support Files 32 bit Patch 10.2.0.4.0
   JDBC Common Files 10.2.0.4.0
   Database Workspace Manager 10.2.0.4.0
   Oracle Configuration Manager 10.2.7.1.0
   Oracle Real Application Testing 10.2.0.4.0
Upgrades (5 products)
   Oracle Universal Installer 10.2.0.4.0
   Oracle One-Off Patch Installer 10.2.0.4.0
   Installer SDK Component 10.2.0.4.0
   Java Runtime Environment 1.4.2.14.0
   Sun JDK 1.4.2.14.0
Already Installed (78 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 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
   Installation Common 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
   Oracle Partitioning 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
   Oracle Net Required Support 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
-----------------------------------------------------------------------------


Deinstall in progress (Saturday, February 27, 2010 3:34:42 AM GMT+08:00)
...............................................................   0% Done.
...............................................................   5% Done.
...............................................................  11% Done.
...............................................................  16% Done.
...............................................................  22% Done.
...............................................................  28% Done.
...............................................................  33% Done.
...............................................................  39% Done.
...............................................................  45% Done.
...............................................................  50% Done.
...............................................................  56% Done.
...............................................................  62% Done.
...............................................................  67% Done.
...............................................................  73% Done.
...............................................................  79% Done.
...............................................................  84% Done.
...............................................................  90% Done.
..........................................                      100% Done.

Deinstall successful

Installation in progress (Saturday, February 27, 2010 3:34:43 AM GMT+08:00)
...............................................................   5% Done.
...............................................................  11% Done.
...............................................................  16% Done.
...............................................................  22% Done.
...............................................................  28% Done.
...............................................................  33% Done.
...............................................................  39% Done.
...............................................................  45% Done.
...............................................................  50% Done.
...............................................................  56% Done.
...............................................................  62% Done.
...............................................................  67% Done.
...............................................................  73% Done.
...........                                                      74% Done.
Install successful

Linking in progress (Saturday, February 27, 2010 3:51:05 AM GMT+08:00)
........                                                         75% Done.
Link successful

Setup in progress (Saturday, February 27, 2010 4:02:30 AM GMT+08:00)
.....................                                           100% Done.
Setup successful

End of install phases.(Saturday, February 27, 2010 4:03:15 AM GMT+08:00)
WARNING:
The following configuration scripts need to be executed as the "root" user.
#!/bin/sh
#Root script to run
/oracle/app/oracle/product/10.2/db_2/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 3 was successful.
Please check '/oracle/app/oracle/oraInventory/logs/silentInstall2010-02-27_03-32-47AM.log' for more details.


0
0
分享到:
评论

相关推荐

    静默安装Oracle10G数据库软件.docx

    同样可以创建一个响应文件并使用`netca`工具的静默模式进行安装。 5. 升级Oracle 10G软件:如果已经有较低版本的Oracle 10G,可以通过`opatch`工具进行静默升级,需要提供补丁和相应的响应文件。 6. 静默创建...

    oracle 静默安装的配置文件

    7. **响应文件选项**:例如接受许可协议、指定静默模式等。 在实际操作中,你可以使用Oracle Universal Installer (OUI) 的图形界面先进行一次标准安装,然后导出生成的响应文件作为模板,根据需要进行修改。也可以...

    Oracle 11g 通过DBUA升级19C 详细过程

    此外,DBUA 还支持静默模式(silent mode),可以通过命令行方式执行升级操作,具体可参考文档:[Oracle 19c - DBUA In Silent Mode](https://support.oracle.com/knowledge/2548985_1)。 需要注意的是,Oracle 19C...

    RedHatLinuxAS4.Update5静默安装及升级Oracle10G10.2.0.3

    使用`dbca`(Database Configuration Assistant)的静默模式创建数据库,这通常涉及在响应文件中指定数据库名称、字符集、管理选项等。 8. **设置Oracle服务自启动**: 为了确保系统重启后Oracle服务能自动启动,...

    Centos7.3最小装模式下Oracle静默安装.docx

    ### CentOS 7.3 最小化安装环境下Oracle 11g R2静默安装知识点 #### 一、安装系统 1. **下载CentOS 7.3 Minimal ISO镜像** ... - 使用该镜像进行最小化安装。...这些步骤对于实现自动化部署Oracle数据库非常重要。

    oracle数据库教程12c

    - **安装过程**:详细步骤说明如何安装12c Release 2 (12.2)版本,包括使用Oracle Universal Installer (OUI)进行图形化安装或通过静默模式安装。 - **配置指南**:指导用户如何进行数据库的基本配置,如设置监听器...

    RedHatLinuxAS4Update5静默安装及升级Oracle10G10203.docx

    在本文档中,我们将深入探讨如何在Red Hat Enterprise Linux AS4 Update 5环境下进行Oracle 10G的静默安装和升级,以及创建数据库的过程。静默安装意味着整个过程将在非交互模式下执行,减少人为干预,提高自动化...

    Oracle数据库从11.2.0.1升级到11.2.0.3(单实例非ASM)

    1. **静默升级命令**:可以通过静默模式执行升级命令。示例命令如下: ```bash [oracle@oracledb database]$ /tmp/database/runInstaller -silent \ -force -noconfig -IgnoreSysPreReqs -ignorePrereq -...

    redhat离线静默安装oracle11g资源

    为了实现静默安装,我们需要创建一个包含所有必要选项的响应文件(如`response.file`),并指定静默模式。 3. **预配置系统**:确保系统满足Oracle的硬件和软件需求,比如关闭Selinux,设置正确的内存和交换空间,...

    oracle11G脚本安装(静默安装)

    Oracle 11g是一款广泛应用的关系型数据库管理系统,其静默安装(Silent Installation)是通过预定义参数和脚本来自动化安装过程,适用于批量部署或在无法进行远程桌面操作的环境中。下面将详细介绍Oracle 11g的静默...

    ORACLE数据库管理基础2.pptx

    OUI可以在交互模式或静默模式下运行,后者适用于自动化安装或非图形终端环境。在UNIX系统上,启动OUI的命令是`./runInstaller`,而在Windows NT系统上,使用`setup.exe`。响应文件是OUI在非交互模式下运行的关键,它...

    linux静默安装oracle之14步之附件

    本文将详细解析Linux下Oracle静默安装的14个关键步骤,并涉及与附件相关的三个响应文件:dbca.rsp、db_install.rsp和netca.rsp。 1. **环境准备**:确保系统满足Oracle的硬件和软件需求,包括操作系统版本(如RHEL...

    oracle11G R2静默安装rsp文件以及安装文档

    这里`runInstaller`是安装程序,`-silent`标志表示静默模式,`-responseFile`后面跟响应文件的路径。 **注意事项:** - 在静默安装前,确保系统满足Oracle 11g R2的硬件和软件要求。 - 检查所有路径是否正确,特别...

    Oracle数据库培训

    4. 如无法使用图形界面,可采用静默安装模式,使用响应文件`enterprise.rsp`,示例内容包括: - 安装位置、组件版本、语言等信息。 - 自动化安装选项,如不显示欢迎页、进度页等。 #### 六、Oracle数据库体系结构...

    单机自动化安装shell脚本(静默安装)oracle-silent-master.zip

    2. **创建响应文件**:响应文件是静默安装的核心,它定义了安装类型(如全新安装或升级)、组件选择、数据库类型(如归档日志模式或非归档日志模式)、口令、存储选项等。响应文件通常以`.rsp`为扩展名。 3. **下载...

    Oracle10g安装与升级

    Oracle 10g 提供了真正的静默安装模式,即通过命令行进行安装,无需启动图形用户界面。通过响应文件如`/orainst/ora10g/Disk1/response/ent.rsp`,你可以执行完全自动化安装,这对于批量部署和无人值守的环境非常...

    oracle 10g静默安装和版本升级配置文件修改

    - **静默模式安装概述**:静默安装(Silent Installation)是指通过预定义参数和配置文件自动化完成Oracle软件的安装过程,避免手动交互,提高效率。 - **响应文件(Response File)**:在静默安装中,响应文件...

Global site tag (gtag.js) - Google Analytics