bitscn.com
emcli安装参考
plug-in
announcing mysql plugin 12.1.0.1.0 for oracle enterprise manager 12c cloud control
--注册信息[root@test agent]# /oem/emcli setup -url=https://omsdb.localdomain:7301/em -username=sysman
oracle enterprise manager 12c 3.
copyright (c) 1996, 2013 oracle corporation and/or its affiliates. all rights reserved.
the configuration directory /root may not be local. see the dir option in the help for the setup command.
do you want to continue using this directory? [yes/no] yes
enter password
warning: this certificate has not been identified as trusted in the local trust store
--------------------------------------
[
[
version: v1
subject: cn=omsdb.localdomain, ou=for testing only, o=myorganization, l=mytown, st=mystate, c=us
signature algorithm: md5withrsa, oid = 1.2.840.113549.1.1.4
key: sun rsa public key, 512 bits
modulus: 9774958300566363503040586563208719740991935019890276590480512776276093552614004362217344254713840684473865384959907800325054231280357054886533950898531631
public exponent: 65537
validity: [from: tue feb 18 13:40:23 cst 2014,
to: mon feb 19 13:40:23 cst 2029]
issuer: cn=certgencab, ou=for testing only, o=myorganization, l=mytown, st=mystate, c=us
serialnumber: [ 32a8b9c4 41026faa 37b98eb0 1084ec9f]
]
algorithm: [md5withrsa]
signature:
0000: 33 8f 2f 33 59 89 15 46 c3 7a df 91 3e 6d f6 59 3./3y..f.z..>m.y
0010: bc a7 ec 2b d8 9b 70 e1 e6 06 1a c6 db 3d a6 e6 ...+..p......=..
0020: 7e d6 b8 58 61 86 c5 b0 15 e7 ff 98 61 d5 dd 1c ...xa.......a...
0030: f6 63 a3 29 1c c8 cb 4a f0 d6 70 92 bd 0c e6 ca .c.)...j..p.....
]
--------------------------------------
do you trust the certificate chain? [yes/no] yes
emcli setup successful
--导入插件,这里/home/oracle/12.1.0.1.2_pythian.mysql.prod_2000_0.opar是oms服务器所在的路径名称
[root@test oem]# ./emcli import_update -omslocal -file=/home/oracle/12.1.0.1.2_pythian.mysql.prod_2000_0.opar
processing update: plug-in - mysql plug-in by alex gorbachev, the pythian group
successfully uploaded the update to enterprise manager. use the self update console to manage this update.
--在mysql服务器安装em agent过程省略可以参考下面链接,你可能需要安装一些必要的rpm包
oem 12cr3使用agentdeploy方式安装agent
[mysql@test bin]$ ./emctl status agent
oracle enterprise manager cloud control 12c release 3
copyright (c) 1996, 2013 oracle corporation. all rights reserved.
---------------------------------------------------------------
agent version : 12.1.0.3.0
oms version : 12.1.0.3.0
protocol version : 12.1.0.1.0
agent home : /agent/agent_inst
agent binaries : /agent/core/12.1.0.3.0
agent process id : 24406
parent process id : 24364
agent url : https://test.localdomain:3872/emd/main/
repository url : https://omsdb.localdomain:4900/empbs/upload
started at : 2014-02-20 14:15:15
started by user : mysql
last reload : (none)
last successful upload : 2014-02-20 15:16:34
last attempted upload : 2014-02-20 15:16:34
total megabytes of xml files uploaded so far : 0.3
number of xml files pending upload : 0
size of xml files pending upload(mb) : 0
available disk space on upload filesystem : 30.47%
collection status : collections enabled
heartbeat status : ok
last attempted heartbeat to oms : 2014-02-20 15:18:25
last successful heartbeat to oms : 2014-02-20 15:18:25
next scheduled heartbeat to oms : 2014-02-20 15:19:25
---------------------------------------------------------------
agent is running and ready
--以下是安装配置和监控界面
bitscn.com
