手机版
你好,游客 登录 注册 搜索
背景:
阅读新闻

Linux 下卸载MySQL Enterprise Monitor

[日期:2015-02-16] 来源:Linux社区  作者:leshami [字体:大 中 小]

MySQL Enterprise Monitor是专门为MySQL数据库而设计的一款企业级监控,能非常好地与MySQL各方面特性相结合,包括:MySQL的关键性能指标、主机、磁盘、备份、新特性相关以及各种场景下的架构配置,并支持从单节点到海量节点部署的环境。它不仅能够全面地监控MySQL的运行状态,还能及时发现潜在的问题并给出优化建议。MySQL Enterprise Monitor的安装和卸载也属于轻量级,相当的简单易用。本文描述了MySQL Enterprise Monitor的卸载过程。

有关MySQL Enterprise Monitor的安装请参考:

安装MySQL Enterprise Monitor  http://www.linuxidc.com/Linux/2015-01/112157.htm

1、检查当前MySQL Enterprise Monitor 的配置信息
###查看当前运行的进程,并获取安装路径
# ps -ef|grep mysqld|grep monitor

###查看配置信息,当前的安装路径如下:
# cd /dbdata/mysql/enterprise/monitor
# more configuration_report.txt
MySQL Enterprise Monitor (Version 3.0.15.3058 : 3.0.15.3058)

Here are the settings you specified:
Application hostname and port: https://127.0.0.1:18443
Tomcat Ports: 18080 - 18443 (SSL)
MySQL Port : 13306

Use the following command to login to the MySQL Enterprise Monitor database:
mysql -u**** -p**** -P13306 -hlocalhost

# ls
apache-tomcat  configuration_report.txt  images  licenses  mysqlmonitorctl.sh  README_ja.txt  uninstall      version.txt
bin            etc                      Java    mysql    README_en.txt      support-files  uninstall.dat


2、卸载Enterprise Monitor agent

###停止agent客户端进程
# /etc/init.d/mysql-monitor-agent stop
Shutting down MySQL Enterprise Agent service...[  OK  ]

###改变目录到agent安装位置
# cd  /opt/mysql/enterprise/agent
# ls
bin  configuration_report.txt  doc  etc  java  lib  licenses  logs  spool  uninstall  uninstall.dat

###卸载agent客户端
# ./uninstall
Do you want to uninstall MySQL Enterprise Monitor Agent and all of its modules? [Y/n]: y

----------------------------------------------------------------------------
Uninstall Status

 Uninstalling MySQL Enterprise Monitor Agent
 0% ______________ 50% ______________ 100%
 #########################################

Info: Uninstallation completed


3、卸载Enterprise Monitor

###停止Enterprise Monitor进程
# /etc/init.d/mysql-monitor-server stop
# pwd
/dbdata/mysql/enterprise/monitor
# ./uninstall
Do you want to uninstall MySQL Enterprise Monitor and all of its modules? [Y/n]: y

----------------------------------------------------------------------------
Uninstall Status

Do you also want to remove all data, logs and other files in the MySQL and Tomcat instances under
'/dbdata/mysql/enterprise/monitor'?

Caution, this will remove all user created files, even if they were present before installing MySQL Enterprise Monitor, including the data files of the bundled MySQL server. You will *not* be able to undo this action. Do not remove files if you plan to install an update.

Do you really want to remove ALL data and log files inside those directories?
 [y/N]: y

 Uninstalling MySQL Enterprise Monitor
 0% ______________ 50% ______________ 100%
 #########################################

Info: Uninstallation completed
Press [Enter] to continue :

###检查进程是否存在
# ps -ef|grep mysql-monitor
root    14572  6544  0 14:25 pts/4    00:00:00 grep mysql-monitor

--------------------------------------分割线 --------------------------------------

Ubuntu 14.04下安装MySQL http://www.linuxidc.com/Linux/2014-05/102366.htm

《MySQL权威指南(原书第2版)》清晰中文扫描版 PDF http://www.linuxidc.com/Linux/2014-03/98821.htm

Ubuntu 14.04 LTS 安装 LNMP Nginx\PHP5 (PHP-FPM)\MySQL http://www.linuxidc.com/Linux/2014-05/102351.htm

Ubuntu 14.04下搭建MySQL主从服务器 http://www.linuxidc.com/Linux/2014-05/101599.htm

Ubuntu 12.04 LTS 构建高可用分布式 MySQL 集群 http://www.linuxidc.com/Linux/2013-11/93019.htm

Ubuntu 12.04下源代码安装MySQL5.6以及Python-MySQLdb http://www.linuxidc.com/Linux/2013-08/89270.htm

MySQL-5.5.38通用二进制安装 http://www.linuxidc.com/Linux/2014-07/104509.htm

--------------------------------------分割线 --------------------------------------

本文永久更新链接地址:http://www.linuxidc.com/Linux/2015-02/113526.htm

linux
相关资讯       MySQL Enterprise Monitor 
本文评论   查看全部评论 (0)
表情: 表情 姓名: 字数

       

评论声明
  • 尊重网上道德,遵守中华人民共和国的各项有关法律法规
  • 承担一切因您的行为而直接或间接导致的民事或刑事法律责任
  • 本站管理人员有权保留或删除其管辖留言中的任意内容
  • 本站有权在网站内转载或引用您的评论
  • 参与本评论即表明您已经阅读并接受上述条款