<?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 Automating VM clone/Snapshot/Restore using Vsphere CLI in vSphere Command-Line Interface Discussions</title>
    <link>https://communities.vmware.com/t5/vSphere-Command-Line-Interface/Automating-VM-clone-Snapshot-Restore-using-Vsphere-CLI/m-p/775751#M250</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;!--[if gte mso 9]&gt;&lt;xml&gt;&lt;br/&gt;Normal&lt;br/&gt;0&lt;br/&gt;false&lt;br/&gt;false&lt;br/&gt;false&lt;br/&gt;MicrosoftInternetExplorer4&lt;br/&gt;&lt;/xml&gt;&lt;/body&gt;--&gt;&lt;!--[if gte mso 9]&gt;&lt;xml&gt;&lt;br/&gt;Normal&lt;br/&gt;0&lt;br/&gt;false&lt;br/&gt;false&lt;br/&gt;false&lt;br/&gt;MicrosoftInternetExplorer4&lt;br/&gt;&lt;/xml&gt;&lt;![endif]--&gt;&lt;!--[if gte mso 9]&gt;&lt;xml&gt;&lt;br/&gt;Normal&lt;br/&gt;0&lt;br/&gt;false&lt;br/&gt;false&lt;br/&gt;false&lt;br/&gt;MicrosoftInternetExplorer4&lt;br/&gt;&lt;/xml&gt;&lt;/body&gt;--&gt;&lt;!--[if gte mso 9]&gt;&lt;xml&gt;&lt;br/&gt;Normal&lt;br/&gt;0&lt;br/&gt;false&lt;br/&gt;false&lt;br/&gt;false&lt;br/&gt;MicrosoftInternetExplorer4&lt;br/&gt;&lt;/xml&gt;&lt;/body&gt;--&gt;&lt;P&gt;&amp;lt;![endif]&lt;DEL&gt;&amp;gt;&amp;lt;!&lt;/DEL&gt;[if gte mso 9]&amp;gt;&amp;lt;![endif]&lt;DEL&gt;&amp;gt;&amp;lt;!&lt;/DEL&gt;[if gte mso 9]&amp;gt;&lt;STRONG&gt;VM Cloning&lt;/STRONG&gt;  &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Currently by looking into the documentation I used the CLI “vmkfstool –clonevirtualdisk” for cloning the VM Image. I observed that the CLI only cloned the “&amp;lt;VM Name&amp;gt;.vmdk” file but other dependent configuration files like “&amp;lt;VM Name&amp;gt;.nvram , &amp;lt;VM Name&amp;gt;.vmx” etc were not cloned by the CLI. &lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&amp;lt;![endif]&lt;DEL&gt;&amp;gt;&amp;lt;!&lt;/DEL&gt;[if gte mso 9]&amp;gt;How&lt;/P&gt;&lt;P&gt;can we clone the existing VMWare images using CLI so that we have all the required files like “ ’.vmdk’, ‘.vmx’, ‘.nvram’ ” etc available with us?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Snapshot&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;lt;![endif]&lt;DEL&gt;&amp;gt;&amp;lt;!&lt;/DEL&gt;[if gte mso 9]&amp;gt;&amp;lt;![endif]&lt;DEL&gt;&amp;gt;&amp;lt;!&lt;/DEL&gt;[if gte mso 9]&amp;gt;&amp;lt;![endif]&lt;DEL&gt;&amp;gt;&amp;lt;!&lt;/DEL&gt;[if gte mso 9]&amp;gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Also please let me know if we have a CLI that can&lt;/P&gt;&lt;P&gt;be executed remotely using which we can Query a particular VM for its *MAC&lt;/P&gt;&lt;P&gt;and IP Address*.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks and Regards&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;-Saurabh &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 31 Aug 2009 11:37:32 GMT</pubDate>
    <dc:creator>saurabhgale</dc:creator>
    <dc:date>2009-08-31T11:37:32Z</dc:date>
    <item>
      <title>Automating VM clone/Snapshot/Restore using Vsphere CLI</title>
      <link>https://communities.vmware.com/t5/vSphere-Command-Line-Interface/Automating-VM-clone-Snapshot-Restore-using-Vsphere-CLI/m-p/775751#M250</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;!--[if gte mso 9]&gt;&lt;xml&gt;&lt;br/&gt;Normal&lt;br/&gt;0&lt;br/&gt;false&lt;br/&gt;false&lt;br/&gt;false&lt;br/&gt;MicrosoftInternetExplorer4&lt;br/&gt;&lt;/xml&gt;&lt;/body&gt;--&gt;&lt;!--[if gte mso 9]&gt;&lt;xml&gt;&lt;br/&gt;Normal&lt;br/&gt;0&lt;br/&gt;false&lt;br/&gt;false&lt;br/&gt;false&lt;br/&gt;MicrosoftInternetExplorer4&lt;br/&gt;&lt;/xml&gt;&lt;![endif]--&gt;&lt;!--[if gte mso 9]&gt;&lt;xml&gt;&lt;br/&gt;Normal&lt;br/&gt;0&lt;br/&gt;false&lt;br/&gt;false&lt;br/&gt;false&lt;br/&gt;MicrosoftInternetExplorer4&lt;br/&gt;&lt;/xml&gt;&lt;/body&gt;--&gt;&lt;!--[if gte mso 9]&gt;&lt;xml&gt;&lt;br/&gt;Normal&lt;br/&gt;0&lt;br/&gt;false&lt;br/&gt;false&lt;br/&gt;false&lt;br/&gt;MicrosoftInternetExplorer4&lt;br/&gt;&lt;/xml&gt;&lt;/body&gt;--&gt;&lt;P&gt;&amp;lt;![endif]&lt;DEL&gt;&amp;gt;&amp;lt;!&lt;/DEL&gt;[if gte mso 9]&amp;gt;&amp;lt;![endif]&lt;DEL&gt;&amp;gt;&amp;lt;!&lt;/DEL&gt;[if gte mso 9]&amp;gt;&lt;STRONG&gt;VM Cloning&lt;/STRONG&gt;  &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Currently by looking into the documentation I used the CLI “vmkfstool –clonevirtualdisk” for cloning the VM Image. I observed that the CLI only cloned the “&amp;lt;VM Name&amp;gt;.vmdk” file but other dependent configuration files like “&amp;lt;VM Name&amp;gt;.nvram , &amp;lt;VM Name&amp;gt;.vmx” etc were not cloned by the CLI. &lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&amp;lt;![endif]&lt;DEL&gt;&amp;gt;&amp;lt;!&lt;/DEL&gt;[if gte mso 9]&amp;gt;How&lt;/P&gt;&lt;P&gt;can we clone the existing VMWare images using CLI so that we have all the required files like “ ’.vmdk’, ‘.vmx’, ‘.nvram’ ” etc available with us?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Snapshot&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;lt;![endif]&lt;DEL&gt;&amp;gt;&amp;lt;!&lt;/DEL&gt;[if gte mso 9]&amp;gt;&amp;lt;![endif]&lt;DEL&gt;&amp;gt;&amp;lt;!&lt;/DEL&gt;[if gte mso 9]&amp;gt;&amp;lt;![endif]&lt;DEL&gt;&amp;gt;&amp;lt;!&lt;/DEL&gt;[if gte mso 9]&amp;gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Also please let me know if we have a CLI that can&lt;/P&gt;&lt;P&gt;be executed remotely using which we can Query a particular VM for its *MAC&lt;/P&gt;&lt;P&gt;and IP Address*.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks and Regards&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;-Saurabh &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 31 Aug 2009 11:37:32 GMT</pubDate>
      <guid>https://communities.vmware.com/t5/vSphere-Command-Line-Interface/Automating-VM-clone-Snapshot-Restore-using-Vsphere-CLI/m-p/775751#M250</guid>
      <dc:creator>saurabhgale</dc:creator>
      <dc:date>2009-08-31T11:37:32Z</dc:date>
    </item>
    <item>
      <title>Re: Automating VM clone/Snapshot/Restore using Vsphere CLI</title>
      <link>https://communities.vmware.com/t5/vSphere-Command-Line-Interface/Automating-VM-clone-Snapshot-Restore-using-Vsphere-CLI/m-p/775752#M251</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Duplicated thread, please refer here: &lt;A href="https://communities.vmware.com/m-1358372"&gt;&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;=========================================================================&lt;/P&gt;&lt;P&gt;William Lam&lt;/P&gt;&lt;P&gt;VMware vExpert 2009&lt;/P&gt;&lt;P&gt;VMware ESX/ESXi scripts and resources at: &lt;A href="http://engineering.ucsb.edu/~duonglt/vmware/"&gt;&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="https://communities.vmware.com/d-9852"&gt;&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="https://communities.vmware.com/c-3075"&gt;VMware Code Central - Scripts/Sample code for Developers and Administrators&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="https://communities.vmware.com/c-2828"&gt;VMware Developer Comuunity&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="http://twitter.com/lamw"&gt;Twitter: @lamw&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG src="http://engineering.ucsb.edu/~duonglt/vmware/vexpert_silver_icon.jpg" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If you find this information useful, please award points for "correct" or "helpful".&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 08 Sep 2009 21:43:02 GMT</pubDate>
      <guid>https://communities.vmware.com/t5/vSphere-Command-Line-Interface/Automating-VM-clone-Snapshot-Restore-using-Vsphere-CLI/m-p/775752#M251</guid>
      <dc:creator>lamw</dc:creator>
      <dc:date>2009-09-08T21:43:02Z</dc:date>
    </item>
  </channel>
</rss>

