<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>article Test-vMotion - Identifying vMotion Issues in VMware PowerCLI Documents</title>
    <link>https://communities.vmware.com/t5/VMware-PowerCLI-Documents/Test-vMotion-Identifying-vMotion-Issues/ta-p/2777233</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P style="margin:0in;font-family:Calibri;font-size:11.0pt"&gt;We have all had those moments where we wish to place a host in Maintenance mode and the task just hangs at 2%.&amp;nbsp; Typically you'll find that there is a VM that just will not vMotion automatically for some unknown reason.&amp;nbsp; This can be maddening, especially in larger environments with multiple cooks in the kitchen.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="margin:0in;font-family:Calibri;font-size:11.0pt"&gt;Instances like this have caused countless admins a great deal of headache and in some cases completely derailed changes or change windows. A few months ago it was my goal to provide a type of audit that could check all the VMs in a cluster and clearly identify any issues that may exist.&amp;nbsp; This needed to run well in advance to a change or as a scheduled check in the environment.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="margin:0in;font-family:Calibri;font-size:11.0pt"&gt;The function I am providing here uses the CheckMigrate() method and can perform the following checks in its current version:&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;All VMs in a Cluster (Random host or to a specific host)&lt;/LI&gt;&lt;LI&gt;A single VM (Random host or to a specific host)&lt;/LI&gt;&lt;LI&gt;Limited pipeline capability for checking an entire cluster (This will be expanded soon)&lt;/LI&gt;&lt;LI&gt;Ability to turn off all console output so script can be used in console or as scheduled task&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="margin:0in;font-family:Calibri;font-size:11.0pt"&gt;Huge thanks to the following folks who contributed and helped validate the function.&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;Hal Rottenberg&lt;/LI&gt;&lt;LI&gt;Alan Renouf&lt;/LI&gt;&lt;LI&gt;Jade Lester&lt;/LI&gt;&lt;LI&gt;Josh Coen&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="margin:0in;font-family:Calibri;font-size:11.0pt"&gt;I have several plans for an updated version in 2012 so please share your feedback and usage experiences.&amp;nbsp; I hope you find it useful as well as hopefully saves you from an extended long evening.&lt;/P&gt;&lt;P style="margin:0in;font-family:Calibri;font-size:11.0pt"&gt;May the -force be with you!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="margin:0in;font-family:Calibri;font-size:11.0pt"&gt;Josh Atwell&lt;/P&gt;&lt;P style="margin:0in;font-family:Calibri;font-size:11.0pt"&gt;&lt;A href="http://www.vtesseract.com/"&gt;http://www.vtesseract.com/&lt;/A&gt;&lt;/P&gt;&lt;P style="margin:0in;font-family:Calibri;font-size:11.0pt"&gt;Twitter: &lt;A href="https://twitter.com/#!/Josh_Atwell"&gt;Josh_Atwell&lt;/A&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 21 Dec 2011 16:53:08 GMT</pubDate>
    <dc:creator>aerodevil</dc:creator>
    <dc:date>2011-12-21T16:53:08Z</dc:date>
    <item>
      <title>Test-vMotion - Identifying vMotion Issues</title>
      <link>https://communities.vmware.com/t5/VMware-PowerCLI-Documents/Test-vMotion-Identifying-vMotion-Issues/ta-p/2777233</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P style="margin:0in;font-family:Calibri;font-size:11.0pt"&gt;We have all had those moments where we wish to place a host in Maintenance mode and the task just hangs at 2%.&amp;nbsp; Typically you'll find that there is a VM that just will not vMotion automatically for some unknown reason.&amp;nbsp; This can be maddening, especially in larger environments with multiple cooks in the kitchen.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="margin:0in;font-family:Calibri;font-size:11.0pt"&gt;Instances like this have caused countless admins a great deal of headache and in some cases completely derailed changes or change windows. A few months ago it was my goal to provide a type of audit that could check all the VMs in a cluster and clearly identify any issues that may exist.&amp;nbsp; This needed to run well in advance to a change or as a scheduled check in the environment.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="margin:0in;font-family:Calibri;font-size:11.0pt"&gt;The function I am providing here uses the CheckMigrate() method and can perform the following checks in its current version:&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;All VMs in a Cluster (Random host or to a specific host)&lt;/LI&gt;&lt;LI&gt;A single VM (Random host or to a specific host)&lt;/LI&gt;&lt;LI&gt;Limited pipeline capability for checking an entire cluster (This will be expanded soon)&lt;/LI&gt;&lt;LI&gt;Ability to turn off all console output so script can be used in console or as scheduled task&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="margin:0in;font-family:Calibri;font-size:11.0pt"&gt;Huge thanks to the following folks who contributed and helped validate the function.&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;Hal Rottenberg&lt;/LI&gt;&lt;LI&gt;Alan Renouf&lt;/LI&gt;&lt;LI&gt;Jade Lester&lt;/LI&gt;&lt;LI&gt;Josh Coen&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="margin:0in;font-family:Calibri;font-size:11.0pt"&gt;I have several plans for an updated version in 2012 so please share your feedback and usage experiences.&amp;nbsp; I hope you find it useful as well as hopefully saves you from an extended long evening.&lt;/P&gt;&lt;P style="margin:0in;font-family:Calibri;font-size:11.0pt"&gt;May the -force be with you!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="margin:0in;font-family:Calibri;font-size:11.0pt"&gt;Josh Atwell&lt;/P&gt;&lt;P style="margin:0in;font-family:Calibri;font-size:11.0pt"&gt;&lt;A href="http://www.vtesseract.com/"&gt;http://www.vtesseract.com/&lt;/A&gt;&lt;/P&gt;&lt;P style="margin:0in;font-family:Calibri;font-size:11.0pt"&gt;Twitter: &lt;A href="https://twitter.com/#!/Josh_Atwell"&gt;Josh_Atwell&lt;/A&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 21 Dec 2011 16:53:08 GMT</pubDate>
      <guid>https://communities.vmware.com/t5/VMware-PowerCLI-Documents/Test-vMotion-Identifying-vMotion-Issues/ta-p/2777233</guid>
      <dc:creator>aerodevil</dc:creator>
      <dc:date>2011-12-21T16:53:08Z</dc:date>
    </item>
  </channel>
</rss>

