mesosphere-backup / cassandra-mesos-deprecated

[DEPRECATED] This project is deprecated. It will be archived on December 1, 2017.
https://github.com/mesosphere/mesosphere/dcos-commons/frameworks/cassandra.
Apache License 2.0
184 stars 68 forks source link

upgrading the framework on running cluster. #137

Closed samek closed 8 years ago

samek commented 9 years ago

Hi,

We're currently running 0.1.1-SNAPSHOT-514-master-a6a94fbb. (through marathon)

How should we approach upgrade to 0.2.1 ? Just update the app in marathon ?
I would like to have things running like they are right now...

samek commented 9 years ago

Anyone ?

elingg commented 9 years ago

Hi @samek, is your goal to simply upgrade the framework scheduler? If yes, it seems that should be possible by updating the app in Marathon. @BenWhitehead can jump in and let us know any additional details.

samek commented 9 years ago

@elingg Yes, just the scheduler.

kensipe commented 9 years ago

@samek Is there anything else to follow up on here?

samek commented 9 years ago

@kensipe I've tried upgrading just the tar and marathon json and it did upgrade.

keithchambers commented 9 years ago

@samek as you discovered, we don't have a story around upgrade at the moment.

Backup and restore was added recently: https://github.com/mesosphere/cassandra-mesos/blob/master/docs/docs/backup-and-restore.md

While admittedly very crude, you should be able to use backup and restore as a method of upgrade once you get the a version of the scheduler that supports it.

BenWhitehead commented 9 years ago

Correct, the version of cassandra didn't change between 0.1.1-SNAPSHOT and 0.2.1-SNAPSHOT, there were some changes to the persisted configuration for the cluster and nodes, but the code should handled updating correctly since it's protobuf.

Things will get much more complicated when the version of cassandra itself is changing.

triclambert commented 8 years ago

This repository is deprecated. Please use the latest supported framework here: https://github.com/mesosphere/dcos-cassandra-service, and provide feedback for us here: https://dcosjira.atlassian.net/browse/CASSANDRA.