2015-03-19 55 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. 由於任務狀態不是檢查點,它會從頭開始執行任務。

希望這有助於 約爾格