-
Notifications
You must be signed in to change notification settings - Fork 53
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Updated upgrade instructions #301
Open
mohitsoni
wants to merge
4
commits into
master
Choose a base branch
from
upgrade-notice
base: master
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Open
Changes from all commits
Commits
Show all changes
4 commits
Select commit
Hold shift + click to select a range
File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -296,16 +296,32 @@ $ curl -X POST -H "Authorization: token=$AUTH_TOKEN" http://<dcos_url>/service/c | |
|
||
# Upgrade | ||
|
||
## Overview | ||
|
||
* Framework version has two components: `A.B.C-X.Y.Z`, where `A.B.C` is the scheduler version and `X.Y.Z` is the version of supported Apache Cassandra. | ||
* Upgrade process will cause a rolling restart of all Cassandra Node processes in the cluster. | ||
* Upgrades are supported from version `N` to `N + 1`. For ex: Upgrade from `1.0.16-3.0.8` is `1.0.17-3.0.8` is supported. | ||
* In order to upgrade from version `N` to `N + 2`, please upgrade from version `N` to `N + 1` first, followed by an upgrade from `N + 1` to `N + 2`. | ||
|
||
| Version N | Version N + 1 | Method | | ||
| ------------- |:-------------:| -------------:| | ||
| 1.0.12-2.2.5 | 1.0.13-2.2.5 | Side-by-Side | | ||
| 1.0.13-2.2.5 | 1.0.14-2.2.5 | In-place | | ||
| 1.0.14-3.0.7 | 1.0.15-3.0.8 | In-place | | ||
| 1.0.15-3.0.7 | 1.0.16-3.0.8 | Side-by-Side | | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. isn't side-by-side unavailable due to the backup regression on 1.0.15? |
||
| 1.0.16-3.0.8 | 1.0.17-3.0.8 | In-place | | ||
|
||
|
||
## Instructions - In-place upgrades | ||
|
||
1. In the DC/OS web interface, destroy the Cassandra instance to be updated. (This will not kill Cassandra node tasks). | ||
1. Verify that you no longer see the Cassandra instance in the DC/OS web interface. | ||
1. From the DC/OS CLI, install the latest version of Cassandra [with any customizations you require](1.7/usage/service-guides/cassandra/install-and-customize/) in a JSON options file: | ||
$ dcos package install cassandra --options=/path/to/options.json | ||
|
||
The command above will trigger the install of the new Cassandra version. You can follow the upgrade progress by making a REST request identical to the one used to follow the progress of a [configuration upgrade](/1.7/usage/service-guides/cassandra/configuration/). | ||
|
||
**Note:** The upgrade process will cause all of your Cassandra node processes to restart. | ||
|
||
**If you are upgrading to or beyond 1.0.13-X.Y.Z of DC/OS Apache Cassandra from an older version (pre `1.0.13-X.Y.Z`), here is the upgrade path:** | ||
## Instructions - Side-by-side upgrade | ||
|
||
1. Perform [Backup Operation](https://github.com/mesosphere/dcos-cassandra-service#backup) on your currently running Cassandra Service. Note the backup name and backup location. | ||
1. [Install a new Cassandra Service](https://github.com/mesosphere/dcos-cassandra-service#multiple-cassandra-cluster-installation) instance. | ||
|
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
shouldn't it be 1.0.15-3.0.7 here?