{"id":107424,"date":"2023-03-23T00:48:09","date_gmt":"2023-03-22T22:48:09","guid":{"rendered":"https:\/\/prohoster.info\/?p=107424"},"modified":"2023-03-23T10:45:42","modified_gmt":"2023-03-23T08:45:42","slug":"reliz-polemarch-3-0-web-interfejsa-dlya-upravleniya-infrastrukturoj","status":"publish","type":"post","link":"https:\/\/prohoster.info\/hu\/blog\/news\/reliz-polemarch-3-0-web-interfejsa-dlya-upravleniya-infrastrukturoj","title":{"rendered":"Megjelent a Polemarch 3.0, a webes fel\u00fclet az infrastrukt\u00fara kezel\u00e9s\u00e9re","gt_translate_keys":[{"key":"rendered","format":"text"}]},"content":{"rendered":"<p>Megjelent a Polemarch 3.0.0, a szerverinfrastrukt\u00fara kezel\u00e9s\u00e9re szolg\u00e1l\u00f3 webes fel\u00fclet, amely az Ansible alapjain m\u0171k\u00f6dik. A projekt k\u00f3dja Python \u00e9s JavaScript nyelveken k\u00e9sz\u00fclt, Django \u00e9s Celery keretrendszerek felhaszn\u00e1l\u00e1s\u00e1val. A projekt az AGPLv3 licenc alatt van terjesztve. A rendszer elind\u00edt\u00e1s\u00e1hoz elegend\u0151 telep\u00edteni egy csomagot \u00e9s elind\u00edtani 1 szolg\u00e1ltat\u00e1st. Ipari haszn\u00e1lathoz aj\u00e1nlott a MySQL\/PostgreSQL \u00e9s Redis\/RabbitMQ+Redis (cache \u00e9s MQ broker) tov\u00e1bbi haszn\u00e1lata. Minden verzi\u00f3hoz Docker image k\u00e9sz\u00fcl.    <\/p>\n<p>F\u0151bb v\u00e1ltoz\u00e1sok:  <\/p>\n<ul>\n<li class=\"l\"> \u00c1tt\u00e9r\u00e9s az \u00faj Rest API v4-re \u00e9s a minim\u00e1lisan t\u00e1mogatott Python 3.8 verzi\u00f3ra. Az \u00e1tt\u00e9r\u00e9s sz\u00fcks\u00e9ges volt az \u00faj b\u0151v\u00edtm\u00e9ny- \u00e9s kiterjeszt\u00e9si rendszerek jobb t\u00e1mogat\u00e1sa, valamint a fejleszt\u00e9s felgyors\u00edt\u00e1sa \u00e9rdek\u00e9ben. Ezenk\u00edv\u00fcl n\u00e9h\u00e1ny ism\u00e9tl\u0151d\u0151 elem is leegyszer\u0171s\u00f6d\u00f6tt a sablonok \u00e9s \u00fctemez\u00e9sek logikusabb \u00e9s intuit\u00edvabb kezel\u00e9s\u00e9hez.\n<li class=\"l\"> \u00daj inventoriz\u00e1l\u00e1si b\u0151v\u00edtm\u00e9nyek ker\u00fcltek hozz\u00e1ad\u00e1sra, amelyek lehet\u0151v\u00e9 teszik a standard inventoriz\u00e1l\u00e1si b\u0151v\u00edtm\u00e9nyek, p\u00e9ld\u00e1ul script-es vagy ini\/yaml\/json sorok haszn\u00e1lat\u00e1t. Fejlesztett\u00fck a saj\u00e1t inventoriz\u00e1l\u00e1si b\u0151v\u00edtm\u00e9ny rendszer\u00e9t is, amely lehet\u0151v\u00e9 teszi, hogy k\u00fcl\u00f6nf\u00e9le forr\u00e1sokb\u00f3l egyedi b\u0151v\u00edtm\u00e9nyeket hozzunk l\u00e9tre.\n<li class=\"l\"> Jav\u00edtottuk a kor\u00e1bbi kiad\u00e1sban bemutatott ind\u00edt\u00f3 b\u0151v\u00edtm\u00e9ny rendszert. Mostant\u00f3l saj\u00e1t ind\u00edt\u00e1si megold\u00e1sokat lehet \u00edrni, p\u00e9ld\u00e1ul bash script-ek, terraform vagy helm haszn\u00e1lat\u00e1val. A refaktor\u00e1l\u00e1s r\u00e9szek\u00e9nt t\u00e1mogat\u00e1st kaptak a b\u0151v\u00edtm\u00e9nyek a sablonokban \u00e9s \u00fctemez\u00e9sekben. A b\u0151v\u00edtm\u00e9nyek ezen k\u00edv\u00fcl most m\u00e1r lehet\u0151v\u00e9 teszik a megh\u00edv\u00e1si l\u00e1ncok l\u00e9trehoz\u00e1s\u00e1t az adatt\u00e1r el\u0151zetes inicializ\u00e1l\u00e1s\u00e1hoz.\n<li class=\"l\"> Megval\u00f3s\u00edtottuk a kiterjeszt\u00e9sek rendszer\u00e9t, amely lehet\u0151v\u00e9 teszi sz\u00f6vegek r\u00f6gz\u00edt\u00e9s\u00e9t a kimenetb\u0151l k\u00fcl\u00f6nb\u00f6z\u0151 t\u00e1rol\u00f3kba. A rendszer alap\u00e9rtelmez\u00e9s szerint tartalmaz egy b\u0151v\u00edtm\u00e9nyt az adatb\u00e1zisba val\u00f3 r\u00f6gz\u00edt\u00e9shez, valamint python-logger-t, amely lehet\u0151v\u00e9 teszi a kimenet stdout-ra, f\u00e1jlba vagy syslog-ba val\u00f3 k\u00fcld\u00e9s\u00e9t.\n<li class=\"l\"> Az \u00fczenetsorok most json-\u00fczeneteket cser\u00e9lnek ki a pickle helyett. Ezenk\u00edv\u00fcl a sorba k\u00fcld\u00e9shez sz\u00fcks\u00e9ges adatok sorozatba alak\u00edt\u00e1sa \u00e9s visszaford\u00edt\u00e1sa is felgyorsult.\n<li class=\"l\"> Jav\u00edtottuk a felhaszn\u00e1l\u00f3i fel\u00fcletet \u00e9s az integr\u00e1ci\u00f3t az automatikus friss\u00edt\u00e9shez a Centrifugo seg\u00edts\u00e9g\u00e9vel.\n<li class=\"l\"> Friss\u00fcltek a kulcsfontoss\u00e1g\u00fa f\u00fcgg\u0151s\u00e9gek, mint p\u00e9ld\u00e1ul a Django, ami cs\u00f6kkentette a sz\u00fcks\u00e9ges f\u00fcgg\u0151s\u00e9gek list\u00e1j\u00e1t (p\u00e9ld\u00e1ul nat\u00edv Redis t\u00e1mogat\u00e1s a cache-hez).  <\/ul>\n<p>  .<br \/>\n<br \/>Forr\u00e1s: <a content=\"nofollow\" rel=\"nofollow\" href=\"https:\/\/www.opennet.ru\/opennews\/art.shtml?num=58838\">opennet.ru<\/a> <\/p>","protected":false,"gt_translate_keys":[{"key":"rendered","format":"html"}]},"excerpt":{"rendered":"<p>\u0421\u043e\u0441\u0442\u043e\u044f\u043b\u0441\u044f \u0432\u044b\u043f\u0443\u0441\u043a Polemarch 3.0.0, web-\u0438\u043d\u0442\u0435\u0440\u0444\u0435\u0439\u0441\u0430 \u0434\u043b\u044f \u0443\u043f\u0440\u0430\u0432\u043b\u0435\u043d\u0438\u044f \u0441\u0435\u0440\u0432\u0435\u0440\u043d\u043e\u0439 \u0438\u043d\u0444\u0440\u0430\u0441\u0442\u0440\u0443\u043a\u0442\u0443\u0440\u043e\u0439 \u043d\u0430 \u0431\u0430\u0437\u0435 Ansible. \u041a\u043e\u0434 \u043f\u0440\u043e\u0435\u043a\u0442\u0430 \u043d\u0430\u043f\u0438\u0441\u0430\u043d \u043d\u0430 \u044f\u0437\u044b\u043a\u0430\u0445 Python \u0438 JavaScript \u0441 \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u043d\u0438\u0435\u043c \u0444\u0440\u0435\u0439\u043c\u0432\u043e\u0440\u043a\u043e\u0432 Django \u0438 Celery. \u041f\u0440\u043e\u0435\u043a\u0442 \u0440\u0430\u0441\u043f\u0440\u043e\u0441\u0442\u0440\u0430\u043d\u044f\u0435\u0442\u0441\u044f \u043f\u043e\u0434 \u043b\u0438\u0446\u0435\u043d\u0437\u0438\u0435\u0439 AGPLv3. \u0414\u043b\u044f \u0437\u0430\u043f\u0443\u0441\u043a\u0430 \u0441\u0438\u0441\u0442\u0435\u043c\u044b \u0434\u043e\u0441\u0442\u0430\u0442\u043e\u0447\u043d\u043e \u0443\u0441\u0442\u0430\u043d\u043e\u0432\u0438\u0442\u044c \u043f\u0430\u043a\u0435\u0442 \u0438 \u0437\u0430\u043f\u0443\u0441\u0442\u0438\u0442\u044c 1 \u0441\u0435\u0440\u0432\u0438\u0441. \u0414\u043b\u044f \u043f\u0440\u043e\u043c\u044b\u0448\u043b\u0435\u043d\u043d\u043e\u0433\u043e \u043f\u0440\u0438\u043c\u0435\u043d\u0435\u043d\u0438\u044f \u0440\u0435\u043a\u043e\u043c\u0435\u043d\u0434\u0443\u0435\u0442\u0441\u044f \u0434\u043e\u043f\u043e\u043b\u043d\u0438\u0442\u0435\u043b\u044c\u043d\u043e \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u044c MySQL\/PostgreSQL \u0438 Redis\/RabbitMQ+Redis (\u043a\u044d\u0448 \u0438 \u0431\u0440\u043e\u043a\u0435\u0440 MQ). \u0414\u043b\u044f [&hellip;]<\/p>\n","protected":false,"gt_translate_keys":[{"key":"rendered","format":"html"}]},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[702],"tags":[],"class_list":["post-107424","post","type-post","status-publish","format-standard","hentry","category-news"],"aioseo_notices":[],"aioseo_head":"\n\t\t<!-- All in One SEO 5.0.3 - aioseo.com -->\n\t<meta name=\"description\" content=\"\u0421\u043e\u0441\u0442\u043e\u044f\u043b\u0441\u044f \u0432\u044b\u043f\u0443\u0441\u043a Polemarch 3.0.0, web-\u0438\u043d\u0442\u0435\u0440\u0444\u0435\u0439\u0441\u0430 \u0434\u043b\u044f \u0443\u043f\u0440\u0430\u0432\u043b\u0435\u043d\u0438\u044f \u0441\u0435\u0440\u0432\u0435\u0440\u043d\u043e\u0439 \u0438\u043d\u0444\u0440\u0430\u0441\u0442\u0440\u0443\u043a\u0442\u0443\u0440\u043e\u0439 \u043d\u0430 \u0431\u0430\u0437\u0435 Ansible. \u041a\u043e\u0434 \u043f\u0440\u043e\u0435\u043a\u0442\u0430 \u043d\u0430\u043f\u0438\u0441\u0430\u043d \u043d\u0430 \u044f\u0437\u044b\u043a\u0430\u0445 Python \u0438 JavaScript \u0441 \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u043d\u0438\u0435\u043c \u0444\u0440\u0435\u0439\u043c\u0432\u043e\u0440\u043a\u043e\u0432 Django \u0438 Celery.\" \/>\n\t<meta name=\"robots\" content=\"max-image-preview:large\" \/>\n\t<meta name=\"author\" content=\"Yuri Gagarin\"\/>\n\t<link rel=\"canonical\" href=\"https:\/\/prohoster.info\/hu\/blog\/news\/reliz-polemarch-3-0-web-interfejsa-dlya-upravleniya-infrastrukturoj\" \/>\n\t\t<meta name=\"generator\" content=\"All in One SEO (AIOSEO) 5.0.3\" \/>\n\t\t<meta property=\"og:locale\" content=\"hu_HU\" \/>\n\t\t<meta property=\"og:site_name\" content=\"ProHoster | \u041a\u0443\u043f\u0438\u0442\u044c \u043d\u0430\u0434\u0435\u0436\u043d\u044b\u0439 \u0445\u043e\u0441\u0442\u0438\u043d\u0433 \u0434\u043b\u044f \u0441\u0430\u0439\u0442\u043e\u0432 \u0441 \u0437\u0430\u0449\u0438\u0442\u043e\u0439 \u043e\u0442 DDoS, VPS VDS \u0441\u0435\u0440\u0432\u0435\u0440\u044b\" \/>\n\t\t<meta property=\"og:type\" content=\"article\" \/>\n\t\t<meta property=\"og:title\" content=\"\ud83e\udd47\u0420\u0435\u043b\u0438\u0437 Polemarch 3.0, web-\u0438\u043d\u0442\u0435\u0440\u0444\u0435\u0439\u0441\u0430 \u0434\u043b\u044f \u0443\u043f\u0440\u0430\u0432\u043b\u0435\u043d\u0438\u044f \u0438\u043d\u0444\u0440\u0430\u0441\u0442\u0440\u0443\u043a\u0442\u0443\u0440\u043e\u0439 | ProHoster\" \/>\n\t\t<meta property=\"og:description\" content=\"\u0421\u043e\u0441\u0442\u043e\u044f\u043b\u0441\u044f \u0432\u044b\u043f\u0443\u0441\u043a Polemarch 3.0.0, web-\u0438\u043d\u0442\u0435\u0440\u0444\u0435\u0439\u0441\u0430 \u0434\u043b\u044f \u0443\u043f\u0440\u0430\u0432\u043b\u0435\u043d\u0438\u044f \u0441\u0435\u0440\u0432\u0435\u0440\u043d\u043e\u0439 \u0438\u043d\u0444\u0440\u0430\u0441\u0442\u0440\u0443\u043a\u0442\u0443\u0440\u043e\u0439 \u043d\u0430 \u0431\u0430\u0437\u0435 Ansible. \u041a\u043e\u0434 \u043f\u0440\u043e\u0435\u043a\u0442\u0430 \u043d\u0430\u043f\u0438\u0441\u0430\u043d \u043d\u0430 \u044f\u0437\u044b\u043a\u0430\u0445 Python \u0438 JavaScript \u0441 \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u043d\u0438\u0435\u043c \u0444\u0440\u0435\u0439\u043c\u0432\u043e\u0440\u043a\u043e\u0432 Django \u0438 Celery.\" \/>\n\t\t<meta property=\"og:url\" content=\"https:\/\/prohoster.info\/hu\/blog\/news\/reliz-polemarch-3-0-web-interfejsa-dlya-upravleniya-infrastrukturoj\" \/>\n\t\t<meta property=\"og:image\" content=\"https:\/\/prohoster.info\/wp-content\/uploads\/2021\/11\/logo-350.jpg\" \/>\n\t\t<meta property=\"og:image:secure_url\" content=\"https:\/\/prohoster.info\/wp-content\/uploads\/2021\/11\/logo-350.jpg\" \/>\n\t\t<meta property=\"og:image:width\" content=\"350\" \/>\n\t\t<meta property=\"og:image:height\" content=\"350\" \/>\n\t\t<meta property=\"article:published_time\" content=\"2023-03-22T22:48:09+00:00\" \/>\n\t\t<meta property=\"article:modified_time\" content=\"2023-03-23T08:45:42+00:00\" \/>\n\t\t<meta property=\"article:publisher\" content=\"https:\/\/www.facebook.com\/prohoster\" \/>\n\t\t<meta property=\"article:author\" content=\"https:\/\/www.facebook.com\/prohoster\" \/>\n\t\t<!-- All in One SEO -->\n\n","aioseo_head_json":{"title":"\ud83e\udd47A Polemarch 3.0, az infrastrukt\u00fara kezel\u00e9s\u00e9re szolg\u00e1l\u00f3 webes fel\u00fclet | ProHoster","description":"Megjelent a Polemarch 3.0.0, a szerverinfrastrukt\u00fara kezel\u00e9s\u00e9re szolg\u00e1l\u00f3 webes fel\u00fclet Ansible alapjain. A projekt k\u00f3dja Python \u00e9s JavaScript nyelveken k\u00e9sz\u00fclt, a Django \u00e9s Celery keretrendszerek haszn\u00e1lat\u00e1val.","canonical_url":"https:\/\/prohoster.info\/hu\/blog\/news\/reliz-polemarch-3-0-web-interfejsa-dlya-upravleniya-infrastrukturoj","robots":"max-image-preview:large","keywords":"","webmasterTools":{"miscellaneous":""},"schema":null,"og:locale":"hu_HU","og:site_name":"ProHoster | \u041a\u0443\u043f\u0438\u0442\u044c \u043d\u0430\u0434\u0435\u0436\u043d\u044b\u0439 \u0445\u043e\u0441\u0442\u0438\u043d\u0433 \u0434\u043b\u044f \u0441\u0430\u0439\u0442\u043e\u0432 \u0441 \u0437\u0430\u0449\u0438\u0442\u043e\u0439 \u043e\u0442 DDoS, VPS VDS \u0441\u0435\u0440\u0432\u0435\u0440\u044b","og:type":"article","og:title":"\ud83e\udd47\u0420\u0435\u043b\u0438\u0437 Polemarch 3.0, web-\u0438\u043d\u0442\u0435\u0440\u0444\u0435\u0439\u0441\u0430 \u0434\u043b\u044f \u0443\u043f\u0440\u0430\u0432\u043b\u0435\u043d\u0438\u044f \u0438\u043d\u0444\u0440\u0430\u0441\u0442\u0440\u0443\u043a\u0442\u0443\u0440\u043e\u0439 | ProHoster","og:description":"\u0421\u043e\u0441\u0442\u043e\u044f\u043b\u0441\u044f \u0432\u044b\u043f\u0443\u0441\u043a Polemarch 3.0.0, web-\u0438\u043d\u0442\u0435\u0440\u0444\u0435\u0439\u0441\u0430 \u0434\u043b\u044f \u0443\u043f\u0440\u0430\u0432\u043b\u0435\u043d\u0438\u044f \u0441\u0435\u0440\u0432\u0435\u0440\u043d\u043e\u0439 \u0438\u043d\u0444\u0440\u0430\u0441\u0442\u0440\u0443\u043a\u0442\u0443\u0440\u043e\u0439 \u043d\u0430 \u0431\u0430\u0437\u0435 Ansible. \u041a\u043e\u0434 \u043f\u0440\u043e\u0435\u043a\u0442\u0430 \u043d\u0430\u043f\u0438\u0441\u0430\u043d \u043d\u0430 \u044f\u0437\u044b\u043a\u0430\u0445 Python \u0438 JavaScript \u0441 \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u043d\u0438\u0435\u043c \u0444\u0440\u0435\u0439\u043c\u0432\u043e\u0440\u043a\u043e\u0432 Django \u0438 Celery.","og:url":"https:\/\/prohoster.info\/hu\/blog\/news\/reliz-polemarch-3-0-web-interfejsa-dlya-upravleniya-infrastrukturoj","og:image":"https:\/\/prohoster.info\/wp-content\/uploads\/2021\/11\/logo-350.jpg","og:image:secure_url":"https:\/\/prohoster.info\/wp-content\/uploads\/2021\/11\/logo-350.jpg","og:image:width":350,"og:image:height":350,"article:published_time":"2023-03-22T22:48:09+00:00","article:modified_time":"2023-03-23T08:45:42+00:00","article:publisher":"https:\/\/www.facebook.com\/prohoster","article:author":"https:\/\/www.facebook.com\/prohoster"},"aioseo_meta_data":[],"gt_translate_keys":[{"key":"link","format":"url"}],"_links":{"self":[{"href":"https:\/\/prohoster.info\/hu\/wp-json\/wp\/v2\/posts\/107424","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/prohoster.info\/hu\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/prohoster.info\/hu\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/prohoster.info\/hu\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/prohoster.info\/hu\/wp-json\/wp\/v2\/comments?post=107424"}],"version-history":[{"count":0,"href":"https:\/\/prohoster.info\/hu\/wp-json\/wp\/v2\/posts\/107424\/revisions"}],"wp:attachment":[{"href":"https:\/\/prohoster.info\/hu\/wp-json\/wp\/v2\/media?parent=107424"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/prohoster.info\/hu\/wp-json\/wp\/v2\/categories?post=107424"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/prohoster.info\/hu\/wp-json\/wp\/v2\/tags?post=107424"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}