<?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; NMP</title>
	<atom:link href="http://www.hypervisor.fr/?feed=rss2&#038;tag=nmp" 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>FC to iSCSI failover : MRU ranking</title>
		<link>http://www.hypervisor.fr/?p=4389</link>
		<comments>http://www.hypervisor.fr/?p=4389#comments</comments>
		<pubDate>Mon, 12 Nov 2012 22:27:37 +0000</pubDate>
		<dc:creator>NiTRo</dc:creator>
				<category><![CDATA[Hardware]]></category>
		<category><![CDATA[Performance]]></category>
		<category><![CDATA[VMware]]></category>
		<category><![CDATA[ZFS]]></category>
		<category><![CDATA[ALUA]]></category>
		<category><![CDATA[NMP]]></category>
		<category><![CDATA[PowerCLI]]></category>
		<category><![CDATA[powershell]]></category>
		<category><![CDATA[PSA]]></category>
		<category><![CDATA[PSP]]></category>
		<category><![CDATA[SATP]]></category>
		<category><![CDATA[scripting]]></category>
		<category><![CDATA[VMW_PSP_MRU]]></category>

		<guid isPermaLink="false">http://www.hypervisor.fr/?p=4389</guid>
		<description><![CDATA[Au détour de l’excellent Storage Implementation in vSphere 5.0 de Mostafa &#8220;VCDX #2&#8243; Khalil,  nous avons découvert le Path Ranking. Détaillé dans une kb vmware (et dans un post de Cormac Hogan), le path raking permet de pondérer un ou plusieurs chemins lorsque le plugin VMW_PSP_MRU est utilisé.

In ESXi 5.0, VMW_PSP_MRU has path ranking capabilities that allows you [...]]]></description>
			<content:encoded><![CDATA[<p style="text-align: justify;">Au détour de l’excellent <a href="http://www.amazon.com/dp/0321799933" target="_blank">Storage Implementation in vSphere 5.0</a> de <a href="https://twitter.com/MostafaVMW" target="_blank">Mostafa &#8220;VCDX #2&#8243; Khalil</a>,  nous avons découvert le <strong>Path Ranking</strong>. <a href="http://kb.vmware.com/kb/2003468" target="_blank">Détaillé dans une kb vmware</a> (et dans <a href="http://blogs.vmware.com/vsphere/2012/04/prioritizing-io-paths-in-the-event-of-a-failover.html" target="_blank">un post de Cormac Hogan</a>), le path raking permet de pondérer un ou plusieurs chemins lorsque le plugin VMW_PSP_MRU est utilisé.</p>
<blockquote>
<p style="text-align: justify;">In ESXi 5.0, VMW_PSP_MRU has path ranking capabilities that allows you to assign ranks to individual paths. VMW_PSP_MRU goes through the path group states in the following order: Active, Active_UO and Standby, and <strong>picks a path that has the highest rank for I/O</strong>.</p>
</blockquote>
<p style="text-align: center;"><a href="http://files.hypervisor.fr/img/05fig08_alt.jpg" target="_blank"><img class="aligncenter" src="http://files.hypervisor.fr/img/05fig08_alt.jpg" alt="" width="418" height="250" /></a></p>
<p style="text-align: justify;">Evidemment, le scénario dans le quel le path ranking nous intéresse le plus est le fameux <a href="http://www.hypervisor.fr/?p=3164" target="_blank">FC to iSCSI failover</a> dans le quel nous étions particulièrement gêné par le fait que les chemins en FC n&#8217;étaient pas prioritaires sur les chemins iSCSI et pouvant mener à des situations où un chemin iSCSI serait utilisé alors qu&#8217;un chemin FC serait disponible :</p>
<p style="text-align: center;"><a href="http://files.hypervisor.fr/img/pathranking/fc-iscsi-fixed.png" target="_blank"><img class="aligncenter" src="http://files.hypervisor.fr/img/pathranking/fc-iscsi-fixed.png" alt="" width="441" height="322" /></a></p>
<p style="text-align: justify;">On passe le PSP du datastore en MRU et un coup de PowerCLI pour monter le ranking des chemins FC :</p>
<p style="text-align: center;"><a href="http://files.hypervisor.fr/img/pathranking/fc-iscsi-get-esxcli.png" target="_blank"><img class="aligncenter" src="http://files.hypervisor.fr/img/pathranking/fc-iscsi-get-esxcli.png" alt="" width="442" height="234" /></a></p>
<pre class="brush: powershell; title: ; notranslate">(Get-VMHost esx.vmware.com|Get-EsxCli).storage.nmp.path.list(&quot;naa.0123456789&quot;)|sort RuntimeName|select RuntimeName, @{n=&quot;rank&quot;;e={(Get-VMHost esx.vmware.com|Get-EsxCli).storage.nmp.psp.generic.pathconfig.get($_.RuntimeName)}}|ft -AutoSize</pre>
<pre class="brush: powershell; title: ; notranslate">(Get-VMHost vmvisor01.vmwa.re|Get-EsxCli).storage.nmp.psp.generic.pathconfig.set(&quot;rank=1&quot;,&quot;vmhba0:C0:T0:L0&quot;)</pre>
<p style="text-align: left;">Le (bon) résultat est immédiat :</p>
<p style="text-align: center;"><a href="http://files.hypervisor.fr/img/pathranking/fc-iscsi-mru-ranked.png" target="_blank"><img class="aligncenter" src="http://files.hypervisor.fr/img/pathranking/fc-iscsi-mru-ranked.png" alt="" width="441" height="322" /></a></p>
<p style="text-align: left;">
]]></content:encoded>
			<wfw:commentRss>http://www.hypervisor.fr/?feed=rss2&amp;p=4389</wfw:commentRss>
		<slash:comments>4</slash:comments>
		</item>
	</channel>
</rss>
