<?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>Hypervisor.fr &#187; VMware</title>
	<atom:link href="http://www.hypervisor.fr/?cat=13&#038;feed=rss2" rel="self" type="application/rss+xml" />
	<link>http://www.hypervisor.fr</link>
	<description>French Bare-Metal weblog</description>
	<lastBuildDate>Wed, 26 Jun 2024 22:42:28 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9.2</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>Host.Local.ManageUserGroups = root</title>
		<link>http://www.hypervisor.fr/?p=6005</link>
		<comments>http://www.hypervisor.fr/?p=6005#comments</comments>
		<pubDate>Fri, 30 Jul 2021 14:16:51 +0000</pubDate>
		<dc:creator>NiTRo</dc:creator>
				<category><![CDATA[Tips & Tricks]]></category>
		<category><![CDATA[VMware]]></category>
		<category><![CDATA[esxcli]]></category>
		<category><![CDATA[Get-EsxCli]]></category>
		<category><![CDATA[PowerCLI]]></category>
		<category><![CDATA[powershell]]></category>
		<category><![CDATA[vCenter]]></category>

		<guid isPermaLink="false">http://www.hypervisor.fr/?p=6005</guid>
		<description><![CDATA[MAJ 11/01/2023 : William Lam vient de nous faire remarquer qu&#8217;il etait possible d&#8217;hardener vSphere 8 pour limiter cette &#8220;feature&#8221; ainsi que de limiter le shell aux user non root (dcui par exemple&#8230;)

By restricting ESXi Shell access for the vpxuser, you prevent attackers,  which can also be insiders who have access to vCenter Server the [...]]]></description>
			<content:encoded><![CDATA[<p style="text-align: justify;"><em><span style="color: #ff0000;">MAJ 11/01/2023</span> : <a href="https://williamlam.com/2023/01/applying-additional-security-hardening-enhancements-in-esxi-8-0.html" target="_blank">William Lam vient de nous faire remarquer qu&#8217;il etait possible d&#8217;hardener vSphere 8 pour limiter cette &#8220;feature&#8221; ainsi que de limiter le shell aux user non root (dcui par exemple&#8230;)</a></em></p>
<blockquote>
<p style="text-align: justify;"><em>By restricting ESXi Shell access for the vpxuser, you prevent attackers,  which can also be insiders who have access to vCenter Server <strong>the  ability to just change the ESXi root password without knowing the  original password</strong>.</em></p>
</blockquote>
<p style="text-align: justify;">Après l’énorme succès de notre billet <a href="http://www.hypervisor.fr/?p=5655" target="_blank">Administrators = root</a> qui vous permet de reset le mot de passe root de vos ESX sans le connaître (si vous êtes admin du vCenter) grâce à Get-EsxCli, voici <a href="https://vdc-repo.vmware.com/vmwb-repository/dcr-public/790263bc-bd30-48f1-af12-ed36055d718b/e5f17bfc-ecba-40bf-a04f-376bbb11e811/vim.host.LocalAccountManager.html#updateUser" target="_blank">une nouvelle méthode utilisable depuis vSphere 6.7 U2</a> qui nécessite encore moins de droits :</p>
<blockquote><p>Updates a local user account using the parameters defined in the   <a href="https://vdc-repo.vmware.com/vmwb-repository/dcr-public/790263bc-bd30-48f1-af12-ed36055d718b/e5f17bfc-ecba-40bf-a04f-376bbb11e811/vim.host.LocalAccountManager.AccountSpecification.html" target="_blank">HostLocalAccountManagerAccountSpecification</a> data object type.</p></blockquote>
<blockquote><p>Required Privileges <a href="https://files.hypervisor.fr/img/HostLocalManageUserGroups.png" target="_blank">Host.Local.ManageUserGroups</a></p></blockquote>
<pre class="brush: powershell; title: ; notranslate">(Get-View (Get-VMHost|Get-View).ConfigManager.AccountManager).UpdateUser($(New-Object VMware.Vim.HostAccountSpec -Property @{id=&quot;root&quot;;password=&quot;VMw4re!&quot;}))</pre>
<p style="text-align: justify;">Attention, contrairement à la méthode Get-EsxCli, cette fois un petit event va vous trahir instantanément :</p>
<p style="text-align: justify;"><img class="aligncenter" src="https://files.hypervisor.fr/img/HostAccountSpec.png" alt="" width="517" height="324" /></p>
]]></content:encoded>
			<wfw:commentRss>http://www.hypervisor.fr/?feed=rss2&amp;p=6005</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Dual vSAN Datastores</title>
		<link>http://www.hypervisor.fr/?p=5949</link>
		<comments>http://www.hypervisor.fr/?p=5949#comments</comments>
		<pubDate>Thu, 15 Apr 2021 19:24:23 +0000</pubDate>
		<dc:creator>NiTRo</dc:creator>
				<category><![CDATA[HowTo]]></category>
		<category><![CDATA[Tips & Tricks]]></category>
		<category><![CDATA[VMware]]></category>
		<category><![CDATA[VSAN]]></category>
		<category><![CDATA[PowerCLI]]></category>
		<category><![CDATA[SVMotion]]></category>

		<guid isPermaLink="false">http://www.hypervisor.fr/?p=5949</guid>
		<description><![CDATA[MAJ 30/07/2021 : Sur vSphere 7.0 U2 il est nécessaire de préciser l&#8217;UUID du cluster vSAN dans la commande, très probablement pour le fonctionnement d&#8217;HCI mesh :

Datastore UUID is required when a cluster UUID is specified


Get-VMHost&#124;%{($_&#124;get-esxcli).vsan.datastore.add($null, &#34;vsanDatastore2&#34;, &#34;11111111-1111-1111-1111-111111111111&#34;)}
En utilisant $null pour la propriété ClusterUUID, ca passe crème.
MAJ 18/05/2021 : On me signale dans l&#8217;oreillette que [...]]]></description>
			<content:encoded><![CDATA[<p style="text-align: justify;"><em><span style="color: #ff0000;"><strong>MAJ 30/07/2021</strong></span> : Sur vSphere 7.0 U2 il est nécessaire de préciser l&#8217;UUID du cluster vSAN dans la commande, très probablement pour le fonctionnement d&#8217;HCI mesh :</em></p>
<blockquote>
<p style="text-align: justify;">Datastore UUID is required when a cluster UUID is specified</p>
</blockquote>
<p style="text-align: center;"><a href="https://files.hypervisor.fr/img/Dual_vSAN_Datastores/dual_vsan_vsp7U2.png" target="_blank"><img class="aligncenter" src="https://files.hypervisor.fr/img/Dual_vSAN_Datastores/dual_vsan_vsp7U2.png" alt="" width="549" height="500" /></a></p>
<pre class="brush: powershell; title: ; notranslate">Get-VMHost|%{($_|get-esxcli).vsan.datastore.add($null, &quot;vsanDatastore2&quot;, &quot;11111111-1111-1111-1111-111111111111&quot;)}</pre>
<p style="text-align: justify;">En utilisant $null pour la propriété ClusterUUID, ca passe crème.</p>
<p style="text-align: justify;"><em><span style="color: #ff0000;"><strong>MAJ 18/05/2021</strong></span> : On me signale dans l&#8217;oreillette que <strong>VMware supporterai officiellement cette méthode</strong> :</em></p>
<blockquote>
<p style="text-align: justify;"><em>Engineering have advised that the procedure you are carrying out is applicable to your specific need and is considered supported from us</em></p>
</blockquote>
<p style="text-align: justify;">Tous les admin VMware le savent, <strong>après renommage d&#8217;une VM</strong> il convient de faire un petit <strong>Storage vMotion</strong> (<a href="https://kb.vmware.com/s/article/1009113" target="_blank">aka d-motion pour les boomers</a>) pour &#8220;propager&#8221; le nouveau nom aux fichiers de la VM en question. Et pour ceux qui l&#8217;ignorait encore, <a href="http://www.yellow-bricks.com/2012/12/21/renaming-virtual-machine-files-using-svmotion-back/" target="_blank">cette feature était un bug jusqu&#8217;à la version 5.0 U2 d&#8217;ESXi</a>.</p>
<p style="text-align: justify;">Évidement, cela nécessite d&#8217;avoir <strong>un 2eme datastore</strong> (idéalement avec des performances identiques et la bonne volumétrie) pour faire l&#8217;aller-retour de la VM (ou un <a href="https://docs.vmware.com/en/vRealize-Operations-Manager/8.0/com.vmware.vcom.core.doc/GUID-82F8390B-8448-40DA-BFF1-30AB6166141D.html" target="_blank">Storage Pod</a>) <strong>ce qui n&#8217;est pas souvent le cas sur un cluster vSAN</strong> pour des raisons évidentes.</p>
<p style="text-align: center;"><img class="aligncenter" title="vSAN HCI Mesh" src="https://files.hypervisor.fr/img/VMware-vSAN-HCI-Mesh.png" alt="" width="498" height="302" /></p>
<p style="text-align: justify;">Jusqu&#8217;à maintenant, les seules solutions étaient de &#8230; ne rien faire ou de connecter un datastore NFS ponctuellement pour faire le svmotion. Mais en cherchant à faire du <strong><a href="https://core.vmware.com/resource/vmware-vsan-hci-mesh-tech-note#" target="_blank">HCI mesh</a></strong> en ligne de commande nous sommes tombé sur la solution (<a href="https://code.vmware.com/docs/12778/esxi-7-0-u1-esxcli-command-reference/namespace/esxcli_vsan.html" target="_blank">très discrètement documenté</a>) : <strong>esxcli vsan datastore add</strong> pour créer <strong>un 2eme datastore sur le vmdk namespace</strong>.<br />
<strong> </strong></p>
<p style="text-align: center;"><a href="http://download3.vmware.com/vmworld/2014/downloads/session-pdfs/STO1279_Final_US.pdf"><strong><img class="aligncenter" title="Architecting_Virtual_SAN" src="https://files.hypervisor.fr//img/Architecting_Virtual_SAN_6.2.2.008.1.png" alt="" width="519" height="398" /></strong></a></p>
<p style="text-align: justify;">Cette feature semble être apparu à partir de la version 6.7 U3 et est évidement accessible en PowerCLI également. Il suffit donc d&#8217;ajouter un &#8220;datastore&#8221; vSAN en précisant le nom et l&#8217;UUID de votre choix si vous le souhaitez. <strong>Il est nécessaire d&#8217;exécuter cette même commande sur tous les ESX du cluster avec le même nom <span style="color: #ff0000;"><span style="text-decoration: underline;">et le même UUID</span></span>.</strong></p>
<p style="text-align: center;"><a href="https://files.hypervisor.fr/img/Dual_vSAN_Datastores/esxcli_vsan_datastore_add.png" target="_blank"><strong><img class="aligncenter" title="esxcli_vsan_datastore_add" src="https://files.hypervisor.fr/img/Dual_vSAN_Datastores/esxcli_vsan_datastore_add.png" alt="" width="506" height="582" /></strong></a></p>
<blockquote>
<p style="text-align: justify;"><strong>Add a new datastore to the vSAN cluster</strong>. This operation is only allowed if vSAN is enabled on the host. In general, add should be done at cluster level. Across a vSAN cluster vSAN datastores should be in sync.</p>
</blockquote>
<p style="text-align: justify;">Voila ce que ça donne sur un cluster à 3 noeuds :</p>
<p style="text-align: center;"><a href="https://files.hypervisor.fr/img/Dual_vSAN_Datastores/Get-EsxCli_vsan_datastore_add.png"><img class="aligncenter" src="https://files.hypervisor.fr/img/Dual_vSAN_Datastores/Get-EsxCli_vsan_datastore_add.png" alt="" width="478" height="294" /></a></p>
<p style="text-align: justify;"><a href="https://files.hypervisor.fr/img/Dual_vSAN_Datastores/vpx_vsandatastore2.png" target="_blank"><img class="aligncenter" src="https://files.hypervisor.fr/img/Dual_vSAN_Datastores/vpx_vsandatastore2.png" alt="" width="487" height="330" /></a></p>
<p style="text-align: justify;"><a href="https://files.hypervisor.fr/img/Dual_vSAN_Datastores/vsan_vm_storage_policies.png" target="_blank"><img class="aligncenter" src="https://files.hypervisor.fr/img/Dual_vSAN_Datastores/vsan_vm_storage_policies.png" alt="" width="486" height="320" /></a>On peut donc maintenant faire notre svmotion aller-retour sans perte de performances.</p>
<p style="text-align: center;"><a href="https://files.hypervisor.fr/img/Dual_vSAN_Datastores/vpx_svmotion.png" target="_blank"><img class="aligncenter" src="https://files.hypervisor.fr/img/Dual_vSAN_Datastores/vpx_svmotion.png" alt="" width="444" height="260" /></a></p>
<p style="text-align: justify;">Une fois l&#8217;operation terminé on peut utiliser la commande &#8220;<strong>remove</strong>&#8221; en precisant le nom et l&#8217;UUID du datastore ou carrément la commande &#8220;<strong>clear</strong>&#8221; :</p>
<blockquote>
<p style="text-align: justify;"><strong>Remove all but the default datastore from the vSAN cluster</strong>. This operation is only allowed if vSAN is enabled on the host. In general, add should be done at cluster level. Across a vSAN cluster vSAN datastores should be in sync.</p>
</blockquote>
<p style="text-align: justify;">Et aucun risque de se rater, <strong>si une vm est toujours présente sur le datastore, vous aurez droit à une belle erreur</strong>. Après avoir fait du ménage, ça passe crème :</p>
<p style="text-align: center;"><a href="https://files.hypervisor.fr/img/Dual_vSAN_Datastores/esxcli_vsan_datastore_clear.png" target="_blank"><img class="aligncenter" src="https://files.hypervisor.fr/img/Dual_vSAN_Datastores/esxcli_vsan_datastore_clear.png" alt="" width="478" height="313" /></a></p>
]]></content:encoded>
			<wfw:commentRss>http://www.hypervisor.fr/?feed=rss2&amp;p=5949</wfw:commentRss>
		<slash:comments>3</slash:comments>
		</item>
		<item>
		<title>vMotion SDPS madness</title>
		<link>http://www.hypervisor.fr/?p=5925</link>
		<comments>http://www.hypervisor.fr/?p=5925#comments</comments>
		<pubDate>Thu, 08 Aug 2019 12:28:27 +0000</pubDate>
		<dc:creator>NiTRo</dc:creator>
				<category><![CDATA[Performance]]></category>
		<category><![CDATA[VMware]]></category>
		<category><![CDATA[stun]]></category>
		<category><![CDATA[troubleshooting]]></category>
		<category><![CDATA[VMotion]]></category>

		<guid isPermaLink="false">http://www.hypervisor.fr/?p=5925</guid>
		<description><![CDATA[Nous profitons de la coincidence d&#8217;un problème rencontré récemment chez un client et d&#8217;un excellent post de Niels Hagoort, le co-auteur du célèbrissime VMware vSphere 6.5 Host Resources Deep Dive, pour vous parler d&#8217;une fonctionnalité de vMotion apparu dans ESX 5.0 : Stun During Page Send (SDPS).

vSphere 5 introduces a new enhancement that ensures vMotion [...]]]></description>
			<content:encoded><![CDATA[<p style="text-align: justify;">Nous profitons de la coincidence d&#8217;un problème rencontré récemment chez un client et <a href="https://blogs.vmware.com/vsphere/2019/07/the-vmotion-process-under-the-hood.html" target="_blank">d&#8217;un excellent post de Niels Hagoort</a>, le co-auteur du célèbrissime VMware <a href="https://frankdenneman.nl/publications/" target="_blank">vSphere 6.5 Host Resources Deep Dive</a>, pour vous parler <a href="https://www.vmware.com/content/dam/digitalmarketing/vmware/en/pdf/techpaper/vmware-vmotion-performance-vsphere5.pdf" target="_blank">d&#8217;une fonctionnalité de vMotion apparu dans ESX 5.0 : Stun During Page Send (SDPS)</a>.</p>
<blockquote>
<p style="text-align: justify;">vSphere 5 introduces a new enhancement that ensures vMotion will not fail due to memory copy convergence issues. As noted in the “Architecture” section, transfer of the virtual machine’s memory contents during the vMotion process involves an iterative precopy procedure. In most cases, a precopy iteration should take less time to complete than the previous iteration. <strong>However, a pathological case where the virtual machine modifies memory faster than it can be transferred—due to workload characteristics or network infrastructure limitations—results in aborting vMotion</strong> in vSphere 4.1 and prior releases, because precopy fails to make forward progress. <strong>The enhancement in vSphere 5 slows down the virtual machine during such pathological cases and ensures that the memory modification rate is slower than the precopy transfer rate, thereby preventing any possible vMotion failures</strong>.</p>
</blockquote>
<p style="text-align: center;"><a href="http://www.hypervisor.fr/wp-content/uploads/2019/08/vMotion-timeline3-1024x265.png" title="vMotion-timeline3-1024x265" rel="lightbox[5925]"><img class="aligncenter size-full wp-image-5928" title="vMotion-timeline3-1024x265" src="http://www.hypervisor.fr/wp-content/uploads/2019/08/vMotion-timeline3-1024x265.png" alt="" width="491" height="127" /></a></p>
<p style="text-align: justify;">Vous l&#8217;aurez compris, si l&#8217;ESX source n&#8217;arrive pas à &#8220;dépiler&#8221; la vram suffisamment vite lors d&#8217;un vMotion, l&#8217;execution de la VM en question est ralentie jusqu&#8217;à ce qu&#8217;une convergence soit possible, <a href="http://www.hypervisor.fr/?p=2865" target="_blank">dans la limite des timeout par défaut</a>.</p>
<p style="text-align: justify;">Cette fonctionnalité semble parfaite pour les monster VM qu&#8217;on a du mal à évacuer lors d&#8217;un passage en maintenance mode mais elle est aussi très &#8220;problématique&#8221; lorsque l&#8217;infrastructure réseau n&#8217;est pas ou plus adaptée. D&#8217;où le très discret &#8220;network infrastructure limitations&#8221; dans le descriptif.</p>
<p style="text-align: justify;">En l&#8217;occurence, le client en question mène une campagne de &#8220;refresh&#8221; de son parc afin de remplacer des machines ayant largement dépassé leur date de péremption technique. Mais sans faire évoluer son réseau. Il se retrouve donc avec machine de 2To de RAM sur un réseau 1GbE.</p>
<p style="text-align: center;"><a href="http://www.hypervisor.fr/wp-content/uploads/2019/08/sdps_gbe.png" title="sdps_gbe" rel="lightbox[5925]"><img class="aligncenter size-full wp-image-5929" title="sdps_gbe" src="http://www.hypervisor.fr/wp-content/uploads/2019/08/sdps_gbe.png" alt="" width="482" height="330" /></a></p>
<p style="text-align: justify;">Evidement, à mesure que des VM de plus en plus grosses sont provisionnées sur ces environnements, les fenêtres de maintenance sont de plus en plus grande mais surtout des ralentissements apparaissent lors des mise en maintenance ou simplement quand DRS déplace de VM :</p>
<blockquote>
<p style="text-align: justify;">018-12-13T16:32:29.378Z cpu18:74031)VMotion: 4943: 7811810961774337297 S: <strong>Not enough forward progress, enabling SDPS</strong> (Pages left to send: prev2 693298, prev 461605, cur 497489, network bandwidth ~28.619 MB/s, 94% t2d)<br />
2018-12-13T16:38:32.426Z cpu188:72874)VMotion: 4943: 7811810962073701659 S: Not enough forward progress, enabling SDPS (Pages left to send: prev2 126959, prev 18467, cur 15909, network bandwidth ~60.158 MB/s, 103% t2d)</p>
</blockquote>
<p style="text-align: justify;">SDPS fait son boulot et il le fait bien alors évidement pour faire passer des VM de 256Go qui bossent fort dans du 1GbE ca pique&#8230; Donc la prochaine fois qu&#8217;on vous dit que la bande passante de vmotion peut être sacrifiée, vous saurez quoi répondre.</p>
<p style="text-align: justify;">Evidement, <a href="https://kb.vmware.com/s/article/2007595" target="_blank">il y a un (mauvais) plan B</a> :</p>
<blockquote>
<p style="text-align: justify;">To work around this issue, the Stun During Page Send (SDPS) feature can be disabled on a per-host basis.<br />
[...]<br />
Change the value of <strong>Migrate.SdpsEnabled</strong> to 0.</p>
</blockquote>
<p style="text-align: justify;">Nous en profitons pour souligner un autre &#8220;petit&#8221; détail du texte au sujet du Page Tracing :</p>
<blockquote>
<p style="text-align: justify;">During the pre-copy phase, the vCPU’s, in use by the virtual machine, are <strong>briefly stunned to install the page tracers</strong>.</p>
</blockquote>
]]></content:encoded>
			<wfw:commentRss>http://www.hypervisor.fr/?feed=rss2&amp;p=5925</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>#vExpert10 &amp; #Web30</title>
		<link>http://www.hypervisor.fr/?p=5915</link>
		<comments>http://www.hypervisor.fr/?p=5915#comments</comments>
		<pubDate>Thu, 08 Aug 2019 09:31:33 +0000</pubDate>
		<dc:creator>NiTRo</dc:creator>
				<category><![CDATA[News]]></category>
		<category><![CDATA[VMware]]></category>
		<category><![CDATA[VSAN]]></category>
		<category><![CDATA[veeam]]></category>
		<category><![CDATA[SexiGraf]]></category>

		<guid isPermaLink="false">http://www.hypervisor.fr/?p=5915</guid>
		<description><![CDATA[Time flies. Ce qu&#8217;il y a de génial avec cette expression anglaise américaine c&#8217;est qu&#8217;on visualise tout de suite un avion de chasse passer à mach 5 avec votre todo list. En tout cas, cela résume bien le silence d&#8217;un an entre ce post et le précédent qui avait pour vocation, lui  aussi, de célébrer [...]]]></description>
			<content:encoded><![CDATA[<p style="text-align: justify;"><strong>Time flies</strong>. Ce qu&#8217;il y a de génial avec cette expression <span style="text-decoration: line-through;">anglaise</span> américaine c&#8217;est qu&#8217;on visualise tout de suite un avion de chasse passer à mach 5 avec votre todo list. En tout cas, cela résume bien le silence d&#8217;un an entre ce post et le précédent qui avait pour vocation, lui  aussi, de célébrer l&#8217;anniversaire de ce blog. Et de 11 !</p>
<p style="text-align: center;"><a href="http://www.hypervisor.fr/wp-content/uploads/2019/08/veeam_vanguard.jpg" title="veeam_vanguard" rel="lightbox[5915]"><img class="aligncenter size-full wp-image-5918" title="veeam_vanguard" src="http://www.hypervisor.fr/wp-content/uploads/2019/08/veeam_vanguard.jpg" alt="" width="395" height="178" /></a></p>
<p style="text-align: justify;">On va en profiter pour remercier VMware, Veeam et toute la communauté pour les nominations de <strong>vExpert</strong>, <strong>vExpert</strong> <strong>vSAN</strong> et <strong><span style="color: #008000;">Veeam Vanguard</span></strong> de cette année, c&#8217;est toujours un honneur. 10 étoiles ca commence à faire <img src='http://www.hypervisor.fr/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
<p style="text-align: center;"><a href="http://www.hypervisor.fr/wp-content/uploads/2019/08/vexpert_2019.png" title="vexpert_2019" rel="lightbox[5915]"><img class="aligncenter size-full wp-image-5919" title="vexpert_2019" src="http://www.hypervisor.fr/wp-content/uploads/2019/08/vexpert_2019.png" alt="" width="408" height="275" /></a></p>
<p style="text-align: justify;">Nous avons même <a href="https://blogs.vmware.com/virtualblocks/2019/03/08/vspeaking-podcast-episode-108-top-10-vmware-tools/?src=so_5c86ac27b7e2a&amp;cid=70134000001CTmC" target="_blank">eu droit à une &#8220;honorable mention&#8221; dans un des vSpeaking Podcast de VMware</a> pour <a href="http://www.sexigraf.fr" target="_blank">SexiGraf</a>. La classe <img class="superemotions" title="Cool" alt="Cool" border="0" src="http://www.hypervisor.fr/wp-includes/images/smilies/icon_cool.gif" /></p>
<p style="text-align: justify;">Et puisque c&#8217;est les 30 ans du <a href="https://web30.web.cern.ch" target="_blank">World Wide Web</a> ET de/du la/le <a href="https://www.theverge.com/2019/4/17/18311479/nintendo-game-boy-30th-anniversary-switch-gaming" target="_blank">Game Boy</a>, nous nous sommes permis :</p>
<p style="text-align: justify;"><a href="http://www.hypervisor.fr/wp-content/uploads/2019/08/web30_gameboy.png" title="web30_gameboy" rel="lightbox[5915]"><img class="aligncenter size-full wp-image-5917" title="web30_gameboy" src="http://www.hypervisor.fr/wp-content/uploads/2019/08/web30_gameboy.png" alt="" width="308" height="282" /></a></p>
]]></content:encoded>
			<wfw:commentRss>http://www.hypervisor.fr/?feed=rss2&amp;p=5915</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>VCSA to NextCloud</title>
		<link>http://www.hypervisor.fr/?p=5845</link>
		<comments>http://www.hypervisor.fr/?p=5845#comments</comments>
		<pubDate>Fri, 29 Jun 2018 17:16:23 +0000</pubDate>
		<dc:creator>NiTRo</dc:creator>
				<category><![CDATA[HowTo]]></category>
		<category><![CDATA[Tips & Tricks]]></category>
		<category><![CDATA[VCSA]]></category>
		<category><![CDATA[VMware]]></category>
		<category><![CDATA[backup]]></category>
		<category><![CDATA[nextcloud]]></category>
		<category><![CDATA[webdav]]></category>

		<guid isPermaLink="false">http://www.hypervisor.fr/?p=5845</guid>
		<description><![CDATA[Lors d&#8217;une update d&#8217;une VSCA 6.7 de lab, nous avons été amusé par l’étape de backup que VMware à ajouté au workflow d&#8217;update de la VAMI (sublime HTML5 Clarity d&#8217;ailleurs). Il faut à présent certifier que l&#8217;on a bien backupé l&#8217;appliance avant de se lancer dans une update :


la VCSA 6.7 introduit le backup automatique [...]]]></description>
			<content:encoded><![CDATA[<p style="text-align: justify;">Lors d&#8217;une update d&#8217;une VSCA 6.7 de lab, nous avons été amusé par l’étape de backup que VMware à ajouté au workflow d&#8217;update de la VAMI (sublime <a href="https://vmware.github.io/clarity/" target="_blank">HTML5 Clarity</a> d&#8217;ailleurs). Il faut à présent certifier que l&#8217;on a bien backupé l&#8217;appliance avant de se lancer dans une update :</p>
<p style="text-align: center;"><a href="http://files.hypervisor.fr/img/vcsa2nextcloud/vcsa2nextcloud_backup_confirm.png" title="vcsa2nextcloud_backup_confirm_s" rel="lightbox[5845]"><img class="aligncenter size-full wp-image-5882" title="vcsa2nextcloud_backup_confirm_s" src="http://www.hypervisor.fr/wp-content/uploads/2018/06/vcsa2nextcloud_backup_confirm_s.png" alt="" width="509" height="358" /></a></p>
<p style="text-align: center;">
<p style="text-align: justify;"><a href="https://blogs.vmware.com/vsphere/2018/04/introducing-vcenter-server-6-7.html" target="_blank">la VCSA 6.7 introduit le backup automatique programmé</a> mais toujours pas le support du SMB (raison pour laquelle nous avions boudé la feature en 6.5). En fouillant dans la doc, nous nous sommes aperçu que <a href="https://docs.vmware.com/en/VMware-vSphere/6.5/com.vmware.vsphere.install.doc/GUID-AFF34FA6-B7CF-4AE0-9C12-C674F160682C.html" target="_blank">le protocole webdav était supporté</a>, c&#8217;est certainement ce que VMware sous-entend par http et https bien que ce ne soit pas extrêmement clair.</p>
<p style="text-align: justify;"><a href="https://nextcloud.com/"><img class="aligncenter" src="http://files.hypervisor.fr/img/vcsa2nextcloud/Nextcloud_Logo.svg.png" alt="" width="320" height="227" /></a></p>
<p style="text-align: justify;">En grand fan et utilisateur intensif de <a href="https://nextcloud.com/" target="_blank">NextCloud</a> que nous sommes, nous avons testé le backup en secure webdav (https) vers un nextcloud avec succès et ce très facilement (on s&#8217;attendait à des histoires d&#8217;url comme c&#8217;est souvent le cas avec le webdav) :</p>
<p style="text-align: center;"><a href="http://files.hypervisor.fr/img/vcsa2nextcloud/vcsa2nextcloud_edit_backup_sched.png" title="vcsa2nextcloud_edit_backup_sched" rel="lightbox[5845]"><img class="alignnone size-thumbnail wp-image-5862" title="vcsa2nextcloud_edit_backup_sched" src="http://www.hypervisor.fr/wp-content/uploads/2018/06/vcsa2nextcloud_edit_backup_sched-150x150.png" alt="" width="150" height="150" /></a> <a href="http://www.hypervisor.fr/wp-content/uploads/2018/06/vcsa2nextcloud_backup_ok.png" title="vcsa2nextcloud_backup_ok" rel="lightbox[5845]"><img class="alignnone size-thumbnail wp-image-5863" title="vcsa2nextcloud_backup_ok" src="http://www.hypervisor.fr/wp-content/uploads/2018/06/vcsa2nextcloud_backup_ok-150x150.png" alt="" width="150" height="150" /></a> <a href="http://www.hypervisor.fr/wp-content/uploads/2018/06/vcsa2nextcloud_onetime_backup.png" title="vcsa2nextcloud_onetime_backup" rel="lightbox[5845]"><img class="alignnone size-thumbnail wp-image-5864" title="vcsa2nextcloud_onetime_backup" src="http://www.hypervisor.fr/wp-content/uploads/2018/06/vcsa2nextcloud_onetime_backup-150x150.png" alt="" width="150" height="150" /></a></p>
<p style="text-align: center;"><a href="http://www.hypervisor.fr/wp-content/uploads/2018/06/vcsa2nextcloud_nc_webdav.png" title="vcsa2nextcloud_nc_webdav" rel="lightbox[5845]"><img class="aligncenter size-large wp-image-5865" title="vcsa2nextcloud_nc_webdav" src="http://www.hypervisor.fr/wp-content/uploads/2018/06/vcsa2nextcloud_nc_webdav-1024x524.png" alt="" width="491" height="251" /></a></p>
<p style="text-align: left;">Reste plus qu&#8217;à tester le restore maintenant <img class="superemotions" title="Cool" alt="Cool" border="0" src="http://www.hypervisor.fr/wp-includes/images/smilies/icon_cool.gif" /></p>
]]></content:encoded>
			<wfw:commentRss>http://www.hypervisor.fr/?feed=rss2&amp;p=5845</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>vExpert &amp; vExpert VSAN 2018</title>
		<link>http://www.hypervisor.fr/?p=5837</link>
		<comments>http://www.hypervisor.fr/?p=5837#comments</comments>
		<pubDate>Fri, 08 Jun 2018 10:32:27 +0000</pubDate>
		<dc:creator>NiTRo</dc:creator>
				<category><![CDATA[VMware]]></category>
		<category><![CDATA[VSAN]]></category>
		<category><![CDATA[vExpert]]></category>

		<guid isPermaLink="false">http://www.hypervisor.fr/?p=5837</guid>
		<description><![CDATA[Comme chaque année, c&#8217;est avec honneur que nous rejoignons les rangs des VMware vExpert et, plus récemment, ceux du vExpert VSAN progam. Une fois de plus nous tenons à remerciez VMware et tout ceux qui nous soutiennent.

]]></description>
			<content:encoded><![CDATA[<p style="text-align: justify;">Comme chaque année, c&#8217;est avec honneur que nous rejoignons <a href="https://blogs.vmware.com/vmtn/2018/03/vexpert-2018-award-announcement.html" target="_blank">les rangs des VMware vExpert</a> et, plus récemment, <a href="https://blogs.vmware.com/vmtn/2018/06/vexpert-vsan-2018-announcement.html" target="_blank">ceux du vExpert VSAN progam</a>. Une fois de plus nous tenons à remerciez VMware et tout ceux qui nous soutiennent.</p>
<p style="text-align: center;"><img class="alignnone" src="http://files.hypervisor.fr/img/vExpert-2018-Badge-s.png" alt="" width="265" height="179" /><img class="alignnone" src="http://files.hypervisor.fr/img/vExpert-2018-VSAN-Badge-s.png" alt="" width="265" height="179" /></p>
]]></content:encoded>
			<wfw:commentRss>http://www.hypervisor.fr/?feed=rss2&amp;p=5837</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>VMXNET3 = 10GbE ?</title>
		<link>http://www.hypervisor.fr/?p=5822</link>
		<comments>http://www.hypervisor.fr/?p=5822#comments</comments>
		<pubDate>Tue, 11 Jul 2017 13:50:53 +0000</pubDate>
		<dc:creator>NiTRo</dc:creator>
				<category><![CDATA[Kb]]></category>
		<category><![CDATA[VMware]]></category>
		<category><![CDATA[Bullshit]]></category>
		<category><![CDATA[VMTools]]></category>

		<guid isPermaLink="false">http://www.hypervisor.fr/?p=5822</guid>
		<description><![CDATA[Nous nous décidons à écrire ce billet après avoir entendu par la millième fois &#8220;Le réseau est lent dans ma VM, on peut pas mettre une carte vmxnet3 pour avoir du 10 giga?&#8221;. Je sais c&#8217;est dur à lire mais c&#8217;est la triste vérité.
Donc pour donner une url plutôt que de retaper une fois de [...]]]></description>
			<content:encoded><![CDATA[<p style="text-align: justify;">Nous nous décidons à écrire ce billet après avoir entendu par la millième fois <strong><em>&#8220;Le réseau est lent dans ma VM, on peut pas mettre une carte vmxnet3 pour avoir du 10 giga?&#8221;</em></strong>. Je sais c&#8217;est dur à lire mais c&#8217;est la triste vérité.</p>
<p style="text-align: justify;">Donc pour donner une url plutôt que de retaper une fois de plus l’explication, voici l&#8217;extrait du <a href="https://www.vmware.com/content/dam/digitalmarketing/vmware/en/pdf/techpaper/virtual_networking_concepts.pdf" target="_blank">VMware Virtual Networking Concepts</a> qui fait foi :</p>
<blockquote>
<p style="text-align: justify;"><strong>The speed and duplex settings found in physical networking are not relevant in the virtual network</strong>, because all the data transfer takes place in the host system’s RAM, nearly instantaneously and without the possibility of collisions or other signaling-related errors.</p>
</blockquote>
<p>Et si vous en aviez encore besoin, en voici la preuve :</p>
<div id="attachment_5828" class="wp-caption aligncenter" style="width: 501px"><a href="http://www.hypervisor.fr/wp-content/uploads/2017/07/e1000_3GbE.png" title="e1000_3GbE" rel="lightbox[5822]"><img class="size-large wp-image-5828   " title="e1000_3GbE" src="http://www.hypervisor.fr/wp-content/uploads/2017/07/e1000_3GbE-1024x338.png" alt="" width="491" height="162" /></a><p class="wp-caption-text">iperf win64 entre 2 cartes e1000 &quot;bridée&quot; à 100Mo</p></div>
<p style="text-align: center;">
<div id="attachment_5829" class="wp-caption aligncenter" style="width: 511px"><a href="http://www.hypervisor.fr/wp-content/uploads/2017/07/vmxnet3_30G.png" title="vmxnet3_30G" rel="lightbox[5822]"><img class="size-full wp-image-5829" title="vmxnet3_30G" src="http://www.hypervisor.fr/wp-content/uploads/2017/07/vmxnet3_30G.png" alt="" width="501" height="535" /></a><p class="wp-caption-text">iperf entre 2 cartes vmxnet3</p></div>
<p style="text-align: center;">
<p style="text-align: center;">
]]></content:encoded>
			<wfw:commentRss>http://www.hypervisor.fr/?feed=rss2&amp;p=5822</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>VIX &amp; Kerberos Double Hop</title>
		<link>http://www.hypervisor.fr/?p=5815</link>
		<comments>http://www.hypervisor.fr/?p=5815#comments</comments>
		<pubDate>Fri, 07 Jul 2017 11:03:29 +0000</pubDate>
		<dc:creator>NiTRo</dc:creator>
				<category><![CDATA[Kb]]></category>
		<category><![CDATA[Tips & Tricks]]></category>
		<category><![CDATA[VMware]]></category>
		<category><![CDATA[kerberos]]></category>
		<category><![CDATA[PowerCLI]]></category>
		<category><![CDATA[powershell]]></category>
		<category><![CDATA[VIX]]></category>

		<guid isPermaLink="false">http://www.hypervisor.fr/?p=5815</guid>
		<description><![CDATA[Lors d&#8217;une petite session de PowerCLI avec les célèbres (mais bientôt deprecated) VIX APIs, nous nous sommes heurté à une limite de sécurité bien connue des admins Microsoft: le Kerberos Double Hop.
Pour résumer, nous avions besoin d’exécuter un script situé sur un share depuis un ensemble de VM et nous avons bien évidement tenté de [...]]]></description>
			<content:encoded><![CDATA[<p style="text-align: justify;">Lors d&#8217;une petite session de PowerCLI avec les célèbres (<a href="https://www.vmware.com/support/developer/vix-api/VIX-1.15-ReleaseNotes.html" target="_blank">mais bientôt deprecated</a>) VIX APIs, nous nous sommes heurté à une limite de sécurité bien connue des admins Microsoft: le <a href="https://blogs.technet.microsoft.com/askds/2008/06/13/understanding-kerberos-double-hop/" target="_blank">Kerberos Double Hop</a>.</p>
<p style="text-align: justify;">Pour résumer, nous avions besoin d’exécuter un script situé sur un share depuis un ensemble de VM et nous avons bien évidement tenté de profiter du fait que <a href="http://www.hypervisor.fr/?p=5070" target="_blank">VIX supporte le SSO</a>, comme des gros fainéants. Et là, <a href="https://weblogs.asp.net/owscott/iis-windows-authentication-and-the-double-hop-issue" target="_blank">c&#8217;est le drame</a>:</p>
<blockquote>
<p style="text-align: justify;">When using Integrated Security, anonymous access is disabled, and impersonation is turned on, <strong>a security measure kicks in and doesn&#8217;t allow your site to access resources on any network servers.  This includes access to a UNC path</strong> directly from IIS or SQL Server using Windows authentication.</p>
</blockquote>
<p>Il nous a suffit de <strong>passer les credentials à l&#8217;Invoke-VMScript pour que l&#8217;UNC devienne accessible</strong>:</p>
<p style="text-align: center;"><a href="http://www.hypervisor.fr/wp-content/uploads/2017/07/VIX_Kerb_2x_Hop.png" title="VIX_Kerb_2x_Hop" rel="lightbox[5815]"><img class="aligncenter size-full wp-image-5816" title="VIX_Kerb_2x_Hop" src="http://www.hypervisor.fr/wp-content/uploads/2017/07/VIX_Kerb_2x_Hop.png" alt="" width="486" height="384" /></a></p>
]]></content:encoded>
			<wfw:commentRss>http://www.hypervisor.fr/?feed=rss2&amp;p=5815</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>RegisterVM_task onliner</title>
		<link>http://www.hypervisor.fr/?p=5798</link>
		<comments>http://www.hypervisor.fr/?p=5798#comments</comments>
		<pubDate>Tue, 09 May 2017 13:54:52 +0000</pubDate>
		<dc:creator>NiTRo</dc:creator>
				<category><![CDATA[Tips & Tricks]]></category>
		<category><![CDATA[VMware]]></category>

		<guid isPermaLink="false">http://www.hypervisor.fr/?p=5798</guid>
		<description><![CDATA[Raiders Of The Lost VMX est l&#8217;un des plus vieux et des plus célèbres script de Luc Dekens. Pour rappel il permet, entre autres, d&#8217;enregistrer en masse des vmx &#8220;perdus&#8221;. Très pratique pour les tests de Disaster Recovery en mode artisanal&#8230;


Apres un crash de carte SD de boot, sans backup du state.tgz (sinon c&#8217;est pas [...]]]></description>
			<content:encoded><![CDATA[<p style="text-align: justify;"><a href="http://www.lucd.info/2009/12/02/raiders-of-the-lost-vmx/" target="_blank">Raiders Of The Lost VMX</a> est l&#8217;un des plus vieux et des plus célèbres script de <a href="https://twitter.com/LucD22" target="_blank">Luc Dekens</a>. Pour rappel il permet, entre autres, d&#8217;enregistrer en masse des vmx &#8220;perdus&#8221;. Très pratique pour les tests de Disaster Recovery en mode artisanal&#8230;</p>
<p style="text-align: center;"><img class="aligncenter" src="http://files.hypervisor.fr/img/RegisterVM_Ghetto.png" alt="" width="504" height="230" /></p>
<p style="text-align: justify;">
<p style="text-align: justify;">Apres un crash de carte SD de boot, sans backup du state.tgz (sinon c&#8217;est pas drôle), nous devions ré-enregistrer les VM présentent sur ce host en standalone. Ces VM étant des replicas Veeam, nous ne pouvions pas risquer de perdre le MoRef, donc obligation de les enregistrer en direct sur l&#8217;ESX fraichement redeployé. Et comme il y en avait plus de 150, pas question de le faire à la main donc pourquoi ne pas utiliser le script de Luc ? Oui pourquoi ? Et bien parce que nous voulions le faire avec un oneliner bien sur !</p>
<p style="text-align: justify;">Voici donc <strong>un oneliner qui va chercher les fichiers vmx dans le datastore </strong><strong>&#8220;<strong>datastore1</strong>&#8220;</strong><strong> </strong>(<span style="text-decoration: underline;">à changer au début du oneliner</span>)<strong> et les enregistrer avec leur nom original </strong>(DisplayName dans le vmx)<strong> sur l&#8217;ESX</strong>.</p>
<pre class="brush: powershell; title: ; notranslate">Get-View -ViewType Datastore -Property Name,Browser -Filter @{&quot;Name&quot; = &quot;^datastore1$&quot;}|%{(Get-View $_.Browser).SearchDatastoreSubFolders($(&quot;[&quot; + $_.Name + &quot;]&quot;),(New-Object VMware.Vim.HostDatastoreBrowserSearchSpec -Property @{matchPattern=(&quot;*.vmx&quot;)}))}|%{(Get-View -ViewType Folder -Property Name -Filter @{&quot;Name&quot; = &quot;^vm&quot;}).GetType().GetMethod(&quot;RegisterVM_Task&quot;).Invoke($(Get-View -ViewType Folder -Property Name -Filter @{&quot;Name&quot; = &quot;^vm&quot;}),@($($_.FolderPath + &quot;/&quot; + $_.File.Path),$null,$false,(Get-View -ViewType ResourcePool -Property Name -Filter @{&quot;Name&quot; = &quot;Resources&quot;}).MoRef,$null))}
</pre>
<p style="text-align: justify;">1ere chose importante, <strong>ce onliner doit impérativement être exécuté depuis l&#8217;ESX et non le vcenter pour ne pas perde le MoRef</strong> des vm, si toute fois elles existent déjà dans le vCenter. Donc c&#8217;est un connect-viserver sur l&#8217;ESX qu&#8217;il convient d’exécuter dans votre console PowerCLI.</p>
<p style="text-align: justify;">2eme chose, la difficulté de ce oneliner à été de faire passer un $null pour le paramètre &#8220;name&#8221; à la method <a href="https://pubs.vmware.com/vi3/sdk/ReferenceGuide/vim.Folder.html#registerVm" target="_blank">RegisterVM_Task</a> :</p>
<blockquote><p>If this parameter is not set, the displayName configuration parameter of the virtual machine is used</p></blockquote>
<p style="text-align: justify;">Ca a l&#8217;air de rien mais en l&#8217;état c&#8217;est impossible <a href="https://communities.vmware.com/message/1156581#1156581" target="_blank">et c&#8217;est grâce à un vieux post de Luc</a> (encore lui !) qui retranscrit une solution provenant du support VMware :</p>
<blockquote><p>VMware Support came up with a solution.<br />
Big thanks to Jain</p>
<p><strong>The problem was basically how to &#8220;not set&#8221; the name parameter from within PowerShell</strong>.</p></blockquote>
<p>Nous avons donc pu intégrer ce bout de script au notre. Enjoy!</p>
]]></content:encoded>
			<wfw:commentRss>http://www.hypervisor.fr/?feed=rss2&amp;p=5798</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>The (old) Ladykillers</title>
		<link>http://www.hypervisor.fr/?p=5789</link>
		<comments>http://www.hypervisor.fr/?p=5789#comments</comments>
		<pubDate>Wed, 12 Apr 2017 17:51:49 +0000</pubDate>
		<dc:creator>NiTRo</dc:creator>
				<category><![CDATA[Tips & Tricks]]></category>
		<category><![CDATA[VMware]]></category>
		<category><![CDATA[oneliner]]></category>
		<category><![CDATA[PowerCLI]]></category>
		<category><![CDATA[powershell]]></category>

		<guid isPermaLink="false">http://www.hypervisor.fr/?p=5789</guid>
		<description><![CDATA[Pour bien commencer le printemps et son grand ménage traditionnel, nous vous proposons un petit oneliner qui vous affichera la liste des vm éteintes avec la date du poweroff basée sur la dernière modification du fichier nvram (qui coincide au fameux &#8220;VMX has left the building&#8221; dans le vmware.log) donc pas de dépendance avec la [...]]]></description>
			<content:encoded><![CDATA[<p style="text-align: justify;">Pour bien commencer le printemps et son grand ménage traditionnel, nous vous proposons un petit oneliner qui vous affichera la liste des vm éteintes avec la date du poweroff <strong>basée sur la dernière modification du fichier nvram</strong> (qui coincide au fameux &#8220;VMX has left the building&#8221; dans le vmware.log) donc pas de dépendance avec la stratégie de rétention des tasks et events de votre VCDB.</p>
<p style="text-align: center;"><a href="http://files.hypervisor.fr/img/The_old_Ladykillers/ds_browser_nvram.png" title="ds_browser_nvram" rel="lightbox[5789]"><img class="alignnone size-thumbnail wp-image-5790" title="ds_browser_nvram" src="http://www.hypervisor.fr/wp-content/uploads/2017/04/ds_browser_nvram-150x150.png" alt="" width="150" height="150" /></a> <a href="http://files.hypervisor.fr/img/The_old_Ladykillers/vmx_has_left_the_build_log.png" title="vmx_has_left_the_build_log" rel="lightbox[5789]"><img class="alignnone size-thumbnail wp-image-5791" title="vmx_has_left_the_build_log" src="http://www.hypervisor.fr/wp-content/uploads/2017/04/vmx_has_left_the_build_log-150x150.png" alt="" width="150" height="150" /></a></p>
<p style="text-align: justify;">
<p style="text-align: justify;">Nous avons ajouté la taille de la VM pour vous motiver à faire un VeeamZIP et à en finir définitivement avec ces VM qui risque d&#8217;être redémarrées après un crash d&#8217;ESX&#8230;</p>
<p style="text-align: center;"><img class="aligncenter" src="http://files.hypervisor.fr/img/The_old_Ladykillers/old_vm_off_ogv.png" alt="" width="495" height="596" /></p>
<pre class="brush: powershell; title: ; notranslate">get-view -viewtype virtualmachine -property name,runtime,layoutex|?{$_.Runtime.PowerState -eq &quot;poweredOff&quot; -and $_.Runtime.ConnectionState -eq &quot;connected&quot; -and !$_.config.template}|?{$_.LayoutEx.File|?{$_.type -match &quot;nvram&quot;}}|%{$_|select Name, @{n=&quot;Modification&quot;;e={((get-view (get-view -viewtype datastore –filter @{&quot;Name&quot;=($_.LayoutEx.File|?{$_.type -eq &quot;nvram&quot;}).name.split(&quot;[]&quot;)[1]}).browser).SearchDatastore(($_.LayoutEx.File|?{$_.type -eq &quot;nvram&quot;}).name.split(&quot;/&quot;)[0],(New-Object VMware.Vim.HostDatastoreBrowserSearchSpec -property @{matchPattern=(&quot;*.nvram&quot;); details=(New-Object VMware.Vim.FileQueryFlags -property @{modification=$true})}))|%{$_.file}).Modification}}, @{n=&quot;SizeGB&quot;;e={[math]::round(($_.LayoutEx.File|measure -Property size -sum).sum/1GB,1)}}}</pre>
]]></content:encoded>
			<wfw:commentRss>http://www.hypervisor.fr/?feed=rss2&amp;p=5789</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>vExpert VSAN 2016</title>
		<link>http://www.hypervisor.fr/?p=5779</link>
		<comments>http://www.hypervisor.fr/?p=5779#comments</comments>
		<pubDate>Tue, 23 Aug 2016 16:45:32 +0000</pubDate>
		<dc:creator>NiTRo</dc:creator>
				<category><![CDATA[News]]></category>
		<category><![CDATA[VMware]]></category>
		<category><![CDATA[VSAN]]></category>
		<category><![CDATA[vExpert]]></category>

		<guid isPermaLink="false">http://www.hypervisor.fr/?p=5779</guid>
		<description><![CDATA[Depuis quelques jours, je fais parti, ainsi que mon très cher &#8220;confrère&#8221; et ami Frédéric, du cercle très fermé des vExpert VSAN 2016.
C&#8217;est un honneur que nous devons en grande parti au travail effectué sur SexiGraf ainsi qu&#8217;à la communauté qui nous a largement soutenu dans notre démarche.
Merci à tous pour votre implication, vos retours [...]]]></description>
			<content:encoded><![CDATA[<p style="text-align: justify;"><a href="https://blogs.vmware.com/vmtn/2016/08/vexpert-2016-vsan-announcement.html" target="_blank">Depuis quelques jours</a>, je fais parti, ainsi que mon très cher &#8220;confrère&#8221; et ami <a href="http://www.vmdude.fr/news/vexpert-vsan-2016/" target="_blank">Frédéric</a>, du cercle très fermé des <strong>vExpert VSAN 2016</strong>.</p>
<p style="text-align: justify;">C&#8217;est un honneur que nous devons en grande parti au travail effectué sur <a href="http://www.sexigraf.fr/vsan-sexipanels/" target="_blank">SexiGraf</a> ainsi qu&#8217;à la communauté qui nous a largement soutenu dans notre démarche.</p>
<p style="text-align: justify;">Merci à tous pour votre implication, vos retours et vos critique qui nous permettent de faire avancer cet outil dans la bonne direction!</p>
<p><img class="aligncenter" src="http://files.hypervisor.fr/img/vExpert_vSAN_2016_s.jpg" alt="" width="256" height="169" /></p>
]]></content:encoded>
			<wfw:commentRss>http://www.hypervisor.fr/?feed=rss2&amp;p=5779</wfw:commentRss>
		<slash:comments>4</slash:comments>
		</item>
		<item>
		<title>VSAN SwapThickProvisionDisabled OneLiner</title>
		<link>http://www.hypervisor.fr/?p=5766</link>
		<comments>http://www.hypervisor.fr/?p=5766#comments</comments>
		<pubDate>Tue, 23 Aug 2016 16:30:30 +0000</pubDate>
		<dc:creator>NiTRo</dc:creator>
				<category><![CDATA[News]]></category>
		<category><![CDATA[VMware]]></category>
		<category><![CDATA[VSAN]]></category>
		<category><![CDATA[overcommit]]></category>
		<category><![CDATA[PowerCLI]]></category>
		<category><![CDATA[powershell]]></category>

		<guid isPermaLink="false">http://www.hypervisor.fr/?p=5766</guid>
		<description><![CDATA[Alors que nous en rêvions depuis 10 ans pour VMFS, VMware a introduit dans VSAN 6.2 la possibilité de &#8220;thin provisioner&#8221; la swap des VM :
In Virtual SAN 6.2, we introduced an advanced host setting called SwapThickProvisionDisabled, when enabled, removes the space reservation for .vswp files.
Une preuve de plus, s&#8217;il en fallait, que la bataille [...]]]></description>
			<content:encoded><![CDATA[<p style="text-align: justify;">Alors que nous en rêvions depuis 10 ans pour VMFS, <a href="https://blogs.vmware.com/virtualblocks/2016/02/24/vsan62-powercli-sparse-vswp/#respond" target="_blank">VMware a introduit dans VSAN 6.2 la possibilité de &#8220;thin provisioner&#8221; la swap des VM</a> :</p>
<blockquote><p>In Virtual SAN 6.2, we introduced an advanced host setting called SwapThickProvisionDisabled, when enabled, removes the space reservation for .vswp files.</p></blockquote>
<p style="text-align: justify;">Une preuve de plus, s&#8217;il en fallait, que la bataille du SDS/HCI est rude jusqu&#8217;à en rogner ses best practices. En effet, nous rappelons à ceux qui auraient un trou de mémoire que placer le fichier de swap d&#8217;une VM sur un stockage &#8220;thin provisioné&#8221; va à l&#8217;encontre de toutes <a href="http://www.vmware.com/pdf/Perf_Best_Practices_vSphere5.0.pdf" target="_blank">les bonnes règles de gestion</a> et <a href="https://pubs.vmware.com/vsphere-55/topic/com.vmware.vsphere.resmgmt.doc/GUID-AC40823A-695B-438A-A8F2-4B7C51A0D014.html" target="_blank">d&#8217;overcommit</a>.</p>
<blockquote><p><strong> Do not store swap files on thin-provisioned LUNs</strong>. Running a virtual machine with a swap file that is stored on a thin-provisioned LUN can cause swap file growth failure, which can lead to termination of the virtual machine.</p></blockquote>
<blockquote><p>Regardless of the storage type or location used for the regular swap file, for the best performance, and to avoid the possibility of running out of space, <strong>swap files should not be placed on thin-provisioned storage</strong>.</p></blockquote>
<p>Qu&#8217;importe, ca nous arrange bien aussi et pour l&#8217;occasion nous avons fait peter un petit oneliner pour fixer la bonne valeur :</p>
<pre class="brush: powershell; title: ; notranslate">Get-VMHost|%{(Get-EsxCli -VMHost $_).system.settings.advanced.set($null,&quot;1&quot;,&quot;/VSAN/SwapThickProvisionDisabled&quot;,$null)}</pre>
<p>Et un autre pour vérifier que c&#8217;est bien appliqué :</p>
<pre class="brush: powershell; title: ; notranslate">Get-VMHost|%{(Get-EsxCli -VMHost $_).system.settings.advanced.list($null,&quot;/VSAN/SwapThickProvisionDisabled&quot;,$null)}</pre>
<p style="text-align: center;"><a href="http://files.hypervisor.fr/img/SwapThickProvisionDisabled.png"><img class="aligncenter" src="http://files.hypervisor.fr/img/SwapThickProvisionDisabled.png" alt="" width="526" height="249" /></a></p>
<p style="text-align: left;">Avec un petit coup de <a href="http://www.sexigraf.fr/vsan-sexipanels/#vsan-space-usage-report" target="_blank">SexiGraf </a>pour monitorer le tout, on est bon :</p>
<p style="text-align: center;"><a href="http://files.hypervisor.fr/img/VSAN_SwapThickProvisionDisabled.png" target="_blank"><img class="aligncenter" src="http://files.hypervisor.fr/img/VSAN_SwapThickProvisionDisabled.png" alt="" width="515" height="275" /></a></p>
]]></content:encoded>
			<wfw:commentRss>http://www.hypervisor.fr/?feed=rss2&amp;p=5766</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Hyper-VIX</title>
		<link>http://www.hypervisor.fr/?p=5610</link>
		<comments>http://www.hypervisor.fr/?p=5610#comments</comments>
		<pubDate>Fri, 06 Nov 2015 08:48:45 +0000</pubDate>
		<dc:creator>NiTRo</dc:creator>
				<category><![CDATA[Hyper-V]]></category>
		<category><![CDATA[News]]></category>
		<category><![CDATA[VMware]]></category>
		<category><![CDATA[Bullshit]]></category>
		<category><![CDATA[powershell]]></category>
		<category><![CDATA[VIX]]></category>

		<guid isPermaLink="false">http://www.hypervisor.fr/?p=5610</guid>
		<description><![CDATA[Ya pas à dire, quand il s&#8217;agit de marketer une fonctionnalité vielle de 7 ans comme si c&#8217;était une nouveauté, on peut vraiment compter sur Microsoft.
En effet, à la lecture du titre de cette news &#8220;Using PowerShell Direct and other new features in Hyper-V on Windows 10&#8221; on s&#8217;attend clairement à un truc révolutionnaire. Vous [...]]]></description>
			<content:encoded><![CDATA[<p style="text-align: justify;">Ya pas à dire, quand il s&#8217;agit de <strong>marketer une fonctionnalité vielle de 7 ans</strong> comme si c&#8217;était une nouveauté, on peut vraiment compter sur Microsoft.</p>
<p style="text-align: justify;">En effet, à la lecture du titre de cette news &#8220;<a href="https://4sysops.com/archives/using-powershell-direct-and-other-new-features-in-hyper-v-on-windows-10/#powershell-direct" target="_blank">Using PowerShell Direct and other new features in Hyper-V on Windows 10</a>&#8221; on s&#8217;attend clairement à un truc révolutionnaire. Vous ne pouvez pas dire le contraire, <strong>&#8220;Powershell Direct&#8221; ça claque !</strong></p>
<p style="text-align: justify;">Alors, naïfs, on se précipite sur <a href="http://blogs.technet.com/b/virtualization/archive/2015/05/14/powershell-direct-running-powershell-inside-a-virtual-machine-from-the-hyper-v-host.aspx" target="_blank">TechNet</a> pour en savoir plus ! Mais là, comme pour le coup du <a href="http://www.hypervisor.fr/?p=3869" target="_blank">Smart Paging</a>, c&#8217;est le drame :</p>
<blockquote><p>It is a <strong>new way</strong> of running PowerShell commands inside a virtual machine from the host operating system easily and reliably<br />
[...]<br />
Note: This only works from Windows 10/Windows Server Technical Preview Hosts to Windows 10/Windows Server Technical Preview guests.</p></blockquote>
<p style="text-align: justify;">Bon là on ne va pas y aller par 4 chemins, on est sur du réchauffé++ car je rappel pour ceux qui n&#8217;étaient pas encore nés que <strong><a href="https://www.vmware.com/support/developer/windowstoolkit/wintk40/windowstoolkit40-200905-releasenotes.html" target="_blank">cette feature existe chez VMware depuis 2009</a></strong> :</p>
<blockquote><p>Invoke-VMScript: Runs the specified PowerShell script in the guest OS of each of the specified virtual machines.</p></blockquote>
<p>Et depuis 2011, elle supporte le SSO :</p>
<blockquote>
<p style="text-align: justify;"><strong>All VIX cmdlets support using SSPI for Windows guest machines if the underlying vCenter Server is 5.0 version</strong>. This might not be valid for users who are local, and not domain users. VIX cmdlets are <strong>Invoke-VMScript</strong>, Copy-VMGuestFile, *-VMGuestNetworkInterface, *-VMGUestRoute, and Set-HardDisk when used for guest disk resizing.</p>
</blockquote>
<p style="text-align: justify;">Et pour ceux qui l&#8217;ignorait, <a href="https://www.vmware.com/support/developer/PowerCLI/PowerCLI41U1/html/Invoke-VMScript.html" target="_blank">ce n&#8217;est évidement pas limité à Windows</a> comme c&#8217;est le cas d&#8217;Hyper-V :</p>
<blockquote>
<p style="text-align: justify;">ScriptType: Specify the type of the script. The valid values are PowerShell, Bat, and Bash. If the virtual machine OS is Windows, the default value is PowerShell. If the virtual machine OS is Linux, the default value is Bash.</p>
<p style="text-align: justify;">
</blockquote>
<p><a href="https://blogs.vmware.com/vix/2008/07/what-is-vix-and.html"><img class="aligncenter" title="What is VIX and why does it matter?" src="http://files.hypervisor.fr/img/vicks.jpg" alt="" width="500" height="332" /></a></p>
]]></content:encoded>
			<wfw:commentRss>http://www.hypervisor.fr/?feed=rss2&amp;p=5610</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Failing restore from old Win8 checkpoint</title>
		<link>http://www.hypervisor.fr/?p=5613</link>
		<comments>http://www.hypervisor.fr/?p=5613#comments</comments>
		<pubDate>Fri, 06 Nov 2015 00:19:18 +0000</pubDate>
		<dc:creator>NiTRo</dc:creator>
				<category><![CDATA[Hyper-V]]></category>
		<category><![CDATA[Kb]]></category>
		<category><![CDATA[Tips & Tricks]]></category>
		<category><![CDATA[VMware]]></category>
		<category><![CDATA[Active Directory Domain Services]]></category>
		<category><![CDATA[AD]]></category>
		<category><![CDATA[PowerCLI]]></category>

		<guid isPermaLink="false">http://www.hypervisor.fr/?p=5613</guid>
		<description><![CDATA[Alors que Windows 2012 R2 est officiellement supporté comme GuestOS depuis ESXi 5.0 U1, un changement de la fameuse feature VM-Generation ID rend impossible le vmotion vers un ESXi de version supérieure comme le détail la kb 2033723:

Due to changes in Microsoft&#8217;s virtual machine generation counter specification that was introduced in the Windows 8 Release [...]]]></description>
			<content:encoded><![CDATA[<p style="text-align: justify;">Alors que <a href="https://blogs.vmware.com/guestosguide/2012/09/windows-server-2012-2.html" target="_blank">Windows 2012 R2 est officiellement supporté comme GuestOS depuis ESXi 5.0 U1</a>, un changement de la fameuse feature <a href="https://blogs.vmware.com/apps/2013/01/windows-server-2012-vm-generation-id-support-in-vsphere.html">VM-Generation ID</a> rend impossible le vmotion vers un ESXi de version supérieure comme le détail la <a href="http://kb.vmware.com/kb/2033723" target="_blank">kb 2033723</a>:</p>
<blockquote>
<p style="text-align: justify;">Due to changes in Microsoft&#8217;s virtual machine generation counter specification that was introduced in the Windows 8 Release Preview and Windows Server 2012 RC, corresponding changes were also required in the virtual machine BIOS. Snapshots, checkpoints and VMotion actions of virtual machines with these versions of Windows are not compatible between ESXi hosts that have implemented different revisions of Microsoft&#8217;s virtual machine generation counter specification.</p>
<p style="text-align: justify;">Snapshots and checkpoints of virtual machines with Windows 8 or Windows Server 2012 that are taken on a host running ESXi 5.0 Update 1 or ESXi 5.0 P03 will not resume on a host running later versions of ESXi ( ESXi 5.0 Update 2, ESXi 5.1, etc.) and the reverse.</p>
<p style="text-align: justify;"><strong>VMotion is prevented between hosts running ESXi 5.0 Update 1 or ESXi 5.0 P03 to and from hosts running later versions of ESXi</strong>.</p>
</blockquote>
<p style="text-align: center;"><img class="aligncenter" src="http://files.hypervisor.fr/img/vmGenCounter_50_vmotion.png" alt="" width="500" height="336" /></p>
<blockquote><p>2015-11-05T15:01:32.804Z| vmx| I120: DUMPER: Group &#8216;VMGenCtr&#8217; not found.<br />
2015-11-05T15:01:32.804Z| vmx| I120: CPT: could not find group VMGenCtr<br />
2015-11-05T15:01:32.804Z| vmx| I120: DUMPER: Item &#8216;AddrReg&#8217; [-1, -1] not found.<br />
2015-11-05T15:01:32.804Z| vmx| I120: DUMPER: Item &#8216;CtrCount&#8217; [-1, -1] not found.<br />
2015-11-05T15:01:32.804Z| vmx| I120: DUMPER: Item &#8216;CtrCountX&#8217; [-1, -1] not found.<br />
2015-11-05T15:01:32.804Z| vmx| I120: <strong>VMGenCtrCheckpoint: Failing restore from old Win8 checkpoint</strong><br />
[...]<br />
2015-11-05T15:01:32.804Z| vmx| I120: [msg.checkpoint.migration.failedReceive] Failed to receive migration.<br />
2015-11-05T15:01:32.804Z| vmx| I120: [msg.checkpoint.mrestoregroup.failed] An error occurred restoring the virtual machine state during migration.</p></blockquote>
<p style="text-align: justify;">Evidemment la solution proposée par VMware passe par un shutdown de la VM mais lors d&#8217;une grosse migration ça fait pas sérieux donc nous avons cherché un vrai workaround.</p>
<p style="text-align: justify;">Sachant que <strong>cette feature est exclusivement utilisé par <a href="https://www.vmware.com/files/pdf/solutions/Virtualizing-Active-Directory-Domain-Services-on-VMware-vSphere.pdf" target="_blank">Active Directory Domain Services</a></strong> (pourquoi l&#8217;imposer à toutes les VM d&#8217;ailleurs ?!), nous avons chercher à la désactiver pour que le resume du vmotion sur l&#8217;ESXi de destination ne pose plus de problème. Et pas plus loin que dans <a href="http://kb.vmware.com/kb/2021887" target="_blank">une autre kb vmware</a>, nous avons trouvé la solution:</p>
<blockquote><p>The workaround involving adding the <strong>vmGenCounter.enable</strong> parameter to the virtual machine .vmx file may cause the new snapshot protection for domain controllers introduced in Windows 8/Windows Server 2012 to stop functioning.</p></blockquote>
<p>Un petit coup de PowerCLI pour appliquer le setting à chaud :</p>
<pre class="brush: powershell; title: ; notranslate">Get-VM Windows2012R2|Get-View|%{$_.ReconfigVM((New-Object VMware.Vim.VirtualMachineConfigSpec -Property @{extraconfig=@((New-Object VMware.Vim.optionvalue -Property @{Key=&quot;vmGenCounter.enable&quot;;Value=&quot;FALSE&quot;}))}))}</pre>
<p>Et le vmotion passe en douceur <img src='http://www.hypervisor.fr/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
]]></content:encoded>
			<wfw:commentRss>http://www.hypervisor.fr/?feed=rss2&amp;p=5613</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Monitor, like a boss.</title>
		<link>http://www.hypervisor.fr/?p=5604</link>
		<comments>http://www.hypervisor.fr/?p=5604#comments</comments>
		<pubDate>Thu, 22 Oct 2015 19:34:43 +0000</pubDate>
		<dc:creator>NiTRo</dc:creator>
				<category><![CDATA[Performance]]></category>
		<category><![CDATA[VMware]]></category>
		<category><![CDATA[VSAN]]></category>
		<category><![CDATA[ZFS]]></category>
		<category><![CDATA[cacti]]></category>
		<category><![CDATA[carbon]]></category>
		<category><![CDATA[grafana]]></category>
		<category><![CDATA[graphite]]></category>
		<category><![CDATA[monitoring]]></category>

		<guid isPermaLink="false">http://www.hypervisor.fr/?p=5604</guid>
		<description><![CDATA[Si comme nous, vous cherchiez une solution de monitoring cluster centric, ne cherchez plus. Nous l&#8217;avons faites pour vous :

Très loin des dashboard cacti fastidieux à réaliser et limités en scalabilité, nous avons voulu une appliance la simple possible : deploy, add vcenter, relax!

]]></description>
			<content:encoded><![CDATA[<p style="text-align: justify;">Si comme nous, vous cherchiez une solution de monitoring cluster centric, ne cherchez plus. <strong><a href="http://www.sexigraf.fr/" target="_blank">Nous l&#8217;avons faites pour vous</a> </strong>:</p>
<p style="text-align: center;"><a href="http://www.sexigraf.fr/"><img class=" aligncenter" title="Enter SexiGraf" src="http://files.hypervisor.fr/img/SexiGraf_Enter.png" alt="" width="521" height="353" /></a></p>
<p style="text-align: justify;">Très loin <a href="https://github.com/rschitz/vCacti" target="_blank">des dashboard cacti fastidieux à réaliser et limités en scalabilité</a>, nous avons voulu une appliance la simple possible : <strong>deploy</strong>, <strong>add vcenter</strong>, <strong>relax</strong>!</p>
<p style="text-align: center;"><a href="http://files.sexigraf.fr/seximeetup/sexigraf/"><img class="aligncenter" src="http://files.sexigraf.fr/seximeetup/sexigraf/img/hannibal.png" alt="" width="359" height="443" /></a></p>
]]></content:encoded>
			<wfw:commentRss>http://www.hypervisor.fr/?feed=rss2&amp;p=5604</wfw:commentRss>
		<slash:comments>17</slash:comments>
		</item>
		<item>
		<title>VsanHostDecommissionMode en PowerCLI</title>
		<link>http://www.hypervisor.fr/?p=5581</link>
		<comments>http://www.hypervisor.fr/?p=5581#comments</comments>
		<pubDate>Sat, 08 Aug 2015 00:03:51 +0000</pubDate>
		<dc:creator>NiTRo</dc:creator>
				<category><![CDATA[Tips & Tricks]]></category>
		<category><![CDATA[VMware]]></category>
		<category><![CDATA[VSAN]]></category>
		<category><![CDATA[esxcli]]></category>
		<category><![CDATA[Get-EsxCli]]></category>
		<category><![CDATA[PowerCLI]]></category>
		<category><![CDATA[powershell]]></category>

		<guid isPermaLink="false">http://www.hypervisor.fr/?p=5581</guid>
		<description><![CDATA[Pour les 7 ans d&#8217;Hypervisor.fr (si,si, c&#8217;est aujourd&#8217;hui) nous vous offrons un petit onliner pour mettre en maintenance un des nœuds de votre cluster VSAN en PowerCLI, dans la lignée de nos précédents posts &#8220;vSphere sans le webclient&#8221;.
Nous étions parti pour utiliser le script disponible sur VSANTeam.info mais il est malheureusement faux car il n&#8217;inclus pas l&#8217;objet [...]]]></description>
			<content:encoded><![CDATA[<p style="text-align: justify;">Pour les 7 ans d&#8217;<strong>Hypervisor.fr</strong> (<a href="http://www.hypervisor.fr/?p=1" target="_blank">si,si, c&#8217;est aujourd&#8217;hui</a>) nous vous offrons un petit onliner pour <strong>mettre en maintenance un des nœuds de votre cluster VSAN en PowerCLI</strong>, dans la lignée de nos précédents posts &#8220;vSphere sans le webclient&#8221;.</p>
<p style="text-align: justify;">Nous étions parti pour utiliser le script disponible sur <a href="http://vsanteam.info/maintenance-mode-using-powercli/" target="_blank">VSANTeam.info</a> mais il est malheureusement faux car il n&#8217;inclus pas l&#8217;objet <a href="http://pubs.vmware.com/vsphere-60/topic/com.vmware.wssdk.apiref.doc/vim.vsan.host.DecommissionMode.ObjectAction.html" target="_blank">VsanHostDecommissionModeObjectAction</a> et donc <strong>le mode &#8220;ensureObjectAccessibility&#8221; est utilisé par défaut</strong>. Donc pour pouvoir utiliser le mode &#8220;evacuateAllData&#8221; ou &#8220;noAction&#8221; c&#8217;est comme ça qu&#8217;on fait :</p>
<pre class="brush: powershell; title: ; notranslate">Get-View -ViewType HostSystem -Filter @{&quot;Name&quot; = &quot;esx.vmware.com&quot; }|?{!$_.Runtime.InMaintenanceMode}|%{$_.EnterMaintenanceMode(0, $false, (new-object VMware.Vim.HostMaintenanceSpec -Property @{vsanMode=(new-object VMware.Vim.VsanHostDecommissionMode -Property @{objectAction=[VMware.Vim.VsanHostDecommissionModeObjectAction]::NoAction})}))}</pre>
<p>Sinon vous pouvez aussi le faire avec Get-EsxCli en vous inspirant <a href="http://www.virtuallyghetto.com/2014/07/quick-tip-steps-to-shutdownstartup-vsan-cluster-wvcenter-running-on-vsan-datastore.html" target="_blank">du post de William</a>.</p>
<p style="text-align: center;"><img class="aligncenter" src="http://files.hypervisor.fr/img/vSAN.png" alt="" width="349" height="260" /></p>
]]></content:encoded>
			<wfw:commentRss>http://www.hypervisor.fr/?feed=rss2&amp;p=5581</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>multiple &#8220;esxcli software vib remove&#8221;</title>
		<link>http://www.hypervisor.fr/?p=5571</link>
		<comments>http://www.hypervisor.fr/?p=5571#comments</comments>
		<pubDate>Tue, 28 Jul 2015 10:28:11 +0000</pubDate>
		<dc:creator>NiTRo</dc:creator>
				<category><![CDATA[Kb]]></category>
		<category><![CDATA[Tips & Tricks]]></category>
		<category><![CDATA[VMware]]></category>
		<category><![CDATA[esxcli]]></category>
		<category><![CDATA[ssh]]></category>

		<guid isPermaLink="false">http://www.hypervisor.fr/?p=5571</guid>
		<description><![CDATA[Pour éviter de perdre encore 1/4 d&#8217;heure dessus la prochaine fois, voici comment désinstaller plusieurs vib en une seule commande (contrairement aux vilaines KB VMware) :
esxcli software vib remove -n vib1 -n vib2 -n vib3

Et pour ceux qui veulent du lourd sur esxcli, jetez un un oeil au Quick Tutorial de Steve Jin.
]]></description>
			<content:encoded><![CDATA[<p style="text-align: justify;">Pour éviter de perdre encore 1/4 d&#8217;heure dessus la prochaine fois, voici comment <strong>désinstaller plusieurs vib en une seule commande</strong> (<a href="http://kb.vmware.com/kb/2036167" target="_blank">contrairement aux vilaines KB VMware</a>) :</p>
<blockquote><p>esxcli software vib remove -n vib1 -n vib2 -n vib3</p></blockquote>
<p style="text-align: center;"><a href="http://files.hypervisor.fr/img/esxcli_multiple_remove.png" target="_blank"><img class="aligncenter" src="http://files.hypervisor.fr/img/esxcli_multiple_remove.png" alt="" width="478" height="490" /></a></p>
<p style="text-align: left;">Et pour ceux qui veulent du lourd sur esxcli, jetez un un oeil au <a href="http://www.doublecloud.org/2015/05/vmware-esxi-esxcli-command-a-quick-tutorial/" target="_blank">Quick Tutorial de Steve Jin</a>.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.hypervisor.fr/?feed=rss2&amp;p=5571</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>SendNMI in your face</title>
		<link>http://www.hypervisor.fr/?p=5556</link>
		<comments>http://www.hypervisor.fr/?p=5556#comments</comments>
		<pubDate>Tue, 16 Jun 2015 21:54:46 +0000</pubDate>
		<dc:creator>NiTRo</dc:creator>
				<category><![CDATA[Hardware]]></category>
		<category><![CDATA[News]]></category>
		<category><![CDATA[VMware]]></category>
		<category><![CDATA[API]]></category>
		<category><![CDATA[NMI]]></category>
		<category><![CDATA[PowerCLI]]></category>
		<category><![CDATA[powershell]]></category>
		<category><![CDATA[SDK]]></category>

		<guid isPermaLink="false">http://www.hypervisor.fr/?p=5556</guid>
		<description><![CDATA[A chaque nouvelle version de vSphere, c&#8217;est toujours un plaisir de fouiller dans le SDK. La cuvée 2015 offre son lot de surprises comme le GuestWindowsRegistryManager qui permet de gérer la registry de Windows directement via les API VIX, des traces du projet VMFork (aka Linked Clones ++) qu&#8217;on attend avec impatience ou encore la possibilité [...]]]></description>
			<content:encoded><![CDATA[<p style="text-align: justify;">A chaque nouvelle version de vSphere, c&#8217;est toujours un plaisir de fouiller dans le SDK. <a href="http://pubs.vmware.com/vsphere-60/topic/com.vmware.wssdk.apiref.doc/new-mo-types-landing.html">La cuvée 2015</a> offre son lot de surprises comme le <a href="http://pubs.vmware.com/vsphere-60/topic/com.vmware.wssdk.apiref.doc/vim.vm.guest.WindowsRegistryManager.html" target="_blank">GuestWindowsRegistryManager</a> qui permet de <strong>gérer la registry de Windows directement via les API VIX</strong>, <a href="http://pubs.vmware.com/vsphere-60/topic/com.vmware.wssdk.apiref.doc/vim.vm.ForkConfigInfo.html" target="_blank">des traces</a> du <a href="http://www.yellow-bricks.com/2014/10/07/project-fargo-aka-vmfork-what-is-it/" target="_blank">projet <strong>VMFork</strong></a> (aka Linked Clones ++) qu&#8217;on attend avec impatience ou encore <strong><a href="http://pubs.vmware.com/vsphere-60/topic/com.vmware.wssdk.apiref.doc/vim.VirtualMachine.html#sendNMI">la possibilité d&#8217;envoyer une non-maskable interrupt</a></strong> (<a href="https://en.wikipedia.org/wiki/Non-maskable_interrupt">aka NMI</a>) à une VM pour un troubleshooting velu.</p>
<p>Historiquement, il était un peu complexe de générer ce genre d’interruption <a href="http://www.virtuallyghetto.com/2014/07/quick-tip-how-to-bsodpanic-a-virtual-machine-in-esxi.html">comme le détail William</a> mais avec cette nouvelle API cela devient un jeu d&#8217;enfant en PowerCLI :</p>
<pre class="brush: powershell; title: ; notranslate">(Get-VM toto|Get-View).SendNMI()</pre>
<p>Malheureusement, connecté au vCenter, on se mange une jolie erreur :</p>
<p style="text-align: center;"><a href="http://files.hypervisor.fr/img/SendNMI/SendNMI_vCenter_error.png"><img class="aligncenter" src="http://files.hypervisor.fr/img/SendNMI/SendNMI_vCenter_error.png" alt="" width="521" height="90" /></a></p>
<blockquote>
<p style="text-align: left;">Exception calling &#8220;SendNMI&#8221; with &#8220;0&#8243; argument(s): &#8220;The requested operation is not implemented by the server.&#8221;</p>
</blockquote>
<p><strong>Connecté en direct sur un ESX</strong> ça se passe nettement mieux :</p>
<p style="text-align: center;"><a href="http://files.hypervisor.fr/img/SendNMI/SendNMI_ESXi_task.png"><img class="aligncenter" src="http://files.hypervisor.fr/img/SendNMI/SendNMI_ESXi_task.png" alt="" width="431" height="117" /></a></p>
<p style="text-align: center;"><a href="http://files.hypervisor.fr/img/SendNMI/SendNMI_BSOD.png"><img class="aligncenter" src="http://files.hypervisor.fr/img/SendNMI/SendNMI_BSOD.png" alt="" width="454" height="379" /></a></p>
<p style="text-align: left;">En prime, on droit au nouvel événement <a href="http://pubs.vmware.com/vsphere-60/topic/com.vmware.wssdk.apiref.doc/vim.event.VmGuestOSCrashedEvent.html" target="_blank">VmGuestOSCrashedEvent</a> :</p>
<p style="text-align: center;"><a href="http://files.hypervisor.fr/img/SendNMI/SendNMI_ESXi_event.png"><img class="aligncenter" src="http://files.hypervisor.fr/img/SendNMI/SendNMI_ESXi_event.png" alt="" width="547" height="180" /></a></p>
<blockquote>
<p style="text-align: left;">&lt;166&gt;NoneZ visor04.lab.schitz.org Hostd: 2015-06-04T22:21:45.933Z info hostd[6DE83B70] [Originator@6876 sub=Vimsvc.ha-eventmgr] Event 894 : Win10 on visor04.lab.schitz.org: <strong>Guest operating system has crashed</strong>.</p>
</blockquote>
]]></content:encoded>
			<wfw:commentRss>http://www.hypervisor.fr/?feed=rss2&amp;p=5556</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>LPoD on VDI</title>
		<link>http://www.hypervisor.fr/?p=5456</link>
		<comments>http://www.hypervisor.fr/?p=5456#comments</comments>
		<pubDate>Thu, 02 Apr 2015 14:32:22 +0000</pubDate>
		<dc:creator>NiTRo</dc:creator>
				<category><![CDATA[Performance]]></category>
		<category><![CDATA[Tips & Tricks]]></category>
		<category><![CDATA[VMware]]></category>
		<category><![CDATA[deduplication]]></category>
		<category><![CDATA[large pages]]></category>
		<category><![CDATA[overcommit]]></category>
		<category><![CDATA[TPS]]></category>
		<category><![CDATA[Transparent Page Sharing]]></category>

		<guid isPermaLink="false">http://www.hypervisor.fr/?p=5456</guid>
		<description><![CDATA[Nous avons eu l&#8217;opportunité de déployer notre fameuse sauce &#8220;Large Page on Demand&#8220; sur un environnement VDI de 5 stretched cluster de 32 nodes (soit 160 lames HP BL460c Gen8 bi E5 2680 v2 &#8211; 256Go) pour un total de 5000 VM Windows 7. Voici le summary d&#8217;un des cluster :

Sans autre tuning que le [...]]]></description>
			<content:encoded><![CDATA[<p style="text-align: justify;">Nous avons eu l&#8217;opportunité de déployer <a href="http://www.hypervisor.fr/?p=5265">notre fameuse sauce &#8220;<strong>Large Page on Demand</strong>&#8220;</a> sur un environnement VDI de 5 <a href="http://www.hypervisor.fr/?p=4940" target="_blank">stretched cluster</a> de 32 nodes (soit 160 lames HP BL460c Gen8 bi E5 2680 v2 &#8211; 256Go) pour un total de <strong>5000 VM Windows 7</strong>. Voici le summary d&#8217;un des cluster :</p>
<p style="text-align: justify;"><img class="aligncenter" src="http://files.hypervisor.fr/img/LPoD/cluster_sample.png" alt="" width="343" height="352" /></p>
<p style="text-align: justify;">Sans autre tuning que le paramètre <a href="http://pubs.vmware.com/vsphere-60/topic/com.vmware.vsphere.resmgmt.doc/GUID-D98E6EC9-3730-4BC0-A9FC-93B9079E1AEE.html" target="_blank">LPageAlwaysTryForNPT</a>, TPS nous a permis de récupérer <strong>plus de 50% de RAM soit + de 12.5To sans impact sur le ressenti utilisateur</strong> (cliquez sur les graphs pour avoir le détail des compteurs) :</p>
<p style="text-align: center;"><a href="http://files.hypervisor.fr/img/LPoD/LPoD_a000_week.png" target="_blank"><img class="aligncenter" src="http://files.hypervisor.fr/img/LPoD/LPoD_a000_small.png" alt="" width="395" height="172" /></a></p>
<p style="text-align: center;"><a href="http://files.hypervisor.fr/img/LPoD/LPoD_b000_week.png" target="_blank"><img class="aligncenter" src="http://files.hypervisor.fr/img/LPoD/LPoD_b000_small.png" alt="" width="395" height="172" /></a></p>
<p style="text-align: center;"><a href="http://files.hypervisor.fr/img/LPoD/LPoD_c000_week.png" target="_blank"><img class="aligncenter" src="http://files.hypervisor.fr/img/LPoD/LPoD_c000_small.png" alt="" width="395" height="172" /></a></p>
<p style="text-align: center;"><a href="http://files.hypervisor.fr/img/LPoD/LPoD_d000_week.png" target="_blank"><img class="aligncenter" src="http://files.hypervisor.fr/img/LPoD/LPoD_d000_small.png" alt="" width="395" height="172" /></a></p>
<p style="text-align: center;"><a href="http://files.hypervisor.fr/img/LPoD/LPoD_e000_week.png" target="_blank"><img class="aligncenter" src="http://files.hypervisor.fr/img/LPoD/LPoD_e000_small.png" alt="" width="395" height="172" /></a></p>
<p>Merci qui ? <img src='http://www.hypervisor.fr/wp-includes/images/smilies/icon_wink.gif' alt=';)' class='wp-smiley' /> </p>
]]></content:encoded>
			<wfw:commentRss>http://www.hypervisor.fr/?feed=rss2&amp;p=5456</wfw:commentRss>
		<slash:comments>7</slash:comments>
		</item>
		<item>
		<title>vSphere 2015 : VMFS on USB</title>
		<link>http://www.hypervisor.fr/?p=5461</link>
		<comments>http://www.hypervisor.fr/?p=5461#comments</comments>
		<pubDate>Sun, 29 Mar 2015 20:38:12 +0000</pubDate>
		<dc:creator>NiTRo</dc:creator>
				<category><![CDATA[HowTo]]></category>
		<category><![CDATA[Kb]]></category>
		<category><![CDATA[Tips & Tricks]]></category>
		<category><![CDATA[VMware]]></category>
		<category><![CDATA[homelab]]></category>
		<category><![CDATA[inception]]></category>
		<category><![CDATA[nested]]></category>
		<category><![CDATA[usb]]></category>

		<guid isPermaLink="false">http://www.hypervisor.fr/?p=5461</guid>
		<description><![CDATA[Alors que nous commençons tout doucement à apprivoiser ESXi 6.0 (aka vSphere 2015), nous tombons sur le post de William qui décrit comment utiliser des clefs USB (et du iSCSI) avec VSAN 6. Entre ça, le support des VMXNET3, les vmtools pour ESXi, le fling Mac Learning dvFilter, le support du Virtual Hardware-Assisted Virtualization et le [...]]]></description>
			<content:encoded><![CDATA[<p style="text-align: justify;">Alors que nous commençons tout doucement à apprivoiser ESXi 6.0 (aka <a href="http://blogs.vmware.com/developer/2014/07/vsphere-2015-beta-is-here.html" target="_blank">vSphere 2015</a>), nous tombons sur le post de William qui décrit <strong>comment utiliser des clefs USB (et du iSCSI) avec VSAN 6</strong>. Entre ça, <a href="http://www.virtuallyghetto.com/2012/09/nested-esxi-51-supports-vmxnet3-network.html" target="_blank">le support des VMXNET3</a>, <a href="http://www.virtuallyghetto.com/2015/02/vmware-tools-is-now-pre-installed-with-nested-esxi-6-0.html" target="_blank">les vmtools pour ESXi,</a> <a href="https://labs.vmware.com/flings/esxi-mac-learning-dvfilter" target="_blank">le fling Mac Learning dvFilter</a>, le support du <a href="http://www.virtuallyghetto.com/2012/08/how-to-enable-nested-esxi-other.html" target="_blank">Virtual Hardware-Assisted Virtualization</a> et le <a href="http://kb.vmware.com/kb/2044876">support d&#8217;Hyper-V en GuestOS</a>, nous nous sommes laisser dire qu&#8217;on pourrait refaire un petit <strong>test de <a href="http://nybbl.blogspot.ae/2013/08/vmfs-formatted-usb-sticks-in-vmware.html" target="_blank">formatage VMFS sur une clef USB</a></strong>&#8230;</p>
<p>Et on a bien fait, parce qu&#8217;on a même réussi à <strong>créer une partition VMFS sur une clef de boot ESXi 6.0</strong> :</p>
<p style="text-align: center;"><a href="http://files.hypervisor.fr/img/VMFSonUSB/vsp60_vmfs_usb_gui.png" target="_blank"><img class="aligncenter" src="http://files.hypervisor.fr/img/VMFSonUSB/vsp60_vmfs_usb_gui.png" alt="" width="503" height="418" /></a></p>
<p style="text-align: left;"><a href="http://files.hypervisor.fr/img/VMFSonUSB/vsp60_vmfs_usb_gui.png" target="_blank"></a><span style="text-align: left;">Pour que ça ait de la gueule, nous avons utilisé ce qui se fait de mieux en la matière : </span><a style="text-align: left;" href="http://www.mx-technology.com/en/product/flash2.php?sid=38#fragment-19" target="_blank">une clef USB 3.0 MX-ES SLC NAND Ultimate Endurance</a><span style="text-align: left;"> capable d&#8217;encaisser 180Mo/s en écriture.</span></p>
<p style="text-align: center;"><a href="https://twitter.com/hypervisor_fr/status/453289057808683008"><img class="aligncenter" src="http://files.hypervisor.fr/img/VMFSonUSB/ATTO_MXES.png" alt="" width="531" height="340" /></a></p>
<p style="text-align: left;">La procédure est la même que pour créer un datastore en cli avec <a href="http://kb.vmware.com/kb/1036609" target="_blank"><strong>partedUtil</strong> </a>et <strong><a href="http://kb.vmware.com/kb/1009829" target="_blank">vmkfstools</a></strong> :</p>
<p style="text-align: center;"><a href="http://files.hypervisor.fr/img/VMFSonUSB/vsp60_vmfs_usb_cli.png" target="_blank"><img class="aligncenter" src="http://files.hypervisor.fr/img/VMFSonUSB/vsp60_vmfs_usb_cli.png" alt="" width="530" height="325" /></a></p>
<p style="text-align: left;">Et pour le fun, on a aussi essayer sur une clef Kingston/VMware ESXi &#8220;special&#8221; :</p>
<p style="text-align: center;"><a href="http://files.hypervisor.fr/img/VMFSonUSB/vsp60_vmfs_usb2_cli.png" target="_blank"><img class="aligncenter" src="http://files.hypervisor.fr/img/VMFSonUSB/vsp60_vmfs_usb2_cli.png" alt="" width="530" height="265" /></a></p>
<p>Nous vous laissons imaginer les possibilités que cette nouvelle &#8220;<strong>unsupported</strong>&#8220; feature pendant que nous préparons un post qui n&#8217;attendait que ça pour voir le jour&#8230;</p>
<p style="text-align: center;"><a href="https://twitter.com/hypervisor_fr/status/498542017333710848" target="_blank"><img class="aligncenter" src="http://files.hypervisor.fr/img/VMFSonUSB/KingESXi_s.jpg" alt="" width="512" height="384" /></a></p>
<p style="text-align: left;">
<p style="text-align: left;">
]]></content:encoded>
			<wfw:commentRss>http://www.hypervisor.fr/?feed=rss2&amp;p=5461</wfw:commentRss>
		<slash:comments>3</slash:comments>
		</item>
	</channel>
</rss>
