silent安裝oracle10g 10.2.0.4 patch
根據patch包中的README.html檔案找到靜默安裝部分:
8.2 Installing the Oracle Database 10g Patch Set Noninteractively
關鍵是執行如下命令
$ ./runInstaller -silent -responseFile response_file
但安裝檔案中沒有response_file檔案的模板,經查詢,patch包中的Disk1/response/patchset.rsp為此模板
模板中修改如下選項,其它保持不變:
UNIX_GROUP_NAME=oinstall
--安裝使用者組
FROM_LOCATION=/orapatch/Disk1/stage/products.xml
--patch包的products.xml路徑
ORACLE_HOME=/u01/app/oracle/product/10.2.0/db_1
ORACLE_HOME_NAME=OraDb10g_home1
確認ORACLE_HOME_NAME選項稍微麻煩點,通過檢視/etc/oraInst.loc中inventory_loc值的指向的
我的是/u01/app/oracle/oraInventory/ContentsXML/inventory.xml
# less /u01/app/oracle/oraInventory/ContentsXML/inventory.xml
找到
此處的OraDb10g_home1就是上面ORACLE_HOME_NAME選項的值。
下面就開始靜默安裝(經修改的patchset.rsp檔案放在/orapatch/Disk1下):
注意:此安裝需要oracle使用者
$ cd /orapatch/Disk1
$ ./runInstaller -silent -responseFile patchset.rsp
此處patchset.rsp不寫絕對路徑會出如下錯誤
OUI-10203:The specified response file 'patchset.rsp' is not found. Make sure that the response file specified exists and you have read privileges to this file.
patchset.rsp寫了絕對路徑後,安裝正常進行,速度很快,比圖形介面快多了。
$ ./runInstaller -silent -responseFile /orapatch/Disk1/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, UnitedLinux-1.0, asianux-1, asianux-2 or asianux-3
Passed
All installer requirements met.
Preparing to launch Oracle Universal Installer from /tmp/OraInstall2008-08-26_08-25-31PM. Please wait ...[oracle@localhost Disk1]$ 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:
/u01/app/oracle/oraInventory/logs/installActions2008-08-26_08-25-31PM.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: /orapatch/Disk1/stage/products.xml
Oracle Home: /u01/app/oracle/product/10.2.0/db_1 (OraDb10g_home1)
Product Languages
English
Space Requirements
/ Required 1.09GB (includes 42MB temporary) : Available 118.37GB
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 ODBC Driver 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
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 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
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
JDBC Common Files 10.2.0.1.0
Database Workspace Manager 10.2.0.1.0
-----------------------------------------------------------------------------
Deinstall in progress (Tuesday, August 26, 2008 8:25:42 PM CST)
............................................................... 0% Done.
............................................................... 18% Done.
............................................................... 37% Done.
............................................................... 56% Done.
............................................................... 75% Done.
................. 100% Done.
Deinstall successful
Installation in progress (Tuesday, August 26, 2008 8:25:42 PM CST)
............................................................... 18% Done.
............................................................... 37% Done.
............................................................... 56% Done.
............................................................... 75% Done.
........................................ 87% Done.
Install successful
Linking in progress (Tuesday, August 26, 2008 8:26:47 PM CST)
.. 88% Done.
Link successful
Setup in progress (Tuesday, August 26, 2008 8:27:22 PM CST)
........ 100% Done.
Setup successful
End of install phases.(Tuesday, August 26, 2008 8:27:27 PM CST)
WARNING:
The following configuration scripts need to be executed as the "root" user.
#!/bin/sh
#Root script. to run
/u01/app/oracle/product/10.2.0/db_1/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 '/u01/app/oracle/oraInventory/logs/silentInstall2008-08-26_08-25-31PM.log' for more details.
至此,使用root使用者執行/u01/app/oracle/product/10.2.0/db_1/root.sh,patch安裝成功。
接下來就是Manually Upgrading a Release 10.2 Database,還是按README.html做吧!
來自 “ ITPUB部落格 ” ,連結:http://blog.itpub.net/17997/viewspace-434801/,如需轉載,請註明出處,否則將追究法律責任。
相關文章
- silent安裝oracle10g 10.2.0.5 patchOracle
- oracle10g rac__靜默安裝_silent node installationOracle
- oracle安裝patchOracle
- Oracle10.2.0.4 bug list and patchOracle
- 在rhel5上靜默(silent)安裝oracle10g(10.2.0.1)報錯Oracle
- solaris下-silent方式安裝oracle clientOracleclient
- rhel5上oracle10.2.0.4 silent配置oracleOracle
- 【DBCA -SILENT】靜默安裝之rac資料庫安裝資料庫
- oracle 10.2.0.4 patch的下載地址列表Oracle
- 使用silent模式安裝Oracle 11g模式Oracle
- Silent安裝oracle 11.2 for Oel5.5Oracle
- oracle10.2.0.4 dbvault 安裝篇Oracle
- Soloaris 10上9201的SILENT安裝
- CentOS6.4安裝Oracle10.2.0.4CentOSOracle
- 靜默方式安裝database vault 10.2.0.4Database
- 單節點10.2.0.4RAC安裝
- Oracle安裝Patch相關筆記Oracle筆記
- 檢視所有已安裝的Patch
- Oracle10g 安裝Oracle
- 【DBCA -SILENT】靜默安裝如何啟用歸檔模式模式
- 解除安裝oracle10gOracle
- 安裝oracle10g for aixOracleAI
- oracle10g GC agent安裝與解除安裝OracleGC
- 在rhel5上oracle 10.2.0.4 上dbca silent刪除資料庫Oracle資料庫
- 10g RAC下安裝10.2.0.4補丁
- win7 for 64位安裝oracle 10.2.0.4 clientWin7Oracleclient
- 操作規範(二)——RHEL 5.4安裝Oracle 10.2.0.4Oracle
- Oracle 11.1.0.6 for linux X86 64的SILENT安裝OracleLinux
- redhatas下安裝oracle10gRedhatOracle
- 靜默安裝oracle10gOracle
- CentOS 5.4安裝oracle10gCentOSOracle
- oracle10g statspack--安裝Oracle
- oracle10g 靜默安裝Oracle
- oracle 之 安裝10.2.0.1 且 升級到 10.2.0.4Oracle
- Oracle10g RAC : 10.2.0.1 升級到 10.2.0.4Oracle
- Oracle10g RAC 資料庫升級為10.2.0.4 ,clusterware需要升級到10.2.0.4 ?Oracle資料庫
- Oracle 10gR2 DST Patch 安裝全程LOGOracle 10g
- linux下安裝oracle10gLinuxOracle