Uninstalling Teracloud® Streams
Use this procedure to remove the Teracloud®
Streams product
from your system.
Before you begin
To uninstall Teracloud® Streams, you must be the installation owner or have root authority.
Stop the applications, instances, and domains that are using the version of the product that you are uninstalling. For more information, see Stopping Teracloud® Streams applications, instances, and domains.
Enter
the following command as user root to unregister the resource from
the domain and stop the domain controller service on
the resource:
streamtool unregisterdomainhost -d domain-id --zkconnect host:portThe --zkconnect option specifies the name of one or more host and port pairs for the configured external ZooKeeper ensemble. If you specify multiple host and port pairs, separate each pair with a comma. This value is the external ZooKeeper connection string. To obtain this value, you can use the streamtool getzk command.
About this task
The default mode for uninstalling Teracloud® Streams is interactive console mode.
Procedure
- Interactive console method
- Enter the following
commands:
cd product-installation-root-directory/7.2.0.0/uninstall ./uninstallstreams
- Follow the instructions in the prompts.
- After you review the summary panel, respond Y to uninstall the product.
- Enter the following
commands:
- Silent methodTo start the program, enter the following commands:
cd product-installation-root-directory/7.2.0.0/uninstall ./uninstallstreams –i silent
Results
Teracloud® Streams removes all the files that were installed by the Teracloud® Streams installation program from your system.
What to do next
If you do not plan to reinstall Teracloud®
Streams, have no other
versions of the product installed, and no longer need the configuration data for the
product, remove the home-directory/.streams directory. To remove this
directory, enter the following
command:
rm -rf home-directory/.streams
If you specified the default installation directory when installing Teracloud®
Streams
(home-directory/teracloud/streams or
/opt/teracloud/streams) and you don't have any other versions of
Teracloud®
Streams
installed at that location or other files that you added to the
teracloud directory, you can use either of the following
commands:
rm -rf home-directory/teracloud
or
-rf /opt/teracloud