靜默方式安裝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/,如需轉載,請註明出處,否則將追究法律責任。
相關文章
- Oracle 11g Database靜默安裝OracleDatabase
- 靜默方式安裝11gR2
- Android靜默安裝和靜默解除安裝Android
- rac靜默安裝
- dbca 靜默安裝
- Oracle 靜默安裝Oracle
- Oracle靜默安裝Oracle
- 靜默方式安裝、升級oracle(一): 安裝oracle軟體Oracle
- 靜默方式安裝oracle 11g 完整攻略Oracle
- Android靜默安裝應用和靜默解除安裝應用Android
- PackageInstaller 5.0原始碼分析靜默安裝與靜默解除安裝Package原始碼
- 靜默升級oracle到10.2.0.4Oracle
- 靜默安裝Azure CLI
- 靜默安裝ORACLE(文件)Oracle
- oralce11g客戶端安裝(靜默方式)客戶端
- 使用靜默方式安裝11g資料庫資料庫
- oracle靜默安裝raw裝置Oracle
- 靜默方式安裝、升級oracle(二): 建立資料庫Oracle資料庫
- 靜默安裝oracle時報錯Oracle
- ORACLE 11.2.0.4靜默安裝Oracle
- 靜默安裝oracle軟體Oracle
- Oracle靜默安裝(單機)Oracle
- 靜默安裝、建庫(轉)
- 靜默安裝ORACLE 軟體Oracle
- Oracle靜默安裝說明Oracle
- Android 靜默安裝/後臺安裝Android
- 【靜默】在RHEL 6.5上靜默安裝Oracle 18cOracle
- android apk靜默安裝和解除安裝AndroidAPK
- Audit Vault and Database VaultDatabase
- oracle 19C 靜默安裝Oracle
- Linux下靜默安裝OraceLinux
- 靜默安裝and手動建庫
- oracle 12c 靜默安裝Oracle
- Oracle 11g 靜默安裝Oracle
- 靜默安裝功能的實現
- 靜默安裝oracle10gOracle
- AIX 6.1 靜默安裝11.1.0.6AI
- oracle10g 靜默安裝Oracle