<?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>topic Re: Enable sVMotion after it has been &amp;quot;disabled by method&amp;quot; in VMware PowerCLI Discussions</title>
    <link>https://communities.vmware.com/t5/VMware-PowerCLI-Discussions/Enable-sVMotion-after-it-has-been-quot-disabled-by-method-quot/m-p/972082#M30738</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Unregister/register of a VM doesn't cause any downtime afaik.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Which API call are you referring to ?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 13 Nov 2013 19:08:07 GMT</pubDate>
    <dc:creator>LucD</dc:creator>
    <dc:date>2013-11-13T19:08:07Z</dc:date>
    <item>
      <title>Enable sVMotion after it has been "disabled by method"</title>
      <link>https://communities.vmware.com/t5/VMware-PowerCLI-Discussions/Enable-sVMotion-after-it-has-been-quot-disabled-by-method-quot/m-p/972079#M30735</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I am looking for a way to remove the vpx_disabled_methods flag on a virtual machine set by our backup software. Even after a successful backup there are some virtual machines that still have sVMotion disabled. The current way I resolve this issue is by stopping the vCenter services, clearing out the vpx_disabled_methods table in SQL, and then starting the vCenter services. Ideally I would write a function that makes the same api call that backup software vendors use to enable sVMotion. Anyone point me in the right direction?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 13 Nov 2013 15:42:47 GMT</pubDate>
      <guid>https://communities.vmware.com/t5/VMware-PowerCLI-Discussions/Enable-sVMotion-after-it-has-been-quot-disabled-by-method-quot/m-p/972079#M30735</guid>
      <dc:creator>pizzim13</dc:creator>
      <dc:date>2013-11-13T15:42:47Z</dc:date>
    </item>
    <item>
      <title>Re: Enable sVMotion after it has been "disabled by method"</title>
      <link>https://communities.vmware.com/t5/VMware-PowerCLI-Discussions/Enable-sVMotion-after-it-has-been-quot-disabled-by-method-quot/m-p/972080#M30736</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;As documented in &lt;A href="http://kb.vmware.com/selfservice/microsites/search.do?language=en_US&amp;amp;cmd=displayKC&amp;amp;externalId=2008957"&gt;KB2008957&lt;/A&gt;, a unregister/register of the VM might help.&lt;/P&gt;&lt;P&gt;Try with this&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;SPAN style="color: #800080;"&gt;$vm&lt;/SPAN&gt;&lt;SPAN style="color: #000000;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #ff0000;"&gt;=&lt;/SPAN&gt;&lt;SPAN style="color: #000000;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #5f9ea0;"&gt;Get-VM&lt;/SPAN&gt;&lt;SPAN style="color: #000000;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #5f9ea0;"&gt;-Name&lt;/SPAN&gt;&lt;SPAN style="color: #000000;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #0000ff;"&gt;MyVM&lt;/SPAN&gt;&lt;SPAN style="color: #000000;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;SPAN style="color: #800080;"&gt;$pathVMX&lt;/SPAN&gt;&lt;SPAN style="color: #000000;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #ff0000;"&gt;=&lt;/SPAN&gt;&lt;SPAN style="color: #000000;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #800080;"&gt;$vm&lt;/SPAN&gt;&lt;SPAN style="color: #000000;"&gt;.&lt;/SPAN&gt;&lt;SPAN style="color: #8b4513;"&gt;ExtensionData&lt;/SPAN&gt;&lt;SPAN style="color: #000000;"&gt;.&lt;/SPAN&gt;&lt;SPAN style="color: #8b4513;"&gt;Config&lt;/SPAN&gt;&lt;SPAN style="color: #000000;"&gt;.&lt;/SPAN&gt;&lt;SPAN style="color: #8b4513;"&gt;Files&lt;/SPAN&gt;&lt;SPAN style="color: #000000;"&gt;.&lt;/SPAN&gt;&lt;SPAN style="color: #8b4513;"&gt;VmPathName&lt;/SPAN&gt;&lt;SPAN style="color: #000000;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;SPAN style="color: #800080;"&gt;$esx&lt;/SPAN&gt;&lt;SPAN style="color: #000000;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #ff0000;"&gt;=&lt;/SPAN&gt;&lt;SPAN style="color: #000000;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #800080;"&gt;$vm&lt;/SPAN&gt;&lt;SPAN style="color: #000000;"&gt;.&lt;/SPAN&gt;&lt;SPAN style="color: #8b4513;"&gt;Host&lt;/SPAN&gt;&lt;SPAN style="color: #000000;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;SPAN style="color: #800080;"&gt;$rp&lt;/SPAN&gt;&lt;SPAN style="color: #000000;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #ff0000;"&gt;=&lt;/SPAN&gt;&lt;SPAN style="color: #000000;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #800080;"&gt;$vm&lt;/SPAN&gt;&lt;SPAN style="color: #000000;"&gt;.&lt;/SPAN&gt;&lt;SPAN style="color: #8b4513;"&gt;ResourcePool&lt;/SPAN&gt;&lt;SPAN style="color: #000000;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;SPAN style="color: #5f9ea0;"&gt;Remove-Inventory&lt;/SPAN&gt;&lt;SPAN style="color: #000000;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #5f9ea0;"&gt;-Item&lt;/SPAN&gt;&lt;SPAN style="color: #000000;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #800080;"&gt;$vm&lt;/SPAN&gt;&lt;SPAN style="color: #000000;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #ff0000;"&gt;-&lt;/SPAN&gt;&lt;SPAN style="color: #0000ff;"&gt;Confirm&lt;/SPAN&gt;&lt;SPAN style="color: #000000;"&gt;:&lt;/SPAN&gt;&lt;SPAN style="color: #0000ff;"&gt;$false&lt;/SPAN&gt;&lt;SPAN style="color: #000000;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;SPAN style="color: #5f9ea0;"&gt;New-VM&lt;/SPAN&gt;&lt;SPAN style="color: #000000;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #5f9ea0;"&gt;-VMFilePath&lt;/SPAN&gt;&lt;SPAN style="color: #000000;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #800080;"&gt;$pathVMX&lt;/SPAN&gt;&lt;SPAN style="color: #000000;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #5f9ea0;"&gt;-VMHost&lt;/SPAN&gt;&lt;SPAN style="color: #000000;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #800080;"&gt;$esx&lt;/SPAN&gt;&lt;SPAN style="color: #000000;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #5f9ea0;"&gt;-ResourcePool&lt;/SPAN&gt;&lt;SPAN style="color: #000000;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #800080;"&gt;$rp&lt;/SPAN&gt;&lt;SPAN style="color: #000000;"&gt;&amp;nbsp; &lt;/SPAN&gt;&lt;SPAN style="color: #ff0000;"&gt;-&lt;/SPAN&gt;&lt;SPAN style="color: #0000ff;"&gt;Confirm&lt;/SPAN&gt;&lt;SPAN style="color: #000000;"&gt;:&lt;/SPAN&gt;&lt;SPAN style="color: #0000ff;"&gt;$false&lt;/SPAN&gt;&lt;SPAN style="color: #000000;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/PRE&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 13 Nov 2013 18:30:29 GMT</pubDate>
      <guid>https://communities.vmware.com/t5/VMware-PowerCLI-Discussions/Enable-sVMotion-after-it-has-been-quot-disabled-by-method-quot/m-p/972080#M30736</guid>
      <dc:creator>LucD</dc:creator>
      <dc:date>2013-11-13T18:30:29Z</dc:date>
    </item>
    <item>
      <title>Re: Enable sVMotion after it has been "disabled by method"</title>
      <link>https://communities.vmware.com/t5/VMware-PowerCLI-Discussions/Enable-sVMotion-after-it-has-been-quot-disabled-by-method-quot/m-p/972081#M30737</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;That is an alternative but the virtual machine downtime is a deal breaker. An creating the enable method api call would be ideal.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 13 Nov 2013 18:59:21 GMT</pubDate>
      <guid>https://communities.vmware.com/t5/VMware-PowerCLI-Discussions/Enable-sVMotion-after-it-has-been-quot-disabled-by-method-quot/m-p/972081#M30737</guid>
      <dc:creator>pizzim13</dc:creator>
      <dc:date>2013-11-13T18:59:21Z</dc:date>
    </item>
    <item>
      <title>Re: Enable sVMotion after it has been "disabled by method"</title>
      <link>https://communities.vmware.com/t5/VMware-PowerCLI-Discussions/Enable-sVMotion-after-it-has-been-quot-disabled-by-method-quot/m-p/972082#M30738</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Unregister/register of a VM doesn't cause any downtime afaik.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Which API call are you referring to ?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 13 Nov 2013 19:08:07 GMT</pubDate>
      <guid>https://communities.vmware.com/t5/VMware-PowerCLI-Discussions/Enable-sVMotion-after-it-has-been-quot-disabled-by-method-quot/m-p/972082#M30738</guid>
      <dc:creator>LucD</dc:creator>
      <dc:date>2013-11-13T19:08:07Z</dc:date>
    </item>
    <item>
      <title>Re: Enable sVMotion after it has been "disabled by method"</title>
      <link>https://communities.vmware.com/t5/VMware-PowerCLI-Discussions/Enable-sVMotion-after-it-has-been-quot-disabled-by-method-quot/m-p/972083#M30739</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Maybe the VDDK api; I am not really sure. Our backup software sends a command to vCenter to disable storage vMotion on that virtual machine while the backup is active. Once the backup has finished the software sends another command enabling storage vMotion. What I would like do to is send that "enable" command.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I just doubled checked. An unregister requires the virtual machine to be powered down.&lt;/P&gt;&lt;PRE __default_attr="plain" __jive_macro_name="code" class="jive_text_macro jive_macro_code _jivemacro_uid_13843791677849406" jivemacro_uid="_13843791677849406"&gt;
&lt;P&gt;Remove-Inventory&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; The attempted operation cannot be performed in the current state (Powered on).&lt;/P&gt;

&lt;/PRE&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 13 Nov 2013 21:45:29 GMT</pubDate>
      <guid>https://communities.vmware.com/t5/VMware-PowerCLI-Discussions/Enable-sVMotion-after-it-has-been-quot-disabled-by-method-quot/m-p/972083#M30739</guid>
      <dc:creator>pizzim13</dc:creator>
      <dc:date>2013-11-13T21:45:29Z</dc:date>
    </item>
    <item>
      <title>Re: Enable sVMotion after it has been "disabled by method"</title>
      <link>https://communities.vmware.com/t5/VMware-PowerCLI-Discussions/Enable-sVMotion-after-it-has-been-quot-disabled-by-method-quot/m-p/972084#M30740</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Indeed, tried in the mean time myself, it needs to be powered off.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Wouldn't that be the TSQL that is mentioned in the KB ?&lt;/P&gt;&lt;P&gt;You should be able to see that in the SQL server I guess.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 13 Nov 2013 21:51:54 GMT</pubDate>
      <guid>https://communities.vmware.com/t5/VMware-PowerCLI-Discussions/Enable-sVMotion-after-it-has-been-quot-disabled-by-method-quot/m-p/972084#M30740</guid>
      <dc:creator>LucD</dc:creator>
      <dc:date>2013-11-13T21:51:54Z</dc:date>
    </item>
    <item>
      <title>Re: Enable sVMotion after it has been "disabled by method"</title>
      <link>https://communities.vmware.com/t5/VMware-PowerCLI-Discussions/Enable-sVMotion-after-it-has-been-quot-disabled-by-method-quot/m-p/972085#M30741</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You can, and that is how I do it now. But doing it that way requires a vCenter service restart, along with a manual edit of the database. I would rather send the same command that the backup software is sending.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 13 Nov 2013 21:58:14 GMT</pubDate>
      <guid>https://communities.vmware.com/t5/VMware-PowerCLI-Discussions/Enable-sVMotion-after-it-has-been-quot-disabled-by-method-quot/m-p/972085#M30741</guid>
      <dc:creator>pizzim13</dc:creator>
      <dc:date>2013-11-13T21:58:14Z</dc:date>
    </item>
    <item>
      <title>Re: Enable sVMotion after it has been "disabled by method"</title>
      <link>https://communities.vmware.com/t5/VMware-PowerCLI-Discussions/Enable-sVMotion-after-it-has-been-quot-disabled-by-method-quot/m-p/972086#M30742</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;VMDude (&lt;SPAN style="color: #333333; font-family: Georgia, 'Times New Roman', serif; font-size: 16.363636016845703px; text-align: justify;"&gt;Frédéric Martin &lt;A href="http://www.vmdude.fr/en/" title="http://www.vmdude.fr/en/"&gt;http://www.vmdude.fr/en/&lt;/A&gt;&lt;/SPAN&gt;) wrote an excellent app to resolve this issue. Here is a link to the app and the source code &lt;A href="http://www.vmdude.fr/en/scripts-en/lazymethodsenabler-tool/" title="http://www.vmdude.fr/en/scripts-en/lazymethodsenabler-tool/"&gt;LazyMethodsEnabler tool | vmdude&lt;/A&gt;. I have taken his app and wrapped into a function to make easier to use with other PowerShell scripts. For this function to work you will need to download his app and the VDDK5.0 libraries located on his site. Unzip all the files to the same directory as the script. The credentials are needed for the app to log into vCenter. My script is attached to this post.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 19 Nov 2013 20:16:50 GMT</pubDate>
      <guid>https://communities.vmware.com/t5/VMware-PowerCLI-Discussions/Enable-sVMotion-after-it-has-been-quot-disabled-by-method-quot/m-p/972086#M30742</guid>
      <dc:creator>pizzim13</dc:creator>
      <dc:date>2013-11-19T20:16:50Z</dc:date>
    </item>
  </channel>
</rss>

