This repository has been archived by the owner on Jan 10, 2019. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 68
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #108 from BenWhitehead/uninstall-doc
Add Uninstall docs
- Loading branch information
Showing
2 changed files
with
47 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,42 @@ | ||
--- | ||
title: Manual Uninstall | ||
--- | ||
|
||
Manual Uninstall | ||
================ | ||
|
||
------------ | ||
|
||
**DISCLAIMER** | ||
_This is a very early version of Cassandra-on-Mesos framework. This document, code behavior, and anything else may change without notice and/or break older installations._ | ||
|
||
------------ | ||
|
||
|
||
## Manual Uninstall on DCOS | ||
|
||
_All instructions below assume the default values were used when installed on DCOS_ | ||
|
||
To uninstall the Cassandra DCOS Service complete the following actions: | ||
|
||
1. Run `dcos package uninstall cassandra` | ||
2. ZooKeeper Node provided to `CASSANDRA_ZK` | ||
* Using zkCli run the `rmr /cassandra-mesos/dcos` command | ||
3. Remove the directory provided to `CASSANDRA_DATA_DIRECTORY` | ||
* The default behavior is to write data into the Mesos Sandbox and does not need to be manually cleaned unless a specific value was provided. | ||
|
||
|
||
## Manual Uninstall on Mesos | ||
|
||
_Following the instructions will completely uninstall the Cassandra-on-Mesos framework -- data and all, no recovery will be possible._ | ||
|
||
To uninstall the Cassandra Mesos Framework complete the following actions: | ||
|
||
1. Delete Marathon app | ||
2. Shutdown framework | ||
1. Get framework ID from `http://mesos-master:5050/#/frameworks` | ||
2. run `curl -d "frameworkId=<framework_id_from_step_1>" http://mesos-master:5050/master/shutdown` | ||
3. ZooKeeper Node provided to `CASSANDRA_ZK` | ||
* Using zkCli run the `rmr` command | ||
4. Remove the directory provided to `CASSANDRA_DATA_DIRECTORY` | ||
* The default behavior is to write data into the Mesos Sandbox and does not need to be manually cleaned unless a specific value was provided. |