【云计算】marathon集群如何升级?
2016-02-25 13:52
501 查看
Upgrading to a Newer Version
We generally recommend creating a backup of the ZooKeeper state before upgrading to be able to downgrade in case of problems after an upgrade. This can be done by creating a copy of ZooKeeper's data directory.Upgrading a non HA installation
Upgrading to a newer version of Marathon should be executed in the following order:Tear down the running instance of Marathon.
Install the new version of Marathon.
Start the new version of Marathon and watch the log for a successful start.
Upgrading an HA installation
Upgrading to a newer version of Marathon should be executed in the following order:Tear down all running instances of Marathon except one. This instance will be the leader.
Install the new version of Marathon on one of the nodes with the old version.
Start the instance with the new version of Marathon.
Stop the last node with the old version. Now the new version of Marathon will take over leadership and becomes active.
Watch the log of this instance for a successful start. There should be no ERROR or FATAL statements in the logs.
Install the new version of Marathon on all remaining nodes with the old version.
Start all other instances of Marathon to build a quorum.
Upgrading to 0.13
Release Notes: https://github.com/mesosphere/marathon/releases/tag/v0.13.0Tasks keys and storage format in ZooKeeper changed in a backward incompatible fashion. Zookeeper compression is implemented and enabled by default. Older versions will not be able to read compressed entities. Marathon nowuses logback as logging backend. If you are using custom log4j properties, you will have to migrate them to a logback configuration.
Upgrading to 0.11
Release Notes: https://github.com/mesosphere/marathon/releases/tag/v0.11.0Java 8 or higher is needed to run Marathon, since Java 6 and 7 support has reached end of life.
--revive_offers_for_new_appsis now the default. If you want to avoid resetting filters if new tasks need to be started, you can disable this by
--disable_revive_offers_for_new_apps.
Upgrading to 0.10
Release Notes: https://github.com/mesosphere/marathon/releases/tag/v0.10.0 Release Notes: https://github.com/mesosphere/marathon/releases/tag/v0.9.0 Release Notes: https://github.com/mesosphere/marathon/releases/tag/v0.8.00.8, 0.9 and 0.10 only add new optional fields and do not change the storage format in an incompatible fashion. Thus, an upgrade should not require any migration. You can also rollback at any time in case of errors as long as you do not start using new features. Nevertheless we always recommend a backup of the Zookeeper state.
Upgrading from 0.6 to 0.7
Be aware that downgrading from versions >= 0.7.0 to older versions is not possible because of incompatible changes in the data format. See here for an upgrade guide from 0.6.* to 0.7.0参考资料:
https://mesosphere.github.io/marathon/docs/upgrade/index.html
相关文章推荐
- 【云计算】qcow2虚拟磁盘映像转化为vmdk
- 未来最赚钱的17大行业:云计算、大数据、虚拟现实、人工智能……
- 【云计算】Cloudify-基于TOSCA规范的开源云应用编排系统
- 趣谈云计算:孙悟空脚踏七彩云,靠的就是云计算
- 老李分享云计算基本概念
- 云计算环境下的大规模图数据处理技术
- 云计算业界
- Salesforce开发工具之Metaforce - 开发工具大集合
- 结合Ansible在AWS云计算平台上实现运维自动化
- 《4》CentOS7.0+OpenStack+kvm云平台部署—配置Nova
- URL之好资源整理(看云平台)
- 弯道超车:容器技术究竟为云计算带来了什么?
- 云计算环境下的大规模图数据处理技术
- 云计算IaaS浅谈
- 关于云平台的统计分析通用方案
- 云平台的技术
- 【普及分享】云计算=/=云主机,阿里云=低价低端
- Node.js中REST API使用示例——基于云平台+云服务打造自己的在线翻译工具
- GIS+=地理信息+云计算技术——SPARK for IntelliJ IDEA 开发环境部署
- 什么是云计算服务层级 WHAT IS CLOUD COMPUTING STACK (SAAS, PAAS, IAAS)