MySQL Enterprise Service Manager には次のサービスが含まれます。
MySQL Server
Apache/Tomcat Server
        MySQL Enterprise Service Manager
        を停止、起動、再起動する必要がある場合、/opt/mysql/enterprise/monitor/
        ディレクトリ(UNIX)または
        /Applications/mysql/enterprise/monitor/
        ディレクトリ(Mac OS X)にある
        mysqlmonitorctl.sh
        ファイルを呼び出します。使用できるすべてのオプションを参照するには、該当するディレクトリにナビゲートして、次のコマンドを入力します。
      
shell> /opt/mysql/enterprise/monitor/mysqlmonitorctl.sh help
このスクリプトを実行すると、次の出力が表示されます。
usage: ./mysqlmonitorctl.sh help ./mysqlmonitorctl.sh (start|stop|status|restart) ./mysqlmonitorctl.sh (start|stop|status|restart) mysql ./mysqlmonitorctl.sh (start|stop|status|restart) tomcat help - this screen start - start the service(s) stop - stop the service(s) restart - restart or start the service(s) status - report the status of the service
        このスクリプトを実行すると、すべての Service
        Manager
        コンポーネントを停止、起動、再起動できます。実行するには、スタートアップスクリプトから
        mysqlmonitorctl.sh start
        を呼び出します。
      
サービスを実行するには、次のようにします。
shell> ./mysqlmonitorctl.sh start ./mysqlmonitorctl.sh : mysql started nohup: redirecting stderr to stdout Starting mysqld daemon with databases from /opt/mysql/enterprise/monitor/mysql/data/ Using CATALINA_BASE: /opt/mysql/enterprise/monitor/apache-tomcat Using CATALINA_HOME: /opt/mysql/enterprise/monitor/apache-tomcat Using CATALINA_TMPDIR: /opt/mysql/enterprise/monitor/apache-tomcat/temp Using JRE_HOME: /opt/mysql/enterprise/monitor/java
すでに実行しているサービスを起動しようとすると、サービスがすでに実行していることが警告されます。
shell> ./mysqlmonitorctl.sh start ./mysqlmonitorctl.sh : mysql (pid 18403) already running ./mysqlmonitorctl.sh : tomcat (pid 18480) already running
サービスを停止するには、次のようにします。
shell>
        restart
        コマンドは、stop と
        start
        操作を続けて実行する効果があります。
      
このスクリプトを使用して、Tomcat Web サーバまたは MySQL リポジトリのステータスをチェックできます。
shell> ./mysqlmonitorctl.sh status MySQL Network MySQL is running MySQL Network Tomcat is running
ダッシュボードの設定は、MySQL Enterprise Service Manager のインストール直後に始まります。

