Linux 下卸載MySQL Enterprise Monitor

來源:互聯網
上載者:User

Linux 下卸載MySQL Enterprise Monitor

MySQL Enterprise Monitor是專門為MySQL資料庫而設計的一款企業級監控,能非常好地與MySQL各方面特性相結合,包括:MySQL的關鍵效能指標、主機、磁碟、備份、新特性相關以及各種情境下的架構配置,並支援從單節點到海量節點部署的環境。它不僅能夠全面地監控MySQL的運行狀態,還能及時發現潛在的問題並給出最佳化建議。MySQL Enterprise Monitor的安裝和卸載也屬於輕量級,相當的簡單易用。本文描述了MySQL Enterprise Monitor的卸載過程。

有關MySQL Enterprise Monitor的安裝請參考:

安裝MySQL Enterprise Monitor 

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

《MySQL權威指南(原書第2版)》清晰中文掃描版 PDF

Ubuntu 14.04 LTS 安裝 LNMP Nginx\PHP5 (PHP-FPM)\MySQL

Ubuntu 14.04下搭建MySQL主從伺服器

Ubuntu 12.04 LTS 構建高可用分布式 MySQL 叢集

Ubuntu 12.04下原始碼安裝MySQL5.6以及Python-MySQLdb

MySQL-5.5.38通用二進位安裝

--------------------------------------分割線 --------------------------------------

本文永久更新連結地址:

相關文章

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.