靜默方式安裝database vault 10.2.0.4
1. 修改配置檔案
response file在database vault的軟體加壓目錄
cd /software/datavault/response/
cp dv.rsp dv.rsp.bak
vi dv.rsp
RESPONSEFILE_VERSION=2.2.1.0.0
ORACLE_HOME=/u01/app/oracle/product/10.2.0/db_1
s_dbSIDSelectedForUpgrade=dv
s_sysPass=oracle
s_dvOwner=dbvault_owner
s_ownerPasswd=dv_12345
s_ownerPasswdAgain=dv_12345
COMPONENT_LANGUAGES={"en"}
#s_racSid=
############################################
# DO NOT MODIFY THE VALUES UNDER THIS LINE #
############################################
FROM_LOCATION="../stage/products.xml"
TOPLEVEL_COMPONENT={"oracle.dv","10.2.0.4.0"}
DEINSTALL_LIST={"oracle.dv","10.2.0.4.0"}
SHOW_SPLASH_SCREEN=TRUE
SHOW_WELCOME_PAGE=false
SHOW_COMPONENT_LOCATIONS_PAGE=false
SHOW_CUSTOM_TREE_PAGE=false
SHOW_SUMMARY_PAGE=true
SHOW_INSTALL_PROGRESS_PAGE=true
SHOW_REQUIRED_CONFIG_TOOL_PAGE=true
SHOW_CONFIG_TOOL_PAGE=true
SHOW_RELEASE_NOTES=true
SHOW_ROOTSH_CONFIRMATION=true
SHOW_END_SESSION_PAGE=true
SHOW_EXIT_CONFIRMATION=true
NEXT_SESSION=false
NEXT_SESSION_ON_FAIL=false
SHOW_DEINSTALL_CONFIRMATION=true
SHOW_DEINSTALL_PROGRESS=true
ACCEPT_LICENSE_AGREEMENT=true
INSTALL_TYPE="EE"
##############################################################################
# Dialog: SELECT CONFIGURATION OPTION
##############################################################################
n_configurationOption=3
s_ASMSYSPassword=""
s_ASMSYSPasswordAgain=""
s_nameForDBAGrp="dba"
s_nameForOPERGrp="dba"
##########################################
# DO NOT MODIFY THE VALUE OF THIS VARIABLE
##########################################
b_showUpgradeDialog=false
b_launchDVCA=true
s_mountPoint="/tmp"
SHOW_NODE_SELECTION_PAGE=false
2. 執行靜默安裝,輸出部分在後面附上
圖形安裝完成後會將當前ORACLE_SID的資料庫配置database valut,靜默安裝不能做到自動配置,手工執行dvca。個人感覺這樣更可控些。
執行之前需要將當前執行的ORACLE例項shutdown
[oracle@snowlab datavault]$ chmod 700 dv.rsp
[oracle@snowlab datavault]$ ./runInstaller -silent -responseFile /software/datavault/response/dv.rsp
3. dvca配置目標資料庫database valut
[oracle@snowlab response]$ export DISPLAY=127.0.0.1:0.0
[oracle@snowlab response]$ dvca -action option -oh /u01/app/oracle/product/10.2.0/db_1 -owner_account dbvault_owner -owner_passwd dv_12345 -nodecrypt -jdbc_str jdbc:oracle:oci:@dv dv -sys_passwd oracle
4. 驗證database valut
sys使用者已經沒有許可權建立使用者
sqlplus / as sysdba
SQL> create user u1 identified by u1;
create user u1 identified by u1
*
ERROR at line 1:
ORA-01031: insufficient privileges
database valut管理員使用者可以建立域
SQL> conn dbvault_owner/dv_12345
Connected.
SQL> exec dvsys.dbms_macadm.create_realm('myrealm','myrealm','y',1);
PL/SQL procedure successfully completed.
下面是靜默安裝時的螢幕輸出
[oracle@snowlab datavault]$ ./runInstaller -silent -responseFile /software/datavault/response/dv.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 or asianux-2
Passed
All installer requirements met.
Preparing to launch Oracle Universal Installer from /tmp/OraInstall2015-04-25_08-20-32AM. Please wait ...[oracle@snowlab datavault]$ 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/installActions2015-04-25_08-20-32AM.log
.................................................................................................... 100% Done.
Loading Product Information
............................................................... 100% Done.
Starting execution of Prerequisites...
Total No of checks: 11
Performing check for CertifiedVersions
Checking operating system requirements ...
Expected result: One of redhat-3,redhat-4,SuSE-9,asianux-1,asianux-2,redhat-5,SuSE-10
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; found binutils-2.17.50.0.6-14.el5. Passed
Checking for gcc-4.1; found gcc-4.1.2-51.el5. Passed
Checking for libaio-0.3.106; found libaio-0.3.106-5. 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=536870912; found shmmax=4294967295. Passed
Checking for shmmni=4096; found shmmni=4096. Passed
Checking for shmall=2097152; found shmall=1073741824. Passed
Checking for file-max=65536; found file-max=65536. Passed
Checking for VERSION=2.6.9; found VERSION=2.6.32-200.13.1.el5uek. Passed
Checking for ip_local_port_range=1024 - 65000; found ip_local_port_range=1024 - 65000. Passed
Checking for rmem_default=262144; found rmem_default=1048576. Passed
Checking for rmem_max=262144; found rmem_max=1048576. Passed
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: Passed
Check complete: Passed
=======================================================================
Performing check for GLIBC
Checking Recommended glibc version
Expected result: ATLEAST=2.5-12
Actual Result: 2.5-65
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: 1228MB
Check complete. The overall result of this check is: Passed
Check complete: Passed
=======================================================================
Performing check for SwapSpace
Checking available swap space requirements ...
Expected result: 1842MB
Actual Result: 2430MB
Check complete. The overall result of this check is: Passed
Check complete: Passed
=======================================================================
Performing check for DetectIfDHCPAssignedIP
Checking Network Configuration requirements ...
Check complete. The overall result of this check is: Not executed <<<<
Check complete: Not executed <<<<
Recommendation: Oracle supports installations on systems with DHCP-assigned public IP addresses. However, the primary network interface on the system should be configured with a static IP address in order for the Oracle Software to function properly. See the Installation Guide for more details on installing the software on systems configured with DHCP.
=======================================================================
Performing check for OracleBase
Validating ORACLE_BASE location (if set) ...
Check complete. The overall result of this check is: Passed
Check complete: Passed
=======================================================================
Performing check for OracleHomeSpace
Checking Oracle Home path for spaces...
Check complete. The overall result of this check is: Passed
Check complete: Passed
=======================================================================
Performing check for DetectAnyInvalidASMHome
Checking for proper system clean-up....
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: /software/datavault/stage/products.xml
Oracle Home: /u01/app/oracle/product/10.2.0/db_1 (OraDb10g_home1)
Installation Type: Enterprise Edition
Product Languages
English
Space Requirements
/ Required 103MB (includes 80MB temporary) : Available 13.23GB
New Installations (4 products)
Oracle Database Vault 10.2.0.4.0
Oracle Database Vault Scripts 10.2.0.4.0
Oracle Label Security 10.2.0.4.0
Oracle Database Vault J2EE Application 10.2.0.4.0
Already Installed (6 products)
Oracle Enterprise Manager Console DB 10.2.0.1.0
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
-----------------------------------------------------------------------------
Installation in progress (Saturday, April 25, 2015 8:20:38 AM EDT)
.................................................................................. 82% Done.
Install successful
Linking in progress (Saturday, April 25, 2015 8:20:48 AM EDT)
. 83% Done.
Link successful
Setup in progress (Saturday, April 25, 2015 8:20:53 AM EDT)
.... 100% Done.
Setup successful
End of install phases.(Saturday, April 25, 2015 8:20:55 AM EDT)
Starting to execute configuration assistants
Configuration assistant "Oracle Database Vault Configuration Assistant" succeeded
The installation of Oracle Database Vault was successful.
Please check '/u01/app/oracle/oraInventory/logs/silentInstall2015-04-25_08-20-32AM.log' for more details.
來自 “ ITPUB部落格 ” ,連結:http://blog.itpub.net/29047826/viewspace-1711958/,如需轉載,請註明出處,否則將追究法律責任。
相關文章
- 靜默方式安裝11gR2
- rac靜默安裝
- Oracle靜默安裝Oracle
- 靜默方式安裝、升級oracle(一): 安裝oracle軟體Oracle
- 靜默方式安裝oracle 11g 完整攻略Oracle
- 靜默方式安裝、升級oracle(二): 建立資料庫Oracle資料庫
- Linux下靜默安裝OraceLinux
- 【靜默】在RHEL 6.5上靜默安裝Oracle 18cOracle
- 靜默安裝and手動建庫
- oracle 19C 靜默安裝Oracle
- 靜默安裝oracle時報錯Oracle
- AnolisOS 7.9 靜默安裝Oacle 11.2.0.4
- centos 7.4靜默安裝oracle 19.3CentOSOracle
- ORACLE database vaultOracleDatabase
- Windows 7平臺靜默安裝11.2.0.4軟體及靜默建庫Windows
- Oracle Linux 7.1 靜默安裝Weblogic 12.2.1.3OracleLinuxWeb
- weblogic靜默方式建立域Web
- Oracle database 升級(文件)to 10.2.0.4 from 10.2.0.1OracleDatabase
- win10如何禁止靜默執行_win10禁止靜默安裝方法Win10
- RedHat上靜默安裝Oracle11gRedhatOracle
- CentOS 7.2靜默安裝Oracle11gCentOSOracle
- redhat7.2靜默安裝Oracle11.2.0.4RedhatOracle
- CentOS 7.5靜默安裝Oracle 11gCentOSOracle
- 【11g 單庫解除安裝、靜默安裝】實驗
- 靜默安裝Oracle11g資料庫Oracle資料庫
- oracle11g客戶端靜默安裝Oracle客戶端
- 靜默安裝Oracle資料庫11gOracle資料庫
- 靜默安裝19C RAC的指令碼指令碼
- 應用黑名單以及靜默安裝的實現
- windows10系統禁止靜默安裝的方法Windows
- linux7 靜默安裝 11GR2 RACLinux
- Oracle Linux 7.1 靜默安裝Oracle 18c RACOracleLinux
- Oracle 19C的下載和安裝部署(圖形安裝和靜默安裝)Oracle
- 靜默方式安裝、升級oracle(三): 升級資料庫軟體及資料庫Oracle資料庫
- RedHat 7 靜默安裝Oracle11g的補充RedhatOracle
- Linux下利用指令碼靜默安裝Oracle11GLinux指令碼Oracle
- 19c(19.3) 單機資料庫靜默安裝資料庫
- GoldenGate 12.3 MA架構介紹系列(5) - 靜默安裝Go架構
- 【配置安裝】靜默安裝Oracle資料庫軟體12c&19cOracle資料庫