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-clustering-8.0.0-10
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-clustering-8.0.0-10
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 \
--replication-user=tungsten \
--replication-password=password \
--home-directory=/opt/continuent \
--members=host1,host2,host3 \
--start
Or, alternatively use tpm configure prior to tpm install:
shell>./tools/tpm configure alpha\ --topology=master-slave \ --master=host1 \ --replication-user=tungsten \ --replication-password=password \ --home-directory=/opt/continuent \ --members=host1,host2,host3
shell>./tools/tpm install alpha
During installation, tpm checks for any host configuration problems and issues and if requests, starts and reports the status of the service.
If any of these steps fail, changes are backed out and installation is stopped.