If both Apache Tomcat server and MySQL repository are installed on the same host, the best option in large scale environments is to move the MySQL Instance to its own host. This enables scaling to monitor hundreds of MySQL Instances and Hosts.
To do this, you should:
Stop the application Apache Tomcat server and MySQL Instance.
datadircontents to the new host (if moving to a fresh MySQL instance), or run mysqldump and import the dump into the new MySQL instance.
Modify Tomcat's configuration to use the new MySQL Instance on the new host.
Update the configuration with the configuration tool. This tool can be found at the following location:
Table 9.4 Configuration utility location (default)
Linux / Unix
For more information on the configuration utilities, see Chapter 10, Configuration Utilities.