在OEM中,可以监控不同的中间件及数据库,只是安装插件就可以实现。
[oem@oem bin]$ pwd
/u01/oem/bin
[oem@oem bin]$ ./emcli login -username=sysman -password=Oracle000
Login successful
[oem@oem bin]$ ./emcli sync
Synchronized successfully
[oem@oem bin]$ vi import_agent.sh
ls -rtl /u02/agent | awk '{print KaTeX parse error: Expected 'EOF', got '}' at position 2: 9}̲' | grep -v ^ >import_agent.txt
cat import_agent.txt | while read a
do
./emcli import_update -omslocal -file=/u02/agent/
a
d
o
n
e
[
o
e
m
@
o
e
m
b
i
n
]
a done ~ [oem@oem bin]
adone [oem@oembin] ./import_agent.sh
Processing update: Agent Software - Agent Software (12.1.0.1.0) for Linux x86-64
Successfully uploaded the update to Enterprise Manager. Use the Self Update Console to manage this update.
Processing update: Middleware Profiles and Gold Images - Three Fusion Middleware Provisioning Profiles with different heap size configuration
Successfully uploaded the update to Enterprise Manager. Use the Self Update Console to manage this update.
Processing update: Data Masking and Subsetting templates - Mask template Fusion Rel v1.x Combined All Family
Successfully uploaded the update to Enterprise Manager. Use the Self Update Console to manage this update.
Processing update: Data Masking and Subsetting templates - ADM template Fusion Rel v1.x Combined All Family
Successfully uploaded the update to Enterprise Manager. Use the Self Update Console to manage this update.
Processing update: Data Masking and Subsetting templates - Data Masking template for Oracle E-Business suite 12.1.3 (Standard Model)
Successfully uploaded the update to Enterprise Manager. Use the Self Update Console to manage this update.
Processing update: Data Masking and Subsetting templates - Application Data Model Template for Oracle E-Business Suite 12.1.3(Standard Model)
Successfully uploaded the update to Enterprise Manager. Use the Self Update Console to manage this update.
Processing update: Data Masking and Subsetting templates - Application Data Model Template for Oracle E-Business Suite 12.1.3(JG Model)
Successfully uploaded the update to Enterprise Manager. Use the Self Update Console to manage this update.
Processing update: Data Masking and Subsetting templates - Data Masking template for Oracle E-Business suite 12.1.3 (JG model)
Successfully uploaded the update to Enterprise Manager. Use the Self Update Console to manage this update.
Processing update: Data Masking and Subsetting templates - Preparation script required for Oracle E-Business Suite masking process
Successfully uploaded the update to Enterprise Manager. Use the Self Update Console to manage this update.
Internal Error: error in opening zip file
Processing update: Agent Software - Agent Software (12.1.0.2.0) for Microsoft Windows x64 (64-bit)
Successfully uploaded the update to Enterprise Manager. Use the Self Update Console to manage this update.
Processing update: Compliance Content - Compliance Standard - Security Technical Implementation Guide (STIG Version 1.1) for Oracle WebLogic Server 12c
Successfully uploaded the update to Enterprise Manager. Use the Self Update Console to manage this update.
Processing update: Agent Software - Agent Software (12.1.0.5.0) for Oracle Solaris on x86-64 (64-bit)
Successfully uploaded the update to Enterprise Manager. Use the Self Update Console to manage this update.
Processing update: Compliance Content - Compliance Framework - Security Technical Implementation Guides (STIGs)
Successfully uploaded the update to Enterprise Manager. Use the Self Update Console to manage this update.
Processing update: Diagnostic Tools - Archive for ORAchk/Exachk 12.1.0.2.7_20160526
Successfully uploaded the update to Enterprise Manager. Use the Self Update Console to manage this update.
Processing update: Compliance Content - ORAchk/Exachk Generic content for version 12.1.0.2.7_20160526
Successfully uploaded the update to Enterprise Manager. Use the Self Update Console to manage this update.
Internal Error: error in opening zip file
Processing update: Agent Software - Agent Software (13.1.0.0.0) for Microsoft Windows x64 (64-bit)
Successfully uploaded the update to Enterprise Manager. Use the Self Update Console to manage this update.
[oem@oem bin]$