{"id":122,"date":"2024-03-14T20:03:15","date_gmt":"2024-03-14T20:03:15","guid":{"rendered":"https:\/\/mikulalajos.hu\/?p=122"},"modified":"2024-06-16T11:25:12","modified_gmt":"2024-06-16T11:25:12","slug":"belepes-a-hajpervajzorok-vilagaba-proxmox","status":"publish","type":"post","link":"https:\/\/mikulalajos.hu\/index.php\/2024\/03\/14\/belepes-a-hajpervajzorok-vilagaba-proxmox\/","title":{"rendered":"Bel\u00e9p\u00e9s a H\u00e1jperv\u00e1jzorok vil\u00e1g\u00e1ba &#8211; Proxmox"},"content":{"rendered":"<p>Ebben a cikkben a Proxmox Virtual Environment (PVE) megismer\u00e9se a f\u0151 t\u00e9ma.<\/p>\n<p><!--more--><\/p>\n<h2>Bevezet\u00e9s<\/h2>\n<p>Az els\u0151 sz\u00e1m\u00edt\u00f3g\u00e9pem egy piros sz\u00edn\u0171 Asus notebook volt egy Intel Atom processzorral \u00e9s 4 gigab\u00e1jt rammal. Ahogyan haladtam el\u0151re az informatika megismer\u00e9s\u00e9vel, egyre komolyabb, profibb sz\u00e1m\u00edt\u00f3g\u00e9peket kezdtem el haszn\u00e1lni. Egy id\u0151 ut\u00e1n \u00fagy \u00e9reztem, hogy sz\u00fcks\u00e9gem van egy saj\u00e1t szerverre (akkor teljesen indokolatlanul), \u00edgy megvettem az akkori tal\u00e1n cs\u00facsmodell Raspberry Pi 3 B+-t.<\/p>\n<p>A cikk \u00edr\u00e1s\u00e1nak id\u0151pontj\u00e1ban egy kis otthoni &#8220;szerverparkom&#8221; van egy Proxmox-ot futtat\u00f3 &#8220;f\u0151&#8221; szerver, illetve egy t\u00e1rol\u00e1sra haszn\u00e1lt\u00a0<em>\u0151si, 2004 \u00f3ta nem t\u00e1mogatott ZyXEL<\/em>\u00a0NAS.<\/p>\n<h2>Hogy j\u00f6n ide a Proxmox?<\/h2>\n<p>A Linuxos kalandok a Pi ut\u00e1n egy szint\u00e9n Intel Atomot haszn\u00e1l\u00f3 multim\u00e9dia pc-vel folytat\u00f3dtak (elektronikai hullad\u00e9kban tal\u00e1ltam). Ez a g\u00e9p a mai napig j\u00f3l m\u0171k\u00f6dik, sokat tanulhattam seg\u00edts\u00e9g\u00e9vel a Linuxr\u00f3l \u00e9s a webszerverek \u00e9s egy\u00e9b alkalmaz\u00e1sok \u00fczemeltet\u00e9s\u00e9b\u0151l, biztons\u00e1g\u00e1r\u00f3l.<\/p>\n<p>De itt m\u00e1r \u00e9reztem, hogy ez \u00edgy nem lesz j\u00f3, nem lehet mindent egy helyen futtatni \u00e9s ezzel a v\u00e9g\u00e9n j\u00f3l j\u00e1rni, \u00edgy megold\u00e1s ut\u00e1n n\u00e9ztem.<\/p>\n<h2>A n\u00e9met prec\u00edzi\u00f3<\/h2>\n<p>A Proxmox eredetileg egy n\u00e9met fejleszt\u00e9s volt, Martin \u00e9s Dietmar Mauer alap\u00edtott\u00e1k meg a Proxmox Server Solutions GmbH-t 2005-ben, a kezdeti fejleszt\u00e9si szakasz lez\u00e1r\u00e1sa ut\u00e1n. Ma a ny\u00edlt forr\u00e1s\u00fa szoftver mellett ipari felhaszn\u00e1l\u00e1sra is gy\u00e1rtanak virtualiz\u00e1ci\u00f3s szoftvert (Enterprise verzi\u00f3).<\/p>\n<p>Az\u00e9rt esett a Proxmoxra a v\u00e1laszt\u00e1som, mert a kutat\u00e1som alapj\u00e1n nagyon sok hardveren elmegy \u00e9s egy nagyon egyszer\u0171 Plug and Play jelleg\u0171 konfigur\u00e1ci\u00f3t k\u00edn\u00e1l.<\/p>\n<h2>A migr\u00e1ci\u00f3<\/h2>\n<p>A Proxmox telep\u00edt\u00e9se nagyon egyszer\u0171 volt, m\u00e9g a &#8220;szerverg\u00e9p&#8221; (ekkor m\u00e1r egy Fujitsu) bels\u0151 SSD-je (8 gigab\u00e1jt) is el\u00e9g volt a Hypervisor telep\u00edt\u00e9s\u00e9hez.<\/p>\n<figure id=\"attachment_125\" aria-describedby=\"caption-attachment-125\" style=\"width: 225px\" class=\"wp-caption aligncenter\"><img loading=\"lazy\" decoding=\"async\" class=\"size-medium wp-image-125\" src=\"https:\/\/mikulalajos.hu\/wp-content\/uploads\/2024\/03\/IMG_7778-225x300.jpg\" alt=\"\" width=\"225\" height=\"300\" srcset=\"https:\/\/mikulalajos.hu\/wp-content\/uploads\/2024\/03\/IMG_7778-225x300.jpg 225w, https:\/\/mikulalajos.hu\/wp-content\/uploads\/2024\/03\/IMG_7778-768x1024.jpg 768w, https:\/\/mikulalajos.hu\/wp-content\/uploads\/2024\/03\/IMG_7778-1152x1536.jpg 1152w, https:\/\/mikulalajos.hu\/wp-content\/uploads\/2024\/03\/IMG_7778-960x1280.jpg 960w, https:\/\/mikulalajos.hu\/wp-content\/uploads\/2024\/03\/IMG_7778.jpg 1536w\" sizes=\"auto, (max-width: 225px) 100vw, 225px\" \/><figcaption id=\"caption-attachment-125\" class=\"wp-caption-text\">A g\u00e9pezet utazott egy darabot a metr\u00f3n, m\u00edg haza nem \u00e9rt\u00fcnk<\/figcaption><\/figure>\n<p>A fenti k\u00e9pen is l\u00e1tszik, hogy ez nem egy er\u0151g\u00e9p, de k\u00eds\u00e9rletez\u00e9sre \u00e9ppen el\u00e9g!<\/p>\n<h2>CT, VM, LXC, ZFS, Ceph, HA&#8230; PTSD?<\/h2>\n<p>A rendszer telep\u00edt\u00e9se ut\u00e1n viszonylag gyorsan belej\u00f6ttem a fel\u00fclet kezel\u00e9s\u00e9be: l\u00e9trehoztam egy ZFS storage poolt, felt\u00f6lt\u00f6ttem a leg\u00fajabb Debian ISO-t, konfigur\u00e1ltam a h\u00e1l\u00f3k\u00e1rty\u00e1t \u00e9s 2FA-t \u00e1ll\u00edtottam minden felhaszn\u00e1l\u00f3nak.<\/p>\n<p>A proxmox alapvet\u0151en k\u00e9t fajta virtu\u00e1lis g\u00e9pet aj\u00e1nl: vannak VM-ek \u00e9s LXC-k. \u00c9n alapvet\u0151en LXC-ket haszn\u00e1lok a kisebb szolg\u00e1ltat\u00e1sok futtat\u00e1s\u00e1ra, mivel a szegreg\u00e1ci\u00f3 mellett kisebb er\u0151forr\u00e1sig\u00e9nnyel j\u00e1rnak (de persze bekeverhet, hogy a hypervisor kernel\u00e9t haszn\u00e1lj\u00e1k&#8230;).<\/p>\n<p>A Proxmox k\u00edn\u00e1l m\u00e9g &#8220;High Availability&#8221; megold\u00e1st is, de ehhez t\u00f6bb szerver k\u00e9ne, \u00edgy ezzel nem nagyon tudtam foglalkozni. Ugyan\u00edgy j\u00e1rtam a Ceph megosztott adatt\u00e1rol\u00e1si megold\u00e1ssal is.<\/p>\n<p>A szem\u00e9lyes dolgaimat (adatb\u00e1zisok, LalID \u00e9s Intranet, wordpress) kisebb gondok n\u00e9lk\u00fcl \u00e1tvittem az \u00faj g\u00e9pre, b\u00e1r itt gondot okozott, hogy mivel egy g\u00e9pen volt minden, \u00edgy el\u00e9g \u00e9rdekes konfigur\u00e1ci\u00f3k sz\u00fclettek a telep\u00edt\u00e9skor.<\/p>\n<p>Jelenleg egy VM \u00e9s hat kont\u00e9ner fut, t\u00f6bbek k\u00f6z\u00f6tt jelsz\u00f3kezel\u0151, intranet \u00e9s biztons\u00e1gi ment\u00e9si feladatokat ell\u00e1tva. Eddig a rendszer nagyon stabilnak bizonyult, nem voltak vele k\u00fcl\u00f6n\u00f6sebb probl\u00e9m\u00e1k, a fel\u00fclet egy\u00e9rtelm\u0171 \u00e9s (viszonylag) egyszer\u0171en kezelhet\u0151 \u00e9s \u00e9rthet\u0151.<\/p>\n<figure id=\"attachment_127\" aria-describedby=\"caption-attachment-127\" style=\"width: 300px\" class=\"wp-caption aligncenter\"><img loading=\"lazy\" decoding=\"async\" class=\"wp-image-127 size-medium\" src=\"https:\/\/mikulalajos.hu\/wp-content\/uploads\/2024\/03\/proxmox-300x139.jpg\" alt=\"\" width=\"300\" height=\"139\" srcset=\"https:\/\/mikulalajos.hu\/wp-content\/uploads\/2024\/03\/proxmox-300x139.jpg 300w, https:\/\/mikulalajos.hu\/wp-content\/uploads\/2024\/03\/proxmox-1024x473.jpg 1024w, https:\/\/mikulalajos.hu\/wp-content\/uploads\/2024\/03\/proxmox-768x355.jpg 768w, https:\/\/mikulalajos.hu\/wp-content\/uploads\/2024\/03\/proxmox-960x443.jpg 960w, https:\/\/mikulalajos.hu\/wp-content\/uploads\/2024\/03\/proxmox.jpg 1366w\" sizes=\"auto, (max-width: 300px) 100vw, 300px\" \/><figcaption id=\"caption-attachment-127\" class=\"wp-caption-text\">A hypervisor fel\u00fclete<\/figcaption><\/figure>\n","protected":false},"excerpt":{"rendered":"<p>Ebben a cikkben a Proxmox Virtual Environment (PVE) megismer\u00e9se a f\u0151 t\u00e9ma.<\/p>\n","protected":false},"author":1,"featured_media":127,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[6,3],"tags":[],"class_list":["post-122","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-fejtagitas","category-projektek"],"_links":{"self":[{"href":"https:\/\/mikulalajos.hu\/index.php\/wp-json\/wp\/v2\/posts\/122","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/mikulalajos.hu\/index.php\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/mikulalajos.hu\/index.php\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/mikulalajos.hu\/index.php\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/mikulalajos.hu\/index.php\/wp-json\/wp\/v2\/comments?post=122"}],"version-history":[{"count":5,"href":"https:\/\/mikulalajos.hu\/index.php\/wp-json\/wp\/v2\/posts\/122\/revisions"}],"predecessor-version":[{"id":496,"href":"https:\/\/mikulalajos.hu\/index.php\/wp-json\/wp\/v2\/posts\/122\/revisions\/496"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/mikulalajos.hu\/index.php\/wp-json\/wp\/v2\/media\/127"}],"wp:attachment":[{"href":"https:\/\/mikulalajos.hu\/index.php\/wp-json\/wp\/v2\/media?parent=122"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/mikulalajos.hu\/index.php\/wp-json\/wp\/v2\/categories?post=122"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/mikulalajos.hu\/index.php\/wp-json\/wp\/v2\/tags?post=122"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}