If you currently use the INI installation method and wish to convert to using the Staging method, there is currently no easy way to do that. The procedure involves uninstalling fully on each node, then reinstalling from scratch.
If you still wish to convert from the INI installation method to using the Staging method, use the following procedure:
Place cluster(s) in Maintenance Mode:
set policy maintenance
On the staging node, extract the software into
tar zxf continuent-tungsten-2.0.5-11.tar.gz
If this is a MSMM topology, make sure you extract both the clustering and replication packages.
Create the text file
based on the output from tpm reverse:
tpm reverse > config.sh
Review the new
script to confirm everything is correct, making any needed edits. When
ready, create the new configuration:
If you are using a MSMM topology, repeat these steps using the replicator staging directory. For example:
/opt/replicator/tungsten/tools/tpm reverse > config.shshell>
Review the new configuration:
See Section 9.3, “tpm Staging Configuration” for more information.
On all nodes, uninstall the Tungsten software:
Executing this step WILL cause an interruption of service.
tpm uninstall --i-am-sure
If you are using a MSMM topology, repeat these steps using the replicator tpm command. For example:
/opt/replicator/tungsten/tools/tpm uninstall --i-am-sure
On all nodes, rename the
mv /etc/tungsten/tungsten.ini /etc/tungsten/tungsten.ini.old
On the staging node only, change to the extracted directory and execute the tpm install command:
If you are using a MSMM topology, repeat the install using the replicator staging directory. For example:
Once all steps have been completed and the cluster(s) are stable, take each cluster out of maintenance mode by setting the policy back to automatic:
set policy automatic