<?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; Wireshark</title>
	<atom:link href="http://www.hypervisor.fr/?feed=rss2&#038;tag=wireshark" 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>Testez VMware HA avec la cmdlet Stop-VM</title>
		<link>http://www.hypervisor.fr/?p=4930</link>
		<comments>http://www.hypervisor.fr/?p=4930#comments</comments>
		<pubDate>Wed, 20 Nov 2013 16:47:39 +0000</pubDate>
		<dc:creator>NiTRo</dc:creator>
				<category><![CDATA[Tips & Tricks]]></category>
		<category><![CDATA[VMware]]></category>
		<category><![CDATA[FDM]]></category>
		<category><![CDATA[HA]]></category>
		<category><![CDATA[PowerCLI]]></category>
		<category><![CDATA[powershell]]></category>
		<category><![CDATA[sso]]></category>
		<category><![CDATA[Wireshark]]></category>

		<guid isPermaLink="false">http://www.hypervisor.fr/?p=4930</guid>
		<description><![CDATA[Nous découvrons par hasard l&#8217;existence  du paramètre &#8220;-kill&#8221; de la cmdlet Stop-VM :

Indicates that you want to stop the specified virtual machines by terminating their processes running on the ESX. You can use this parameter to stop a virtual machine that is not responding and cannot be stopped or restarted in other ways.

Cela ressemble fortement [...]]]></description>
			<content:encoded><![CDATA[<p style="text-align: justify;">Nous découvrons par hasard l&#8217;existence  du paramètre &#8220;-kill&#8221; de la cmdlet <a href="http://pubs.vmware.com/vsphere-51/topic/com.vmware.powercli.cmdletref.doc/Stop-VM.html" target="_blank">Stop-VM</a> :</p>
<blockquote>
<p style="text-align: justify;">Indicates that you want to stop the specified virtual machines by terminating their processes running on the ESX. You can use this parameter to stop a virtual machine that is not responding and cannot be stopped or restarted in other ways.</p>
</blockquote>
<p style="text-align: justify;">Cela ressemble fortement à un kill des process vmx dans un <a href="http://kb.vmware.com/kb/1014165" target="_blank">shell, via esxtop ou esxcli</a> mais nécessiterai d’être connecté à l&#8217;ESXi plutôt qu&#8217;au vcenter :</p>
<blockquote>
<p style="text-align: justify;">To use the Kill parameter, you need to have a direct connection to ESX 4.1 or later.</p>
</blockquote>
<p style="text-align: justify;">Mais une fois de plus le <a href="http://en.wikipedia.org/wiki/Monkey_test" target="_blank">monkey test</a> à payé, nous testons la commande en étant connecté au vcenter et ça marche. la vm est littéralement killée sans aucune tache apparente dans le vcenter ni sur l&#8217;ESX et HA la restart :</p>
<p style="text-align: center;"><img class="aligncenter" src="http://files.hypervisor.fr/img/stop-vm/stop-vm-kill-cli.png" alt="" width="497" height="131" /></p>
<p style="text-align: center;"><a href="http://files.hypervisor.fr/img/stop-vm/stop-vm-kill-ha.png" target="_blank"><img class="aligncenter" src="http://files.hypervisor.fr/img/stop-vm/stop-vm-kill-ha.png" alt="" width="529" height="340" /></a></p>
<p style="text-align: justify;">Nous avons également vérifié avec Wireshark qu&#8217;aucune communication n&#8217;avait lieu entre le client PowerCLI et l&#8217;ESXi.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.hypervisor.fr/?feed=rss2&amp;p=4930</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
