以文本方式查看主題

-  曙海教育集團論壇  (http://www.scb-ycwb.com/bbs/index.asp)
--  Oracle數據庫  (http://www.scb-ycwb.com/bbs/list.asp?boardid=65)
----  Oracle 靜默模式升級數據庫  (http://www.scb-ycwb.com/bbs/dispbbs.asp?boardid=65&id=2504)

--  作者:wangxinxin
--  發布時間:2010-12-11 11:07:00
--  Oracle 靜默模式升級數據庫
引用
$ 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

主站蜘蛛池模板: 日本精品www色| 久久成人免费播放网站| 91天堂素人精品系列全集亚洲| 男女一进一出抽搐免费视频| 尤物在线视频观看| 啦啦啦中文在线观看日本| 丰满上司的美乳| 自拍偷自拍亚洲精品偷一| 无码中文av有码中文a| 四虎免费在线观看| 一级毛片短视频| 男女边摸边吃奶边做免费观看| 好大好硬好爽免费视频| 健身私教弄了我好几次啊 | av在线亚洲欧洲日产一区二区| 秋霞免费手机理论视频在线观看 | 国产麻豆剧传媒精品国产AV| 亚洲精品中文字幕无码蜜桃| 亚洲成人app| 182tv精品视频在线播放| 欧美乱子伦一区二区三区 | 欧美日韩人妻精品一区二区三区| 国产自无码视频在线观看| 亚洲国产精品日韩在线| ipx-412天海翼在线播放| 波多野结衣同性系列698| 岛国大片在线播放高清| 伺候情侣主vk| 8天堂资源在线官网| 末成年ASS浓精PICS| 国产亚洲男人的天堂在线观看| 中文字幕一区在线| 男女深夜爽爽无遮无挡我怕| 在线免费观看污网站| 亚洲乱码一区av春药高潮| 非常h很黄的变身文| 性色AV一区二区三区无码| 亚洲精品国产综合久久久久紧| 你懂的视频网站| 无码精品黑人一区二区三区| 免费福利在线播放|