tpm supports two different deployment methodologies. Both configure one or more Tungsten Clustering services, in a safe and secure manner, but differ in the steps and process used to complete the installation. The two methods are:
When using the staging directory method, a single configuration that defines all services and hosts within the Tungsten Clustering deployment is created. tpm then communicates with all the hosts you are configuring to install and configure the different services required. This is best when you have a consistent configuration for all hosts and do not have any configuration management tools for your systems.
When using the
INI file method,
configuration for each service must be made individually using an
INI configuration file on each host.
This is ideal for deployments where you have a configuration management
system (e.g. Puppet and Chef) to manage the
INI file. It also works very well for
deployments where the configuration for each system is different from
Table 9.1. TPM Deployment Methods
|Feature||Staging Directory||INI File|
|Deploy Multiple Services||Yes||Yes|
|Deploy to Multiple Hosts||Yes||No|
|Individual Host-based Configuration||Yes||Yes|
|Requires SSH Configuration||Yes||No|
Check the output of tpm query staging to determine
which method your current installation uses. The output for an
installation from a staging directory will start with
# Installed from
An installation based on an INI file may include this line but the
hostname will reference the current host and there will be an
/etc/tungsten/tungsten.ini file present.
To install a three-node service using the staging method:
To install a three-node service using the
On each host:
When using the staging method, upgrades and updates to the configuration
must be made using tpm from the staging directory.
Configuration methods can be swapped from staging to
INI only by manually recreating the
INI file with the new configuration and
running tpm update.