<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>Mutlu BALIK</title>
	<atom:link href="https://mutlubalik.com/feed/" rel="self" type="application/rss+xml" />
	<link>https://mutlubalik.com</link>
	<description></description>
	<lastBuildDate>Mon, 12 Aug 2024 13:42:15 +0000</lastBuildDate>
	<language>tr</language>
	<sy:updatePeriod>
	hourly	</sy:updatePeriod>
	<sy:updateFrequency>
	1	</sy:updateFrequency>
	<generator>https://wordpress.org/?v=6.9.4</generator>

<image>
	<url>https://mutlubalik.com/wp-content/uploads/2021/12/cropped-CcUjyxc9_400x400-32x32.jpg</url>
	<title>Mutlu BALIK</title>
	<link>https://mutlubalik.com</link>
	<width>32</width>
	<height>32</height>
</image> 
	<item>
		<title>Ansible ile vCenter Üzerinde Sunucu Kurulum İşlemi</title>
		<link>https://mutlubalik.com/ansible-ile-vcenter-uzerinde-sunucu-kurulum-islemi/</link>
		
		<dc:creator><![CDATA[Mutlu BALIK]]></dc:creator>
		<pubDate>Mon, 12 Aug 2024 11:42:50 +0000</pubDate>
				<category><![CDATA[VMware]]></category>
		<guid isPermaLink="false">https://mutlubalik.com/?p=3913</guid>

					<description><![CDATA[Hizmet sağladığımız ortamlar her geçen gün büyümekte ve ortamımıza yeni&#160;&#160;sunucular&#160;eklenmektedir.Yeni&#160;&#160;sunucuları&#160;her defasında iso bağlayıp kurmak ve yapılandırmak uzun sürebilmektedir.Bu durumda ihtiyaçlarımız doğrultusunda template hazırlayıp süreci hızlandırabiliriz.Template’i hazırladık ve ihtiyacımız olan yeni&#160;&#160;sunucuları&#160;kurmaya hazır durumdayız. Ancak template’i kullanarak klonladığımız sunucularda ip verme ve domaine alma gibi işlemleri şuan için manuel yapmaktayız.Bu işlemleri manuel yapmak yerine belirli konfigürasyonları kullanarak [&#8230;]]]></description>
										<content:encoded><![CDATA[
<p>Hizmet sağladığımız ortamlar her geçen gün büyümekte ve ortamımıza yeni&nbsp;&nbsp;sunucular&nbsp;eklenmektedir.<br>Yeni&nbsp;&nbsp;sunucuları&nbsp;her defasında iso bağlayıp kurmak ve yapılandırmak uzun sürebilmektedir.<br>Bu durumda ihtiyaçlarımız doğrultusunda template hazırlayıp süreci hızlandırabiliriz.<br>Template’i hazırladık ve ihtiyacımız olan yeni&nbsp;&nbsp;sunucuları&nbsp;kurmaya hazır durumdayız. Ancak template’i kullanarak klonladığımız sunucularda ip verme ve domaine alma gibi işlemleri şuan için manuel yapmaktayız.<br>Bu işlemleri manuel yapmak yerine belirli konfigürasyonları kullanarak otomatize etmek süreci dahada iyi bir hale getirecektir.<br></p>



<p>İşte bu noktada bize ansible yardımcı olmaktadır. Ansible <strong>community.vmware</strong> modulü ile vmware ortamlarımızı yönetebilmekteyiz.<br>Ben bu makalede örnek olarak Windows&nbsp;&nbsp;Server&nbsp;2019 template’i oluşturarak sunucu deploy işlemini inceliyor olacağım.</p>



<p>Öncelikle normal bir sunucu kurulumu gerçekleştirerek&nbsp;&nbsp;VMware&nbsp;tools yüklemeliyiz. Ardından ihtiyacınız olan diğer yapılandırmalarıda sırayla yapabilirsiniz. Ben sunucu kurulumuna burada yer vermeyeceğim. Aşağıdaki link üzerinden inceleyebilirsiniz.</p>



<p style="font-size:11px">Template oluşturma hk: <a href="https://azurearcjumpstart.com/azure_arc_jumpstart/azure_arc_servers/vmware/vmware_terraform_winsrv/vmware_winsrv2k19_template">https://azurearcjumpstart.com/azure_arc_jumpstart/azure_arc_servers/vmware/vmware_terraform_winsrv/vmware_winsrv2k19_template</a></p>



<p><strong>NOT: </strong>Yapılandırma işlemleri tamamlandıktan sonra sunucuya sysprep atmadan shutdown yapmanız gerekmektedir.<br>Sysprep işlemini pyvmomi paketi gerçekleştirmektedir.</p>



<p><strong>Gereksinimler</strong></p>



<p>dnf install ansible-core<br>dnf install python3.12-requests<br>dnf install python3.12-pip<br>pip3 install pyvmomi<br>ansible-galaxy collection install community.vmware<br></p>


<div class="wp-block-image">
<figure class="aligncenter size-full"><img fetchpriority="high" decoding="async" width="1015" height="705" src="https://mutlubalik.com/wp-content/uploads/2024/08/2.png" alt="" class="wp-image-3928" srcset="https://mutlubalik.com/wp-content/uploads/2024/08/2.png 1015w, https://mutlubalik.com/wp-content/uploads/2024/08/2-300x208.png 300w, https://mutlubalik.com/wp-content/uploads/2024/08/2-768x533.png 768w" sizes="(max-width: 1015px) 100vw, 1015px" /></figure>
</div>

<div class="wp-block-image">
<figure class="aligncenter size-full"><img decoding="async" width="840" height="150" src="https://mutlubalik.com/wp-content/uploads/2024/08/3.png" alt="" class="wp-image-3929" srcset="https://mutlubalik.com/wp-content/uploads/2024/08/3.png 840w, https://mutlubalik.com/wp-content/uploads/2024/08/3-300x54.png 300w, https://mutlubalik.com/wp-content/uploads/2024/08/3-768x137.png 768w" sizes="(max-width: 840px) 100vw, 840px" /></figure>
</div>


<p><strong>ansible &#8211;version</strong> komutuyla yüklü olan ansible versiyonunu görüntüleyebilirsiniz.</p>



<figure class="wp-block-image size-full"><img decoding="async" width="972" height="262" src="https://mutlubalik.com/wp-content/uploads/2024/08/1.png" alt="" class="wp-image-3925" srcset="https://mutlubalik.com/wp-content/uploads/2024/08/1.png 972w, https://mutlubalik.com/wp-content/uploads/2024/08/1-300x81.png 300w, https://mutlubalik.com/wp-content/uploads/2024/08/1-768x207.png 768w" sizes="(max-width: 972px) 100vw, 972px" /></figure>


<div class="wp-block-image">
<figure class="aligncenter size-full"><img loading="lazy" decoding="async" width="1020" height="677" src="https://mutlubalik.com/wp-content/uploads/2024/08/4.png" alt="" class="wp-image-3930" srcset="https://mutlubalik.com/wp-content/uploads/2024/08/4.png 1020w, https://mutlubalik.com/wp-content/uploads/2024/08/4-300x199.png 300w, https://mutlubalik.com/wp-content/uploads/2024/08/4-768x510.png 768w" sizes="auto, (max-width: 1020px) 100vw, 1020px" /></figure>
</div>

<div class="wp-block-image">
<figure class="aligncenter size-large"><img loading="lazy" decoding="async" width="1024" height="680" src="https://mutlubalik.com/wp-content/uploads/2024/08/5-1024x680.png" alt="" class="wp-image-3931" srcset="https://mutlubalik.com/wp-content/uploads/2024/08/5-1024x680.png 1024w, https://mutlubalik.com/wp-content/uploads/2024/08/5-300x199.png 300w, https://mutlubalik.com/wp-content/uploads/2024/08/5-768x510.png 768w, https://mutlubalik.com/wp-content/uploads/2024/08/5.png 1030w" sizes="auto, (max-width: 1024px) 100vw, 1024px" /></figure>
</div>

<div class="wp-block-image">
<figure class="aligncenter size-full"><img loading="lazy" decoding="async" width="995" height="324" src="https://mutlubalik.com/wp-content/uploads/2024/08/6.png" alt="" class="wp-image-3932" srcset="https://mutlubalik.com/wp-content/uploads/2024/08/6.png 995w, https://mutlubalik.com/wp-content/uploads/2024/08/6-300x98.png 300w, https://mutlubalik.com/wp-content/uploads/2024/08/6-768x250.png 768w" sizes="auto, (max-width: 995px) 100vw, 995px" /></figure>
</div>

<div class="wp-block-image">
<figure class="aligncenter size-full"><img loading="lazy" decoding="async" width="977" height="132" src="https://mutlubalik.com/wp-content/uploads/2024/08/7.png" alt="" class="wp-image-3933" srcset="https://mutlubalik.com/wp-content/uploads/2024/08/7.png 977w, https://mutlubalik.com/wp-content/uploads/2024/08/7-300x41.png 300w, https://mutlubalik.com/wp-content/uploads/2024/08/7-768x104.png 768w" sizes="auto, (max-width: 977px) 100vw, 977px" /></figure>
</div>


<p><strong>ansible-galaxy&nbsp;collection&nbsp;list</strong> komutu ile yüklü modülleri görüntüleyebiliriz.</p>


<div class="wp-block-image">
<figure class="aligncenter size-full"><img loading="lazy" decoding="async" width="539" height="177" src="https://mutlubalik.com/wp-content/uploads/2024/08/8.png" alt="" class="wp-image-3934" srcset="https://mutlubalik.com/wp-content/uploads/2024/08/8.png 539w, https://mutlubalik.com/wp-content/uploads/2024/08/8-300x99.png 300w" sizes="auto, (max-width: 539px) 100vw, 539px" /></figure>
</div>


<p>vars.yml dosyasında oluşturulacak olan sunucuya ait parametreler bulunmaktadır. İhtiyaçlarına göre düzenleyebilirsiniz.</p>


<div class="wp-block-image">
<figure class="aligncenter size-full"><img loading="lazy" decoding="async" width="680" height="625" src="https://mutlubalik.com/wp-content/uploads/2024/08/18.png" alt="" class="wp-image-3999" srcset="https://mutlubalik.com/wp-content/uploads/2024/08/18.png 680w, https://mutlubalik.com/wp-content/uploads/2024/08/18-300x276.png 300w" sizes="auto, (max-width: 680px) 100vw, 680px" /></figure>
</div>


<div class="wp-block-file"><a id="wp-block-file--media-5df4a7e0-c1fa-449e-b1b3-87ae82c24ace" href="https://mutlubalik.com/wp-content/uploads/2024/08/vars.txt">vars</a><a href="https://mutlubalik.com/wp-content/uploads/2024/08/vars.txt" class="wp-block-file__button wp-element-button" download aria-describedby="wp-block-file--media-5df4a7e0-c1fa-449e-b1b3-87ae82c24ace">İndir</a></div>



<p>deployvm.yml playbook içinde bulunan parametrelerimiz aşağıdaki gibidir;</p>


<div class="wp-block-image">
<figure class="aligncenter size-full"><img loading="lazy" decoding="async" width="647" height="636" src="https://mutlubalik.com/wp-content/uploads/2024/08/19.png" alt="" class="wp-image-3998" srcset="https://mutlubalik.com/wp-content/uploads/2024/08/19.png 647w, https://mutlubalik.com/wp-content/uploads/2024/08/19-300x295.png 300w" sizes="auto, (max-width: 647px) 100vw, 647px" /></figure>
</div>




<p><strong>vi password.yml </strong>komutu ile yeni bir yml dosyası açılarak <strong>vcenter_password</strong> ve <strong>domain_adminpassword </strong>bilgileri girilir.</p>


<div class="wp-block-image">
<figure class="aligncenter size-full"><img loading="lazy" decoding="async" width="574" height="114" src="https://mutlubalik.com/wp-content/uploads/2024/08/9.png" alt="" class="wp-image-3937" srcset="https://mutlubalik.com/wp-content/uploads/2024/08/9.png 574w, https://mutlubalik.com/wp-content/uploads/2024/08/9-300x60.png 300w" sizes="auto, (max-width: 574px) 100vw, 574px" /></figure>
</div>


<p><strong>ansible-vault encrypt password.yml</strong> komutu ile password.yml içindeki bilgiler şifrelenir. Burada girilen şifre unutulmamalıdır. Playbook çalıştırılırken kullanılacaktır.</p>


<div class="wp-block-image">
<figure class="aligncenter size-full"><img loading="lazy" decoding="async" width="558" height="132" src="https://mutlubalik.com/wp-content/uploads/2024/08/10.png" alt="" class="wp-image-3938" srcset="https://mutlubalik.com/wp-content/uploads/2024/08/10.png 558w, https://mutlubalik.com/wp-content/uploads/2024/08/10-300x71.png 300w" sizes="auto, (max-width: 558px) 100vw, 558px" /></figure>
</div>


<p>Şifreleme işleminden sonra password.yml dosyasının içeriği aşağıdaki gibi görüntülenmektedir.</p>


<div class="wp-block-image">
<figure class="aligncenter size-full"><img loading="lazy" decoding="async" width="778" height="238" src="https://mutlubalik.com/wp-content/uploads/2024/08/11.png" alt="" class="wp-image-3939" srcset="https://mutlubalik.com/wp-content/uploads/2024/08/11.png 778w, https://mutlubalik.com/wp-content/uploads/2024/08/11-300x92.png 300w, https://mutlubalik.com/wp-content/uploads/2024/08/11-768x235.png 768w" sizes="auto, (max-width: 778px) 100vw, 778px" /></figure>
</div>


<p><strong>ansible-playbook deployvm.yml &#8211;ask-vault-pass</strong> komutu ile deploy işlemi başlatılır. Komutun sonuna -vvv eklenerek detaylı log aktif edilebilir.</p>


<div class="wp-block-image">
<figure class="aligncenter size-full"><img loading="lazy" decoding="async" width="856" height="429" src="https://mutlubalik.com/wp-content/uploads/2024/08/12.png" alt="" class="wp-image-3949" srcset="https://mutlubalik.com/wp-content/uploads/2024/08/12.png 856w, https://mutlubalik.com/wp-content/uploads/2024/08/12-300x150.png 300w, https://mutlubalik.com/wp-content/uploads/2024/08/12-768x385.png 768w" sizes="auto, (max-width: 856px) 100vw, 856px" /></figure>
</div>


<p>Belirlemiş olduğumuz parametrelere göre konfigürasyon işlemi başlatılmıştır.</p>


<div class="wp-block-image">
<figure class="aligncenter size-large"><img loading="lazy" decoding="async" width="1024" height="465" src="https://mutlubalik.com/wp-content/uploads/2024/08/13-1024x465.png" alt="" class="wp-image-3952" srcset="https://mutlubalik.com/wp-content/uploads/2024/08/13-1024x465.png 1024w, https://mutlubalik.com/wp-content/uploads/2024/08/13-300x136.png 300w, https://mutlubalik.com/wp-content/uploads/2024/08/13-768x349.png 768w, https://mutlubalik.com/wp-content/uploads/2024/08/13.png 1037w" sizes="auto, (max-width: 1024px) 100vw, 1024px" /></figure>
</div>


<p>Aşağıdaki logda sysprep işlemine ait detaylar bulunmaktadır.</p>


<div class="wp-block-image">
<figure class="aligncenter size-large"><img loading="lazy" decoding="async" width="1024" height="35" src="https://mutlubalik.com/wp-content/uploads/2024/08/14-1024x35.png" alt="" class="wp-image-3954" srcset="https://mutlubalik.com/wp-content/uploads/2024/08/14-1024x35.png 1024w, https://mutlubalik.com/wp-content/uploads/2024/08/14-300x10.png 300w, https://mutlubalik.com/wp-content/uploads/2024/08/14-768x26.png 768w, https://mutlubalik.com/wp-content/uploads/2024/08/14.png 1117w" sizes="auto, (max-width: 1024px) 100vw, 1024px" /></figure>
</div>


<p>Sunucudaki yapılandırma işlemleri başarılı bir şekilde tamamlanmıştır.</p>


<div class="wp-block-image">
<figure class="aligncenter size-large"><img loading="lazy" decoding="async" width="1024" height="350" src="https://mutlubalik.com/wp-content/uploads/2024/08/17-1024x350.png" alt="" class="wp-image-3966" srcset="https://mutlubalik.com/wp-content/uploads/2024/08/17-1024x350.png 1024w, https://mutlubalik.com/wp-content/uploads/2024/08/17-300x102.png 300w, https://mutlubalik.com/wp-content/uploads/2024/08/17-768x262.png 768w, https://mutlubalik.com/wp-content/uploads/2024/08/17.png 1040w" sizes="auto, (max-width: 1024px) 100vw, 1024px" /></figure>
</div>


<p>Bu makalede ansible ile sunucu deploy ve yapılandırma işlemini inceledik. Sağlıkla kalın…</p>



<p style="font-size:12px">reference:<a href="https://docs.redhat.com/en/documentation/red_hat_enterprise_linux/9/html/installing_and_using_dynamic_programming_languages/assembly_installing-and-using-python_installing-and-using-dynamic-programming-languages#proc_installing-additional-python-3-packages_assembly_installing-and-using-python">https://docs.redhat.com/en/documentation/red_hat_enterprise_linux/9/html/installing_and_using_dynamic_programming_languages/assembly_installing-and-using-python_installing-and-using-dynamic-programming-languages#proc_installing-additional-python-3-packages_assembly_installing-and-using-python</a><br>reference:<a href="https://docs.ansible.com/ansible/latest/collections/community/vmware/vmware_guest_module.html#ansible-collections-community-vmware-vmware-guest-module-parameter-customization-joinworkgroup" target="_blank" rel="noreferrer noopener">https://docs.ansible.com/ansible/latest/collections/community/vmware/vmware_guest_module.html#ansible-collections-community-vmware-vmware-guest-module-parameter-customization-joinworkgroup</a><br>reference: <a href="https://docs.ansible.com/ansible/5/user_guide/vault.html">https://docs.ansible.com/ansible/5/user_guide/vault.html</a></p>
]]></content:encoded>
					
		
		
			</item>
		<item>
		<title>vmss2core ile Snapshot Dosyasından Memory Dump Oluşturma İşlemi</title>
		<link>https://mutlubalik.com/vmss2core-ile-snapshot-dosyasindan-memory-dump-olusturma-islemi/</link>
		
		<dc:creator><![CDATA[Mutlu BALIK]]></dc:creator>
		<pubDate>Mon, 25 Mar 2024 13:11:04 +0000</pubDate>
				<category><![CDATA[VMware]]></category>
		<guid isPermaLink="false">https://mutlubalik.com/?p=3868</guid>

					<description><![CDATA[Ortamınızda bulunan sanal sunucular herhangi bir sebepten dolayı crash olup hizmet veremez duruma gelebilmektedir. Bu durumun neden kaynaklandığını tespit etmek için dump dosyalarına ihtiyaç duyulmaktadır. Böyle durumlarda sanal sunucuda snapshot alarak memory dump dosyası elde edebilirsiniz. Snapshot dosyasını memory dump dosyasına çevirmek için vmss2core aracını kullanacağız.https://labs.vmware.com/flings/vmss2core adresinden vmss2core aracı indirilir. Dump dosyası elde etmek için [&#8230;]]]></description>
										<content:encoded><![CDATA[
<p>Ortamınızda bulunan sanal sunucular herhangi bir sebepten dolayı crash olup hizmet veremez duruma gelebilmektedir. Bu durumun neden kaynaklandığını tespit etmek için dump dosyalarına ihtiyaç duyulmaktadır. Böyle durumlarda sanal sunucuda snapshot alarak memory dump dosyası elde edebilirsiniz.</p>



<p>Snapshot dosyasını memory dump dosyasına çevirmek için vmss2core aracını kullanacağız.<br><a href="https://labs.vmware.com/flings/vmss2core">https://labs.vmware.com/flings/vmss2core</a> adresinden vmss2core aracı indirilir.<br></p>



<p>Dump dosyası elde etmek için 2 seçenek bulunmaktadır;</p>



<ul class="wp-block-list">
<li>Sunucu suspend edilerek oluşacak olan vmss ve vmem dosyası indirilir.</li>



<li><strong>Include virtual machine&#8217;s memory </strong>seçeneği ile snapshot alınarak oluşan vmsn ve vmem dosyası indirilir.</li>
</ul>



<p>Test işlemleri için snapshot alarak memory dump dosyası oluşturacağım.<br><br>Dump dosyası oluşturmak istediğiniz sunucuda <strong>Include virtual machine&#8217;s memory </strong>seçeneği işaretlenerek snapshot alınır.</p>



<p> </p>


<div class="wp-block-image">
<figure class="aligncenter size-full"><img loading="lazy" decoding="async" width="375" height="292" src="https://mutlubalik.com/wp-content/uploads/2024/03/1.png" alt="" class="wp-image-3870" srcset="https://mutlubalik.com/wp-content/uploads/2024/03/1.png 375w, https://mutlubalik.com/wp-content/uploads/2024/03/1-300x234.png 300w" sizes="auto, (max-width: 375px) 100vw, 375px" /></figure>
</div>


<p>Snapshot alma işlemi tamamlandıktan sonra <strong>Datastores </strong>sekmesine gelinerek sunucunun bulunduğu datastore seçilir.</p>


<div class="wp-block-image">
<figure class="aligncenter size-full"><img loading="lazy" decoding="async" width="706" height="194" src="https://mutlubalik.com/wp-content/uploads/2024/03/5.png" alt="" class="wp-image-3874" srcset="https://mutlubalik.com/wp-content/uploads/2024/03/5.png 706w, https://mutlubalik.com/wp-content/uploads/2024/03/5-300x82.png 300w" sizes="auto, (max-width: 706px) 100vw, 706px" /></figure>
</div>


<p><strong>Files </strong>altında sunucunun bulunduğu klasör seçilerek <strong>vmname-snapshot*.vmem</strong> ve <strong>vmname-snapshot*.vmsn </strong>dosyaları indirilir.<br><strong>NOT: </strong>Sunucunun bulunduğu klasör altında birden fazla vmsn ve vmem dosyası bulunabilir. Dosyaların oluşturulma tarihi kontrol edilerek indirme işlemi yapılmalıdır. </p>


<div class="wp-block-image">
<figure class="aligncenter size-full"><img loading="lazy" decoding="async" width="670" height="381" src="https://mutlubalik.com/wp-content/uploads/2024/03/2.png" alt="" class="wp-image-3871" srcset="https://mutlubalik.com/wp-content/uploads/2024/03/2.png 670w, https://mutlubalik.com/wp-content/uploads/2024/03/2-300x171.png 300w" sizes="auto, (max-width: 670px) 100vw, 670px" /></figure>
</div>


<p>Snapshot dosyasını memory dump dosyasına dönüştürmek için cmd açılarak aşağıdaki komut çalıştırılmalıdır.</p>



<p>vmss2core.exe -W8&nbsp;<strong><em>virtual_machine_name</em></strong>.vmsn&nbsp;<strong><em>virtual_machine_name</em></strong>.vmem </p>



<ul class="wp-block-list">
<li>Windows server 2012 ve sonrası için W8 parametresi kullanılmaktadır.</li>



<li>Windows server 2012 öncesinde W parametresi kullanılmaktadır. </li>



<li>Linux sunucularda N parametresi kullanılmalıdır.</li>
</ul>



<p><br>vmss2core kullanımı ile ilgili daha detaylı bilgiye <a href="https://www.vmware.com/pdf/snapshot2cora_technote.pdf" data-type="link" data-id="https://www.vmware.com/pdf/snapshot2cora_technote.pdf" target="_blank" rel="noreferrer noopener">linkten</a> erişebilirsiniz.</p>


<div class="wp-block-image">
<figure class="aligncenter size-large"><img loading="lazy" decoding="async" width="1024" height="236" src="https://mutlubalik.com/wp-content/uploads/2024/03/3-1024x236.png" alt="" class="wp-image-3872" srcset="https://mutlubalik.com/wp-content/uploads/2024/03/3-1024x236.png 1024w, https://mutlubalik.com/wp-content/uploads/2024/03/3-300x69.png 300w, https://mutlubalik.com/wp-content/uploads/2024/03/3-768x177.png 768w, https://mutlubalik.com/wp-content/uploads/2024/03/3.png 1062w" sizes="auto, (max-width: 1024px) 100vw, 1024px" /></figure>
</div>


<p></p>


<div class="wp-block-image">
<figure class="aligncenter size-full"><img loading="lazy" decoding="async" width="294" height="392" src="https://mutlubalik.com/wp-content/uploads/2024/03/4.png" alt="" class="wp-image-3873" srcset="https://mutlubalik.com/wp-content/uploads/2024/03/4.png 294w, https://mutlubalik.com/wp-content/uploads/2024/03/4-225x300.png 225w" sizes="auto, (max-width: 294px) 100vw, 294px" /></figure>
</div>


<p>Dump işlemi tamamlandıktan sonra windbg aracı ile dump dosyası incelenebilir.</p>



<p>Bu makalede snapshot dosyasından memory dump oluşturma işlemini inceledik. <br><br>Bir sonraki makalede görüşmek üzere. Sağlıkla kalın…</p>



<p style="font-size:12px"><br>reference: <a href="https://kb.vmware.com/s/article/2003941" target="_blank" rel="noreferrer noopener">https://kb.vmware.com/s/article/2003941</a></p>
]]></content:encoded>
					
		
		
			</item>
		<item>
		<title>Advanced Cross vCenter vMotion</title>
		<link>https://mutlubalik.com/advanced-cross-vcenter-vmotion/</link>
		
		<dc:creator><![CDATA[Mutlu BALIK]]></dc:creator>
		<pubDate>Fri, 01 Mar 2024 11:18:22 +0000</pubDate>
				<category><![CDATA[VMware]]></category>
		<guid isPermaLink="false">https://mutlubalik.com/?p=3789</guid>

					<description><![CDATA[Hizmet sağladığınız ortamlarda sunucuları mevcutta bulunduğu vCenter ortamından farklı bir vCenter üzerinde çalıştırmak isteyebilirsiniz. Yada yeni bir proje için farklı bir vCenter üzerine geçiş yapılması gerekebilir. vSphere 7.0 U1c ve üzeri bir versiyona sahipseniz bu işlemi Advanced Cross vCenter Server vMotion teknolojisini kullanarak gerçekleştirebilirsiniz. Bu işlem için aşağıdaki gereksinimleri sağlamanız gerekmektedir; 8000 port erişiminde sorun [&#8230;]]]></description>
										<content:encoded><![CDATA[
<p>Hizmet sağladığınız ortamlarda sunucuları mevcutta bulunduğu vCenter ortamından farklı bir vCenter üzerinde çalıştırmak isteyebilirsiniz. Yada yeni bir proje için farklı bir vCenter üzerine geçiş yapılması gerekebilir. vSphere 7.0 U1c ve üzeri bir versiyona sahipseniz bu işlemi Advanced Cross vCenter Server vMotion teknolojisini kullanarak gerçekleştirebilirsiniz.</p>



<p>Bu işlem için aşağıdaki gereksinimleri sağlamanız gerekmektedir;</p>



<ul class="wp-block-list">
<li>vCenter sunucuları arasında 443 port erişimi gerekmektedir.</li>



<li>NFS için ESXi arasında 902 port erişimi gerekmektedir.</li>



<li>vMotion için ESXi arasında 8000 port erişimi gerekmektedir.</li>



<li>Sunucular kapalı bir şekilde migrate edilecekse vSphere standart lisans sahibi olmanız gerekmektedir.</li>



<li>vMotion işlemi yapılacaksa Enterprise Plus lisans sahibi olmanız gerekmektedir. </li>
</ul>


<div class="wp-block-image">
<figure class="aligncenter size-large"><img loading="lazy" decoding="async" width="1024" height="298" src="https://mutlubalik.com/wp-content/uploads/2024/02/ports-1024x298.png" alt="" class="wp-image-3807" srcset="https://mutlubalik.com/wp-content/uploads/2024/02/ports-1024x298.png 1024w, https://mutlubalik.com/wp-content/uploads/2024/02/ports-300x87.png 300w, https://mutlubalik.com/wp-content/uploads/2024/02/ports-768x224.png 768w, https://mutlubalik.com/wp-content/uploads/2024/02/ports.png 1033w" sizes="auto, (max-width: 1024px) 100vw, 1024px" /></figure>
</div>

<div class="wp-block-image">
<figure class="aligncenter size-full"><img loading="lazy" decoding="async" width="764" height="156" src="https://mutlubalik.com/wp-content/uploads/2024/02/req.png" alt="" class="wp-image-3842" srcset="https://mutlubalik.com/wp-content/uploads/2024/02/req.png 764w, https://mutlubalik.com/wp-content/uploads/2024/02/req-300x61.png 300w" sizes="auto, (max-width: 764px) 100vw, 764px" /></figure>
</div>


<p>8000 port erişiminde sorun olması durumunda aşağıdaki hata alınacaktır.</p>



<p><br><em>The vMotion failed because the destination host did not receive data from the source host on the vMotion network. Please check your vMotion network settings and physical network configuration and ensure they are correct.  Migration [-1062724507:3594307801879639515] failed to connect to remote host &lt; &gt; from host &lt; &gt;: Timeout. vMotion migration [-1062724507:3594307801879639515] failed to create a connection with remote host &lt; &gt;: The ESX hosts failed to connect over the VMotion network The vMotion migrations failed because the ESX hosts were not able to connect over the vMotion network. Check the vMotion network settings and physical network configuration. </em></p>


<div class="wp-block-image">
<figure class="aligncenter size-full"><img loading="lazy" decoding="async" width="940" height="518" src="https://mutlubalik.com/wp-content/uploads/2024/02/vmotionhata.png" alt="" class="wp-image-3850" srcset="https://mutlubalik.com/wp-content/uploads/2024/02/vmotionhata.png 940w, https://mutlubalik.com/wp-content/uploads/2024/02/vmotionhata-300x165.png 300w, https://mutlubalik.com/wp-content/uploads/2024/02/vmotionhata-768x423.png 768w" sizes="auto, (max-width: 940px) 100vw, 940px" /></figure>
</div>


<p>902 port erişiminde sorun olması durumunda aşağıdaki hata alınacaktır.</p>


<div class="wp-block-image">
<figure class="aligncenter size-full"><img loading="lazy" decoding="async" width="606" height="389" src="https://mutlubalik.com/wp-content/uploads/2024/02/902port.png" alt="" class="wp-image-3851" srcset="https://mutlubalik.com/wp-content/uploads/2024/02/902port.png 606w, https://mutlubalik.com/wp-content/uploads/2024/02/902port-300x193.png 300w" sizes="auto, (max-width: 606px) 100vw, 606px" /></figure>
</div>


<p>Migrate işlemi 3 farklı seçenek ile yapılabilmektedir. <br>Migrate edilmek istenilen sunucuda <strong>Actions&#8211;&gt; Migrate </strong>yolu izlenilerek yapılabilmektedir.<br>Datacenter, Cluster yada host üzerindeki VMs tabında migrate edilmek istenilen sunucular seçilerek işlem yapılabilmektedir.<br>Hedef vCenter üzerinde <strong>Import VMs </strong>seçeneği ile yapılabilmektedir.</p>


<div class="wp-block-image">
<figure class="aligncenter size-full"><img loading="lazy" decoding="async" width="500" height="208" src="https://mutlubalik.com/wp-content/uploads/2024/02/migrate1.png" alt="" class="wp-image-3793" srcset="https://mutlubalik.com/wp-content/uploads/2024/02/migrate1.png 500w, https://mutlubalik.com/wp-content/uploads/2024/02/migrate1-300x125.png 300w" sizes="auto, (max-width: 500px) 100vw, 500px" /></figure>
</div>

<div class="wp-block-image">
<figure class="aligncenter size-full"><img loading="lazy" decoding="async" width="618" height="339" src="https://mutlubalik.com/wp-content/uploads/2024/02/migrate2.png" alt="" class="wp-image-3794" srcset="https://mutlubalik.com/wp-content/uploads/2024/02/migrate2.png 618w, https://mutlubalik.com/wp-content/uploads/2024/02/migrate2-300x165.png 300w" sizes="auto, (max-width: 618px) 100vw, 618px" /></figure>
</div>


<p><strong>NOT: </strong>Çoklu sunucu seçilerek işlem yapılmak istenildiğinde sunucuların power state durumunun aynı olması gerekmektedir. Yani işlem yapılmak istenilen sunucuların hepsi ya kapalı, yada açık olmalıdır.<br>Farklı durumda olan sunucuları migrate etmek istediğinizde aşağıdaki uyarıyla karşılaşılmaktadır.</p>


<div class="wp-block-image">
<figure class="aligncenter size-full"><img loading="lazy" decoding="async" width="448" height="146" src="https://mutlubalik.com/wp-content/uploads/2024/02/warning.png" alt="" class="wp-image-3827" srcset="https://mutlubalik.com/wp-content/uploads/2024/02/warning.png 448w, https://mutlubalik.com/wp-content/uploads/2024/02/warning-300x98.png 300w" sizes="auto, (max-width: 448px) 100vw, 448px" /></figure>
</div>


<p>İşlem yapılmak istenilen sunucular seçildikten sonra <strong>Migrate</strong> seçilerek devam edilir. Ekrana çıkan <strong>Perform this action on * objects ?</strong> uyarısına yes cevabı verilerek devam edilir.</p>


<div class="wp-block-image">
<figure class="aligncenter size-full"><img loading="lazy" decoding="async" width="376" height="135" src="https://mutlubalik.com/wp-content/uploads/2024/02/5-2.png" alt="" class="wp-image-3795" srcset="https://mutlubalik.com/wp-content/uploads/2024/02/5-2.png 376w, https://mutlubalik.com/wp-content/uploads/2024/02/5-2-300x108.png 300w" sizes="auto, (max-width: 376px) 100vw, 376px" /></figure>
</div>


<p>Açılan <strong>Virtual Machines &#8211; Migrate</strong> penceresinde <strong>Cross vCenter Server export</strong> seçilerek devam edilir.</p>


<div class="wp-block-image">
<figure class="aligncenter size-full"><img loading="lazy" decoding="async" width="759" height="485" src="https://mutlubalik.com/wp-content/uploads/2024/02/6-1.png" alt="" class="wp-image-3796" srcset="https://mutlubalik.com/wp-content/uploads/2024/02/6-1.png 759w, https://mutlubalik.com/wp-content/uploads/2024/02/6-1-300x192.png 300w" sizes="auto, (max-width: 759px) 100vw, 759px" /></figure>
</div>


<p>Hedef vCenter adresi, kullanıcı adı ve şifre bilgileri girilerek login olunur.</p>


<div class="wp-block-image">
<figure class="aligncenter size-full"><img loading="lazy" decoding="async" width="761" height="472" src="https://mutlubalik.com/wp-content/uploads/2024/02/7-1.png" alt="" class="wp-image-3797" srcset="https://mutlubalik.com/wp-content/uploads/2024/02/7-1.png 761w, https://mutlubalik.com/wp-content/uploads/2024/02/7-1-300x186.png 300w" sizes="auto, (max-width: 761px) 100vw, 761px" /></figure>
</div>


<p>Migrate edilecek sunucuların hedef vCenter da hangi cluster yada host üzerinde bulunacağı seçilerek devam edilir.</p>


<div class="wp-block-image">
<figure class="aligncenter size-full"><img loading="lazy" decoding="async" width="755" height="473" src="https://mutlubalik.com/wp-content/uploads/2024/02/8-1.png" alt="" class="wp-image-3798" srcset="https://mutlubalik.com/wp-content/uploads/2024/02/8-1.png 755w, https://mutlubalik.com/wp-content/uploads/2024/02/8-1-300x188.png 300w" sizes="auto, (max-width: 755px) 100vw, 755px" /></figure>
</div>


<p>Sunucuların bulunacağı datastore seçilerek devam edilir.</p>


<div class="wp-block-image">
<figure class="aligncenter size-full"><img loading="lazy" decoding="async" width="760" height="487" src="https://mutlubalik.com/wp-content/uploads/2024/02/9-1.png" alt="" class="wp-image-3799" srcset="https://mutlubalik.com/wp-content/uploads/2024/02/9-1.png 760w, https://mutlubalik.com/wp-content/uploads/2024/02/9-1-300x192.png 300w" sizes="auto, (max-width: 760px) 100vw, 760px" /></figure>
</div>


<p>Hedef vCenter üzerinde sunucuların hangi folder üzerinde bulunacağı seçilerek devam edilir.</p>


<div class="wp-block-image">
<figure class="aligncenter size-full"><img loading="lazy" decoding="async" width="762" height="485" src="https://mutlubalik.com/wp-content/uploads/2024/02/10-1.png" alt="" class="wp-image-3800" srcset="https://mutlubalik.com/wp-content/uploads/2024/02/10-1.png 762w, https://mutlubalik.com/wp-content/uploads/2024/02/10-1-300x191.png 300w" sizes="auto, (max-width: 762px) 100vw, 762px" /></figure>
</div>


<p>Sunucuların network yapılandırması düzenlenerek devam edilir.</p>



<figure class="wp-block-image size-full"><img loading="lazy" decoding="async" width="934" height="494" src="https://mutlubalik.com/wp-content/uploads/2024/02/nw.png" alt="" class="wp-image-3822" srcset="https://mutlubalik.com/wp-content/uploads/2024/02/nw.png 934w, https://mutlubalik.com/wp-content/uploads/2024/02/nw-300x159.png 300w, https://mutlubalik.com/wp-content/uploads/2024/02/nw-768x406.png 768w" sizes="auto, (max-width: 934px) 100vw, 934px" /></figure>



<p><strong>Schedule vMotion with high priority (recommended)</strong> seçilerek devam edilir.</p>


<div class="wp-block-image">
<figure class="aligncenter size-full"><img loading="lazy" decoding="async" width="755" height="476" src="https://mutlubalik.com/wp-content/uploads/2024/02/12-1.png" alt="" class="wp-image-3802" srcset="https://mutlubalik.com/wp-content/uploads/2024/02/12-1.png 755w, https://mutlubalik.com/wp-content/uploads/2024/02/12-1-300x189.png 300w" sizes="auto, (max-width: 755px) 100vw, 755px" /></figure>
</div>


<p>Yapılandırmalar kontrol edildildikten sonra <strong>Finish </strong>ile migrate işlemi başlatılır.</p>


<div class="wp-block-image">
<figure class="aligncenter size-full"><img loading="lazy" decoding="async" width="764" height="473" src="https://mutlubalik.com/wp-content/uploads/2024/02/13-2.png" alt="" class="wp-image-3803" srcset="https://mutlubalik.com/wp-content/uploads/2024/02/13-2.png 764w, https://mutlubalik.com/wp-content/uploads/2024/02/13-2-300x186.png 300w" sizes="auto, (max-width: 764px) 100vw, 764px" /></figure>
</div>


<p>İlerleme durumu tasklardan kontrol edilebilir.</p>


<div class="wp-block-image">
<figure class="aligncenter size-full"><img loading="lazy" decoding="async" width="538" height="136" src="https://mutlubalik.com/wp-content/uploads/2024/02/14-1.png" alt="" class="wp-image-3804" srcset="https://mutlubalik.com/wp-content/uploads/2024/02/14-1.png 538w, https://mutlubalik.com/wp-content/uploads/2024/02/14-1-300x76.png 300w" sizes="auto, (max-width: 538px) 100vw, 538px" /></figure>
</div>


<p>Migrate işlemi başarılı bir şekilde tamamlanmıştır. Seçilen sunucular hedef vCenter üzerinde belirtilen folder üzerinde bulunmaktadır.</p>


<div class="wp-block-image">
<figure class="aligncenter size-full"><img loading="lazy" decoding="async" width="518" height="245" src="https://mutlubalik.com/wp-content/uploads/2024/02/15-1.png" alt="" class="wp-image-3805" srcset="https://mutlubalik.com/wp-content/uploads/2024/02/15-1.png 518w, https://mutlubalik.com/wp-content/uploads/2024/02/15-1-300x142.png 300w" sizes="auto, (max-width: 518px) 100vw, 518px" /></figure>
</div>


<p><strong>Import VMs</strong> seçeneği kullanılarak migrate işlemi yapılmak isteniyorsa hedef vCenter üzerinde Cluster yada host sağ tıklanarak <strong>Import VMs</strong> seçeneği seçilir.</p>


<div class="wp-block-image">
<figure class="aligncenter size-full"><img loading="lazy" decoding="async" width="390" height="230" src="https://mutlubalik.com/wp-content/uploads/2024/02/16-1.png" alt="" class="wp-image-3809" srcset="https://mutlubalik.com/wp-content/uploads/2024/02/16-1.png 390w, https://mutlubalik.com/wp-content/uploads/2024/02/16-1-300x177.png 300w" sizes="auto, (max-width: 390px) 100vw, 390px" /></figure>
</div>


<p>Açılan<strong> Import VMs</strong> penceresinde sunucuların bulunduğu source vCenter adresi, kullanıcı ve şifre bilgileri girilerek login olunur.</p>


<div class="wp-block-image">
<figure class="aligncenter size-full"><img loading="lazy" decoding="async" width="907" height="484" src="https://mutlubalik.com/wp-content/uploads/2024/02/17-1.png" alt="" class="wp-image-3810" srcset="https://mutlubalik.com/wp-content/uploads/2024/02/17-1.png 907w, https://mutlubalik.com/wp-content/uploads/2024/02/17-1-300x160.png 300w, https://mutlubalik.com/wp-content/uploads/2024/02/17-1-768x410.png 768w" sizes="auto, (max-width: 907px) 100vw, 907px" /></figure>
</div>


<p><strong>Import Virtual Machines </strong>sekmesinde import edilmek istenilen sunucular seçilerek devam edilir.</p>



<p><strong>NOT: </strong>Çoklu sunucu seçilerek işlem yapılmak istenildiğinde sunucuların power state durumunun aynı olması gerekmektedir. Yani işlem yapılmak istenilen sunucuların hepsi ya kapalı, yada açık olmalıdır.<br>Farklı durumda olan sunucuları migrate etmek istediğinizde aşağıdaki uyarıyla karşılaşılmaktadır.</p>


<div class="wp-block-image">
<figure class="aligncenter size-full"><img loading="lazy" decoding="async" width="378" height="119" src="https://mutlubalik.com/wp-content/uploads/2024/02/26-2.png" alt="" class="wp-image-3826" srcset="https://mutlubalik.com/wp-content/uploads/2024/02/26-2.png 378w, https://mutlubalik.com/wp-content/uploads/2024/02/26-2-300x94.png 300w" sizes="auto, (max-width: 378px) 100vw, 378px" /></figure>
</div>

<div class="wp-block-image">
<figure class="aligncenter size-full"><img loading="lazy" decoding="async" width="911" height="479" src="https://mutlubalik.com/wp-content/uploads/2024/02/18-1.png" alt="" class="wp-image-3811" srcset="https://mutlubalik.com/wp-content/uploads/2024/02/18-1.png 911w, https://mutlubalik.com/wp-content/uploads/2024/02/18-1-300x158.png 300w, https://mutlubalik.com/wp-content/uploads/2024/02/18-1-768x404.png 768w" sizes="auto, (max-width: 911px) 100vw, 911px" /></figure>
</div>


<p>Import edilecek sunucuların vCenter da hangi cluster yada host üzerinde bulunacağı seçilerek devam edilir.</p>


<div class="wp-block-image">
<figure class="aligncenter size-full"><img loading="lazy" decoding="async" width="909" height="471" src="https://mutlubalik.com/wp-content/uploads/2024/02/19-1.png" alt="" class="wp-image-3812" srcset="https://mutlubalik.com/wp-content/uploads/2024/02/19-1.png 909w, https://mutlubalik.com/wp-content/uploads/2024/02/19-1-300x155.png 300w, https://mutlubalik.com/wp-content/uploads/2024/02/19-1-768x398.png 768w" sizes="auto, (max-width: 909px) 100vw, 909px" /></figure>
</div>


<p>Sunucuların bulunacağı datastore seçilerek devam edilir.</p>


<div class="wp-block-image">
<figure class="aligncenter size-full"><img loading="lazy" decoding="async" width="959" height="514" src="https://mutlubalik.com/wp-content/uploads/2024/02/20-1.png" alt="" class="wp-image-3813" srcset="https://mutlubalik.com/wp-content/uploads/2024/02/20-1.png 959w, https://mutlubalik.com/wp-content/uploads/2024/02/20-1-300x161.png 300w, https://mutlubalik.com/wp-content/uploads/2024/02/20-1-768x412.png 768w" sizes="auto, (max-width: 959px) 100vw, 959px" /></figure>
</div>


<p> vCenter üzerinde sunucuların hangi folder üzerinde bulunacağı seçilerek devam edilir.</p>


<div class="wp-block-image">
<figure class="aligncenter size-full"><img loading="lazy" decoding="async" width="970" height="516" src="https://mutlubalik.com/wp-content/uploads/2024/02/21-1.png" alt="" class="wp-image-3814" srcset="https://mutlubalik.com/wp-content/uploads/2024/02/21-1.png 970w, https://mutlubalik.com/wp-content/uploads/2024/02/21-1-300x160.png 300w, https://mutlubalik.com/wp-content/uploads/2024/02/21-1-768x409.png 768w" sizes="auto, (max-width: 970px) 100vw, 970px" /></figure>
</div>


<p>Sunucuların network yapılandırması düzenlenerek devam edilir.</p>


<div class="wp-block-image">
<figure class="aligncenter size-full"><img loading="lazy" decoding="async" width="758" height="474" src="https://mutlubalik.com/wp-content/uploads/2024/02/nw1.png" alt="" class="wp-image-3832" srcset="https://mutlubalik.com/wp-content/uploads/2024/02/nw1.png 758w, https://mutlubalik.com/wp-content/uploads/2024/02/nw1-300x188.png 300w" sizes="auto, (max-width: 758px) 100vw, 758px" /></figure>
</div>


<p><strong>Schedule vMotion with high priority (recommended)</strong>&nbsp;seçilerek devam edilir.</p>


<div class="wp-block-image">
<figure class="aligncenter size-full"><img loading="lazy" decoding="async" width="973" height="521" src="https://mutlubalik.com/wp-content/uploads/2024/02/23-1.png" alt="" class="wp-image-3816" srcset="https://mutlubalik.com/wp-content/uploads/2024/02/23-1.png 973w, https://mutlubalik.com/wp-content/uploads/2024/02/23-1-300x161.png 300w, https://mutlubalik.com/wp-content/uploads/2024/02/23-1-768x411.png 768w" sizes="auto, (max-width: 973px) 100vw, 973px" /></figure>
</div>


<p>Yapılandırmalar kontrol edildildikten sonra&nbsp;<strong>Finish&nbsp;</strong>ile import işlemi başlatılır.</p>


<div class="wp-block-image">
<figure class="aligncenter size-full"><img loading="lazy" decoding="async" width="976" height="514" src="https://mutlubalik.com/wp-content/uploads/2024/02/24-1.png" alt="" class="wp-image-3817" srcset="https://mutlubalik.com/wp-content/uploads/2024/02/24-1.png 976w, https://mutlubalik.com/wp-content/uploads/2024/02/24-1-300x158.png 300w, https://mutlubalik.com/wp-content/uploads/2024/02/24-1-768x404.png 768w" sizes="auto, (max-width: 976px) 100vw, 976px" /></figure>
</div>


<p>İlerleme durumu tasklardan kontrol edilebilir.</p>


<div class="wp-block-image">
<figure class="aligncenter size-full"><img loading="lazy" decoding="async" width="535" height="155" src="https://mutlubalik.com/wp-content/uploads/2024/02/25-1.png" alt="" class="wp-image-3818" srcset="https://mutlubalik.com/wp-content/uploads/2024/02/25-1.png 535w, https://mutlubalik.com/wp-content/uploads/2024/02/25-1-300x87.png 300w" sizes="auto, (max-width: 535px) 100vw, 535px" /></figure>
</div>


<p>Import işlemi başarılı bir şekilde tamamlanmıştır. Seçilen sunucular vCenter üzerinde belirtilen folder üzerinde bulunmaktadır.</p>


<div class="wp-block-image">
<figure class="aligncenter size-full"><img loading="lazy" decoding="async" width="518" height="245" src="https://mutlubalik.com/wp-content/uploads/2024/02/15-2.png" alt="" class="wp-image-3836" srcset="https://mutlubalik.com/wp-content/uploads/2024/02/15-2.png 518w, https://mutlubalik.com/wp-content/uploads/2024/02/15-2-300x142.png 300w" sizes="auto, (max-width: 518px) 100vw, 518px" /></figure>
</div>


<p>Bu makalede&nbsp;<strong>Advanced Cross vCenter vMotion İşlemini</strong>&nbsp;gerçekleştirdik.</p>



<p>Bir sonraki makalede görüşmek üzere. Sağlıkla kalın…</p>



<p style="font-size:12px">reference: <a href="https://docs.vmware.com/en/VMware-vSphere/7.0/com.vmware.vsphere.vcenterhost.doc/GUID-1960B6A6-59CD-4B34-8FE5-42C19EE8422A.html" target="_blank" rel="noreferrer noopener">https://docs.vmware.com/en/VMware-vSphere/7.0/com.vmware.vsphere.vcenterhost.doc/GUID-1960B6A6-59CD-4B34-8FE5-42C19EE8422A.html</a><br>reference: <a href="https://ports.esp.vmware.com/home/vSphere" target="_blank" rel="noreferrer noopener">https://ports.esp.vmware.com/home/vSphere</a><br>reference: <a href="https://core.vmware.com/resource/introducing-advanced-cross-vcenter-server-vmotion-capability?check_logged_in=1#section1" target="_blank" rel="noreferrer noopener">https://core.vmware.com/resource/introducing-advanced-cross-vcenter-server-vmotion-capability?check_logged_in=1#section1</a></p>
]]></content:encoded>
					
		
		
			</item>
		<item>
		<title>PowerCLI ile Snapshot Silme İşlemi</title>
		<link>https://mutlubalik.com/powercli-ile-snapshot-silme-islemi/</link>
		
		<dc:creator><![CDATA[Mutlu BALIK]]></dc:creator>
		<pubDate>Tue, 23 Jan 2024 09:02:28 +0000</pubDate>
				<category><![CDATA[VMware]]></category>
		<guid isPermaLink="false">https://mutlubalik.com/?p=3701</guid>

					<description><![CDATA[Hizmet sağlamış olduğumuz ortamlarda update/upgrade yada farklı bir çalışma yapmadan önce olası bir geri dönüşü de hesaplayarak snapshot alırız. VMware alınan snapshotların 72 saat süreyle kullanılmasını önermektedir. Do not use a single snapshot for more than 72 hours.Bu sürenin sonunda snapshotları silmek iyi olacaktır. Snapshotları tek tek silmek biraz uzun olabilir. Ancak PowerCLI ile bu [&#8230;]]]></description>
										<content:encoded><![CDATA[
<p>Hizmet sağlamış olduğumuz ortamlarda update/upgrade yada farklı bir çalışma yapmadan önce olası bir geri dönüşü de hesaplayarak snapshot alırız. <br>VMware alınan snapshotların 72 saat süreyle kullanılmasını önermektedir. <br><em>Do not use a single snapshot for more than 72 hours.</em><br>Bu sürenin sonunda snapshotları silmek iyi olacaktır. Snapshotları tek tek silmek biraz uzun olabilir. Ancak PowerCLI ile bu işlemi hızlı bir şekilde gerçekleştirebiliriz.<br>72 saati geçmiş snapshotları silmek için aşağıdaki script kullanılabilir. </p>



<figure class="wp-block-table"><table><tbody><tr><td>Get-VM | Get-Snapshot | Where {$_.Created -lt (Get-Date).AddDays(-3)} | Remove-Snapshot -Confirm:$false</td></tr></tbody></table></figure>



<p>Bu işlemi daha da iyileştirmek için bir task tanımlanabilir.</p>



<p>Task için aşağıdaki script kullanılabilir;</p>



<figure class="wp-block-table"><table><tbody><tr><td>$Getcredentials= Import-Clixml -Path C:\PowerCLI\PowerCLICredentials.xml #Domain Username ve Password bilgisini xml dosyasından çekmek için kullanılır. $DomainUsername= $Getcredentials.UserName #Username bilgisini okur $DomainPassword= $Getcredentials.GetNetworkCredential().Password #Password bilgisini okur Connect-VIServer -Server vcist.mutlubalik.com -User $DomainUsername -Password $DomainPassword #vCenter&#8217;a bağlanmak için kullanılır.   Get-VM | Get-Snapshot | Where {$_.Created -lt (Get-Date).AddDays(-3)} | Remove-Snapshot -Confirm:$false </td></tr></tbody></table></figure>



<p><strong>Task scheduler</strong> açıldıktan sonra <strong>Create Task</strong> ile yeni bir task oluşturma penceresi açılır.<br>Oluşturulacak olan task&#8217;a tanımlayacı bir isim verilerek <strong>Run whether user is logged on or not </strong>ve <strong>Run with highest privileges</strong> seçenekleri seçilir.</p>


<div class="wp-block-image">
<figure class="aligncenter size-full"><img loading="lazy" decoding="async" width="632" height="484" src="https://mutlubalik.com/wp-content/uploads/2024/01/3-2.png" alt="" class="wp-image-3707" srcset="https://mutlubalik.com/wp-content/uploads/2024/01/3-2.png 632w, https://mutlubalik.com/wp-content/uploads/2024/01/3-2-300x230.png 300w" sizes="auto, (max-width: 632px) 100vw, 632px" /></figure>
</div>


<p><strong>Trigger </strong>sekmesine geçiş yapılarak <strong>New </strong>ile yeni bir trigger penceresi açılır.<br>Task günlük 00:30 da çalışacak şekilde ayarlanır.</p>


<div class="wp-block-image">
<figure class="aligncenter size-full"><img loading="lazy" decoding="async" width="602" height="514" src="https://mutlubalik.com/wp-content/uploads/2024/01/4-2.png" alt="" class="wp-image-3708" srcset="https://mutlubalik.com/wp-content/uploads/2024/01/4-2.png 602w, https://mutlubalik.com/wp-content/uploads/2024/01/4-2-300x256.png 300w" sizes="auto, (max-width: 602px) 100vw, 602px" /></figure>
</div>


<p>Son olarak <strong>Action</strong> sekmesine geçiş yapılarak <strong>New </strong>ile yeni bir action penceresi açılır.<br><strong>Action: </strong>Start a program<br><strong>Program/script: </strong>powershell<br><strong>Add arguments:</strong> Çalıştırılacak olan scriptin yolu (örnek: c:\temp\RemoveSnapshot.ps1)</p>


<div class="wp-block-image">
<figure class="aligncenter size-full"><img loading="lazy" decoding="async" width="464" height="489" src="https://mutlubalik.com/wp-content/uploads/2024/01/5-2.png" alt="" class="wp-image-3709" srcset="https://mutlubalik.com/wp-content/uploads/2024/01/5-2.png 464w, https://mutlubalik.com/wp-content/uploads/2024/01/5-2-285x300.png 285w" sizes="auto, (max-width: 464px) 100vw, 464px" /></figure>
</div>


<p>Task çalıştıktan sonra 72 saati geçen snapshotlar silinecektir. vCenter loglarında silinen snapshotlar görüntülenmektedir.</p>



<figure class="wp-block-image size-large"><img loading="lazy" decoding="async" width="1024" height="283" src="https://mutlubalik.com/wp-content/uploads/2024/01/1-3-1024x283.png" alt="" class="wp-image-3716" srcset="https://mutlubalik.com/wp-content/uploads/2024/01/1-3-1024x283.png 1024w, https://mutlubalik.com/wp-content/uploads/2024/01/1-3-300x83.png 300w, https://mutlubalik.com/wp-content/uploads/2024/01/1-3-768x213.png 768w, https://mutlubalik.com/wp-content/uploads/2024/01/1-3.png 1156w" sizes="auto, (max-width: 1024px) 100vw, 1024px" /></figure>



<p style="font-size:12px">reference: <a href="https://kb.vmware.com/s/article/1025279" target="_blank" rel="noreferrer noopener">https://kb.vmware.com/s/article/1025279</a></p>
]]></content:encoded>
					
		
		
			</item>
		<item>
		<title>vCenter Login Message Ekleme İşlemi</title>
		<link>https://mutlubalik.com/vcenter-login-message-ekleme-islemi/</link>
		
		<dc:creator><![CDATA[Mutlu BALIK]]></dc:creator>
		<pubDate>Fri, 12 Jan 2024 10:47:14 +0000</pubDate>
				<category><![CDATA[VMware]]></category>
		<guid isPermaLink="false">https://mutlubalik.com/?p=3653</guid>

					<description><![CDATA[vCenter sistemine giriş yapmak isteyen kullanıcılar için bir bilgilendirme mesajı yada kabul etmeleri gereken bir sözleşme metni hazırlayabilirsiniz.Bu işlem için Administration menüsüne geçiş yapılır. Administration menüsü altında Configuration&#8211;> Login Message&#8211;> Edit yolu takip edilir. Login message için 2 seçenek bulunmaktadır. 1-) Sadece bir karşılama mesajı şeklinde eklenebilmektedir.2-) Sisteme giriş yapacak kullanıcılara bir sözleşme mesajı gösterilir [&#8230;]]]></description>
										<content:encoded><![CDATA[
<p>vCenter sistemine giriş yapmak isteyen kullanıcılar için bir bilgilendirme mesajı yada kabul etmeleri gereken bir sözleşme metni hazırlayabilirsiniz.<br>Bu işlem için <strong>Administration </strong>menüsüne geçiş yapılır.</p>


<div class="wp-block-image">
<figure class="aligncenter size-full"><img loading="lazy" decoding="async" width="153" height="562" src="https://mutlubalik.com/wp-content/uploads/2024/01/1.png" alt="" class="wp-image-3655" srcset="https://mutlubalik.com/wp-content/uploads/2024/01/1.png 153w, https://mutlubalik.com/wp-content/uploads/2024/01/1-82x300.png 82w" sizes="auto, (max-width: 153px) 100vw, 153px" /></figure>
</div>


<p><strong>Administration </strong>menüsü altında <strong>Configuration&#8211;> Login Message&#8211;> Edit </strong>yolu takip edilir.</p>


<div class="wp-block-image">
<figure class="aligncenter size-large"><img loading="lazy" decoding="async" width="1365" height="603" src="https://mutlubalik.com/wp-content/uploads/2024/01/2-1024x452.png" alt="" class="wp-image-3657" srcset="https://mutlubalik.com/wp-content/uploads/2024/01/2-1024x452.png 1024w, https://mutlubalik.com/wp-content/uploads/2024/01/2-300x133.png 300w, https://mutlubalik.com/wp-content/uploads/2024/01/2-768x339.png 768w, https://mutlubalik.com/wp-content/uploads/2024/01/2.png 1365w" sizes="auto, (max-width: 1365px) 100vw, 1365px" /></figure>
</div>


<p>Login message için 2 seçenek bulunmaktadır. <br>1-) Sadece bir karşılama mesajı şeklinde eklenebilmektedir.<br>2-) Sisteme giriş yapacak kullanıcılara bir sözleşme mesajı gösterilir ve kabul etmeyen kullanıcılar sisteme giriş yapamazlar.</p>



<p>İlk seçenekte <strong>Login message </strong>ve <strong>Details of login message</strong> kısımları isteğinize uygun olarak doldurulur.</p>


<div class="wp-block-image">
<figure class="aligncenter size-full"><img loading="lazy" decoding="async" width="415" height="463" src="https://mutlubalik.com/wp-content/uploads/2024/01/3.png" alt="" class="wp-image-3659" srcset="https://mutlubalik.com/wp-content/uploads/2024/01/3.png 415w, https://mutlubalik.com/wp-content/uploads/2024/01/3-269x300.png 269w" sizes="auto, (max-width: 415px) 100vw, 415px" /></figure>
</div>


<p>vCenter giriş ekranında karşılama mesajımız görüntülenmektedir.</p>



<figure class="wp-block-image size-full"><img loading="lazy" decoding="async" width="929" height="605" src="https://mutlubalik.com/wp-content/uploads/2024/01/4.png" alt="" class="wp-image-3660" srcset="https://mutlubalik.com/wp-content/uploads/2024/01/4.png 929w, https://mutlubalik.com/wp-content/uploads/2024/01/4-300x195.png 300w, https://mutlubalik.com/wp-content/uploads/2024/01/4-768x500.png 768w" sizes="auto, (max-width: 929px) 100vw, 929px" /></figure>



<p>Onay kutucuğunu aktif etmek için <strong>Consent checkbox</strong> işaretlenir ve istenilen mesaj yazılır.</p>


<div class="wp-block-image">
<figure class="aligncenter size-full"><img loading="lazy" decoding="async" width="426" height="480" src="https://mutlubalik.com/wp-content/uploads/2024/01/5.png" alt="" class="wp-image-3661" srcset="https://mutlubalik.com/wp-content/uploads/2024/01/5.png 426w, https://mutlubalik.com/wp-content/uploads/2024/01/5-266x300.png 266w" sizes="auto, (max-width: 426px) 100vw, 426px" /></figure>
</div>


<p>vCenter giriş ekranında koşulları içeren mesajımız görüntülenmektedir.</p>



<figure class="wp-block-image size-full"><img loading="lazy" decoding="async" width="976" height="608" src="https://mutlubalik.com/wp-content/uploads/2024/01/6.png" alt="" class="wp-image-3662" srcset="https://mutlubalik.com/wp-content/uploads/2024/01/6.png 976w, https://mutlubalik.com/wp-content/uploads/2024/01/6-300x187.png 300w, https://mutlubalik.com/wp-content/uploads/2024/01/6-768x478.png 768w" sizes="auto, (max-width: 976px) 100vw, 976px" /></figure>



<p>Giriş yapmak isteyen kullanıcı onay kutucuğunu işaretlemediğinde sisteme giriş yapamamaktadır.</p>


<div class="wp-block-image">
<figure class="aligncenter size-full"><img loading="lazy" decoding="async" width="356" height="364" src="https://mutlubalik.com/wp-content/uploads/2024/01/7.png" alt="" class="wp-image-3663" srcset="https://mutlubalik.com/wp-content/uploads/2024/01/7.png 356w, https://mutlubalik.com/wp-content/uploads/2024/01/7-293x300.png 293w" sizes="auto, (max-width: 356px) 100vw, 356px" /></figure>
</div>


<p>Bu makalede <strong>vCenter Login Message Ekleme İşlemini</strong> gerçekleştirdik.</p>



<p>Bir sonraki makalede görüşmek üzere. Sağlıkla kalın…</p>
]]></content:encoded>
					
		
		
			</item>
		<item>
		<title>PowerCLI ile E1000* NW Adaptörünü VMXNET3 Olarak Değiştirme İşlemi</title>
		<link>https://mutlubalik.com/powercli-ile-e1000-nw-adaptorunu-vmxnet3-olarak-degistirme-islemi/</link>
		
		<dc:creator><![CDATA[Mutlu BALIK]]></dc:creator>
		<pubDate>Wed, 10 Jan 2024 07:18:42 +0000</pubDate>
				<category><![CDATA[VMware]]></category>
		<guid isPermaLink="false">https://mutlubalik.com/?p=3649</guid>

					<description><![CDATA[Ortamımızdaki sunucuların performansı hizmet kalitesi açısından oldukça önemlidir.Sunucumuza yeni bir nw adaptörü eklediğimizde adaptör tipi E1000e olarak gelecektir. E1000* nw adaptörleri VMXNET3 nw adaptörüne göre daha az performanslıdır. Bundan dolayı ortamlarımızda bulunan sunucuların performansını iyileştirmek için sunuculardaki nw adaptörlerinin VMXNET3 olarak kullanılması performans açısından önemlidir.NOT: VMXNET3 nw adaptörü kullanılabilmesi için sunucunun hardware versiyonu 7 ve [&#8230;]]]></description>
										<content:encoded><![CDATA[
<p>Ortamımızdaki sunucuların performansı hizmet kalitesi açısından oldukça önemlidir.<br>Sunucumuza yeni bir nw adaptörü eklediğimizde adaptör tipi E1000e olarak gelecektir. E1000* nw adaptörleri VMXNET3 nw adaptörüne göre daha az performanslıdır. Bundan dolayı ortamlarımızda bulunan sunucuların performansını iyileştirmek için sunuculardaki nw adaptörlerinin VMXNET3 olarak kullanılması performans açısından önemlidir.<br><strong>NOT:</strong> VMXNET3 nw adaptörü kullanılabilmesi için sunucunun hardware versiyonu 7 ve üzerinde olması gerekmektedir.<br>NW adaptör tipi arayüz üzerinden VMXNET3 olarak değiştirilememektedir. Bu durumda yeni bir nw kartı ekleyip konfigürasyon yapılabilir. Ancak bu şekilde yapılırsa mac adresi değişecektir. MAC adres bağımlılıyla çalışan lisanslı ürünleriniz varsa sorun yaşanacaktır. Bu durumun önüne geçmek için eski nw adaptörü silinmeden önce mac adresi kopyalanır ve yeni nw adaptörüne bu mac adresi tanımlanır.</p>


<div class="wp-block-image">
<figure class="aligncenter size-full"><img loading="lazy" decoding="async" width="613" height="548" src="https://mutlubalik.com/wp-content/uploads/2024/01/5-1.png" alt="" class="wp-image-3686" srcset="https://mutlubalik.com/wp-content/uploads/2024/01/5-1.png 613w, https://mutlubalik.com/wp-content/uploads/2024/01/5-1-300x268.png 300w" sizes="auto, (max-width: 613px) 100vw, 613px" /></figure>
</div>


<p>Ama nw adaptör tipi PowerCLI ile VMXNET3 olarak ayarlanırsa mac adres kaybı yaşanmayacaktır. Dolayısıyla mac adresine bağımlı çalışan lisanslı ürünleriniz sorunsuz çalışmaya devam edecektir.</p>



<p>Bu işlemin yapılabilmesi için sunucunun kapalı olması gerekmektedir.</p>



<p><strong>Shutdown-VMGuest -VM vmname -Confirm:$false </strong>komutu ile sunucu kapatılabilir.</p>


<div class="wp-block-image">
<figure class="aligncenter size-full"><img loading="lazy" decoding="async" width="945" height="221" src="https://mutlubalik.com/wp-content/uploads/2024/01/4-1.png" alt="" class="wp-image-3675" srcset="https://mutlubalik.com/wp-content/uploads/2024/01/4-1.png 945w, https://mutlubalik.com/wp-content/uploads/2024/01/4-1-300x70.png 300w, https://mutlubalik.com/wp-content/uploads/2024/01/4-1-768x180.png 768w" sizes="auto, (max-width: 945px) 100vw, 945px" /></figure>
</div>


<p>Mevcut durumu sorgulamak için <strong>Get-VM -Name vmname | Get-NetworkAdapter</strong> komutu kullanılabilir. testvm sunucumuz şuan için e1000 nw adaptörüne sahiptir.</p>


<div class="wp-block-image">
<figure class="aligncenter size-full"><img loading="lazy" decoding="async" width="717" height="110" src="https://mutlubalik.com/wp-content/uploads/2024/01/1-1.png" alt="" class="wp-image-3672" srcset="https://mutlubalik.com/wp-content/uploads/2024/01/1-1.png 717w, https://mutlubalik.com/wp-content/uploads/2024/01/1-1-300x46.png 300w" sizes="auto, (max-width: 717px) 100vw, 717px" /></figure>
</div>


<p>Sunucunun nw adaptörünü vmxnet3 olarak değiştirmek için aşağıdaki komut kullanılabilir.<br><strong>Get-VM -Name vmname | Get-NetworkAdapter | Set-NetworkAdapter -Type Vmxnet3 -Confirm:$false</strong></p>



<p>NW adaptör tipi VMXNET3 olarak değiştirilmiştir. MAC adresinin korunduğu görünmektedir.</p>


<div class="wp-block-image">
<figure class="aligncenter size-large"><img loading="lazy" decoding="async" width="1024" height="121" src="https://mutlubalik.com/wp-content/uploads/2024/01/2-1-1024x121.png" alt="" class="wp-image-3673" srcset="https://mutlubalik.com/wp-content/uploads/2024/01/2-1-1024x121.png 1024w, https://mutlubalik.com/wp-content/uploads/2024/01/2-1-300x35.png 300w, https://mutlubalik.com/wp-content/uploads/2024/01/2-1-768x91.png 768w, https://mutlubalik.com/wp-content/uploads/2024/01/2-1.png 1069w" sizes="auto, (max-width: 1024px) 100vw, 1024px" /></figure>
</div>


<p><strong>Start-VM -vm vmname </strong>komutu ile sunucu açılabilir.</p>


<div class="wp-block-image">
<figure class="aligncenter size-full"><img loading="lazy" decoding="async" width="588" height="115" src="https://mutlubalik.com/wp-content/uploads/2024/01/3-1.png" alt="" class="wp-image-3674" srcset="https://mutlubalik.com/wp-content/uploads/2024/01/3-1.png 588w, https://mutlubalik.com/wp-content/uploads/2024/01/3-1-300x59.png 300w" sizes="auto, (max-width: 588px) 100vw, 588px" /></figure>
</div>


<p><strong>NOT:</strong> Bu işlemin ardından linux sunucularda tüm konfigürasyonlar otomatik gerçekleştirilir. Ancak windows sunucularda ip yapılandırmasının manual yapılması gerekmektedir.</p>



<p>Bu makalede<strong>&nbsp;PowerCLI ile E1000* NW Adaptörünü VMXNET3&nbsp;Olarak Değiştirme İşlemi</strong> gerçekleştirdik.</p>



<p>Bir sonraki makalede görüşmek üzere. Sağlıkla kalın…</p>



<p style="font-size:12px">reference: <a href="https://core.vmware.com/blog/virtual-networking-made-easy-vmware-vmxnet3-driver" target="_blank" rel="noreferrer noopener">https://core.vmware.com/blog/virtual-networking-made-easy-vmware-vmxnet3-driver</a><br>reference: <a href="https://kb.vmware.com/s/article/1001805" target="_blank" rel="noreferrer noopener">https://kb.vmware.com/s/article/1001805</a></p>



<p></p>
]]></content:encoded>
					
		
		
			</item>
		<item>
		<title>vCenter Advanced Settings Parametre Silme İşlemi</title>
		<link>https://mutlubalik.com/vcenter-advanced-settings-parametre-silme-islemi/</link>
		
		<dc:creator><![CDATA[Mutlu BALIK]]></dc:creator>
		<pubDate>Fri, 29 Dec 2023 12:29:55 +0000</pubDate>
				<category><![CDATA[VMware]]></category>
		<guid isPermaLink="false">https://mutlubalik.com/?p=3623</guid>

					<description><![CDATA[Vcenter üzerinde ihtiyaçlara yönelik advanced setting parametresi eklemeniz gerekebilir. Ancak bu parametreleri eklerken dikkat etmemiz gerekmektedir. Çünkü eklenen parametrenin arayüzden silinmesi mümkün olmamaktadır. &#8220;Adding or modifying configuration parameters is unsupported and can cause instability. Configuration parameters cannot be removed once they are added. Continue only if you know what you are doing.&#8221; Eklenen parametre arayüz [&#8230;]]]></description>
										<content:encoded><![CDATA[
<p>Vcenter üzerinde ihtiyaçlara yönelik advanced setting parametresi eklemeniz gerekebilir. Ancak bu parametreleri eklerken dikkat etmemiz gerekmektedir. Çünkü eklenen parametrenin arayüzden silinmesi mümkün olmamaktadır.</p>



<p><em>&#8220;Adding or modifying configuration parameters is unsupported and can cause instability. Configuration parameters cannot be removed once they are added. Continue only if you know what you are doing.&#8221;</em></p>



<p>Eklenen parametre arayüz üzerinden silinemese de cli üzerinden silebilmek mümkündür. Bu makalede örnek bir parametre ekleyerek sonrasında cli üzerinden silme işlemi gerçekleştirilecektir.</p>


<div class="wp-block-image">
<figure class="aligncenter size-full"><img loading="lazy" decoding="async" width="566" height="547" src="https://mutlubalik.com/wp-content/uploads/2023/12/1.png" alt="" class="wp-image-3626" srcset="https://mutlubalik.com/wp-content/uploads/2023/12/1.png 566w, https://mutlubalik.com/wp-content/uploads/2023/12/1-300x290.png 300w" sizes="auto, (max-width: 566px) 100vw, 566px" /></figure>
</div>


<p>Parametre eklemek için <strong>Advanced Settings &#8211;&gt; Configure &#8211;&gt; Edit Settings</strong> yolu izlenir. Test işlemlerim için <strong>config.test</strong> isminde bir parametre ekliyorum.</p>


<div class="wp-block-image">
<figure class="aligncenter size-full"><img loading="lazy" decoding="async" width="620" height="187" src="https://mutlubalik.com/wp-content/uploads/2023/12/4.png" alt="" class="wp-image-3627" srcset="https://mutlubalik.com/wp-content/uploads/2023/12/4.png 620w, https://mutlubalik.com/wp-content/uploads/2023/12/4-300x90.png 300w" sizes="auto, (max-width: 620px) 100vw, 620px" /></figure>
</div>


<p>Eklenen parametrenin arayüz üzerinden silinmesi mümkün olmadığı için putty üzerinden vCenter server&#8217;a bağlantı sağlıyorum. shell yazarak devam edilir.</p>


<div class="wp-block-image">
<figure class="aligncenter size-full is-resized"><img loading="lazy" decoding="async" width="683" height="432" src="https://mutlubalik.com/wp-content/uploads/2023/12/2.png" alt="" class="wp-image-3628" style="width:683px;height:auto" srcset="https://mutlubalik.com/wp-content/uploads/2023/12/2.png 683w, https://mutlubalik.com/wp-content/uploads/2023/12/2-300x190.png 300w" sizes="auto, (max-width: 683px) 100vw, 683px" /></figure>
</div>


<p>Sonrasında <strong>/etc/vmware-vpx</strong> dizinine gidilir. <strong>vi vpxd.cfg</strong> ile config dosyası açılır.</p>


<div class="wp-block-image">
<figure class="aligncenter size-full"><img loading="lazy" decoding="async" width="681" height="434" src="https://mutlubalik.com/wp-content/uploads/2023/12/3.png" alt="" class="wp-image-3629" srcset="https://mutlubalik.com/wp-content/uploads/2023/12/3.png 681w, https://mutlubalik.com/wp-content/uploads/2023/12/3-300x191.png 300w" sizes="auto, (max-width: 681px) 100vw, 681px" /></figure>
</div>


<p>Silmek istediğiniz parametreyi <strong>/</strong> ile arayabilirsiniz. Parametre silindikten sonra config dosyası<strong> :wq</strong> ile kaydedilir.</p>


<div class="wp-block-image">
<figure class="aligncenter size-full"><img loading="lazy" decoding="async" width="681" height="434" src="https://mutlubalik.com/wp-content/uploads/2023/12/5.png" alt="" class="wp-image-3631" srcset="https://mutlubalik.com/wp-content/uploads/2023/12/5.png 681w, https://mutlubalik.com/wp-content/uploads/2023/12/5-300x191.png 300w" sizes="auto, (max-width: 681px) 100vw, 681px" /></figure>
</div>


<p>Config dosyası düzenlendikten sonra vpxd servisinin restart edilmesi gerekmektedir.</p>



<p><strong>service-control &#8211;restart vmware-vpxd</strong> komutu ile servis restart edilir.</p>


<div class="wp-block-image">
<figure class="aligncenter size-full"><img loading="lazy" decoding="async" width="680" height="434" src="https://mutlubalik.com/wp-content/uploads/2023/12/6.png" alt="" class="wp-image-3633" srcset="https://mutlubalik.com/wp-content/uploads/2023/12/6.png 680w, https://mutlubalik.com/wp-content/uploads/2023/12/6-300x191.png 300w" sizes="auto, (max-width: 680px) 100vw, 680px" /></figure>
</div>


<p>Servis restart edildikten sonra arayüz üzerinden kontrol sağladığımda <strong>config.test</strong> parametresinin silindiği görünmektedir.</p>


<div class="wp-block-image">
<figure class="aligncenter size-full"><img loading="lazy" decoding="async" width="770" height="213" src="https://mutlubalik.com/wp-content/uploads/2023/12/7.png" alt="" class="wp-image-3634" srcset="https://mutlubalik.com/wp-content/uploads/2023/12/7.png 770w, https://mutlubalik.com/wp-content/uploads/2023/12/7-300x83.png 300w, https://mutlubalik.com/wp-content/uploads/2023/12/7-768x212.png 768w" sizes="auto, (max-width: 770px) 100vw, 770px" /></figure>
</div>


<p>Bu makalede&nbsp;<strong>vCenter Advanced Settings Parametre Silme İşlemini</strong> inceleyerek test işlemlerini gerçekleştirdik.</p>



<p>Bir sonraki makalede görüşmek üzere. Sağlıkla kalın…</p>
]]></content:encoded>
					
		
		
			</item>
		<item>
		<title>DRS Affinity Rules</title>
		<link>https://mutlubalik.com/drs-affinity-rules/</link>
		
		<dc:creator><![CDATA[Mutlu BALIK]]></dc:creator>
		<pubDate>Tue, 21 Nov 2023 08:35:57 +0000</pubDate>
				<category><![CDATA[VMware]]></category>
		<guid isPermaLink="false">https://mutlubalik.com/?p=3574</guid>

					<description><![CDATA[Affinity ve anti-affinity kurallar ile ortamımızda bulunan sanal sunucularımızın konumlanacağı esxi hostlar için kural tanımlamaları yapabiliriz.Affinity rule: Sanal sunucularımızın aynı esxi host üzerinde bulunmasını istiyorsak affinity rule tanımı yapmalıyız.Anti-affinity rule: Sanal sunucularımızın farklı esxi host üzerinde bulunmasını istiyorsak anti-affinity rule tanımlamalıyız.Bu işlem için 2 seçenek bulunmaktadır;VM-VM Affinity Rules: Seçilen sanal sunucuların aynı yada farklı esxi [&#8230;]]]></description>
										<content:encoded><![CDATA[
<p>Affinity ve anti-affinity kurallar ile ortamımızda bulunan sanal sunucularımızın konumlanacağı esxi hostlar için kural tanımlamaları yapabiliriz.<br><strong>Affinity rule: </strong>Sanal sunucularımızın aynı esxi host üzerinde bulunmasını istiyorsak affinity rule tanımı yapmalıyız.<br><strong>Anti-affinity rule:</strong> Sanal sunucularımızın farklı esxi host üzerinde bulunmasını istiyorsak anti-affinity rule tanımlamalıyız.<br>Bu işlem için 2 seçenek bulunmaktadır;<br><strong>VM-VM Affinity Rules:</strong> Seçilen sanal sunucuların aynı yada farklı esxi host üzerinde çalışıp çalışmayacağının belirlendiği kural tipidir.<br><strong>VM-Host Affinity Rules:</strong> Sanal sunucu gruplarının belirlenen esxi host grupları üzerinde çalışıp  çalışmayacağının belirlendiği kural tipidir. <br><br>Test işlemlerim için 2 tane esxi hostum bulunmaktadır. Örnek senaryolarım aşağıdaki gibidir;<br><br>1-) Aynı esxi host üzerinde bulunan WSQLSRV01 ve WSQLSRV02 sunucularını farklı esxi host üzerinde çalışması için kural tanımlanacaktır.<br>2-) Farklı esxi host üzerinde bulunan proxyserver ve rheltest sunucularını aynı esxi host üzerinde çalışması için kural tanımlanacaktır.<br>3-) VM group ve Host group tanımlanarak kural yazılacaktır.<br><br> </p>



<p></p>


<div class="wp-block-image">
<figure class="aligncenter size-large"><img loading="lazy" decoding="async" width="1024" height="278" src="https://mutlubalik.com/wp-content/uploads/2023/11/1-1-1024x278.png" alt="" class="wp-image-3579" srcset="https://mutlubalik.com/wp-content/uploads/2023/11/1-1-1024x278.png 1024w, https://mutlubalik.com/wp-content/uploads/2023/11/1-1-300x81.png 300w, https://mutlubalik.com/wp-content/uploads/2023/11/1-1-768x208.png 768w, https://mutlubalik.com/wp-content/uploads/2023/11/1-1-1536x417.png 1536w, https://mutlubalik.com/wp-content/uploads/2023/11/1-1.png 1566w" sizes="auto, (max-width: 1024px) 100vw, 1024px" /></figure>
</div>

<div class="wp-block-image">
<figure class="aligncenter size-large"><img loading="lazy" decoding="async" width="1024" height="260" src="https://mutlubalik.com/wp-content/uploads/2023/11/2-1024x260.png" alt="" class="wp-image-3580" srcset="https://mutlubalik.com/wp-content/uploads/2023/11/2-1024x260.png 1024w, https://mutlubalik.com/wp-content/uploads/2023/11/2-300x76.png 300w, https://mutlubalik.com/wp-content/uploads/2023/11/2-768x195.png 768w, https://mutlubalik.com/wp-content/uploads/2023/11/2.png 1522w" sizes="auto, (max-width: 1024px) 100vw, 1024px" /></figure>
</div>


<p>Kural tanımlamalarını yapmak için işlem yapılacak cluster seçildikten sonra <strong>Configure -&gt; VM/Host Rules </strong>sekmesine geçiş yapılarak <strong>Add </strong>ile yeni bir kural penceresi açılır.</p>


<div class="wp-block-image">
<figure class="aligncenter size-large"><img loading="lazy" decoding="async" width="1024" height="425" src="https://mutlubalik.com/wp-content/uploads/2023/11/3-1024x425.png" alt="" class="wp-image-3581" srcset="https://mutlubalik.com/wp-content/uploads/2023/11/3-1024x425.png 1024w, https://mutlubalik.com/wp-content/uploads/2023/11/3-300x125.png 300w, https://mutlubalik.com/wp-content/uploads/2023/11/3-768x319.png 768w, https://mutlubalik.com/wp-content/uploads/2023/11/3.png 1170w" sizes="auto, (max-width: 1024px) 100vw, 1024px" /></figure>
</div>

<div class="wp-block-image">
<figure class="aligncenter size-full"><img loading="lazy" decoding="async" width="551" height="544" src="https://mutlubalik.com/wp-content/uploads/2023/11/16.png" alt="" class="wp-image-3600" srcset="https://mutlubalik.com/wp-content/uploads/2023/11/16.png 551w, https://mutlubalik.com/wp-content/uploads/2023/11/16-300x296.png 300w" sizes="auto, (max-width: 551px) 100vw, 551px" /></figure>
</div>


<p>Açılan <strong>Create VM/Host Rule</strong> penceresinde;<br><strong>Name:</strong> Oluşturulacak kurala tanımlayıcı bir isim verilir.<br><strong>Type</strong> altında bulunan;<br><strong>Keep Virtual Machines Together:</strong> Seçilen sanal sunucuların aynı host üzerinde çalıştırılmasını sağlar.<br><strong>Separate Virtual Machines: </strong>Seçilen sanal sunucuların farklı host üzerinde çalıştırılmasını sağlar.<br><strong>Virtual Machines to Hosts:</strong> Seçilen sunucu grubunun seçilen host grubu üzerinde çalışmasını veya çalışmamasını sağlar.<br></p>



<p>İlk senaryom için WSQLSRV01 ve WSQLSRV02 sunucularını seçtikten sonra <strong>Seperate Virtual Machines </strong>kuralını oluşturuyorum.</p>


<div class="wp-block-image">
<figure class="aligncenter size-full"><img loading="lazy" decoding="async" width="560" height="553" src="https://mutlubalik.com/wp-content/uploads/2023/11/3_.png" alt="" class="wp-image-3583" srcset="https://mutlubalik.com/wp-content/uploads/2023/11/3_.png 560w, https://mutlubalik.com/wp-content/uploads/2023/11/3_-300x296.png 300w" sizes="auto, (max-width: 560px) 100vw, 560px" /></figure>
</div>


<p>Kuralı oluşturduktan sonra WSQLSRV01 sunucusu esxist02 hostuna migrate olmaya başlamıştır.</p>


<div class="wp-block-image">
<figure class="aligncenter size-large"><img loading="lazy" decoding="async" width="1024" height="361" src="https://mutlubalik.com/wp-content/uploads/2023/11/4-1024x361.png" alt="" class="wp-image-3582" srcset="https://mutlubalik.com/wp-content/uploads/2023/11/4-1024x361.png 1024w, https://mutlubalik.com/wp-content/uploads/2023/11/4-300x106.png 300w, https://mutlubalik.com/wp-content/uploads/2023/11/4-768x271.png 768w, https://mutlubalik.com/wp-content/uploads/2023/11/4-1536x541.png 1536w, https://mutlubalik.com/wp-content/uploads/2023/11/4.png 1919w" sizes="auto, (max-width: 1024px) 100vw, 1024px" /></figure>
</div>


<p>Migrate işlemi tamamlandı. Yazılan kural sonrasında SQL sunucular farklı esxi host üzerinde çalışmaktadır.</p>


<div class="wp-block-image">
<figure class="aligncenter size-large"><img loading="lazy" decoding="async" width="1024" height="209" src="https://mutlubalik.com/wp-content/uploads/2023/11/5-1024x209.png" alt="" class="wp-image-3584" srcset="https://mutlubalik.com/wp-content/uploads/2023/11/5-1024x209.png 1024w, https://mutlubalik.com/wp-content/uploads/2023/11/5-300x61.png 300w, https://mutlubalik.com/wp-content/uploads/2023/11/5-768x157.png 768w, https://mutlubalik.com/wp-content/uploads/2023/11/5-1536x314.png 1536w, https://mutlubalik.com/wp-content/uploads/2023/11/5.png 1848w" sizes="auto, (max-width: 1024px) 100vw, 1024px" /></figure>
</div>


<p>İkinci senaryoda proxyserver ve rheltest sunucularının aynı host üzerinde çalışması için <strong>Keep Virtual Machines Together</strong> kuralını oluşturuyorum.</p>


<div class="wp-block-image">
<figure class="aligncenter size-full"><img loading="lazy" decoding="async" width="564" height="551" src="https://mutlubalik.com/wp-content/uploads/2023/11/6.png" alt="" class="wp-image-3585" srcset="https://mutlubalik.com/wp-content/uploads/2023/11/6.png 564w, https://mutlubalik.com/wp-content/uploads/2023/11/6-300x293.png 300w" sizes="auto, (max-width: 564px) 100vw, 564px" /></figure>
</div>


<p>Kuralı oluşturduktan sonra proxyserver sunucusu esxist02 hostuna migrate olmaya başlamıştır.</p>


<div class="wp-block-image">
<figure class="aligncenter size-large"><img loading="lazy" decoding="async" width="1024" height="395" src="https://mutlubalik.com/wp-content/uploads/2023/11/7-1024x395.png" alt="" class="wp-image-3586" srcset="https://mutlubalik.com/wp-content/uploads/2023/11/7-1024x395.png 1024w, https://mutlubalik.com/wp-content/uploads/2023/11/7-300x116.png 300w, https://mutlubalik.com/wp-content/uploads/2023/11/7-768x296.png 768w, https://mutlubalik.com/wp-content/uploads/2023/11/7-1536x592.png 1536w, https://mutlubalik.com/wp-content/uploads/2023/11/7.png 1756w" sizes="auto, (max-width: 1024px) 100vw, 1024px" /></figure>
</div>


<p>Migrate işlemi tamamlandı. Yazılan kural sonrasında proxyserver ve rheltest sunucuları aynı esxi host üzerinde çalışmaktadır.</p>


<div class="wp-block-image">
<figure class="aligncenter size-large"><img loading="lazy" decoding="async" width="1024" height="219" src="https://mutlubalik.com/wp-content/uploads/2023/11/8-1024x219.png" alt="" class="wp-image-3587" srcset="https://mutlubalik.com/wp-content/uploads/2023/11/8-1024x219.png 1024w, https://mutlubalik.com/wp-content/uploads/2023/11/8-300x64.png 300w, https://mutlubalik.com/wp-content/uploads/2023/11/8-768x165.png 768w, https://mutlubalik.com/wp-content/uploads/2023/11/8-1536x329.png 1536w, https://mutlubalik.com/wp-content/uploads/2023/11/8.png 1652w" sizes="auto, (max-width: 1024px) 100vw, 1024px" /></figure>
</div>


<p>Son senaryoda VM group ve Host group oluşturarak test işlemlerini gerçekleştireceğim.<br><strong>VM/Host Groups</strong> sekmesine geçiş yapıldıktan sonra <strong>Add </strong>ile yeni bir kural ekleme penceresi açılır.</p>


<div class="wp-block-image">
<figure class="aligncenter size-large"><img loading="lazy" decoding="async" width="1024" height="465" src="https://mutlubalik.com/wp-content/uploads/2023/11/9_-1024x465.png" alt="" class="wp-image-3588" srcset="https://mutlubalik.com/wp-content/uploads/2023/11/9_-1024x465.png 1024w, https://mutlubalik.com/wp-content/uploads/2023/11/9_-300x136.png 300w, https://mutlubalik.com/wp-content/uploads/2023/11/9_-768x349.png 768w, https://mutlubalik.com/wp-content/uploads/2023/11/9_.png 1075w" sizes="auto, (max-width: 1024px) 100vw, 1024px" /></figure>
</div>


<p>Açılan <strong>Create VM/Host Group</strong> penceresinde;<br><strong>Name: </strong>Oluşturulacak olan gruba tanımlayıcı bir isim verilir.<br><strong>Type:</strong> Sunucular için VM, Hostlar için Host grup seçilir.<br>srmist sunucusunu seçerek vm group oluşturma işlemini tamamlıyorum.</p>


<div class="wp-block-image">
<figure class="aligncenter size-full"><img loading="lazy" decoding="async" width="559" height="650" src="https://mutlubalik.com/wp-content/uploads/2023/11/9.png" alt="" class="wp-image-3589" srcset="https://mutlubalik.com/wp-content/uploads/2023/11/9.png 559w, https://mutlubalik.com/wp-content/uploads/2023/11/9-258x300.png 258w" sizes="auto, (max-width: 559px) 100vw, 559px" /></figure>
</div>


<p>esxist hostunu seçerek grup oluşturma işlemini tamamlıyorum.</p>


<div class="wp-block-image">
<figure class="aligncenter size-full"><img loading="lazy" decoding="async" width="564" height="649" src="https://mutlubalik.com/wp-content/uploads/2023/11/10.png" alt="" class="wp-image-3590" srcset="https://mutlubalik.com/wp-content/uploads/2023/11/10.png 564w, https://mutlubalik.com/wp-content/uploads/2023/11/10-261x300.png 261w" sizes="auto, (max-width: 564px) 100vw, 564px" /></figure>
</div>


<p>VM ve Host grupları başarılı bir şekilde oluşturulmuştur.</p>


<div class="wp-block-image">
<figure class="aligncenter size-large"><img loading="lazy" decoding="async" width="1024" height="323" src="https://mutlubalik.com/wp-content/uploads/2023/11/11-1024x323.png" alt="" class="wp-image-3591" srcset="https://mutlubalik.com/wp-content/uploads/2023/11/11-1024x323.png 1024w, https://mutlubalik.com/wp-content/uploads/2023/11/11-300x95.png 300w, https://mutlubalik.com/wp-content/uploads/2023/11/11-768x242.png 768w, https://mutlubalik.com/wp-content/uploads/2023/11/11.png 1174w" sizes="auto, (max-width: 1024px) 100vw, 1024px" /></figure>
</div>


<p>Kural tanımlamak için <strong>VM/Host Rules</strong> sekmesine geçilerek <strong>Add </strong>ile yeni bir kural penceresi açılır. Açılan <strong>Create VM/Host group</strong> penceresinde <strong>Type </strong>olarak <strong>Virtual Machines to Hosts </strong>seçilir.<br>Aşağıdaki gibi 4 tane seçenek sunulmaktadır;</p>



<ul class="wp-block-list" id="GUID-0591F865-91B5-4311-ABA6-84FBA5AAFB59__CHOICES_FB77242384334A6BB78B22FB127EAB20">
<li><strong>Must run on hosts in group</strong>: Seçilen VM grup seçilen Host grup üzerinde çalışmak zorundadır.</li>



<li><strong>Should run on hosts in group</strong>: Seçilen VM grup seçilen Host grup üzerinde çalışmalıdır. Ancak zorunlu değildir. </li>



<li><strong>Must not run on hosts in group</strong>: Seçilen VM grup seçilen Host grup üzerinde çalışamaz.</li>



<li><strong>Should not run on hosts in group</strong>: Seçilen VM grup seçilen Host grup üzerinde çalışmamalıdır. Ancak zorunlu değildir.</li>
</ul>


<div class="wp-block-image">
<figure class="aligncenter size-full"><img loading="lazy" decoding="async" width="569" height="560" src="https://mutlubalik.com/wp-content/uploads/2023/11/12.png" alt="" class="wp-image-3592" srcset="https://mutlubalik.com/wp-content/uploads/2023/11/12.png 569w, https://mutlubalik.com/wp-content/uploads/2023/11/12-300x295.png 300w" sizes="auto, (max-width: 569px) 100vw, 569px" /></figure>
</div>


<p>Test için <strong>SRM </strong>grubundaki sunucuların <strong>SRM ESXi Host</strong> grubunda bulunan esxi hostlarında zorunlu çalışması için <strong>Must run on hosts in group </strong>seçimini yaparak kural oluşturuyorum.</p>


<div class="wp-block-image">
<figure class="aligncenter size-full"><img loading="lazy" decoding="async" width="562" height="557" src="https://mutlubalik.com/wp-content/uploads/2023/11/13.png" alt="" class="wp-image-3593" srcset="https://mutlubalik.com/wp-content/uploads/2023/11/13.png 562w, https://mutlubalik.com/wp-content/uploads/2023/11/13-300x297.png 300w, https://mutlubalik.com/wp-content/uploads/2023/11/13-150x150.png 150w" sizes="auto, (max-width: 562px) 100vw, 562px" /></figure>
</div>


<p>Kural oluşturulmuştur. Detayları görüntülenmektedir.</p>


<div class="wp-block-image">
<figure class="aligncenter size-large"><img loading="lazy" decoding="async" width="1024" height="444" src="https://mutlubalik.com/wp-content/uploads/2023/11/15-1024x444.png" alt="" class="wp-image-3596" srcset="https://mutlubalik.com/wp-content/uploads/2023/11/15-1024x444.png 1024w, https://mutlubalik.com/wp-content/uploads/2023/11/15-300x130.png 300w, https://mutlubalik.com/wp-content/uploads/2023/11/15-768x333.png 768w, https://mutlubalik.com/wp-content/uploads/2023/11/15.png 1082w" sizes="auto, (max-width: 1024px) 100vw, 1024px" /></figure>
</div>


<p>srmist sunucusunu farklı bir esxi host üzerine migrate etmek istediğimde <em><strong>Virtual machine &#8216;srmist&#8217; on host &#8216;esxist02.mutlubalik.com&#8217; would violate a virtual machine &#8211; host affinity rule.</strong></em> uyarı mesajı görüntülenmektedir. Kural başarılı bir şekilde çalışmaktadır.</p>


<div class="wp-block-image">
<figure class="aligncenter size-large"><img loading="lazy" decoding="async" width="1024" height="617" src="https://mutlubalik.com/wp-content/uploads/2023/11/14-1024x617.png" alt="" class="wp-image-3594" srcset="https://mutlubalik.com/wp-content/uploads/2023/11/14-1024x617.png 1024w, https://mutlubalik.com/wp-content/uploads/2023/11/14-300x181.png 300w, https://mutlubalik.com/wp-content/uploads/2023/11/14-768x463.png 768w, https://mutlubalik.com/wp-content/uploads/2023/11/14.png 1136w" sizes="auto, (max-width: 1024px) 100vw, 1024px" /></figure>
</div>


<p>Bu makalede <strong>DRS affinity rule </strong>tiplerini inceleyerek test işlemlerini gerçekleştirdik.</p>



<p>Bir sonraki makalede görüşmek üzere. Sağlıkla kalın…</p>



<p style="font-size:12px">reference: <a href="https://docs.vmware.com/en/VMware-vSphere/7.0/com.vmware.vsphere.resmgmt.doc/GUID-FF28F29C-8B67-4EFF-A2EF-63B3537E6934.html" target="_blank" rel="noreferrer noopener">https://docs.vmware.com/en/VMware-vSphere/7.0/com.vmware.vsphere.resmgmt.doc/GUID-FF28F29C-8B67-4EFF-A2EF-63B3537E6934.html</a><br>görsel :<a href="https://i.ytimg.com/vi/I6OlN4_6BZ8/maxresdefault.jpg" target="_blank" rel="noreferrer noopener">https://i.ytimg.com/vi/I6OlN4_6BZ8/maxresdefault.jpg</a></p>
]]></content:encoded>
					
		
		
			</item>
		<item>
		<title>PowerCLI ile Sunucuların Secure Boot Durumunu Sorgulama</title>
		<link>https://mutlubalik.com/powercli-ile-sunucularin-secure-boot-durumunu-sorgulama/</link>
		
		<dc:creator><![CDATA[Mutlu BALIK]]></dc:creator>
		<pubDate>Tue, 07 Nov 2023 11:41:37 +0000</pubDate>
				<category><![CDATA[VMware]]></category>
		<guid isPermaLink="false">https://mutlubalik.com/?p=3563</guid>

					<description><![CDATA[Secure Boot sunucu açılırken yazılımların doğruluğunu test eden bir teknolojidir. Secure Boot özelliği aktifken sadece üreticinin doğruladığı yazılımlar kullanarak önyükleme yapılır. VMware üzerinde secure boot özelliğini aktif edebilmek için aşağıdaki şartların karşılanması gerekmektedir; Sunucuların secure boot durumunu öğrenmek için aşağıdaki komut çalıştırılabilir; Get-VM &#124; Select Name, @{N=&#8217;SecureBootEnabledStatus&#8217;;E={$_.ExtensionData.Config.BootOptions.EfiSecureBootEnabled}} Bu makalede PowerCLI ile sunucuların secure boot durumunu [&#8230;]]]></description>
										<content:encoded><![CDATA[
<p>Secure Boot sunucu açılırken yazılımların doğruluğunu test eden bir teknolojidir.</p>



<p>Secure Boot özelliği aktifken sadece üreticinin doğruladığı yazılımlar kullanarak önyükleme yapılır.</p>



<p>VMware üzerinde secure boot özelliğini aktif edebilmek için aşağıdaki şartların karşılanması gerekmektedir;</p>



<ul class="wp-block-list">
<li>VMware Tools versiyonunun 10.1&nbsp;ve üzerinde olması gerekmektedir.</li>



<li>Hardware versiyonunun 13&nbsp;ve üzerinde olması gerekmektedir.</li>



<li>UEFI önyüklemeyi destekleyen bir işletim sistemi olması gerekmektedir.<br></li>
</ul>



<p>Sunucuların secure boot durumunu öğrenmek için aşağıdaki komut çalıştırılabilir;</p>



<figure class="wp-block-table"><table><tbody><tr><td>Get-VM | Select Name, @{N=&#8217;SecureBootEnabledStatus&#8217;;E={$_.ExtensionData.Config.BootOptions.EfiSecureBootEnabled}}</td></tr></tbody></table></figure>


<div class="wp-block-image">
<figure class="aligncenter size-large"><img loading="lazy" decoding="async" width="1024" height="426" src="https://mutlubalik.com/wp-content/uploads/2023/11/1-1024x426.png" alt="" class="wp-image-3566" srcset="https://mutlubalik.com/wp-content/uploads/2023/11/1-1024x426.png 1024w, https://mutlubalik.com/wp-content/uploads/2023/11/1-300x125.png 300w, https://mutlubalik.com/wp-content/uploads/2023/11/1-768x319.png 768w, https://mutlubalik.com/wp-content/uploads/2023/11/1.png 1303w" sizes="auto, (max-width: 1024px) 100vw, 1024px" /></figure>
</div>


<p>Bu makalede PowerCLI ile sunucuların secure boot durumunu inceledik.</p>



<p>Bir sonraki makalede görüşmek üzere. Sağlıkla kalın…</p>



<p style="font-size:12px">reference: <a rel="noreferrer noopener" href="https://docs.vmware.com/en/VMware-vSphere/7.0/com.vmware.vsphere.security.doc/GUID-898217D4-689D-4EB5-866C-888353FE241C.html" target="_blank">https://docs.vmware.com/en/VMware-vSphere/7.0/com.vmware.vsphere.security.doc/GUID-898217D4-689D-4EB5-866C-888353FE241C.html</a></p>
]]></content:encoded>
					
		
		
			</item>
		<item>
		<title>PowerCLI ile Hardware Versiyon Upgrade İşlemi</title>
		<link>https://mutlubalik.com/powercli-ile-hardware-versiyon-upgrade-islemi/</link>
		
		<dc:creator><![CDATA[Mutlu BALIK]]></dc:creator>
		<pubDate>Mon, 30 Oct 2023 07:46:04 +0000</pubDate>
				<category><![CDATA[VMware]]></category>
		<guid isPermaLink="false">https://mutlubalik.com/?p=3545</guid>

					<description><![CDATA[Sanal sunucularımızın hardware versiyonu sunucu üzerinde yapacağımız cpu,ram,disk,network ve diğer yapılandırma ayarlarını etkilemektedir.Aşağıda bazı yapılandırmalar için değerler bulunmaktadır. Tamamı için bağlantıyı inceleyebilirsiniz.https://docs.vmware.com/en/VMware-vSphere/8.0/vsphere-vm-administration/GUID-789C3913-1053-4850-A0F0-E29C3D32B6DA.html Bu yapılandırma değerleri esx versiyonlarına göre değişkenlik gösterebilmektedir.Yapınızda bulunan sanal sunucuların hardware versiyonlarını güncellemeniz gereken durumlar olabilmektedir.Hardware versiyonu güncellenecek sunucuya vCenter üzerinde sağ tıklayarak Compatibility &#8211;&#62; Upgrade VM Compatibility seçeneğiyle hardware versiyon upgrade [&#8230;]]]></description>
										<content:encoded><![CDATA[
<p>Sanal sunucularımızın hardware versiyonu sunucu üzerinde yapacağımız cpu,ram,disk,network ve diğer yapılandırma ayarlarını etkilemektedir.<br>Aşağıda bazı yapılandırmalar için değerler bulunmaktadır. Tamamı için bağlantıyı inceleyebilirsiniz.<br><a rel="noreferrer noopener" href="https://docs.vmware.com/en/VMware-vSphere/8.0/vsphere-vm-administration/GUID-789C3913-1053-4850-A0F0-E29C3D32B6DA.html" target="_blank">https://docs.vmware.com/en/VMware-vSphere/8.0/vsphere-vm-administration/GUID-789C3913-1053-4850-A0F0-E29C3D32B6DA.html</a></p>


<div class="wp-block-image">
<figure class="aligncenter size-large"><img loading="lazy" decoding="async" width="1024" height="560" src="https://mutlubalik.com/wp-content/uploads/2023/10/4-2-1024x560.png" alt="" class="wp-image-3558" srcset="https://mutlubalik.com/wp-content/uploads/2023/10/4-2-1024x560.png 1024w, https://mutlubalik.com/wp-content/uploads/2023/10/4-2-300x164.png 300w, https://mutlubalik.com/wp-content/uploads/2023/10/4-2-768x420.png 768w, https://mutlubalik.com/wp-content/uploads/2023/10/4-2.png 1379w" sizes="auto, (max-width: 1024px) 100vw, 1024px" /></figure>
</div>


<p>Bu yapılandırma değerleri esx versiyonlarına göre değişkenlik gösterebilmektedir.<br>Yapınızda bulunan sanal sunucuların hardware versiyonlarını güncellemeniz gereken durumlar olabilmektedir.<br>Hardware versiyonu güncellenecek sunucuya <strong> </strong>vCenter üzerinde<strong> </strong>sağ tıklayarak <strong>Compatibility &#8211;&gt; Upgrade VM Compatibility</strong> seçeneğiyle hardware versiyon upgrade işlemini yapabilirsiniz. Ancak bu yöntem hardware versiyonu upgrade edilecek tüm sunucular için uzun ve yorucu bir süreç olacaktır.</p>



<p>PowerCLI ile birden çok sunucuda hardware versiyon upgrade işlemi gerçekleştirilebilir.</p>



<p>Bu işlem için hardware versiyonu upgrade edilecek sunucu isimleri excel dosyasına yazılır.</p>


<div class="wp-block-image">
<figure class="aligncenter size-full"><img loading="lazy" decoding="async" width="899" height="532" src="https://mutlubalik.com/wp-content/uploads/2023/10/3-3.png" alt="" class="wp-image-3548" srcset="https://mutlubalik.com/wp-content/uploads/2023/10/3-3.png 899w, https://mutlubalik.com/wp-content/uploads/2023/10/3-3-300x178.png 300w, https://mutlubalik.com/wp-content/uploads/2023/10/3-3-768x454.png 768w" sizes="auto, (max-width: 899px) 100vw, 899px" /></figure>
</div>


<p>Örnek excel dosyasını aşağıdaki bağlantıdan indirebilirsiniz.</p>



<div class="wp-block-file"><a id="wp-block-file--media-0a568a06-6f32-4915-9efc-d18b41b0f1e6" href="https://mutlubalik.com/wp-content/uploads/2023/10/servers-2.csv">servers.csv</a><a href="https://mutlubalik.com/wp-content/uploads/2023/10/servers-2.csv" class="wp-block-file__button wp-element-button" download aria-describedby="wp-block-file--media-0a568a06-6f32-4915-9efc-d18b41b0f1e6">İndir</a></div>



<p>hardware versiyonu upgrade edilecek sunucular yazıldıktan sonra dosya kaydedilir ve aşağıdaki script çalıştırılır.</p>


<div class="wp-block-image">
<figure class="aligncenter size-full"><img loading="lazy" decoding="async" width="905" height="568" src="https://mutlubalik.com/wp-content/uploads/2023/10/2-3.png" alt="" class="wp-image-3550" srcset="https://mutlubalik.com/wp-content/uploads/2023/10/2-3.png 905w, https://mutlubalik.com/wp-content/uploads/2023/10/2-3-300x188.png 300w, https://mutlubalik.com/wp-content/uploads/2023/10/2-3-768x482.png 768w" sizes="auto, (max-width: 905px) 100vw, 905px" /></figure>
</div>


<p>Script aşağıdaki bağlantıdan indirilebilir.</p>



<div class="wp-block-file"><a id="wp-block-file--media-95b29d24-cce0-4e45-8e5e-7fb0e6af5410" href="https://mutlubalik.com/wp-content/uploads/2023/10/hwupgrade.txt">hwupgrade</a><a href="https://mutlubalik.com/wp-content/uploads/2023/10/hwupgrade.txt" class="wp-block-file__button wp-element-button" download aria-describedby="wp-block-file--media-95b29d24-cce0-4e45-8e5e-7fb0e6af5410">İndir</a></div>



<p>Script listedeki sunucuların hardware versiyonuna göre işlem yapmaktadır. hardware versiyonu vmx-19 dan düşük olanlar için upgrade sürecini başlatmaktadır. Hardware versiyonu vmx-19 ise herhangi bir işlem yapmamaktadır.</p>



<p>Test işlemlerim için aşağıdaki 2 durumu örnekledim;<br>1-) rheltest sunucusunun hardware versionu vmx-17 olduğu için hardware versiyon upgrade sürecine girmiştir.<br>2-) wsrv sunucusunun hardware versiyonu vmx-19 olduğu için upgrade sürecine girmemiştir.<br>Yapılan işlemlere ait loglar görüntülenmektedir;</p>


<div class="wp-block-image">
<figure class="aligncenter size-large"><img loading="lazy" decoding="async" width="1024" height="512" src="https://mutlubalik.com/wp-content/uploads/2023/10/1-3-1024x512.png" alt="" class="wp-image-3553" srcset="https://mutlubalik.com/wp-content/uploads/2023/10/1-3-1024x512.png 1024w, https://mutlubalik.com/wp-content/uploads/2023/10/1-3-300x150.png 300w, https://mutlubalik.com/wp-content/uploads/2023/10/1-3-768x384.png 768w, https://mutlubalik.com/wp-content/uploads/2023/10/1-3.png 1063w" sizes="auto, (max-width: 1024px) 100vw, 1024px" /></figure>
</div>


<p>Bu makalede PowerCLI ile hardware versiyon upgrade işlemini gerçekleştirdik.</p>



<p>Bir sonraki makalede görüşmek üzere. Sağlıkla kalın…</p>



<p style="font-size:13px"></p>
]]></content:encoded>
					
		
		
			</item>
	</channel>
</rss>
