2015-03-19 36 views
0

Mesos和Marathon不时提到检查点,但我无法找到一个很好的解释它如何在任何地方工作。另外,这在实践中意味着什么?Mesos/Marathon检查点和HA

1) Is the Task current state continuously being stored, or is only the Task ID stored? Where is it stored and what does it contain? 
2) There are two Marathon instances. Marathon has been running Nginx for a week, then goes down. Does that mean that the actual Nginx application state continues running on the second Marathon instance, or does it just restart the task from beginning? If the Task actual state is copied, isn't there a lot of data to be continuously persisted and passed around between slaves? 

回答

1


从恢复Mesos的一项功能,允许:

  • 执行人/任务,以保持当从过程下来,
  • 允许重新启动的奴隶过程与重新连接运行从机上运行执行程序/任务。 ()。

所以对于你的问题,这意味着:

  1. 足够的信息(略比的TaskID更多)存储,以使新的从属进程可以重新连接到仍在运行的执行/任务。

  2. 由于任务状态不是检查点,它会从头开始执行任务。

希望这有助于 约尔格