Removing Datasources from a Deployment
Removing components from a dataservice is quite straightforward, usually involves both modifying the running service and changing the configuration. Changing the configuration is necessary to ensure that the host is not re-configured and installed when the installation is next updated.
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 service:
Login to host6.
Stop the replicator:
shell> replicator stopNow you must remove the node from the configuration, although the exact method depends on whether you have multiple services in a single installation, or if the host was just running a single service:
For a single service installation:
Remove the INI configuration file
shell> rm /etc/tungsten/tungsten.iniNext, uninstall the software:
shell> cd /opt/continuent/software/tungsten-replicator-8.0.4-132shell> tools/tpm uninstall --i-am-sureOptionally, remove the installed software directory:
[object Object]
For a Multiple-service installation:
Edit your
/etc/tungsten/tungsten.iniand remove the service block that you wish to remove.Issue an update from the software staging directory
shell> cd /opt/continuent/software/tungsten-replicator-8.0.4-132shell> tools/tpm update --replace-releaseRestart the replicator so that other services can resume.
shell> replicator start