Version Support: 2.0.1
The script was added in Continuent Tungsten 2.0.1. It cannot be backported to older versions.
The tungsten_health_check may be used less frequently than Section 8.20, “The tungsten_health_check Script” to check the cluster against known best practices. It implements the Tungsten Script Interface as well as these additional options.
--dataservices ] [
--diagnostic-package ] [
--directory ] [
--force ] [
--from ] [
-h ] [
--ignore ] [
-i ] [
--json ] [
--lock-dir ] [
--lock-timeout ] [
--net-ssh-option=key=value ] [
-n ] [
--show-differences ] [
--subject ] [
--test-failover ] [
--test-recover ] [
--test-switch ] [
--validate ] [
Table 8.45. tungsten_health_check Command-line Options
|This list of dataservices to monitoring to|
|Create a diagnostic package if any issues are found|
|The $CONTINUENT_ROOT directory to use for running this command. It will default to the directory you use to run the script.|
|Email address to send to when mailing any notifications|
|Continue operation even if script validation fails|
|The from address for sending messages|
|Show help text|
|Ignore notices that use this key|
|Display info, notice, warning, and error messages|
|Output all messages and the return code as a JSON object|
|Directory to store log and lock files in|
|The number of minutes to sleep a notice after sending it|
|Path to the mail program to use for sending messages|
|Provide custom SSH options to use for SSH communication to other hosts.|
|Display notice, warning, and error messages|
|Show any differences in Tungsten configuration|
|Email subject line|
|Test failover for each managed dataservice|
|Test recover for each managed dataservice|
|Test the switch command for each managed dataservice|
|Only run script validation|
Each time the tungsten_health_check runs, it will run a standard set of checks. Additional checks may be turned on using command line options.
Check for errors using tpm validate
Check that all servers in the dataservice are running the same version of Continuent Tungsten
The script can be run manually:
All messages will be sent to
Sending results via email
The tungsten_health_check is able to send you an email when problems are found. It is suggested that you run the script as root so it is able to use the mail program without warnings.
Alerts are cached to prevent them from being sent multiple times and
flooding your inbox. You may pass
--reset to clear out the
to adjust the amount of time this cache is kept. The default is 3 hours.
tungsten_health_check --email@example.com --firstname.lastname@example.org
Showing manual configuration file changes
Testing Continuent Tungsten functionality
Continuent Tungsten includes a testing infrastructure that you can use at
any time. By adding the
to the command, we will test these operations on each database server.
This will have an impact on dataservice availability. Limit this operation to maintenance windows or times when you can experience managed outages.
The script only works with MySQL at this time.