OEM12C(12.1.0.5)安装插件监控mysql(linux)
目录结构:
文章参考论坛:https://blog.csdn.net/u010719917/article/details/78128200
环境说明:
oms:12.1.0.5 os:centos 6.X
MYSQL: 5.7.21 OS:centos 7.X
一、安装插件mysql database
下载地址:
https://updates.oracle.com/Orion/Services/download/p22047385_112000_Generic.zip?aru=19479462&patch_file=p22047385_112000_Generic.zip
下载完成后,上传至oem oms,并进行导入。
/orabackup/oeminstall/Middleware/oms/bin/emcli login -username=sysman -password=密码
/orabackup/oeminstall/Middleware/oms/bin/emcli import_update -omslocal -file=/oracle/p22047385_112000_Generic.zip
Oracle用户执行:
添加mysql 数据库插件:
二、Agent安装
Agent安装参考我之前的博客:
由于MySQL 数据库服务器没有oracle用户,root安装不能图形界面安装,所以操作系统我新建的oracle用户安装agent。
静默安装:
https://www.cnblogs.com/hmwh/p/8657498.html
图形界面安装:
https://www.cnblogs.com/hmwh/p/8649751.html
安装完后如下:
三、添加mysql数据库
新建监控用户:
GRANT SELECT, RELOAD, PROCESS, SUPER on *.* to 'sysman'@'%' identified by 'XXX' ;
GRANT SELECT, RELOAD, PROCESS on *.* to 'sysman'@'%';
flush privileges;
添加完后如下: