OEM中,有些插件需要手工下载并注册到OEM中。通过下面的命令即可:
[[email protected] bin]$ ./emcli login -username=sysman Enter password Login successful [[email protected] bin]$ ./emcli sync Synchronized successfully [[email protected] bin]$ ./emcli import_update -file=/home/oracle/plugin/12.1.0.3.0_oracle.mysql.omys_2000_0.opar -omslocal Processing update: Plug-in - Enterprise Manager for MySQL Database Successfully uploaded the update to Enterprise Manager. Use the Self Update Console to manage this update. [[email protected] bin]$
注册完成后,可以通过WEB界面查看也可以使用下面的SQL进行查询:
SQL> SELECT epv.plugin_id, epv.version, epv.rev_version 2 FROM em_plugin_version epv, em_current_deployed_plugin ecp 3 WHERE epv.plugin_type NOT IN (‘BUILT_IN_TARGET_TYPE‘, ‘INSTALL_HOME‘) 4 AND ecp.dest_type = ‘2‘ 5 AND epv.plugin_version_id = ecp.plugin_version_id; PLUGIN_ID VERSION REV_VERSION -------------------- ---------- ----------- oracle.sysman.cfw 13.1.1.0.0 0 oracle.sysman.emas 13.1.1.0.0 0 oracle.sysman.si 13.1.1.0.0 0 oracle.sysman.db 13.1.1.0.0 0 oracle.sysman.xa 13.1.1.0.0 0 oracle.sysman.orhc 13.1.1.0.0 0 oracle.em.satc 13.1.1.0.0 0 oracle.fmw.gg 13.1.1.0.0 0 oracle.mysql.omys 12.1.0.3.0 0 oracle.db.ott 13.1.1.0.0 0
时间: 2024-11-05 13:29:54