<?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; vpxd</title>
	<atom:link href="http://www.hypervisor.fr/?feed=rss2&#038;tag=vpxd" 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>vpxd 2 syslog</title>
		<link>http://www.hypervisor.fr/?p=3997</link>
		<comments>http://www.hypervisor.fr/?p=3997#comments</comments>
		<pubDate>Wed, 01 Aug 2012 20:34:10 +0000</pubDate>
		<dc:creator>NiTRo</dc:creator>
				<category><![CDATA[HowTo]]></category>
		<category><![CDATA[VMware]]></category>
		<category><![CDATA[log]]></category>
		<category><![CDATA[snare]]></category>
		<category><![CDATA[syslog]]></category>
		<category><![CDATA[vpxd]]></category>

		<guid isPermaLink="false">http://www.hypervisor.fr/?p=3997</guid>
		<description><![CDATA[Voila un certain temps que nous cherchions une méthode &#8220;pas-trop-crade&#8221; pour rediriger les logs du service vCenter (sous windows) vers un serveur syslog qui centraliserai esxi et vpxd. Nous éviterons de vous raconter dans le détail l&#8217;idée de départ en autoIT+powershell+taches planifiées pour directement passer à la solution  *qui-brille-dans-la-nuit*  
Plutôt que de monter une usine à gaz comme notre [...]]]></description>
			<content:encoded><![CDATA[<p style="text-align: justify;">Voila un certain temps que nous cherchions une méthode &#8220;pas-trop-crade&#8221; pour <strong>rediriger les logs du service vCenter (sous windows) vers un serveur syslog</strong> qui centraliserai esxi et vpxd. Nous éviterons de vous raconter dans le détail l&#8217;idée de départ en autoIT+powershell+taches planifiées pour directement passer à la solution  *qui-brille-dans-la-nuit* <img src='http://www.hypervisor.fr/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
<p style="text-align: justify;">Plutôt que de monter <a href="http://www.virtuallyghetto.com/2012/08/forwarding-vcenter-server-logs-to.html" target="_blank">une usine à gaz comme notre ami William (qui ne semble pas porter windows dans son coeur &#8211; just kidding William <img src='http://www.hypervisor.fr/wp-includes/images/smilies/icon_wink.gif' alt=';)' class='wp-smiley' /> )</a>, nous avons fait le tour des agents capables de forwarder des fichiers log vers du syslog, gratos évidement. Le plus satisfaisant semble être <a href="http://www.intersectalliance.com/projects/EpilogWindows/index.html" target="_blank">Epilog for Windows</a> qui reconnait par défaut plusieurs formats de log (IIS, Exchange, Apache, etc&#8230;) et qui dispose même de sa propre interface web (comme tous les agents snare) :</p>
<p style="text-align: center;"><a href="http://files.hypervisor.fr/img/epilog/epilog_local.png"><img class="aligncenter" src="http://files.hypervisor.fr/img/epilog/epilog_local.png" alt="" width="377" height="258" /></a></p>
<p style="text-align: justify;">Nous avons toute fois du faire face à un petit problème concernant le patern de fichier à fournir à Epilog car &#8220;vpxd-*.log&#8221; correspond à plusieurs types de log dans le répertoire logs du vcenter (vpxd-, vpxd-alert- et vpxd-profiler-) et, contrairement à linux, il n&#8217;existe pas de fichier vpxd.log pour simplifier la chose. Heureusement, <a href="http://kb.vmware.com/kb/1004795" target="_blank">VMware semble avoir quand même prévu le coup car il est possible de changer le prefix du log en rajoutant une ligne dans le vpxd.cfg</a> (nous avons choisi &#8220;vpxdsvc&#8221;) :</p>
<blockquote>
<p style="text-align: left;">&lt;name&gt;vpxdsvc&lt;/name&gt;</p>
</blockquote>
<p style="text-align: center;"><a href="http://files.hypervisor.fr/img/epilog/epilog_match.png"><img class="aligncenter" src="http://files.hypervisor.fr/img/epilog/epilog_match.png" alt="" width="449" height="146" /></a></p>
<p style="text-align: left;">Il suffit ensuite de configurer le serveur de destination et de sélectionner le format syslog :</p>
<p style="text-align: center;"><a href="http://files.hypervisor.fr/img/epilog/epilog_syslog.png"><img class="aligncenter" src="http://files.hypervisor.fr/img/epilog/epilog_syslog.png" alt="" width="384" height="254" /></a></p>
<p style="text-align: left;">On obtient alors quelque chose de pas trop mal dans notre appliance Graylog2 (<a href="http://sourceforge.net/projects/partylog2/" target="_blank">Partylog2</a>) de test (pour celui de prod nous nous sommes inspiré de <a href="http://blog.milford.io/2012/03/installing-graylog2-0-9-6-elasticsearch-0-18-7-mongodb-2-0-3-on-centos-5-with-rvm/" target="_blank">ce howto</a> sans oublier <a href="http://www.elasticsearch.org/tutorials/2011/04/06/too-many-open-files.html" target="_blank">le trick pour le &#8220;too many open files&#8221;</a>) :</p>
<p style="text-align: center;"><a href="http://files.hypervisor.fr/img/epilog/epilog_graylog2_host.png"><img class="aligncenter" src="http://files.hypervisor.fr/img/epilog/epilog_graylog2_host.png" alt="" width="464" height="251" /></a></p>
<p style="text-align: center;"><a href="http://files.hypervisor.fr/img/epilog/epilog_graylog2_stream.png"><img class="aligncenter" src="http://files.hypervisor.fr/img/epilog/epilog_graylog2_stream.png" alt="" width="502" height="229" /></a></p>
<p style="text-align: left;">
]]></content:encoded>
			<wfw:commentRss>http://www.hypervisor.fr/?feed=rss2&amp;p=3997</wfw:commentRss>
		<slash:comments>4</slash:comments>
		</item>
		<item>
		<title>Les Easter Eggs de vpxd</title>
		<link>http://www.hypervisor.fr/?p=2826</link>
		<comments>http://www.hypervisor.fr/?p=2826#comments</comments>
		<pubDate>Wed, 06 Apr 2011 13:47:09 +0000</pubDate>
		<dc:creator>NiTRo</dc:creator>
				<category><![CDATA[Hardware]]></category>
		<category><![CDATA[HowTo]]></category>
		<category><![CDATA[Tips & Tricks]]></category>
		<category><![CDATA[VMware]]></category>
		<category><![CDATA[strings]]></category>
		<category><![CDATA[vpxd]]></category>

		<guid isPermaLink="false">http://www.hypervisor.fr/?p=2826</guid>
		<description><![CDATA[MAJ 14.04.2013 : 2 ans après ce post, Andreas Peetz nous rapporte qu&#8217;avec la bonne combinaison de settings, il est meme possible de faire un vmotion en Intel et AMD !
Dans la lignée des posts de William Lam sur l&#8217;utilisation de l&#8217;utilitaire &#8220;strings&#8221;, nous avons par hasard découvert que ProcessExplorer (du célèbre Mark Russinovich) avait une fonction similaire. Et [...]]]></description>
			<content:encoded><![CDATA[<p style="text-align: justify;"><em><span style="color: #ff0000;"><em>MAJ 14.04</em></span></em><span style="color: #ff0000;"><em>.2013</em></span><em><em> : 2 ans après ce post, <a href="http://www.v-front.de/2013/04/how-to-vmotion-from-intel-to-amd-and.html" target="_blank">Andreas Peetz nous rapporte qu&#8217;avec la bonne combinaison de settings, il est meme possible de faire un vmotion en Intel et AMD</a> !</em></em></p>
<p style="text-align: justify;">Dans la lignée <a href="http://www.virtuallyghetto.com/2010/11/hidden-ha-and-vpxa-configurations.html" target="_blank">des posts de William Lam sur l&#8217;utilisation de l&#8217;utilitaire &#8220;strings&#8221;</a>, nous avons par hasard découvert que <a href="http://www.microsoft.com/france/technet/sysinternals/ProcessesAndThreads/ProcessExplorer.mspx" target="_blank">ProcessExplorer</a> (du célèbre <a href="http://en.wikipedia.org/wiki/Mark_Russinovich" target="_blank">Mark Russinovich</a>) avait une fonction similaire. Et c&#8217;est évidement par vpxd.exe que nous avons commencé :</p>
<p style="text-align: center;"><a href="http://files.hypervisor.fr/img/vpxd/vpxd_strings_egg.png"><img class="aligncenter" src="http://files.hypervisor.fr/img/vpxd/vpxd_strings_egg.png" alt="" width="366" height="258" /></a></p>
<p style="text-align: center;">
<p style="text-align: justify;">Et vous vous en doutez, si nous vous en parlons c&#8217;est que nous y avons trouvé quelques pépites comme une liste de paramètres pour overrider un maximum de limitations pour vmotion (et svmotion pour ceux qui ont l&#8217;oeil) :</p>
<p style="text-align: left;"><span id="more-2826"></span></p>
<blockquote>
<p style="text-align: left;">
<div id="_mcePaste">migrate.test.AffinityNotConfigured</div>
<div id="_mcePaste">migrate.test.AlwaysPasses</div>
<div id="_mcePaste">migrate.test.AutoDetectDeviceNotAttached</div>
<div id="_mcePaste">migrate.test.CanAccessConfigAtDestination</div>
<div id="_mcePaste">migrate.test.CanAccessDeviceAtDestination</div>
<div id="_mcePaste">migrate.test.CanAccessDiskAtDestination</div>
<div id="_mcePaste">migrate.test.CheckpointFormatCompatible</div>
<div id="_mcePaste">migrate.test.CompatibleDefaultDevices</div>
<div id="_mcePaste">migrate.test.CpuCompatibleWithHost</div>
<div id="_mcePaste">migrate.test.DatastoreSupported</div>
<div id="_mcePaste">migrate.test.DeltaDiskNotAttached</div>
<div id="_mcePaste">migrate.test.DestHostHasConfig</div>
<div id="_mcePaste">migrate.test.DestHostIsActive</div>
<div id="_mcePaste">migrate.test.DevicesSupportedByGuest</div>
<div id="_mcePaste">migrate.test.DevicesSupportedByHost</div>
<div id="_mcePaste">migrate.test.DMotionSupported</div>
<div id="_mcePaste">migrate.test.EightHostLimitNotViolated</div>
<div id="_mcePaste">migrate.test.EnoughFreeResources</div>
<div id="_mcePaste">migrate.test.EnoughFreeSpace</div>
<div id="_mcePaste">migrate.test.FaultToleranceAntiAffinity</div>
<div id="_mcePaste">migrate.test.FaultToleranceCPUModelFamily</div>
<div id="_mcePaste">migrate.test.FaultToleranceCPUStepping</div>
<div id="_mcePaste">migrate.test.FaultToleranceDisk</div>
<div id="_mcePaste">migrate.test.FaultToleranceHost</div>
<div id="_mcePaste">migrate.test.FaultToleranceNumOfVms</div>
<div id="_mcePaste">migrate.test.FaultToleranceSameCluster</div>
<div id="_mcePaste">migrate.test.FaultToleranceStorageRelocate</div>
<div id="_mcePaste">migrate.test.FaultToleranceSVMSupported</div>
<div id="_mcePaste">migrate.test.FaultToleranceVersion</div>
<div id="_mcePaste">migrate.test.GuestHeartbeat</div>
<div id="_mcePaste">migrate.test.GuestSupported</div>
<div id="_mcePaste">migrate.test.HostSupportsSharedDeltaDisks</div>
<div id="_mcePaste">migrate.test.LiveCloneSupported</div>
<div id="_mcePaste">migrate.test.MatchedVMotionNetworkNames</div>
<div id="_mcePaste">migrate.test.MemorySizeSupportedByHost</div>
<div id="_mcePaste">migrate.test.NetworksAccessible</div>
<div id="_mcePaste">migrate.test.NetworksCompatible</div>
<div id="_mcePaste">migrate.test.NoComponentFailureAtDest</div>
<div id="_mcePaste">migrate.test.NoDASErrorsDest</div>
<div id="_mcePaste">migrate.test.NoFileBackedPort</div>
<div id="_mcePaste">migrate.test.NoFileMoveInMaintenanceMode</div>
<div id="_mcePaste">migrate.test.NoIndependentDisks</div>
<div id="_mcePaste">migrate.test.NumCpusSupportedByGuest</div>
<div id="_mcePaste">migrate.test.NumCpusSupportedByHost</div>
<div id="_mcePaste">migrate.test.NumCpusSupportedByHostCapability</div>
<div id="_mcePaste">migrate.test.NumCpusSupportedByHostHardware</div>
<div id="_mcePaste">migrate.test.PassesDasAdmission</div>
<div id="_mcePaste">migrate.test.PassthroughDeviceNotAttached</div>
<div id="_mcePaste">migrate.test.PersistentDisksOnly</div>
<div id="_mcePaste">migrate.test.RawDiskNotAttached</div>
<div id="_mcePaste">migrate.test.RDMDiskConversionNotAllowed</div>
<div id="_mcePaste">migrate.test.RemoteDeviceNotAttached</div>
<div id="_mcePaste">migrate.test.SatisfiesVmHostAffinityRules</div>
<div id="_mcePaste">migrate.test.ServicesAvailable</div>
<div id="_mcePaste">migrate.test.SharedBusControllerNotAttached</div>
<div id="_mcePaste">migrate.test.SnapshotsAccessible</div>
<div id="_mcePaste">migrate.test.SnapshotTest</div>
<div id="_mcePaste">migrate.test.SourceHostHasConfig</div>
<div id="_mcePaste">migrate.test.StorageVMotionSupported</div>
<div id="_mcePaste">migrate.test.SuspendedRelocateSupported</div>
<div id="_mcePaste">migrate.test.SwapDatastoreWritableIfSet</div>
<div id="_mcePaste">migrate.test.SwapPlacementOverrideSupported</div>
<div id="_mcePaste">migrate.test.SwapReadableByDest</div>
<div id="_mcePaste">migrate.test.test</div>
<div id="_mcePaste">migrate.test.ToolsInstallationNotInProgress</div>
<div id="_mcePaste">migrate.test.UnreferencedDisk</div>
<div id="_mcePaste">migrate.test.UnsharedSwapVMotionSupported</div>
<div id="_mcePaste">migrate.test.VirtualHardwareVersionSupported</div>
<div id="_mcePaste">migrate.test.VmIsValid</div>
<div id="_mcePaste">migrate.test.VMotionConfiguredOnDest</div>
<div id="_mcePaste">migrate.test.VMotionConfiguredOnSource</div>
<div id="_mcePaste">migrate.test.VMotionEncryptionPolicySupportedOnDest</div>
<div id="_mcePaste">migrate.test.VMotionEncryptionPolicySupportedOnSource</div>
<div id="_mcePaste">migrate.test.VMotionLinkCapacityOkAtDest</div>
<div id="_mcePaste">migrate.test.VMotionLinkCapacityOkAtSource</div>
<div id="_mcePaste">migrate.test.VMotionSupportedByDest</div>
<div id="_mcePaste">migrate.test.VMotionSupportedBySource</div>
</blockquote>
<p style="text-align: justify;">Voici un petit exemple d&#8217;un vmotion qui n&#8217;a aucune chance d&#8217;aboutir en l&#8217;état (même avec le paramètre <a href="http://www.hypervisor.fr/?p=285" target="_blank">migrate.test.CpuCompatible à false</a>) :</p>
<p><a href="http://files.hypervisor.fr/img/vpxd/migrate_config.png"><img class="aligncenter" src="http://files.hypervisor.fr/img/vpxd/migrate_config.png" alt="" width="381" height="232" /></a></p>
<p style="text-align: justify;">En ajoutant (<strong>à chaud !</strong>) ces paramètres dans le vcenter, le vmotion ne fait même plus de warning :</p>
<p><a href="http://files.hypervisor.fr/img/vpxd/vpxd_config.png"><img class="aligncenter" src="http://files.hypervisor.fr/img/vpxd/vpxd_config.png" alt="" width="402" height="392" /></a></p>
<p style="text-align: justify;">On arrive ainsi à déplacer une vm d&#8217;un Xeon E5420 à un Xeon MP nocona :</p>
<p style="text-align: center;"><a href="http://files.hypervisor.fr/img/vpxd/vmotion_core2.png"><img class="alignnone" src="http://files.hypervisor.fr/img/vpxd/vmotion_core2.png" alt="" width="194" height="187" /></a> <a href="http://files.hypervisor.fr/img/vpxd/vmotion_nocona.png"><img class="alignnone" src="http://files.hypervisor.fr/img/vpxd/vmotion_nocona.png" alt="" width="194" height="187" /></a></p>
<p style="text-align: justify;">Evidemment ces paramètres ne sont pas tous supportés par VMware mais nous vous recommandons vivement de jouer avec sur votre environnement de test <img src='http://www.hypervisor.fr/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
<p style="text-align: justify;">PS : Pour éviter les éventuels problèmes avec l&#8217;éditeur, nous ne publions pas l&#8217;extractions complète du process mais sachez qu&#8217;on y trouve beaucoup d&#8217;autres paramètres &#8221;cachés&#8221; sur HA, DRS, etc&#8230;</p>
]]></content:encoded>
			<wfw:commentRss>http://www.hypervisor.fr/?feed=rss2&amp;p=2826</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>vpxd restart = &#8220;Swap datastore is unset&#8221; &#8211; MAJ</title>
		<link>http://www.hypervisor.fr/?p=1275</link>
		<comments>http://www.hypervisor.fr/?p=1275#comments</comments>
		<pubDate>Tue, 20 Oct 2009 22:08:18 +0000</pubDate>
		<dc:creator>NiTRo</dc:creator>
				<category><![CDATA[Kb]]></category>
		<category><![CDATA[Tips & Tricks]]></category>
		<category><![CDATA[VMware]]></category>
		<category><![CDATA[scripting]]></category>
		<category><![CDATA[vCenter]]></category>
		<category><![CDATA[vpxd]]></category>

		<guid isPermaLink="false">http://www.hypervisor.fr/?p=1275</guid>
		<description><![CDATA[MAJ 01/02/2010 : Le problème semble avoir été réglé sur la version 4.0 U1 de vCenter.

Si vous vous demandez pourquoi vous avez ce warning alors que vous êtes certain d&#8217;avoir réglé ce paramètre, c&#8217;est que vous avez redémarré le service vpxd (ou le vCenter) !

Si vous avez plus de 60 hosts (comme c&#8217;est le cas [...]]]></description>
			<content:encoded><![CDATA[<p><em><span style="color: #ff0000;">MAJ 01/02/2010</span> :<em> </em></em><em>Le problème semble avoir été réglé sur la version 4.0 U1 de vCenter.<br />
</em></p>
<p>Si vous vous demandez pourquoi vous avez ce warning alors que vous êtes certain d&#8217;avoir réglé ce paramètre, c&#8217;est que vous avez redémarré le service vpxd (ou le vCenter) !</p>
<p><a href="http://www.hypervisor.fr/wp-content/uploads/2009/10/swap_unset.jpg" title="swap_unset" rel="lightbox[1275]"><img class="aligncenter size-full wp-image-1276" title="swap_unset" src="http://www.hypervisor.fr/wp-content/uploads/2009/10/swap_unset.jpg" alt="" width="500" height="403" /></a></p>
<p>Si vous avez plus de 60 hosts (comme c&#8217;est le cas pour nous), il va falloir user du PowerCLI (aka VI toolkit) pour y remédier :</p>

<div class="wp_syntax"><div class="code"><pre class="powershell" style="font-family:monospace;">Set<span style="color: pink;">-</span>VMHost <span style="color: pink;">-</span>VMHost  <span style="color: pink;">-</span>VMSwapfileDatastore <span style="color: #800000;">&quot;datastore&quot;</span></pre></div></div>

<p>Et grâce au SR ouvert par <a href="http://www.b3rg.nl/blog/blog-it/bug-swap-datastore-is-unset.html">Matthijs van den Berg</a>, on sait que le problème sera résolu dans l&#8217;Update 1 de vCenter.</p>
<p>Merci à Matthijs pour le troobleshooting et à Nigloo pour l&#8217;url <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=1275</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
