The services incorporated into the MySQL Enterprise Service Manager are:
The MySQL Server.
The Apache/Tomcat Server.
To start, stop, or restart the MySQL Enterprise Service Manager, run the script
on Unix or
on Mac OS X with the command-line parameter
restart. To see the available options, issue
mysqlmonitorctl.sh help .
help parameter produces the following
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
To autostart all the Service Manager components, call the
mysqlmonitorctl.sh start from your start-up
To start the service:
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
If you try to start the service and it is already running, you are warned that the services are already running.
restart command is equivalent to executing
stop and then
This script can also check the status of the Tomcat web server or the MySQL repository.
shell> ./mysqlmonitorctl.sh status MySQL Network MySQL is running MySQL Network Tomcat is running
After the Service Manager is installed, you can configure the Dashboard, as explained in Section 5.2.7, “MySQL Enterprise Service Manager Configuration Settings and Advisor Installation”.