<?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; VMTools</title>
	<atom:link href="http://www.hypervisor.fr/?feed=rss2&#038;tag=vmtools" 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>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>goodbye vmtools modules</title>
		<link>http://www.hypervisor.fr/?p=3959</link>
		<comments>http://www.hypervisor.fr/?p=3959#comments</comments>
		<pubDate>Wed, 18 Jul 2012 20:12:56 +0000</pubDate>
		<dc:creator>NiTRo</dc:creator>
				<category><![CDATA[HowTo]]></category>
		<category><![CDATA[Tips & Tricks]]></category>
		<category><![CDATA[VMware]]></category>
		<category><![CDATA[PowerCLI]]></category>
		<category><![CDATA[VMTools]]></category>

		<guid isPermaLink="false">http://www.hypervisor.fr/?p=3959</guid>
		<description><![CDATA[Après avoir essayé 36 méthodes qui fonctionnent plus ou moins bien, nous avons la bonne recette (validée en 4.1 et 5.0) pour virer les modules des vmtools qui ne servent à rien (aka les trucs pour Workstation qui servent pas sur ESXi).
En GUI comme en PowerCLI ce sont les mêmes paramètres à passer :
/s /v&#34;/qn ADDLOCAL=ALL REMOVE=Audio,ThinPrint,WYSE,Hgfs REBOOT=ReallySuppress&#34;

Get-VM [...]]]></description>
			<content:encoded><![CDATA[<p style="text-align: justify;">Après avoir essayé 36 méthodes qui fonctionnent plus ou moins bien, nous avons la bonne recette (validée en 4.1 et 5.0) pour virer les modules des vmtools qui ne servent à rien (aka les trucs pour Workstation qui servent pas sur ESXi).</p>
<p>En GUI comme en PowerCLI ce sont les mêmes paramètres à passer :</p>
<pre class="brush: vb; title: ; notranslate">/s /v&quot;/qn ADDLOCAL=ALL REMOVE=Audio,ThinPrint,WYSE,Hgfs REBOOT=ReallySuppress&quot;</pre>
<p><img class="aligncenter" src="http://files.hypervisor.fr/img/vmtools/vmtools_modules_gui.png" alt="" width="404" height="267" /></p>
<pre class="brush: powershell; title: ; notranslate">Get-VM VM1,VM2,VM3|Get-View|%{$_.UpgradeTools('/s /v&quot;/qn ADDLOCAL=ALL REMOVE=Audio,ThinPrint,WYSE,Hgfs REBOOT=ReallySuppress&quot;')}</pre>
<p style="text-align: justify;">La liste des modules est disponible dans la <a href="http://kb.vmware.com/kb/2000399" target="_blank">kb 2000399</a> (le REBOOT=ReallySuppress empêche la vm de rebooter après la mise à jour) et pour l&#8217;occasion nous avons créé une belle url mnémotechnique qui vous mènera directement au repository des vmtools chez VMware : <a href="http://vmtools.vmwa.re" target="_blank">vmtools.vmwa.re</a></p>
]]></content:encoded>
			<wfw:commentRss>http://www.hypervisor.fr/?feed=rss2&amp;p=3959</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>[PSH] Reactivation du copier/coller en OneLiner &#8211; MAJ</title>
		<link>http://www.hypervisor.fr/?p=3316</link>
		<comments>http://www.hypervisor.fr/?p=3316#comments</comments>
		<pubDate>Tue, 13 Sep 2011 18:00:18 +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[scripting]]></category>
		<category><![CDATA[VMTools]]></category>

		<guid isPermaLink="false">http://www.hypervisor.fr/?p=3316</guid>
		<description><![CDATA[MAJ 22/05/2015 : modification du script pour filtrer les vm connectées.
MAJ 23/04/2012 : modification du script pour filtrer les vm ayant déjà le bon paramétrage.
Comme l&#8217;indique cette kb, à partir d&#8217;ESX 4.1 le copier/coller via la console vmrc est désactivé pour des raisons de sécurité :
Starting with vSphere 4.1, the Copy and Paste options are, by default, disabled [...]]]></description>
			<content:encoded><![CDATA[<p style="text-align: justify;"><em><span style="color: #ff0000;">MAJ 22/05/2015</span> : modification du script pour filtrer les vm connectées.</em></p>
<p style="text-align: justify;"><em><span style="color: #ff0000;">MAJ 23/04/2012</span> : modification du script pour filtrer les vm ayant déjà le bon paramétrage.</em></p>
<p style="text-align: justify;"><a href="http://kb.vmware.com/kb/1026437" target="_blank">Comme l&#8217;indique cette kb</a>, à partir d&#8217;ESX 4.1 le copier/coller via la console vmrc est désactivé pour des raisons de sécurité :</p>
<blockquote><p>Starting with vSphere 4.1, the Copy and Paste options are, by default, disabled for security reasons.</p>
<p>Note: This functionality was enabled by default in earlier releases of vSphere.</p></blockquote>
<p style="text-align: justify;">Pour le réactiver en GUI il faut impérativement arrêter la VM ce qui est évidement inacceptable. <a href="http://professionalvmware.com/2009/11/disabling-copy-paste-the-powercli-way/" target="_blank">En PowerCLI c&#8217;est très facile</a> mais en OneLiner, grâce au concours de notre cher <a href="http://www.vmdude.fr/" target="_blank">vmDude</a>, c&#8217;est nettement plus fun :</p>
<pre class="brush: powershell; title: ; notranslate">Get-View -ViewType VirtualMachine|?{$_.runtime.ConnectionState -eq &quot;connected&quot;}|?{-not $_.Config.Template}|?{!($_.Config.ExtraConfig|?{$_.key -match &quot;isolation.tools.paste.disable&quot; -or $_.key -match &quot;isolation.tools.copy.disable&quot;}) -or ($_.Config.ExtraConfig|?{($_.key -match &quot;isolation.tools.copy.disable&quot; -and $_.value -ne &quot;false&quot;) -or ($_.key-match &quot;isolation.tools.paste.disable&quot; -and $_.value -ne &quot;false&quot;)})}|%{$_.ReconfigVM((New-Object VMware.Vim.VirtualMachineConfigSpec -Property @{extraconfig=@((New-Object VMware.Vim.optionvalue -Property @{Key=&quot;isolation.tools.copy.disable&quot;;Value=&quot;$false&quot;});(New-Object VMware.Vim.optionvalue -Property @{Key=&quot;isolation.tools.paste.disable&quot;;Value=&quot;$false&quot;}))}))}</pre>
<p style="text-align: justify;">Cette commande agira d&#8217;un coup sur toutes les vm pour les fonctions &#8220;copier&#8221; et &#8220;coller&#8221;, il ne vous restera plus qu&#8217;à utiliser notre autre OneLiner <a href="http://www.hypervisor.fr/?p=3235" target="_blank">Shake My VM</a> pour effectuer un vmotion afin d&#8217;appliquer les modifications, ou d&#8217;attendre que DRS fasse le travail pour vous&#8230;</p>
<p style="text-align: justify;"><img class="aligncenter" src="http://www.hypervisor.fr/wp-content/uploads/2009/05/pcli_256x.png" alt="" width="128" height="128" /></p>
]]></content:encoded>
			<wfw:commentRss>http://www.hypervisor.fr/?feed=rss2&amp;p=3316</wfw:commentRss>
		<slash:comments>6</slash:comments>
		</item>
		<item>
		<title>Ouverture de la chasse aux gigaoctets (en PSH)</title>
		<link>http://www.hypervisor.fr/?p=2051</link>
		<comments>http://www.hypervisor.fr/?p=2051#comments</comments>
		<pubDate>Fri, 07 May 2010 15:28:04 +0000</pubDate>
		<dc:creator>NiTRo</dc:creator>
				<category><![CDATA[Tips & Tricks]]></category>
		<category><![CDATA[VMware]]></category>
		<category><![CDATA[PowerCLI]]></category>
		<category><![CDATA[powershell]]></category>
		<category><![CDATA[scripting]]></category>
		<category><![CDATA[thin provisioning]]></category>
		<category><![CDATA[VMTools]]></category>

		<guid isPermaLink="false">http://www.hypervisor.fr/?p=2051</guid>
		<description><![CDATA[MAJ 22.03.2012 : une version plus rapide est disponible dans la rubrique One&#124;Liner.
Pour ceux qui veulent connaître les VM éligibles au thin provisioning (c&#8217;est à dire pleines de vide&#8230;), voici un petit one-liner qui cumule l&#8217;espace libre des VM (via les vmtools) et liste le top 20 :
get-vm &#124;?{($_.HardDisks&#124;?{$_.StorageFormat -eq &#8220;Thin&#8221;}&#124;Measure-Object).count -eq 0}&#124;?{$_.PowerState -eq &#8220;PoweredOn&#8221; [...]]]></description>
			<content:encoded><![CDATA[<p style="text-align: justify;"><em><span style="color: #ff0000;">MAJ 22.03.2012 </span>: une version plus rapide est disponible dans <a href="http://www.hypervisor.fr/?page_id=3637" target="_blank">la rubrique One|Liner</a>.</em></p>
<p style="text-align: justify;">Pour ceux qui veulent connaître les VM éligibles au thin provisioning (c&#8217;est à dire pleines de vide&#8230;), voici un petit one-liner qui cumule l&#8217;espace libre des VM (via les vmtools) et liste le top 20 :</p>
<blockquote><p>get-vm |?{($_.HardDisks|?{$_.StorageFormat -eq &#8220;Thin&#8221;}|Measure-Object).count -eq 0}|?{$_.PowerState -eq &#8220;PoweredOn&#8221; -and $_.Guest.State -eq &#8220;Running&#8221; -and $_.Guest.Disks -ne $NULL} | Select -ExpandProperty Guest|select VMname, @{N=&#8221;Waste (GB)&#8221;;E={[math]::round(($_|select -ExpandProperty Disks| Select $_.Freespace|Measure-Object -sum -Property &#8220;Freespace&#8221;).sum/1GB,0)}}|sort &#8220;Waste (GB)&#8221; -Descending|select -first 20|ft -AutoSize</p></blockquote>
<p><a href="http://hypervisor.free.fr/img/waste.jpg" title="waste" rel="lightbox[2051]"><img class="aligncenter size-medium wp-image-2052" title="waste" src="http://www.hypervisor.fr/wp-content/uploads/2010/05/waste-300x215.jpg" alt="waste" width="300" height="215" /></a></p>
<p>/!\ <span style="color: #ff0000;">Le LVM n&#8217;est pas supporté par cette méthode (LV non listés) </span>/!\</p>
]]></content:encoded>
			<wfw:commentRss>http://www.hypervisor.fr/?feed=rss2&amp;p=2051</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Les VMTools peuvent vous mentir&#8230;</title>
		<link>http://www.hypervisor.fr/?p=1472</link>
		<comments>http://www.hypervisor.fr/?p=1472#comments</comments>
		<pubDate>Tue, 17 Nov 2009 23:09:34 +0000</pubDate>
		<dc:creator>NiTRo</dc:creator>
				<category><![CDATA[HowTo]]></category>
		<category><![CDATA[Tips & Tricks]]></category>
		<category><![CDATA[VMware]]></category>
		<category><![CDATA[scripting]]></category>
		<category><![CDATA[VMTools]]></category>

		<guid isPermaLink="false">http://www.hypervisor.fr/?p=1472</guid>
		<description><![CDATA[Dans le report de vCheck, une section est dédiée au listage des VM dont les VMTools ont le status &#8220;Not Installed&#8221; ou &#8220;Not Running&#8221;. Toutes les autres, dont le status est &#8220;OK&#8221; ou &#8220;Old&#8221;, sont considérés comme viables. A tort&#8230;
Nous avons constaté que dans certains cas, les VMTools remontent un status &#8220;OK&#8221; ou &#8220;Old&#8221; alors [...]]]></description>
			<content:encoded><![CDATA[<p>Dans le report de <a href="http://www.hypervisor.fr/?p=1366">vCheck</a>, une section est dédiée au listage des VM dont les VMTools ont le status &#8220;Not Installed&#8221; ou &#8220;Not Running&#8221;. Toutes les autres, dont le status est &#8220;OK&#8221; ou &#8220;Old&#8221;, sont considérés comme viables. A tort&#8230;<br />
Nous avons constaté que dans certains cas, les VMTools remontent un status &#8220;OK&#8221; ou &#8220;Old&#8221; alors que le service VMware Tools est arrêté, que les VMTools sont trop &#8220;anciens&#8221; pour le host sur lequel les VM sont placées ou pire : manquantes.</p>
<p>Ce script permet de lister les VM dont les VMTools ne remontent pas toutes les informations qui devraient l&#8217;être (IP, Hostname, OSFullName, etc&#8230;) :</p>

<div class="wp_syntax"><div class="code"><pre class="powershell" style="font-family:monospace;">get<span style="color: pink;">-</span>vm <span style="color: pink;">|?</span> <span style="color: #000000;">&#123;</span><span style="color: #000080;">$_</span>.Guest.State <span style="color: #FF0000;">-eq</span> <span style="color: #800000;">&quot;Running&quot;</span> <span style="color: #FF0000;">-And</span> <span style="color: #000000;">&#40;</span><span style="color: #000080;">$_</span>.Guest.OSFullName <span style="color: #FF0000;">-eq</span> <span style="color: #800080;">$NULL</span> <span style="color: #FF0000;">-or</span> <span style="color: #000080;">$_</span>.Guest.IPAddress <span style="color: #FF0000;">-eq</span> <span style="color: #800080;">$NULL</span> <span style="color: #FF0000;">-or</span> <span style="color: #000080;">$_</span>.Guest.HostName <span style="color: #FF0000;">-eq</span> <span style="color: #800080;">$NULL</span> <span style="color: #FF0000;">-or</span> <span style="color: #000080;">$_</span>.Guest.Disks <span style="color: #FF0000;">-eq</span> <span style="color: #800080;">$NULL</span> <span style="color: #FF0000;">-or</span> <span style="color: #000080;">$_</span>.Guest.Nics <span style="color: #FF0000;">-eq</span> <span style="color: #800080;">$NULL</span><span style="color: #000000;">&#41;</span><span style="color: #000000;">&#125;</span> <span style="color: pink;">|</span>select <span style="color: #008080; font-style: italic;">-ExpandProperty</span> Guest <span style="color: pink;">|</span>select vmname<span style="color: pink;">,</span>IPAddress<span style="color: pink;">,</span>OSFullName<span style="color: pink;">,</span>HostName<span style="color: pink;">,</span>nics <span style="color: pink;">|</span>sort VmName <span style="color: pink;">|</span> <span style="color: #008080; font-weight: bold;">ft</span> <span style="color: pink;">*</span> <span style="color: #008080; font-style: italic;">-AutoSize</span></pre></div></div>

<p>Sur ce screenshot, les VMTools d&#8217;une des VM ne remonte que l&#8217;IP de cette dernière, une fois les VMTools mis à jour, elle n&#8217;apparait plus dans le listing. Les VM dont les VMTools ne remontent aucune info sont celles dont le services est arrêté ou manquant :</p>
<p style="text-align: center;"><a href="http://hypervisor.free.fr/img/vmtools_fail.jpg" title="vmtools_fail" rel="lightbox[1472]"><img class="aligncenter size-full wp-image-1475" title="vmtools_fail" src="http://www.hypervisor.fr/wp-content/uploads/2009/11/vmtools_fail.jpg" alt="vmtools_fail" width="469" height="456" /></a></p>
]]></content:encoded>
			<wfw:commentRss>http://www.hypervisor.fr/?feed=rss2&amp;p=1472</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
	</channel>
</rss>
