To remove a datasource from an existing deployment there are two primary stages, removing it from the active service, and then removing it from the active configuration.
For example, to remove
host6 from a
Login to host6.
Stop the replicator:
Now the node has been removed from the active dataservice, the host must be removed from the configuration.
Now you must remove the node from the configuration, although the exact method depends on which installation method used with tpm:
If you are using staging directory method with tpm:
Change to the staging directory. The current staging directory can be located using tpm query staging:
tpm query stagingtungsten@host1:/home/tungsten/tungsten-replicator-6.1.0-54 shell>
Update the configuration, omitting the host from the list of members of the dataservice:
tpm update alpha \ --members=host1,host2,host3
If you are using the INI file method with tpm:
Remove the INI configuration file:
Remove the installed software directory:
rm -rf /opt/continuent