{"id":82494,"date":"2020-05-22T01:42:24","date_gmt":"2020-05-21T23:42:24","guid":{"rendered":"https:\/\/prohoster.info\/blog\/administrirovanie\/ovirt-za-2-chasa-chast-2-ustanovka-menedzhera-i-hostov"},"modified":"2020-05-22T01:42:24","modified_gmt":"2020-05-21T23:42:24","slug":"ovirt-za-2-chasa-chast-2-ustanovka-menedzhera-i-hostov","status":"publish","type":"post","link":"https:\/\/prohoster.info\/sq\/blog\/administrirovanie\/ovirt-za-2-chasa-chast-2-ustanovka-menedzhera-i-hostov","title":{"rendered":"oVirt n\u00eb 2 or\u00eb. Pjesa 2. Instalimi i menaxherit dhe hosteve","gt_translate_keys":[{"key":"rendered","format":"text"}]},"content":{"rendered":"<p>Ky artikull \u00ebsht\u00eb i dyti n\u00eb ciklin p\u00ebr oVirt, fillimi <noindex><a rel=\"nofollow\" href=\"https:\/\/habr.com\/ru\/post\/501166\/\">k\u00ebtu<\/a><\/noindex>.<\/p>\n<h2>Artikuj<\/h2>\n<p><\/p>\n<ol>\n<li><noindex><a rel=\"nofollow\" href=\"https:\/\/habr.com\/ru\/post\/501166\/\">Hyrje<\/a><\/noindex><\/li>\n<li>Instalimi i menaxherit (ovirt-engine) dhe hipervizor\u00ebve (hosts) \u2014 Jemi k\u00ebtu<\/li>\n<li><noindex><a rel=\"nofollow\" href=\"https:\/\/habr.com\/ru\/post\/502178\/\">Cil\u00ebsimet shtes\u00eb<\/a><\/noindex><\/li>\n<\/ol>\n<p>\nPra, le t\u00eb shqyrtojm\u00eb \u00e7\u00ebshtjet e instalimit fillestar t\u00eb komponenteve ovirt-engine dhe ovirt-host.<br \/>\n<noindex><a rel=\"nofollow\" name=\"habracut\"><\/a><\/noindex><br \/>\nProceset e instalimit p\u00ebr m\u00eb shum\u00eb informacion gjithmon\u00eb mund t\u00eb konsultohen n\u00eb <noindex><a rel=\"nofollow\" href=\"https:\/\/www.ovirt.org\/documentation\/\">dokumentacionin<\/a><\/noindex>.<\/p>\n<h2>P\u00ebrmbajtja<\/h2>\n<p><\/p>\n<ol>\n<li><noindex><a rel=\"nofollow\" href=\"#setup-engine\">Instalimi i ovirt-engine<\/a><\/noindex><\/li>\n<li><noindex><a rel=\"nofollow\" href=\"#setup-host\">Instalimi i ovirt-host<\/a><\/noindex><\/li>\n<li><noindex><a rel=\"nofollow\" href=\"#add-host\">Shtimi i nj\u00eb node n\u00eb oVirtN<\/a><\/noindex><\/li>\n<li><noindex><a rel=\"nofollow\" href=\"#host-nic\">Konfigurimi i interfes\u00ebs rrjet\u00ebsore<\/a><\/noindex><\/li>\n<li><noindex><a rel=\"nofollow\" href=\"#host-fc\">Konfigurimi i FC<\/a><\/noindex><\/li>\n<li><noindex><a rel=\"nofollow\" href=\"#ovirt-fcoe\">Konfigurimi i FCoE<\/a><\/noindex><\/li>\n<li><noindex><a rel=\"nofollow\" href=\"#host-iso\">Marrja e depozit\u00ebs ISO<\/a><\/noindex><\/li>\n<li><noindex><a rel=\"nofollow\" href=\"#1stVM\">VM e par\u00eb<\/a><\/noindex><\/li>\n<\/ol>\n<p>\n<noindex><a rel=\"nofollow\" name=\"setup-engine\"><\/a><\/noindex><\/p>\n<h2>Instalimi i ovirt-engine<\/h2>\n<p>\nP\u00ebr Engine, k\u00ebrkesat minimale jan\u00eb 2 b\u00ebrtham\u00eb \/ 4 GB RAM \/ 25 GB ruajtje. T\u00eb rekomanduara \u2014 nga 4 b\u00ebrthama \/ 16 GB RAM \/ 50 GB ruajtje. P\u00ebrdorim variantin Menaxher Standalone, kur engine punon n\u00eb nj\u00eb makin\u00eb fizike ose virtuale t\u00eb dedikuar jasht\u00eb grupit t\u00eb menaxhuar. P\u00ebr instalimin ton\u00eb, do t\u00eb p\u00ebrdorim nj\u00eb makin\u00eb virtuale, p\u00ebr shembull, n\u00eb nj\u00eb ESXi t\u00eb ve\u00e7ant\u00eb. \u00cbsht\u00eb e p\u00ebrshtatshme t\u00eb p\u00ebrdoren mjete automatizimi p\u00ebr shp\u00ebrndarjen ose klonimin nga nj\u00eb model i p\u00ebrgatitur m\u00eb par\u00eb apo instalimi me kickstart.<\/p>\n<p><i>*Sh\u00ebnim: p\u00ebr nj\u00eb sistem prodhimi, kjo \u00ebsht\u00eb nj\u00eb ide e keqe, pasi menaxheri punon pa rezerv\u00eb dhe b\u00ebhet pika e ngusht\u00eb. N\u00eb k\u00ebt\u00eb rast, \u00ebsht\u00eb m\u00eb mir\u00eb t\u00eb shqyrtohet opsioni Engine t\u00eb vet\u00eb-mb\u00ebshtetur.<\/i><\/p>\n<p>N\u00ebse \u00ebsht\u00eb e nevojshme, procedura e konvertimit nga Standalone n\u00eb Self Hosted p\u00ebrshkruhet n\u00eb <noindex><a rel=\"nofollow\" href=\"https:\/\/www.ovirt.org\/documentation\/migrating_from_a_standalone_manager_to_a_self-hosted_engine\/#Migration_overview\">dokumentacionin<\/a><\/noindex>. N\u00eb ve\u00e7anti, hostit duhet t'i jepej komanda reinstall me mb\u00ebshtetje p\u00ebr Hosted Engine.<\/p>\n<p>N\u00eb VM instalojm\u00eb CentOS 7 n\u00eb konfigurimin minimal, pastaj p\u00ebrdit\u00ebsojm\u00eb dhe rindezim sistemin:<\/p>\n<pre><code class=\"bash\">$ sudo yum update -y &amp;&amp; sudo reboot<\/code><\/pre>\n<p>\nP\u00ebr makin\u00ebn virtuale \u00ebsht\u00eb e dobishme t\u00eb instaloni agjentin e mysafirit:<\/p>\n<pre><code class=\"bash\">$ sudo yum install open-vm-tools<\/code><\/pre>\n<p>\np\u00ebr hostet VMware ESXi, ose p\u00ebr oVirt:<\/p>\n<pre><code class=\"bash\">$ sudo yum install ovirt-guest-agent<\/code><\/pre>\n<p>\nKund\u00ebr lidhim depozitin dhe instalojm\u00eb menaxherin:<\/p>\n<pre><code class=\"bash\">$ sudo yum install https:\/\/resources.ovirt.org\/pub\/yum-repo\/ovirt-release43.rpm\n$ sudo yum install ovirt-engine\n<\/code><\/pre>\n<p>\nKonfigurimi baz\u00eb:<\/p>\n<pre><code class=\"bash\">$ sudo engine-setup<\/code><\/pre>\n<p>\nN\u00eb shumic\u00ebn e rasteve, cil\u00ebsimet e zgjedhura si default jan\u00eb t\u00eb mjaftueshme, p\u00ebr t'i p\u00ebrdorur ato automatikisht mund t\u00eb nisni konfigurimin me \u00e7el\u00ebsin:<\/p>\n<pre><code class=\"bash\">$ sudo engine-setup --accept-defaults<\/code><\/pre>\n<p>\nTani mund t\u00eb lidhimi me engine ton\u00eb t\u00eb ri n\u00eb adres\u00ebn <noindex><a rel=\"nofollow\" href=\"https:\/\/ovirt.lab.example.com\">ovirt.lab.example.com<\/a><\/noindex>. K\u00ebtu \u00ebsht\u00eb ende zbraz\u00ebt, prandaj kalojm\u00eb n\u00eb instalimin e hipervizor\u00ebve.<br \/>\n<noindex><a rel=\"nofollow\" name=\"setup-host\"><\/a><\/noindex><\/p>\n<h2>Instalimi i ovirt-host<\/h2>\n<p>\nN\u00eb hostin fizik instalojm\u00eb CentOS 7 n\u00eb konfigurimin minimal, pastaj lidhim depozitin, p\u00ebrdit\u00ebsojm\u00eb dhe rindezim sistemin:<\/p>\n<pre><code class=\"bash\">$ sudo yum install https:\/\/resources.ovirt.org\/pub\/yum-repo\/ovirt-release43.rpm\n$ sudo yum update -y &amp;&amp; sudo reboot\n<\/code><\/pre>\n<p>\n<i>Sh\u00ebnim: p\u00ebr instalim, \u00ebsht\u00eb e dobishme t\u00eb p\u00ebrdoren mjete automatizimi p\u00ebr shp\u00ebrndarje ose instalim kickstart.<\/i><\/p>\n<p>                        <b class=\"spoiler_title\">Shembuj i skedarit kickstart<\/b><br \/>\n                        Kujdes! <b>Sekcionet ekzistuese fshihen automatikisht!<\/b> Kujdes!<\/p>\n<pre><code class=\"plaintext\"># System authorization information\nauth --enableshadow --passalgo=sha512\n# Use CDROM installation media\ncdrom\n# Use graphical install\ngraphical\n# Run the Setup Agent on first boot\nfirstboot --enable\nignoredisk --only-use=sda\n# Keyboard layouts\nkeyboard --vckeymap=us --xlayouts='us','ru' --switch='grp:alt_shift_toggle'\n# System language\nlang ru_RU.UTF-8\n\n# Network information\nnetwork  --bootproto=dhcp --device=ens192 --ipv6=auto --activate\nnetwork  --hostname=kvm01.lab.example.com\n\n# Root password 'monteV1DE0'\nrootpw --iscrypted $6$6oPcf0GW9VdmJe5w$6WBucrUPRdCAP.aBVnUfvaEu9ozkXq9M1TXiwOm41Y58DEerG8b3Ulme2YtxAgNHr6DGIJ02eFgVuEmYsOo7.\/\n# User password 'metroP0!is'\nuser --name=mgmt --groups=wheel --iscrypted --password=$6$883g2lyXdkDLbKYR$B3yWx1aQZmYYi.aO10W2Bvw0Jpkl1upzgjhZr6lmITTrGaPupa5iC3kZAOvwDonZ\/6ogNJe\/59GN5U8Okp.qx.\n# System services\nservices --enabled=&quot;chronyd&quot;\n# System timezone\ntimezone Europe\/Moscow --isUtc\n# System bootloader configuration\nbootloader --append=&quot; crashkernel=auto&quot; --location=mbr --boot-drive=sda\n# Partition clearing information\nclearpart --all\n# Disk partitioning information\npart \/boot --fstype xfs --size=1024 --ondisk=sda  --label=boot\npart pv.01 --size=45056 --grow\nvolgroup HostVG pv.01 --reserved-percent=20\nlogvol swap --vgname=HostVG --name=lv_swap --fstype=swap --recommended\nlogvol none --vgname=HostVG --name=HostPool --thinpool --size=40960 --grow\nlogvol \/ --vgname=HostVG --name=lv_root --thin --fstype=ext4 --label=&quot;root&quot; --poolname=HostPool --fsoptions=&quot;defaults,discard&quot; --size=6144 --grow\nlogvol \/var --vgname=HostVG --name=lv_var --thin --fstype=ext4 --poolname=HostPool --fsoptions=&quot;defaults,discard&quot; --size=16536\nlogvol \/var\/crash --vgname=HostVG --name=lv_var_crash --thin --fstype=ext4 --poolname=HostPool --fsoptions=&quot;defaults,discard&quot; --size=10240\nlogvol \/var\/log --vgname=HostVG --name=lv_var_log --thin --fstype=ext4 --poolname=HostPool --fsoptions=&quot;defaults,discard&quot; --size=8192\nlogvol \/var\/log\/audit --vgname=HostVG --name=lv_var_audit --thin --fstype=ext4 --poolname=HostPool --fsoptions=&quot;defaults,discard&quot; --size=2048\nlogvol \/home --vgname=HostVG --name=lv_home --thin --fstype=ext4 --poolname=HostPool --fsoptions=&quot;defaults,discard&quot; --size=1024\nlogvol \/tmp --vgname=HostVG --name=lv_tmp --thin --fstype=ext4 --poolname=HostPool --fsoptions=&quot;defaults,discard&quot; --size=1024\n\n%packages\n@^minimal\n@core\nchrony\nkexec-tools\n\n%end\n\n%addon com_redhat_kdump --enable --reserve-mb='auto'\n\n%end\n\n%anaconda\npwpolicy root --minlen=6 --minquality=1 --notstrict --nochanges --notempty\npwpolicy user --minlen=6 --minquality=1 --notstrict --nochanges --emptyok\npwpolicy luks --minlen=6 --minquality=1 --notstrict --nochanges --notempty\n%end\n# Reboot when the install is finished.\nreboot --eject\n<\/code><\/pre>\n<p>\nRuani k\u00ebt\u00eb skedar, p\u00ebr shembull, n\u00eb <noindex><a rel=\"nofollow\" href=\"ftp:\/\/ftp.example.com\/pub\/labkvm.cfg\">ftp.example.com\/pub\/labkvm.cfg<\/a><\/noindex>. P\u00ebr t\u00eb p\u00ebrdorur skenarin gjat\u00eb fillimit t\u00eb instalimit t\u00eb OS-s\u00eb, duhet t\u00eb zgjidhni opsionin &#8216;Instalo CentOS 7&#8217;, t\u00eb aktivizoni modin e redaktimit t\u00eb parametrave (\u00e7el\u00ebsi Tab) dhe n\u00eb fund (me hap\u00ebsir\u00eb, pa thonj\u00ebza) t\u00eb shtoni <\/p>\n<pre><code class=\"plaintext\">' inst.ks=ftp:\/\/ftp.example.com\/pub\/labkvm.cfg'<\/code><\/pre>\n<p>.<br \/>\nSkenari i instalimit fshin\u00eb seksionet ekzistuese n\u00eb \/dev\/sda, krijon t\u00eb reja sipas <noindex><a rel=\"nofollow\" href=\"https:\/\/access.redhat.com\/documentation\/en-us\/red_hat_virtualization\/4.2\/html\/installation_guide\/advanced_rhvh_install\">rekomandimeve t\u00eb zhvilluesit<\/a><\/noindex> (hap\u00ebsira pas instalimit \u00ebsht\u00eb e leht\u00eb p\u00ebr t'u par\u00eb me komand\u00ebn lsblk). Emri i host-it vendoset si kvm01.lab.example.com (pas instalimit mund t\u00eb ndryshohet me komand\u00ebn hostnamectl set-hostname kvm03.lab.example.com), marrja e adres\u00ebs IP - automatikisht, zona kohore - moskovite, u shtua mb\u00ebshtetje p\u00ebr gjuh\u00ebn ruse.<\/p>\n<p>Fjal\u00ebkalimi i p\u00ebrdoruesit root: monteV1DE0, fjal\u00ebkalimi i p\u00ebrdoruesit mgmt: metroP0!is.<br \/>\n<b>Kujdes! Sekcionet ekzistuese fshihen automatikisht! Kujdes!<\/b><\/p>\n<p>P\u00ebrs\u00ebrisim (ose ekzekutojm\u00eb paralelisht) n\u00eb t\u00eb gjitha hostet. Nga aktivizimi i serverit 't\u00eb zbraz\u00ebt' deri n\u00eb gjendjen e gatshme, me dy ngarkime t\u00eb gjata, \u00ebsht\u00eb e nevojshme rreth 20 minuta.<br \/>\n<noindex><a rel=\"nofollow\" name=\"add-host\"><\/a><\/noindex><\/p>\n<h2>Shtimi i nodit n\u00eb oVirt<\/h2>\n<p>\nP\u00ebrfundon shum\u00eb thjesht\u00eb:<\/p>\n<p>Compute \u2192 Hosts \u2192 New \u2192\u2026<\/p>\n<p>N\u00eb asistentin e detyruesh\u00ebm jan\u00eb fushat Emri (emri i shfaqur, p\u00ebr shembull, kvm03), Hostname (FQDN, p\u00ebr shembull, kvm03.lab.example.com) dhe seksioni Autentifikimi \u2014 <i>p\u00ebrdoruesi root (i pandryshuar)<\/i> \u2014 fjal\u00ebkalimi ose \u00c7el\u00ebsi Publik SSH.<\/p>\n<p>Pas klikimit t\u00eb butonit <b>Ok<\/b> Do t\u00eb merrni nj\u00eb mesazh <i>\u00abNuk e keni konfiguruar Menaxhimin e Energjis\u00eb p\u00ebr k\u00ebt\u00eb Host. A jeni t\u00eb sigurt q\u00eb doni t\u00eb vazhdoni?\u00bb<\/i>. Kjo \u00ebsht\u00eb normale \u2014 menaxhimi i energjis\u00eb do t\u00eb shqyrtohet m\u00eb von\u00eb, pas lidhjes s\u00eb suksesshme t\u00eb hostit. Megjithat\u00eb, n\u00ebse makinat ku jan\u00eb instaluar hostet nuk mb\u00ebshtesin menaxhimin (IPMI, iLO, DRAC etj.), rekomandoj ta \u00e7aktivizoni: Compute \u2192 Clusters \u2192 Default \u2192 Edit \u2192 Politika e Fencing \u2192 Aktivizoni fencing, hiqni kutin\u00eb.<\/p>\n<p>N\u00ebse n\u00eb hostin nuk \u00ebsht\u00eb lidhur repozitori oVirt, instalimi do t\u00eb d\u00ebshtoj\u00eb, por nuk ka asgj\u00eb t\u00eb keqe \u2014 duhet ta shtoni at\u00eb, pastaj t\u00eb shtypni Instaloni -&gt; Rinstaloni.<\/p>\n<p>Lidhja e hostit zgjat jo m\u00eb shum\u00eb se 5-10 minuta.<br \/>\n<noindex><a rel=\"nofollow\" name=\"host-nic\"><\/a><\/noindex><\/p>\n<h3>Konfigurimi i interfes\u00ebs rrjet\u00ebsore<\/h3>\n<p>\nP\u00ebrderisa ne nd\u00ebrtrojm\u00eb nj\u00eb sistem t\u00eb q\u00ebndruesh\u00ebm, lidhja rrjet duhet gjithashtu t\u00eb siguroj\u00eb nj\u00eb lidhje rezervuese, e cila realizohet n\u00eb sked\u00ebn Compute \u2192 Hosts \u2192 <i>HOST<\/i> \u2192 Interfaces Rrjet \u2014 Konfiguro rrjetet e hostit.<\/p>\n<p>N\u00eb var\u00ebsi t\u00eb mund\u00ebsive t\u00eb pajisjeve tuaja rrjetore dhe qasjeve arkitektonike, ekzistojn\u00eb mund\u00ebsi t\u00eb ndryshme. M\u00eb optimalja \u00ebsht\u00eb t\u00eb lidhesh me rrjetin e komutatoreve top-of-rack, n\u00eb m\u00ebnyr\u00eb q\u00eb n\u00eb rast t\u00eb d\u00ebshtimit t\u00eb nj\u00ebrit, disponueshm\u00ebria rrjetore t\u00eb mos nd\u00ebrpritet. Le t\u00eb shqyrtojm\u00eb shembullin e kanalit t\u00eb agreguar LACP. P\u00ebr konfigurimin e kanalit t\u00eb agreguar, 'zgjidh' me miun adapterin e 2-t\u00eb t\u00eb pap\u00ebrdorur dhe '\u00e7oj\u00eb' te i pari. Nj\u00eb dritare do t\u00eb hapet <b>Krijo Nj\u00eb Bond t\u00eb Ri<\/b>, ku LACP (Mode 4, Agregimi dinamik i lidhjeve, 802.3ad) \u00ebsht\u00eb zgjedhur si parazgjedhje. Nga ana e komutatoreve, kryhet konfigurimi i zakonsh\u00ebm i grupit LACP. N\u00ebse nuk ka mund\u00ebsi t\u00eb nd\u00ebrtohet nj\u00eb grumbull komutator\u00ebsh, mund t\u00eb p\u00ebrdoret modaliteti Active-Backup (Mode 1). Konfigurimet e VLAN-it do t\u2019i shqyrtojm\u00eb n\u00eb artikullin tjet\u00ebr, nd\u00ebrsa m\u00eb n\u00eb detaje me rekomandimet p\u00ebr konfigurimin e rrjetit n\u00eb dokumentin <noindex><a rel=\"nofollow\" href=\"https:\/\/access.redhat.com\/documentation\/en-us\/red_hat_virtualization\/4.3\/html-single\/planning_and_prerequisites_guide\/index#networking-recommendations\">Udh\u00ebzuesi i Planifikimit dhe K\u00ebrkesave<\/a><\/noindex>.<br \/>\n<noindex><a rel=\"nofollow\" name=\"host-fc\"><\/a><\/noindex><\/p>\n<h2>Konfigurimi i FC<\/h2>\n<p>\nFibre Channel (FC) mb\u00ebshtetet 'nga kutia', p\u00ebrdorimi i tij nuk shkakton v\u00ebshtir\u00ebsi. Nuk do t\u00eb shqyrtojm\u00eb konfigurimin e rrjetit t\u00eb ruajtjes, p\u00ebrfshir\u00eb konfigurimin e sistemeve t\u00eb ruajtjes dhe zonimin e komutator\u00ebve t\u00eb fabric n\u00eb kuad\u00ebr t\u00eb konfigurimit t\u00eb oVirt.<br \/>\n<noindex><a rel=\"nofollow\" name=\"ovirt-fcoe\"><\/a><\/noindex><\/p>\n<h2>Konfigurimi i FCoE<\/h2>\n<p>\nFCoE, sipas mendimit tim, nuk ka marr\u00eb nj\u00eb p\u00ebrhapje t\u00eb gjer\u00eb n\u00eb rrjetet e ruajtjes, por shpesh p\u00ebrdoret n\u00eb server\u00eb si 'mili e fundit', p.sh., n\u00eb HPE Virtual Connect.<\/p>\n<p>                        <b class=\"spoiler_title\">Konfigurimi i FCoE k\u00ebrkon hapa t\u00eb tjer\u00eb t\u00eb thjesht\u00eb.<\/b><\/p>\n<h4>Konfiguro FCoE Engine<\/h4>\n<p>\nArtikulli n\u00eb faqen e Red Hat <noindex><a rel=\"nofollow\" href=\"https:\/\/access.redhat.com\/documentation\/en-us\/red_hat_virtualization\/4.3\/html\/administration_guide\/how_to_set_up_rhvm_to_use_fcoe\">B.3. Si t\u00eb Konfiguroni Menaxherin e Virtualizimit t\u00eb Red Hat p\u00ebr T\u00eb P\u00ebrdorur FCoE<br \/>\nN\u00eb Menaxher<\/a><\/noindex>, me komand\u00ebn e m\u00ebposhtme shtojm\u00eb \u00e7el\u00ebsin n\u00eb menaxher dhe e rind\u00ebrtojm\u00eb at\u00eb:<\/p>\n<pre><code class=\"bash\">\n$ sudo engine-config -s UserDefinedNetworkCustomProperties='fcoe=^((enable|dcb|auto_vlan)=(yes|no),?)*$'\n$ sudo systemctl restart ovirt-engine.service\n<\/code><\/pre>\n<p><\/p>\n<h4>Konfiguro Node FCoE<\/h4>\n<p>\nN\u00eb oVirt-Host&#8217;at duhet t\u00eb instaloni <\/p>\n<pre><code class=\"bash\">$ sudo yum install vdsm-hook-fcoe<\/code><\/pre>\n<p>\nM\u00eb pas, konfigurimi i zakonsh\u00ebm i FCoE, artikulli n\u00eb Red Hat: <noindex><a rel=\"nofollow\" href=\"https:\/\/access.redhat.com\/documentation\/en-us\/red_hat_enterprise_linux\/7\/html\/storage_administration_guide\/fcoe-config\">25.5. Konfigurimi i Nj\u00eb Interfese Fibre Channel mbi Ethernet<\/a><\/noindex>.<\/p>\n<p>P\u00ebr Broadcom CNA, shikojm\u00eb gjithashtu <noindex><a rel=\"nofollow\" href=\"https:\/\/support.hpe.com\/hpesc\/public\/docDisplay?docId=c04236477\">Udh\u00ebzuesi i P\u00ebrdoruesit p\u00ebr Konfigurimin e FCoE p\u00ebr Adaptar\u00ebt e Nd\u00ebrtuar nga Broadcom<\/a><\/noindex>.<\/p>\n<p>Sigurohuni q\u00eb paketat t\u00eb jen\u00eb t\u00eb instaluara (ndodhin tashm\u00eb n\u00eb minimal):<\/p>\n<pre><code class=\"bash\">$ sudo yum install fcoe-utils lldpad<\/code><\/pre>\n<p>\nM\u00eb pas, konfigurimi vet\u00eb (n\u00eb vend t\u00eb ens3f2 dhe ens3f3 vendosim emrat CNA, t\u00eb cilat jan\u00eb t\u00eb lidhura me rrjetin e ruajtjes):<\/p>\n<pre><code class=\"bash\">$ sudo cp \/etc\/fcoe\/cfg-ethx \/etc\/fcoe\/cfg-ens3f2\n$ sudo cp \/etc\/fcoe\/cfg-ethx \/etc\/fcoe\/cfg-ens3f3\n$ sudo vim \/etc\/fcoe\/cfg-ens3f2\n$ sudo vim \/etc\/fcoe\/cfg-ens3f3\n<\/code><\/pre>\n<p>\n<b>\u00cbht\u00eb e r\u00ebnd\u00ebsishme<\/b>: n\u00ebse nd\u00ebrfaqja rrjetore mb\u00ebshtet n\u00eb m\u00ebnyr\u00eb harduerike DCB\/DCBX, parametri DCB_REQUIRED duhet t\u00eb vendoset n\u00eb no.<\/p>\n<p>DCB_REQUIRED='yes' \u2192 <b>#<\/b>DCB_REQUIRED='yes'<\/p>\n<p>M\u00eb pas, duhen siguruar q\u00eb adminStatus t\u00eb jet\u00eb i \u00e7aktivizuar n\u00eb t\u00eb gjitha nd\u00ebrfaqet, p\u00ebrfshir\u00eb ato pa FCoE aktivizuar:<\/p>\n<pre><code class=\"bash\">$ sudo lldptool set-lldp -i ens3f0 adminStatus=disabled\n...\n$ sudo lldptool set-lldp -i ens3f3 adminStatus=disabled\n<\/code><\/pre>\n<p>\nN\u00ebse ka nd\u00ebrfaqe t\u00eb tjera rrjetore, mund t\u00eb aktivizoni LLDP:<\/p>\n<pre><code class=\"bash\">$ sudo systemctl start lldpad\n$ sudo systemctl enable lldpad\n<\/code><\/pre>\n<p>\nSi ishte p\u00ebrmendur m\u00eb par\u00eb, n\u00ebse p\u00ebrdoret DCB\/DCBX harduerik, konfigurimi DCB_REQUIRED duhet t\u00eb aktivizohet n\u00eb <b>jo<\/b> dhe ky hap mund t\u00eb anashkalohet.<\/p>\n<pre><code class=\"bash\">$ sudo dcbtool sc ens3f2 dcb on\n$ sudo dcbtool sc ens3f3 dcb on\n$ sudo dcbtool sc ens3f2 app:fcoe e:1\n$ sudo dcbtool sc ens3f3 app:fcoe e:1\n$ sudo ip link set dev ens3f2 up\n$ sudo ip link set dev ens3f3 up\n$ sudo systemctl start fcoe\n$ sudo systemctl enable fcoe\n<\/code><\/pre>\n<p>\nP\u00ebr interfesat rrjetore kontrolloni n\u00ebse auto-start \u00ebsht\u00eb aktivizuar:<\/p>\n<pre><code class=\"bash\">$ sudo vim \/etc\/sysconfig\/network-scripts\/ifcfg-ens3f2\n$ sudo vim \/etc\/sysconfig\/network-scripts\/ifcfg-ens3f3\n<\/code><\/pre>\n<p><\/p>\n<pre><code class=\"plaintext\">ONBOOT=yes<\/code><\/pre>\n<p>\nShikoni interfesat FCoE t\u00eb konfigurara, output-i i komand\u00ebs nuk duhet t\u00eb jet\u00eb i zbraz\u00ebt.<\/p>\n<pre><code class=\"bash\">$ sudo fcoeadm -i<\/code><\/pre>\n<p>\nKonfigurimi i m\u00ebtejsh\u00ebm i FCoE b\u00ebhet si p\u00ebr FC-n\u00eb e zakonshme.<\/p>\n<p>M\u00eb pas vjen konfigurimi i sistemeve dhe rrjetit t\u00eb magazinimit \u2014 zonimi, SAN-hostet, krijimi dhe prezantimi i volumesh\/LUN&#8217;ve, pas s\u00eb cil\u00ebs magazina mund t\u00eb lidhet me ovirt-host&#8217;at: Storage \u2192 Domains \u2192 New Domain.<\/p>\n<p>Funksioni i Domain-it e l\u00ebm\u00eb Data, Lloji i Ruajtjes \u2014 Fibre Channel, Host \u2014 \u00e7far\u00ebdo, emri \u2014 p.sh., storNN-volMM.<\/p>\n<p>Sigurisht, sistemi juaj i ruajtjes lejon lidhjen jo vet\u00ebm p\u00ebr ruajtjen e rrug\u00ebve, por edhe balancimin. Shum\u00eb sisteme moderne jan\u00eb t\u00eb afta t\u00eb transferojn\u00eb t\u00eb dh\u00ebnat n\u00ebp\u00ebr t\u00eb gjitha rrug\u00ebt n\u00eb m\u00ebnyr\u00eb t\u00eb optimizuar (ALUA aktive\/aktive).<\/p>\n<p>P\u00ebr t\u00eb aktivizuar t\u00eb gjitha rrug\u00ebt n\u00eb gjendje aktive, duhet t\u00eb konfiguroni multi-pathing, p\u00ebr k\u00ebt\u00eb do t\u00eb flasim n\u00eb artikujt e ardhsh\u00ebm.<\/p>\n<p>Konfigurimi i NFS dhe iSCSI b\u00ebhet n\u00eb m\u00ebnyr\u00eb t\u00eb ngjashme.<br \/>\n<noindex><a rel=\"nofollow\" name=\"host-iso\"><\/a><\/noindex><\/p>\n<h3>Marrja e depozit\u00ebs ISO<\/h3>\n<p>\nP\u00ebr instalimin e OS do t\u00eb nevojiten skedar\u00ebt e tyre t\u00eb instalimit, shpesh n\u00eb form\u00ebn e imazheve ISO. Mund t\u00eb p\u00ebrdorni rrug\u00ebn e brendshme, por p\u00ebr t\u00eb punuar me imazhet n\u00eb oVirt \u00ebsht\u00eb krijuar nj\u00eb lloj i ve\u00e7ant\u00eb ruajtjeje \u2014 ISO, e cila mund t\u00eb drejtohet n\u00eb serverin NFS. Shtojm\u00eb at\u00eb:<\/p>\n<p>Storage \u2192 Domains \u2192 New Domain,<br \/>\nFunksioni i Domain-it \u2192 ISO, <br \/>\nRruga e Eksportit \u2014 p.sh., mynfs01.example.com:\/exports\/ovirt-iso (n\u00eb momentin e lidhjes folderi duhet t\u00eb jet\u00eb i zbraz\u00ebt, menaxheri duhet t\u00eb ket\u00eb mund\u00ebsi t\u00eb shkruaj\u00eb n\u00eb t\u00eb),<br \/>\nEmri \u2014 p.sh., mynfs01-iso.<\/p>\n<p>P\u00ebr ruajtjen e imazheve, menaxheri do t\u00eb krijoj\u00eb nj\u00eb struktur\u00eb <br \/>\n\/exports\/ovirt-iso<b>\/&lt;some UUID&gt;\/images\/11111111-1111-1111-1111-111111111111\/<\/b><\/p>\n<p>N\u00ebse n\u00eb serverin ton\u00eb NFS tashm\u00eb ka imazhe ISO, p\u00ebr kursim hap\u00ebsire \u00ebsht\u00eb e p\u00ebrshtatshme q\u00eb n\u00eb vend t\u00eb kopjimit t\u00eb skedar\u00ebve t'i lidhim ata n\u00eb k\u00ebt\u00eb folder.<br \/>\n<noindex><a rel=\"nofollow\" name=\"1stVM\"><\/a><\/noindex><\/p>\n<h2>VM e par\u00eb<\/h2>\n<p>\nN\u00eb k\u00ebt\u00eb faz\u00eb \u00ebsht\u00eb e mundur t\u00eb krijoni makin\u00eb virtuale t\u00eb par\u00eb, t\u00eb instaloni OS dhe aplikacione.<\/p>\n<p>Compute \u2192 Virtual Machines \u2192 New<\/p>\n<p>P\u00ebr makin\u00ebn e re jepni emrin (Name), krijoni nj\u00eb disk (Instance Images \u2192 Create) dhe lidheni interfesin rrjetor (Instantiate VM network interfaces by picking a vNIC profile \u2192 zgjidhni nga lista p\u00ebr momentin vet\u00ebm ovirtmgmt).<\/p>\n<p>N\u00eb an\u00ebn e klientit nevojitet nj\u00eb shfletues modern dhe <noindex><a rel=\"nofollow\" href=\"https:\/\/www.spice-space.org\/download.html\">klienti SPICE<\/a><\/noindex> p\u00ebr nd\u00ebrveprimin me konsol\u00ebn.<\/p>\n<p>Makin\u00eb e par\u00eb \u00ebsht\u00eb nisur me sukses. Megjithat\u00eb, p\u00ebr t\u00eb punuar m\u00eb plot\u00ebsisht, \u00ebsht\u00eb e nevojshme t\u00eb kryhen disa cil\u00ebsime shtes\u00eb, p\u00ebr t\u00eb cilat do t\u00eb vazhdojm\u00eb n\u00eb artikujt e ardhsh\u00ebm.<br \/>\n<br \/>Burimi: <a content=\"nofollow\" rel=\"nofollow\" href=\"https:\/\/habr.com\/ru\/post\/501182\/\">habr.com<\/a> <\/p>","protected":false,"gt_translate_keys":[{"key":"rendered","format":"html"}]},"excerpt":{"rendered":"<p>\u042d\u0442\u0430 \u0441\u0442\u0430\u0442\u044c\u044f \u2014 \u0441\u043b\u0435\u0434\u0443\u044e\u0449\u0430\u044f \u0432 \u0446\u0438\u043a\u043b\u0435 \u043f\u043e oVirt, \u043d\u0430\u0447\u0430\u043b\u043e \u0437\u0434\u0435\u0441\u044c. \u0421\u0442\u0430\u0442\u044c\u0438 \u0412\u0432\u0435\u0434\u0435\u043d\u0438\u0435 \u0423\u0441\u0442\u0430\u043d\u043e\u0432\u043a\u0430 \u043c\u0435\u043d\u0435\u0434\u0436\u0435\u0440\u0430 (ovirt-engine) \u0438 \u0433\u0438\u043f\u0435\u0440\u0432\u0438\u0437\u043e\u0440\u043e\u0432 (hosts) \u2014 \u041c\u044b \u0437\u0434\u0435\u0441\u044c \u0414\u043e\u043f\u043e\u043b\u043d\u0438\u0442\u0435\u043b\u044c\u043d\u044b\u0435 \u043d\u0430\u0441\u0442\u0440\u043e\u0439\u043a\u0438 \u0418\u0442\u0430\u043a, \u0440\u0430\u0441\u0441\u043c\u043e\u0442\u0440\u0438\u043c \u0432\u043e\u043f\u0440\u043e\u0441\u044b \u043f\u0435\u0440\u0432\u0438\u0447\u043d\u043e\u0439 \u0443\u0441\u0442\u0430\u043d\u043e\u0432\u043a\u0438 \u043a\u043e\u043c\u043f\u043e\u043d\u0435\u043d\u0442\u043e\u0432 ovirt-engine \u0438 ovirt-host. \u0411\u043e\u043b\u0435\u0435 \u043f\u043e\u0434\u0440\u043e\u0431\u043d\u043e \u043f\u0440\u043e\u0446\u0435\u0441\u0441\u044b \u0443\u0441\u0442\u0430\u043d\u043e\u0432\u043a\u0438 \u0432\u0441\u0435\u0433\u0434\u0430 \u043c\u043e\u0436\u043d\u043e \u043f\u043e\u0441\u043c\u043e\u0442\u0440\u0435\u0442\u044c \u0432 \u0434\u043e\u043a\u0443\u043c\u0435\u043d\u0442\u0430\u0446\u0438\u0438. \u0421\u043e\u0434\u0435\u0440\u0436\u0430\u043d\u0438\u0435 \u0423\u0441\u0442\u0430\u043d\u043e\u0432\u043a\u0430 ovirt-engine \u0423\u0441\u0442\u0430\u043d\u043e\u0432\u043a\u0430 ovirt-host \u0414\u043e\u0431\u0430\u0432\u043b\u0435\u043d\u0438\u0435 \u0443\u0437\u043b\u0430 \u0432 oVirtN \u041d\u0430\u0441\u0442\u0440\u043e\u0439\u043a\u0430 \u0441\u0435\u0442\u0435\u0432\u043e\u0433\u043e \u0438\u043d\u0442\u0435\u0440\u0444\u0435\u0439\u0441\u0430 \u041d\u0430\u0441\u0442\u0440\u043e\u0439\u043a\u0430 FC [&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":[688],"tags":[],"class_list":["post-82494","post","type-post","status-publish","format-standard","hentry","category-administrirovanie"],"aioseo_notices":[],"aioseo_head":"\n\t\t<!-- All in One SEO 5.0.2 - aioseo.com -->\n\t<meta name=\"description\" content=\"\u042d\u0442\u0430 \u0441\u0442\u0430\u0442\u044c\u044f \u2014 \u0441\u043b\u0435\u0434\u0443\u044e\u0449\u0430\u044f \u0432 \u0446\u0438\u043a\u043b\u0435 \u043f\u043e oVirt, \u043d\u0430\u0447\u0430\u043b\u043e \u0437\u0434\u0435\u0441\u044c. \u0421\u0442\u0430\u0442\u044c\u0438\" \/>\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\/sq\/blog\/administrirovanie\/ovirt-za-2-chasa-chast-2-ustanovka-menedzhera-i-hostov\" \/>\n\t<meta name=\"generator\" content=\"All in One SEO (AIOSEO) 5.0.2\" \/>\n\t\t<meta property=\"og:locale\" content=\"sq_AL\" \/>\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\udd47oVirt \u0437\u0430 2 \u0447\u0430\u0441\u0430. \u0427\u0430\u0441\u0442\u044c 2. \u0423\u0441\u0442\u0430\u043d\u043e\u0432\u043a\u0430 \u043c\u0435\u043d\u0435\u0434\u0436\u0435\u0440\u0430 \u0438 \u0445\u043e\u0441\u0442\u043e\u0432 | ProHoster\" \/>\n\t\t<meta property=\"og:description\" content=\"\u042d\u0442\u0430 \u0441\u0442\u0430\u0442\u044c\u044f \u2014 \u0441\u043b\u0435\u0434\u0443\u044e\u0449\u0430\u044f \u0432 \u0446\u0438\u043a\u043b\u0435 \u043f\u043e oVirt, \u043d\u0430\u0447\u0430\u043b\u043e \u0437\u0434\u0435\u0441\u044c. \u0421\u0442\u0430\u0442\u044c\u0438\" \/>\n\t\t<meta property=\"og:url\" content=\"https:\/\/prohoster.info\/sq\/blog\/administrirovanie\/ovirt-za-2-chasa-chast-2-ustanovka-menedzhera-i-hostov\" \/>\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=\"2020-05-21T23:42:24+00:00\" \/>\n\t\t<meta property=\"article:modified_time\" content=\"2020-05-21T23:42:24+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\udd47oVirt n\u00eb 2 or\u00eb. Pjesa 2. Instalimi i menaxherit dhe hosteve | ProHoster","description":"Ky artikull \u00ebsht\u00eb i ardhshmi n\u00eb ciklin p\u00ebr oVirt, fillimi k\u00ebtu. Artikujt.","canonical_url":"https:\/\/prohoster.info\/sq\/blog\/administrirovanie\/ovirt-za-2-chasa-chast-2-ustanovka-menedzhera-i-hostov","robots":"max-image-preview:large","keywords":"","webmasterTools":{"miscellaneous":""},"schema":null,"og:locale":"sq_AL","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\udd47oVirt \u0437\u0430 2 \u0447\u0430\u0441\u0430. \u0427\u0430\u0441\u0442\u044c 2. \u0423\u0441\u0442\u0430\u043d\u043e\u0432\u043a\u0430 \u043c\u0435\u043d\u0435\u0434\u0436\u0435\u0440\u0430 \u0438 \u0445\u043e\u0441\u0442\u043e\u0432 | ProHoster","og:description":"\u042d\u0442\u0430 \u0441\u0442\u0430\u0442\u044c\u044f \u2014 \u0441\u043b\u0435\u0434\u0443\u044e\u0449\u0430\u044f \u0432 \u0446\u0438\u043a\u043b\u0435 \u043f\u043e oVirt, \u043d\u0430\u0447\u0430\u043b\u043e \u0437\u0434\u0435\u0441\u044c. \u0421\u0442\u0430\u0442\u044c\u0438","og:url":"https:\/\/prohoster.info\/sq\/blog\/administrirovanie\/ovirt-za-2-chasa-chast-2-ustanovka-menedzhera-i-hostov","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":"2020-05-21T23:42:24+00:00","article:modified_time":"2020-05-21T23:42:24+00:00","article:publisher":"https:\/\/www.facebook.com\/prohoster","article:author":"https:\/\/www.facebook.com\/prohoster"},"aioseo_meta_data":{"post_id":"82494","title":null,"description":null,"keywords":null,"keyphrases":null,"primary_term":null,"canonical_url":null,"og_title":null,"og_description":null,"og_object_type":"default","og_image_type":"default","og_image_url":null,"og_image_width":null,"og_image_height":null,"og_image_custom_url":null,"og_image_custom_fields":null,"og_video":null,"og_custom_url":null,"og_article_section":null,"og_article_tags":null,"twitter_use_og":false,"twitter_card":"default","twitter_image_type":"default","twitter_image_url":null,"twitter_image_custom_url":null,"twitter_image_custom_fields":null,"twitter_title":null,"twitter_description":null,"schema":{"blockGraphs":[],"customGraphs":[],"default":{"data":{"Article":[],"Course":[],"Dataset":[],"FAQPage":[],"Movie":[],"Person":[],"Product":[],"ProductReview":[],"Car":[],"Recipe":[],"Service":[],"SoftwareApplication":[],"WebPage":[]},"graphName":"","isEnabled":true},"graphs":[]},"schema_type":null,"schema_type_options":null,"pillar_content":false,"robots_default":true,"robots_noindex":false,"robots_noarchive":false,"robots_nosnippet":false,"robots_nofollow":false,"robots_noimageindex":false,"robots_noodp":false,"robots_notranslate":false,"robots_max_snippet":null,"robots_max_videopreview":null,"robots_max_imagepreview":"large","priority":null,"frequency":null,"local_seo":null,"seo_analyzer_scan_date":null,"breadcrumb_settings":null,"limit_modified_date":false,"reviewed_by":null,"ai":null,"created":"2021-02-28 15:36:26","updated":"2022-09-28 08:12:22","focus_keyword":null,"additional_keywords":null,"truseo_locale":null},"gt_translate_keys":[{"key":"link","format":"url"}],"_links":{"self":[{"href":"https:\/\/prohoster.info\/sq\/wp-json\/wp\/v2\/posts\/82494","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/prohoster.info\/sq\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/prohoster.info\/sq\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/prohoster.info\/sq\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/prohoster.info\/sq\/wp-json\/wp\/v2\/comments?post=82494"}],"version-history":[{"count":0,"href":"https:\/\/prohoster.info\/sq\/wp-json\/wp\/v2\/posts\/82494\/revisions"}],"wp:attachment":[{"href":"https:\/\/prohoster.info\/sq\/wp-json\/wp\/v2\/media?parent=82494"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/prohoster.info\/sq\/wp-json\/wp\/v2\/categories?post=82494"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/prohoster.info\/sq\/wp-json\/wp\/v2\/tags?post=82494"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}