Original title:
Transparentní restart bezstavových služeb v Linuxu
Translated title:
Transparent Restarts of Stateless Linux Services
Authors:
Šraier, Václav ; Koutný, Michal (advisor) ; Horký, Vojtěch (referee) Document type: Bachelor's theses
Year:
2020
Language:
eng Abstract:
[eng][cze] Services running on servers have to be updated once in a while with security patches and new features. Full-service restarts provide a simple way to update the running code, but they usually lead to costly downtime. That can, however, be avoided by preserving network connections and internal state across restarts. There is currently no general way how to do that easily. We introduce an easy-to-use library for Linux which handles transparent restarts for stateless services with minimal code requirements. We demonstrate that support from the system's service manager can significantly improve correctness. We provide an implementation of such integration into systemd, popular Linux service manager and init system. 1Servery musí být čas od času aktualizovány kvůli bezpečnostním záplatám a novým funkcím. Úplné restartování provozované služby je jednoduchý způsob, jak aktualizaci provést, obvykle však vede k nákladným výpadkům. Zachováním vnitřního stavu služby a navázaných síťových spojení je možné výpadkům při restartu předejít. V současné době však neexistuje způsob, jak toho snadno a obecně dosáhnout. V práci představujeme uživatelsky přívětivou knihovnu pro Linux, která zpracovává transparentní restartování bezstavových služeb s minimálními požadavky na změnu existujícího kódu. Dále ukazu- jeme, že podpora správce služeb může výrazně zlepšit funkčnost řešení, a ke knihovně poskytujeme integraci do systemd, populárního správce služeb a init systému. 1
Keywords:
transparent restart systemd libzedr zero-downtime restart; transparentní restart systemd libzedr restart bez výpadku
Institution: Charles University Faculties (theses)
(web)
Document availability information: Available in the Charles University Digital Repository. Original record: http://hdl.handle.net/20.500.11956/119403