Skip to content
This repository has been archived by the owner on Jan 10, 2019. It is now read-only.

Commit

Permalink
Merge pull request #108 from BenWhitehead/uninstall-doc
Browse files Browse the repository at this point in the history
Add Uninstall docs
  • Loading branch information
BenWhitehead committed Jun 1, 2015
2 parents eed5af0 + 83e9892 commit 0b8d3a9
Show file tree
Hide file tree
Showing 2 changed files with 47 additions and 0 deletions.
5 changes: 5 additions & 0 deletions docs/_layouts/docs.html
Original file line number Diff line number Diff line change
Expand Up @@ -44,6 +44,11 @@ <h5>Reference</h5>
FAQ
</a>
</li>
<li>
<a href="{{ site.baseurl }}/docs/uninstall.html">
Uninstall
</a>
</li>
</ul>
</div>
<div class="col-sm-9">
Expand Down
42 changes: 42 additions & 0 deletions docs/docs/uninstall.md
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.

0 comments on commit 0b8d3a9

Please sign in to comment.