<?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: Create a VM using StoragePlacementSpec in vSphere SDK for Perl Discussions</title>
    <link>https://communities.vmware.com/t5/vSphere-SDK-for-Perl-Discussions/Create-a-VM-using-StoragePlacementSpec/m-p/1330756#M1435</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hi,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;I m facing the same issue and I keep on getting the same error : 'A general system error occured: optional value not set'. When I put a datastore, everything(vm.congifSpec) but it seems that for a cluster of datastore you need different parameters could you please tell me which ones ?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;An example of your working code would also be greatly appretiated.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks in advance&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 04 Jul 2018 14:16:35 GMT</pubDate>
    <dc:creator>Warenn</dc:creator>
    <dc:date>2018-07-04T14:16:35Z</dc:date>
    <item>
      <title>Create a VM using StoragePlacementSpec</title>
      <link>https://communities.vmware.com/t5/vSphere-SDK-for-Perl-Discussions/Create-a-VM-using-StoragePlacementSpec/m-p/1330753#M1432</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I cannot use the apps/vm/vmcreate.pl when using StoragePod (SDRS).&lt;/P&gt;&lt;P&gt;I understood one might need to use StorageDrsPodSelectionSpec and the like?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Would it be possible to request a working example of a script creating a VM onto a StoragePod?&lt;/P&gt;&lt;P&gt;Or otherwise a link, as I did not find any example besides a CloneVM one.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks in advance,&lt;/P&gt;&lt;P&gt;Nuriel Shem-Tov&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 14 May 2012 17:28:51 GMT</pubDate>
      <guid>https://communities.vmware.com/t5/vSphere-SDK-for-Perl-Discussions/Create-a-VM-using-StoragePlacementSpec/m-p/1330753#M1432</guid>
      <dc:creator>nuriel77</dc:creator>
      <dc:date>2012-05-14T17:28:51Z</dc:date>
    </item>
    <item>
      <title>Re: Create a VM using StoragePlacementSpec</title>
      <link>https://communities.vmware.com/t5/vSphere-SDK-for-Perl-Discussions/Create-a-VM-using-StoragePlacementSpec/m-p/1330754#M1433</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;SPAN&gt;To provision VMs whether creating a new or cloning from an existing onto a Datastore Cluster, you will need to leverage a different vSphere API than the CreateVM_Task() or CloneVM_Task() methods. You can take a look at this article which goes into details on what you would need to provision VMs on Datastore Clusters &lt;/SPAN&gt;&lt;A class="jive-link-external-small" href="http://www.virtuallyghetto.com/2012/03/vm-provisioning-on-datastore-clusters.html"&gt;http://www.virtuallyghetto.com/2012/03/vm-provisioning-on-datastore-clusters.html&lt;/A&gt;&lt;SPAN&gt; and that should provide you with what you need to create your provisioning script.&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 14 May 2012 19:06:55 GMT</pubDate>
      <guid>https://communities.vmware.com/t5/vSphere-SDK-for-Perl-Discussions/Create-a-VM-using-StoragePlacementSpec/m-p/1330754#M1433</guid>
      <dc:creator>lamw</dc:creator>
      <dc:date>2012-05-14T19:06:55Z</dc:date>
    </item>
    <item>
      <title>Re: Create a VM using StoragePlacementSpec</title>
      <link>https://communities.vmware.com/t5/vSphere-SDK-for-Perl-Discussions/Create-a-VM-using-StoragePlacementSpec/m-p/1330755#M1434</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thank you for your reply and information.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;It took me some trial and error and I finally managed to create a VM onto a datastore cluster &lt;img id="smileyhappy" class="emoticon emoticon-smileyhappy" src="https://communities.vmware.com/i/smilies/16x16_smiley-happy.png" alt="Smiley Happy" title="Smiley Happy" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;One of the errors I encountered was due to me providing the wrong parameters. Ther reason I am mentioning this is because the "wrong call" has disconnected vCenter completely, something I did not expect could happen.&lt;/P&gt;&lt;P&gt;The parameter which I entered which was wrong was the "vmfolder", somehow it defaulted to the word "Datacenters"...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Output:&lt;/P&gt;&lt;DIV id="_mcePaste"&gt; &lt;/DIV&gt;&lt;BLOCKQUOTE&gt;&lt;DIV&gt;Creating imp-test onto sdrs_cluster1&lt;DIV id="_mcePaste"&gt; &lt;/DIV&gt;&lt;DIV id="_mcePaste"&gt;Error creating VM 'imp-test':&lt;/DIV&gt;&lt;DIV id="_mcePaste"&gt;SOAP request error - possibly a protocol issue: Status read failed: Connection reset by peer at /usr/share/perl5/Net/HTTP/Methods.pm line 269.&lt;/DIV&gt;&lt;DIV&gt; &lt;/DIV&gt;&lt;DIV&gt;After which vCenter has become not accessible anymore (my vSphere client seemed to loose connection as well).&lt;/DIV&gt;&lt;DIV&gt;I could not connect for about 5 minutes, but then vCenter seemed to become accessible again.&lt;/DIV&gt;&lt;DIV&gt;I also did not encounter any interesting entries in the log.&lt;/DIV&gt;&lt;DIV&gt; &lt;/DIV&gt;&lt;DIV&gt; &lt;/DIV&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am glad this is working and I can now start using it in production.&lt;BR /&gt;However, I am unsettled about the declaration:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;BLOCKQUOTE&gt;NOTE: This data object type and all of its methods are experimental and subject to change in future releases.&lt;/BLOCKQUOTE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope for the best &lt;img class="lia-deferred-image lia-image-emoji" src="https://communities.vmware.com/html/@7651DD0E8772B3B5D93ADA9ABA2E067C/emoticons/1f642.png" alt=":slightly_smiling_face:" title=":slightly_smiling_face:" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks again,&lt;/P&gt;&lt;P&gt;Nuriel Shem-Tov&lt;/P&gt;&lt;/DIV&gt;&lt;/BLOCKQUOTE&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 15 May 2012 09:32:29 GMT</pubDate>
      <guid>https://communities.vmware.com/t5/vSphere-SDK-for-Perl-Discussions/Create-a-VM-using-StoragePlacementSpec/m-p/1330755#M1434</guid>
      <dc:creator>nuriel77</dc:creator>
      <dc:date>2012-05-15T09:32:29Z</dc:date>
    </item>
    <item>
      <title>Re: Create a VM using StoragePlacementSpec</title>
      <link>https://communities.vmware.com/t5/vSphere-SDK-for-Perl-Discussions/Create-a-VM-using-StoragePlacementSpec/m-p/1330756#M1435</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hi,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;I m facing the same issue and I keep on getting the same error : 'A general system error occured: optional value not set'. When I put a datastore, everything(vm.congifSpec) but it seems that for a cluster of datastore you need different parameters could you please tell me which ones ?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;An example of your working code would also be greatly appretiated.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks in advance&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 04 Jul 2018 14:16:35 GMT</pubDate>
      <guid>https://communities.vmware.com/t5/vSphere-SDK-for-Perl-Discussions/Create-a-VM-using-StoragePlacementSpec/m-p/1330756#M1435</guid>
      <dc:creator>Warenn</dc:creator>
      <dc:date>2018-07-04T14:16:35Z</dc:date>
    </item>
  </channel>
</rss>

