tpm Commands
All calls to tpm will follow a similar structure, made up of the command, which defines the type of operation, and one or more options.
tpm command [sub command] [tpm options] [command options]
The command options will vary for each command. The core [tpm options] are:
| Option | Description |
|---|---|
--forceAliases: -f | Do not display confirmation prompts or stop the configure process for errors. |
--helpAliases: -h | Displays the help message |
--infoAliases: -i | Display info, notice, warning and error messages |
--noticeAliases: -n | Display notice, warning and error messages |
--previewAliases: -p | Displays the help message and preview the effect of the command line options |
--profile | Sets name of config file |
--quietAliases: -q | Only display warning and error messages |
--verboseAliases: -v | Display debug, info, notice, warning and error messages |
--force
| Aliases | -f |
|---|
--help
| Aliases | -h |
|---|
tpm showing the current options, commands and version information.--info
| Aliases | -i |
|---|
--verbose.--notice
| Aliases | -n |
|---|
--preview
| Aliases | -p |
|---|
--profile
tpm profile /tmp/config.sh.--quiet
| Aliases | -q |
|---|
--verbose
| Aliases | -v |
|---|
tpmannotates the entire process describing both what it is doing and all debug, warning and other messages in the output.The tpm utility handles all operations from installation to updates and upgrades, and also provides a number of useful post-installation commands that can be used to simplify common administration operations.
The installation process starts in a staging directory. This is different from the installation directory where Tungsten will ultimately
be placed but may be a sub-directory. In most cases we will install to /opt/continuent and use /opt/continuent/software
as a staging directory. The release package should be unpacked in the staging directory before proceeding.
See the Section "Directory Locations and Configuration" for instructions on selecting a staging directory.
The following tpm commands are available:
| Option | Description | Version | Product |
|---|---|---|---|
ask | Ask tpm to provide values from the common configuration. | 7.0.0 | CTTR |
cert | Provides a wide variety of security administration tools. | 7.1.0 | CTTR |
check | Check and validate various installation options. | 7.1.3 | CTTR |
configure | Configure a data service within the global configuration. | CTTR | |
connector | Open a connection to the mysql database via the configured connector. | CT | |
copy | Automates the act of copying the shared SSL keys generated during installation to other cluster nodes as part of the post-installation workflow. | 7.0.3 | CT |
delete-service | Delete a replication service or a composite datasource. | 7.0.0 | CTTR |
diag | Obtain diagnostic information. | CTTR | |
fetch | Fetch configuration information from a running service. | CTTR | |
find-seqno | Assists with locating event information in the THL and producing adsctl set command as output. | CTTR | |
firewall | Display firewall information for the configured services. | CTTR | |
generate-haproxy-for-api | Generates a correctly formatted haproxy configuration block for use with Tungsten Dashboard v1. | 6.1.8 | CT |
help | Show command help information. | CTTR | |
ini | Automates the creation of ini files from templates and also checks validity of existing ini files. | 7.2.0 | CT |
install | Install a data service based on the existing and runtime parameters. | CTTR | |
keep | Designed to streamline saving the current Tungsten Replicator position for each service in a variety of formats. | 7.1.0 | CT |
mysql | Open a connection to the local MySQL server. | CTTR | |
policy | Display and optionally set the cluster policy. | 6.1.20 | CT |
ports | Display all needed network ports. | 7.1.0 | CTTR |
post-process | Assists with the graceful maintenance of the static cross-site replicator configuration files on disk | 7.0.0 | CT |
promote-connector | Restart the connectors in the active configuration. | CTTR | |
purge-thl | Reset the THL for a host. | 7.0.0 | CTTR |
query | Query the active configuration for information. | CTTR | |
report | Generate a security report for all available communication channels on a per-node basis. | 7.0.1 | CTTR |
reverse | Show you the commands required to rebuild the configuration for the current directory. | CTTR | |
uninstall | Uninstall software from host(s) | CTTR | |
update | Update an existing configuration or software version. | CTTR | |
validate | Validate the current configuration. | CTTR | |
validate-update | Validate the current configuration from the perspective of an update. | CTTR |