Recently, a customer asked us:
Where are the logs for a Tungsten Cluster and which are the proper log files to monitor if I do a master role switch to another node?
The Answer: Part I
Both basic and advanced logs are available!
The basic logs are symbolic links into the log subdirectory for each layer of the cluster.
For example, this is the listing of the default log directory, `/opt/continuent/service_logs`:
connector-user.log -> /opt/continuent/tungsten/tungsten-connector/log/connector-user.log manager-user.log -> /opt/continuent/tungsten/tungsten-manager/log/manager-user.log mysqldump.log -> /opt/continuent/tungsten/tungsten-replicator/log/mysqldump.log replicator-user.log -> /opt/continuent/tungsten/tungsten-replicator/log/replicator-user.log xtrabackup.log -> /opt/continuent/tungsten/tungsten-replicator/log/xtrabackup.log
As you can see, each log file is a symlink to the user-level log for each of the layers, along with logs for backups.
You may also cd into each of the "real" log directories and look at the following, more detailed logs:
/opt/continuent/tungsten/tungsten-manager/log/tmsvc.log /opt/continuent/tungsten/tungsten-connector/log/connector.log /opt/continuent/tungsten/tungsten-replicator/log/trepsvc.log
The Answer: Part II
Focus on the Manager and Connector logs
To monitor a master switch, the Manager log is best:
and to a lesser degree the Connector log:
In this blog post we discussed the Tungsten Cluster basic and advanced logs, their locations and which ones to use to monitor a master role switch to another node.
To learn about Continuent solutions in general, check out https://www.continuent.com/solutions
Please read the docs!
For more information about Tungsten clusters, please visit https://docs.continuent.com
Tungsten Clustering is the most flexible, performant global database layer available today - use it underlying your SaaS offering as a strong base upon which to grow your worldwide business!
For more information, please visit https://www.continuent.com/solutions
Want to learn more or run a POC? Contact us
Add new comment