Skip to main content
Common Reference

tpm install

The tpm install command performs an installation based on the configuration held within the INI Configuration file.

The /etc/tungsten/tungsten.ini should first have been created and populated with the configuration appropriate to your needs.

After unpacking the software into /opt/continuent/software you would then run the tpm install command, for example:


shell> cd /opt/continuent/software/tungsten-replicator-8.0.4-132
shell> ./tools/tpm install

or, if you use a different name/location for the ini file, you can specify the --ini option:


shell> cd /opt/continuent/software/tungsten-replicator-8.0.4-132
shell> ./tools/tpm install --ini /my/directory/myconfig.ini

For staging deployments, the tpm install requires additional options to configure the deployment, for example:

shell> ./tools/tpm install alpha\
--topology=master-slave \
--master=host1 \
--members=host1,host2,host3 \
--replication-user=tungsten \
--replication-password=password \
--home-directory=/opt/continuent \
--start

Or, alternatively use tpm configure prior to tpm install:

shell> ./tools/tpm configure alpha\
--topology=master-slave \
--master=host1 \
--members=host1,host2,host3 \
--replication-user=tungsten \
--replication-password=password \
--home-directory=/opt/continuent
shell> ./tools/tpm install alpha

During installation, tpm checks for any host configuration problems and issues, and if start or start-and-report are supplied, starts and reports the status of the service.

If any of these steps fail, changes are backed out and installation is stopped.