zhizhesoft

  • 首页
marathon
BigData

大叔经验分享(101)marathon反复重启

marathon反复重启 # systemctl status marathon ● marathon.service - Marathon Loaded: loaded (/usr/lib/systemd/system/marathon.service; enabled; vendor preset: disabled) Active: activating (auto-restart) (Result: exit-code) since Fri 2020-01-10 19:57:20 CST; 284ms ag…

2022年7月29日 0条评论 9点热度 0人点赞 risingsun 阅读全文
Marathon

大叔经验分享(87)marathon重启应用过程服务不可用

marathon提供多种健康检查方式   常用的有TCP和HTTP, TCP检查端口是否存在,存在则认为实例健康; HTTP检查指定URL的HTTP返回码,返回码正常(2xx、3xx)则认为实例健康;   这两种方式在重启过程中会有差别: 1)TCP:由于端口存在到服务可用之间有一段时间,这段时间新的实例被认为‘健康’,但是无法响应服务,同时旧的实例被停止,导致有一段时间服务不可用;  2)HTTP:返回码正常的前提是服务可用; 如果希望重启过程服务一直可用,需要使用HTTP方式做健康检查;  

2022年7月29日 0条评论 9点热度 0人点赞 risingsun 阅读全文
BigData

大叔经验分享(81)marathon上app无法重启

通过api调用marathon重启app后出现deployment,但是app不会重启,配置如下: "constraints": [ [ "hostname", "UNIQUE" ], [ "hostname", "LIKE", "HOST-00[12]" ] ] 指定app只能在2个服务器上启动,并且每个服务器只能启动1个instance, 解决方法如下: "upgradeStrategy": { "maximumOverCapacity": 1, "minimumHealthCapacity": 0.5 } 官…

2022年7月29日 0条评论 23点热度 0人点赞 risingsun 阅读全文
BigData

大数据基础之Marathon(2)marathon-lb

marathon-lb 官方:https://github.com/mesosphere/marathon-lb   一 简介 Marathon load balancer (Marathon-LB) is a proxy server and load balancer for TCP, HTTP, and HTTPS requests based on HAProxy open-source software. marathon-lb是一个基于HAProxy的代理服务器和负载均衡器,支持TCP、HTTP、HTT…

2022年7月29日 0条评论 11点热度 0人点赞 risingsun 阅读全文
BigData

大数据基础之Marathon(1)简介、安装、使用

marathon 1.6.322 官方:https://mesosphere.github.io/marathon/   一 简介 Marathon is a production-grade container orchestration platform for Mesosphere’s Datacenter Operating System (DC/OS) and Apache Mesos.\ marathon是一个DC/OS和mesos上的容器编排平台;   Features High Availabili…

2022年7月29日 0条评论 7点热度 0人点赞 risingsun 阅读全文
Marathon

大叔经验分享(70)marathon重启app后一直处于waiting状态

marathon重启app后一直处于waiting状态,查看marathon日志 # journalctl -u marathon -f 有如下日志: Jun 14 12:58:38 DataOne-002 marathon[15801]: [2019-06-14 12:58:38,321] INFO Offer [2a0fb98b-f8df-44e8-965c-54ad7203fa45-O1623]. Constraints for run spec [/app] not satisfied. Jun 14 12…

2022年7月29日 0条评论 8点热度 0人点赞 risingsun 阅读全文
bzoj

3892: [Usaco2014 Dec]Marathon

3892: [Usaco2014 Dec]Marathon Time Limit: 10 Sec  Memory Limit: 128 MBSubmit: 169  Solved: 100[Submit][Status][Discuss] Description Unhappy with the poor health of his cows, Farmer John enrolls them in an assortment of different physical fitness activities. Hi…

2022年6月22日 0条评论 8点热度 0人点赞 risingsun 阅读全文
云

Mesos的quorum配置引发的问题

Mesos安装完毕后,发现agent无法和master关联(通过WebUI的agent页面无法看到agent信息),查看日志显示: Elected as the leading master! starat recovery...具体记不清了,就是打算向zookeeper中写入信息,但是失败了 Recovery failed: Failed to recover registrar   从slave日志中来看就是Mesos-Master总是不断的断开,不断的选举: Master disconnected! Wait…

2022年4月22日 0条评论 7点热度 0人点赞 risingsun 阅读全文
云

Mesos以及Marathon安装总结

安装了将近一周的环境了,终于把Mesos以及Marathon给安装上了,我指的离线安装。 策略1: 严格的按照官网的流程: http://mesos.apache.org/gettingstarted/ 找一台能够上网的机器,通过yum install/update --downloadonly --downloaddir=/opt/XXX 但是所有的yum下载都不要安装而是缓存到本地指定的文件夹(默认会缓存到/var/cache/yum/...下面,但是目录有些繁琐,而且容易和别的安装混淆,另外还需要配置yum.…

2022年4月22日 0条评论 7点热度 0人点赞 risingsun 阅读全文
大数据

Mesos和Marathon

libz is required for mesos to build 需要安装zlib-devel-1.2.7-17.el7.x86_64.rpm   其实跨Shell的Profile文件同步只要执行source /etc/profile即可   configure: error: Could not link test program to Python. Maybe the main Python library has been installed in some non-standard library …

2022年4月22日 0条评论 4点热度 0人点赞 risingsun 阅读全文
12
Search

COPYRIGHT © 2022 zhizhesoft. ALL RIGHTS RESERVED.