目录结构:
文章参考论坛:https://blog.csdn.net/u010719917/article/details/78128200
环境说明:
OS:CentOS 6.x OMS:12.1.0.5
OS:CentOS 7.x MySQL:5.7.21
下载地址:
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安装参考我之前的博客:
由于MySQL数据库服务器没有oracle用户,root安装不能图形界面安装,所以操作系统我新建的oracle用户安装agent。
静默安装:
https://www.cnblogs.com/hmwh/p/8657498.html
图形界面安装:
https://www.cnblogs.com/hmwh/p/8649751.html
安装完后如下:
新建监控用户:
GRANT SELECT, RELOAD, PROCESS, SUPER on *.* to 'sysman'@'%' identified by 'XXX' ;
GRANT SELECT, RELOAD, PROCESS on *.* to 'sysman'@'%';
flush privileges;
添加完后如下: