<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:clearspace="http://www.jivesoftware.com/xmlns/clearspace/rss" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:wfw="http://wellformedweb.org/CommentAPI/" xmlns:opensearch="http://a9.com/-/spec/opensearch/1.1/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>VMware Communities : Thread List - vSphere Web Services SDK</title>
    <link>http://communities.vmware.com/community/developer/forums/managementapi?view=discussions</link>
    <description>Latest Forum Threads in vSphere Web Services SDK</description>
    <language>en</language>
    <pubDate>Fri, 20 Nov 2009 18:44:36 GMT</pubDate>
    <generator>Clearspace 1.10.12 (http://jivesoftware.com/products/clearspace/)</generator>
    <dc:date>2009-11-20T18:44:36Z</dc:date>
    <dc:language>en</dc:language>
    <item>
      <title>C - gSOAP : How to get Virtual Machine list using  TraversalSpec objects and RetrieveProperties method ??</title>
      <link>http://communities.vmware.com/thread/158166</link>
      <description>Hi,&lt;br /&gt;
&lt;br /&gt;
         I am trying to list all VMs for a particular ESX server.  I have written C code similare to "VI Perl SDK" method "Vim::find_entity_views(view_type =&amp;gt; 'VirtualMachine');" (method in /usr/lib/perl5/5.8.8/VMware/VICommon.pm module......... attaching VIComman.pm with this thread) but code seems to be not working ... means not giving me expected reference to VirtualMachine Objects.&lt;br /&gt;
&lt;br /&gt;
Following is the code snip that I am using :&lt;br /&gt;
&lt;br /&gt;
...................................................................................................................................................................................................................................................................................&lt;br /&gt;
&lt;br /&gt;
        enum xsd__boolean skip = xsd__boolean__false_;&lt;br /&gt;
        enum xsd__boolean all = xsd__boolean__true_;&lt;br /&gt;
&lt;p /&gt;
        resourcePoolTraversalSpec-&amp;gt;name = "resourcePoolTraversalSpec";&lt;br /&gt;
        resourcePoolTraversalSpec-&amp;gt;type = "ResourcePool";&lt;br /&gt;
        resourcePoolTraversalSpec-&amp;gt;path = "resourcePool";&lt;br /&gt;
        resourcePoolTraversalSpec-&amp;gt;skip = &amp;skip;&lt;br /&gt;
        resourcePoolTraversalSpec-&amp;gt;selectSet = (struct ns2__SelectionSpec *)malloc(2 * sizeof(struct ns2__SelectionSpec));&lt;br /&gt;
        resourcePoolTraversalSpec-&amp;gt;selectSet[0].name = resourcePoolTraversalSpec-&amp;gt;name;&lt;br /&gt;
        resourcePoolTraversalSpec-&amp;gt;selectSet[0].dynamicType = resourcePoolTraversalSpec-&amp;gt;dynamicType;&lt;br /&gt;
        resourcePoolTraversalSpec-&amp;gt;selectSet[0].__sizedynamicProperty = resourcePoolTraversalSpec-&amp;gt;__sizedynamicProperty;&lt;br /&gt;
        resourcePoolTraversalSpec-&amp;gt;selectSet[0].dynamicProperty = resourcePoolTraversalSpec-&amp;gt;dynamicProperty;&lt;br /&gt;
        resourcePoolTraversalSpec-&amp;gt;selectSet[1].name = resourcePoolVmTraversalSpec-&amp;gt;name;&lt;br /&gt;
        resourcePoolTraversalSpec-&amp;gt;selectSet[1].dynamicType = resourcePoolVmTraversalSpec-&amp;gt;dynamicType;&lt;br /&gt;
        resourcePoolTraversalSpec-&amp;gt;selectSet[1].__sizedynamicProperty = resourcePoolVmTraversalSpec-&amp;gt;__sizedynamicProperty;&lt;br /&gt;
        resourcePoolTraversalSpec-&amp;gt;selectSet[1].dynamicProperty = resourcePoolVmTraversalSpec-&amp;gt;dynamicProperty;&lt;br /&gt;
&lt;br /&gt;
        resourcePoolVmTraversalSpec-&amp;gt;name = "resourcePoolVmTraversalSpec";&lt;br /&gt;
        resourcePoolVmTraversalSpec-&amp;gt;type = "ResourcePool";&lt;br /&gt;
        resourcePoolVmTraversalSpec-&amp;gt;path = "vm";&lt;br /&gt;
        resourcePoolVmTraversalSpec-&amp;gt;skip = &amp;skip;&lt;br /&gt;
&lt;br /&gt;
        computeResourceRpTraversalSpec-&amp;gt;name = "computeResourceRpTraversalSpec";&lt;br /&gt;
        computeResourceRpTraversalSpec-&amp;gt;type = "ComputeResource";&lt;br /&gt;
        computeResourceRpTraversalSpec-&amp;gt;path = "resourcePool";&lt;br /&gt;
        computeResourceRpTraversalSpec-&amp;gt;skip = &amp;skip;&lt;br /&gt;
        computeResourceRpTraversalSpec-&amp;gt;selectSet = (struct ns2__SelectionSpec *)malloc(2 * sizeof(struct ns2__SelectionSpec));&lt;br /&gt;
        computeResourceRpTraversalSpec-&amp;gt;selectSet[0].name = resourcePoolTraversalSpec-&amp;gt;name;&lt;br /&gt;
        computeResourceRpTraversalSpec-&amp;gt;selectSet[0].dynamicType = resourcePoolTraversalSpec-&amp;gt;dynamicType;&lt;br /&gt;
        computeResourceRpTraversalSpec-&amp;gt;selectSet[0].__sizedynamicProperty = resourcePoolTraversalSpec-&amp;gt;__sizedynamicProperty;&lt;br /&gt;
        computeResourceRpTraversalSpec-&amp;gt;selectSet[0].dynamicProperty = resourcePoolTraversalSpec-&amp;gt;dynamicProperty;&lt;br /&gt;
        computeResourceRpTraversalSpec-&amp;gt;selectSet[1].name = resourcePoolVmTraversalSpec-&amp;gt;name;&lt;br /&gt;
        computeResourceRpTraversalSpec-&amp;gt;selectSet[1].dynamicType = resourcePoolVmTraversalSpec-&amp;gt;dynamicType;&lt;br /&gt;
        computeResourceRpTraversalSpec-&amp;gt;selectSet[1].__sizedynamicProperty = resourcePoolVmTraversalSpec-&amp;gt;__sizedynamicProperty;&lt;br /&gt;
        computeResourceRpTraversalSpec-&amp;gt;selectSet[1].dynamicProperty = resourcePoolVmTraversalSpec-&amp;gt;dynamicProperty;&lt;br /&gt;
&lt;p /&gt;
        computeResourceHostTraversalSpec-&amp;gt;name = "computeResourceHostTraversalSpec";&lt;br /&gt;
        computeResourceHostTraversalSpec-&amp;gt;type = "ComputeResource";&lt;br /&gt;
        computeResourceHostTraversalSpec-&amp;gt;path = "host";&lt;br /&gt;
        computeResourceHostTraversalSpec-&amp;gt;skip = &amp;skip;&lt;br /&gt;
&lt;br /&gt;
        datacenterHostTraversalSpec-&amp;gt;name = "datacenterHostTraversalSpec";&lt;br /&gt;
        datacenterHostTraversalSpec-&amp;gt;type = "Datacenter";&lt;br /&gt;
        datacenterHostTraversalSpec-&amp;gt;path = "hostFolder";&lt;br /&gt;
        datacenterHostTraversalSpec-&amp;gt;skip = &amp;skip;&lt;br /&gt;
        datacenterHostTraversalSpec-&amp;gt;selectSet = (struct ns2__SelectionSpec *)malloc(sizeof(struct ns2__SelectionSpec));&lt;br /&gt;
        datacenterHostTraversalSpec-&amp;gt;selectSet-&amp;gt;name = folderTraversalSpec-&amp;gt;name;&lt;br /&gt;
        datacenterHostTraversalSpec-&amp;gt;selectSet-&amp;gt;dynamicType = folderTraversalSpec-&amp;gt;dynamicType;&lt;br /&gt;
        datacenterHostTraversalSpec-&amp;gt;selectSet-&amp;gt;__sizedynamicProperty = folderTraversalSpec-&amp;gt;__sizedynamicProperty;&lt;br /&gt;
        datacenterHostTraversalSpec-&amp;gt;selectSet-&amp;gt;dynamicProperty = folderTraversalSpec-&amp;gt;dynamicProperty;&lt;br /&gt;
&lt;p /&gt;
&lt;br /&gt;
        datacenterVmTraversalSpec-&amp;gt;name = "datacenterVmTraversalSpec";&lt;br /&gt;
        datacenterVmTraversalSpec-&amp;gt;type = "Datacenter";&lt;br /&gt;
        datacenterVmTraversalSpec-&amp;gt;path = "vmFolder";&lt;br /&gt;
        datacenterVmTraversalSpec-&amp;gt;skip = &amp;skip;&lt;br /&gt;
        datacenterVmTraversalSpec-&amp;gt;selectSet = (struct ns2__SelectionSpec *)malloc(sizeof(struct ns2__SelectionSpec));&lt;br /&gt;
        datacenterVmTraversalSpec-&amp;gt;selectSet-&amp;gt;name = folderTraversalSpec-&amp;gt;name;&lt;br /&gt;
        datacenterVmTraversalSpec-&amp;gt;selectSet-&amp;gt;dynamicType = folderTraversalSpec-&amp;gt;dynamicType;&lt;br /&gt;
        datacenterVmTraversalSpec-&amp;gt;selectSet-&amp;gt;__sizedynamicProperty = folderTraversalSpec-&amp;gt;__sizedynamicProperty;&lt;br /&gt;
        datacenterVmTraversalSpec-&amp;gt;selectSet-&amp;gt;dynamicProperty = folderTraversalSpec-&amp;gt;dynamicProperty;&lt;br /&gt;
&lt;p /&gt;
        hostVmTraversalSpec-&amp;gt;name = "hostVmTraversalSpec";&lt;br /&gt;
        hostVmTraversalSpec-&amp;gt;type = "HostSystem";&lt;br /&gt;
        hostVmTraversalSpec-&amp;gt;path = "vm";&lt;br /&gt;
        hostVmTraversalSpec-&amp;gt;skip = &amp;skip;&lt;br /&gt;
        hostVmTraversalSpec-&amp;gt;selectSet = (struct ns2__SelectionSpec *)malloc(sizeof(struct ns2__SelectionSpec));&lt;br /&gt;
        hostVmTraversalSpec-&amp;gt;selectSet-&amp;gt;name = folderTraversalSpec-&amp;gt;name;&lt;br /&gt;
        hostVmTraversalSpec-&amp;gt;selectSet-&amp;gt;dynamicType = folderTraversalSpec-&amp;gt;dynamicType;&lt;br /&gt;
        hostVmTraversalSpec-&amp;gt;selectSet-&amp;gt;__sizedynamicProperty = folderTraversalSpec-&amp;gt;__sizedynamicProperty;&lt;br /&gt;
        hostVmTraversalSpec-&amp;gt;selectSet-&amp;gt;dynamicProperty = folderTraversalSpec-&amp;gt;dynamicProperty;&lt;br /&gt;
&lt;p /&gt;
        folderTraversalSpec-&amp;gt;name = "folderTraversalSpec";&lt;br /&gt;
        folderTraversalSpec-&amp;gt;type = "Folder";&lt;br /&gt;
        folderTraversalSpec-&amp;gt;path = "childEntity";&lt;br /&gt;
        folderTraversalSpec-&amp;gt;skip = &amp;skip;&lt;br /&gt;
        folderTraversalSpec-&amp;gt;selectSet = (struct ns2__SelectionSpec *)malloc(7 * sizeof(struct ns2__SelectionSpec));&lt;br /&gt;
        folderTraversalSpec-&amp;gt;selectSet[0].name = folderTraversalSpec-&amp;gt;name;&lt;br /&gt;
        folderTraversalSpec-&amp;gt;selectSet[0].dynamicType = folderTraversalSpec-&amp;gt;dynamicType;&lt;br /&gt;
        folderTraversalSpec-&amp;gt;selectSet[0].__sizedynamicProperty = folderTraversalSpec-&amp;gt;__sizedynamicProperty;&lt;br /&gt;
        folderTraversalSpec-&amp;gt;selectSet[0].dynamicProperty = folderTraversalSpec-&amp;gt;dynamicProperty;&lt;br /&gt;
        folderTraversalSpec-&amp;gt;selectSet[1].name = datacenterHostTraversalSpec-&amp;gt;name;&lt;br /&gt;
        folderTraversalSpec-&amp;gt;selectSet[1].dynamicType = datacenterHostTraversalSpec-&amp;gt;dynamicType;&lt;br /&gt;
        folderTraversalSpec-&amp;gt;selectSet[1].__sizedynamicProperty = datacenterHostTraversalSpec-&amp;gt;__sizedynamicProperty;&lt;br /&gt;
        folderTraversalSpec-&amp;gt;selectSet[1].dynamicProperty = datacenterHostTraversalSpec-&amp;gt;dynamicProperty;&lt;br /&gt;
        folderTraversalSpec-&amp;gt;selectSet[2].name = datacenterVmTraversalSpec-&amp;gt;name;&lt;br /&gt;
        folderTraversalSpec-&amp;gt;selectSet[2].dynamicType = datacenterVmTraversalSpec-&amp;gt;dynamicType;&lt;br /&gt;
        folderTraversalSpec-&amp;gt;selectSet[2].__sizedynamicProperty = datacenterVmTraversalSpec-&amp;gt;__sizedynamicProperty;&lt;br /&gt;
        folderTraversalSpec-&amp;gt;selectSet[2].dynamicProperty = datacenterVmTraversalSpec-&amp;gt;dynamicProperty;&lt;br /&gt;
        folderTraversalSpec-&amp;gt;selectSet[3].name = computeResourceRpTraversalSpec-&amp;gt;name;&lt;br /&gt;
        folderTraversalSpec-&amp;gt;selectSet[3].dynamicType = computeResourceRpTraversalSpec-&amp;gt;dynamicType;&lt;br /&gt;
        folderTraversalSpec-&amp;gt;selectSet[3].__sizedynamicProperty = computeResourceRpTraversalSpec-&amp;gt;__sizedynamicProperty;&lt;br /&gt;
        folderTraversalSpec-&amp;gt;selectSet[3].dynamicProperty = computeResourceRpTraversalSpec-&amp;gt;dynamicProperty;&lt;br /&gt;
        folderTraversalSpec-&amp;gt;selectSet[4].name = computeResourceHostTraversalSpec-&amp;gt;name;&lt;br /&gt;
        folderTraversalSpec-&amp;gt;selectSet[4].dynamicType = computeResourceHostTraversalSpec-&amp;gt;dynamicType;&lt;br /&gt;
        folderTraversalSpec-&amp;gt;selectSet[4].__sizedynamicProperty = computeResourceHostTraversalSpec-&amp;gt;__sizedynamicProperty;&lt;br /&gt;
        folderTraversalSpec-&amp;gt;selectSet[4].dynamicProperty = computeResourceHostTraversalSpec-&amp;gt;dynamicProperty;&lt;br /&gt;
        folderTraversalSpec-&amp;gt;selectSet[5].name = hostVmTraversalSpec-&amp;gt;name;&lt;br /&gt;
        folderTraversalSpec-&amp;gt;selectSet[5].dynamicType = hostVmTraversalSpec-&amp;gt;dynamicType;&lt;br /&gt;
        folderTraversalSpec-&amp;gt;selectSet[5].__sizedynamicProperty = hostVmTraversalSpec-&amp;gt;__sizedynamicProperty;&lt;br /&gt;
        folderTraversalSpec-&amp;gt;selectSet[5].dynamicProperty = hostVmTraversalSpec-&amp;gt;dynamicProperty;&lt;br /&gt;
        folderTraversalSpec-&amp;gt;selectSet[6].name = resourcePoolVmTraversalSpec-&amp;gt;name;&lt;br /&gt;
        folderTraversalSpec-&amp;gt;selectSet[6].dynamicType = resourcePoolVmTraversalSpec-&amp;gt;dynamicType;&lt;br /&gt;
        folderTraversalSpec-&amp;gt;selectSet[6].__sizedynamicProperty = resourcePoolVmTraversalSpec-&amp;gt;__sizedynamicProperty;&lt;br /&gt;
        folderTraversalSpec-&amp;gt;selectSet[6].dynamicProperty = resourcePoolVmTraversalSpec-&amp;gt;dynamicProperty;&lt;br /&gt;
&lt;br /&gt;
        objSpec[0].skip = &amp;skip;&lt;br /&gt;
        objSpec[0].obj = sc-&amp;gt;rootFolder;&lt;br /&gt;
        objSpec[0].selectSet = (struct ns2__SelectionSpec *)malloc(8 * sizeof(struct ns2__SelectionSpec));&lt;br /&gt;
&lt;br /&gt;
        objSpec[0].selectSet[0].name = folderTraversalSpec-&amp;gt;name;&lt;br /&gt;
        objSpec[0].selectSet[0].dynamicType = folderTraversalSpec-&amp;gt;dynamicType;&lt;br /&gt;
        objSpec[0].selectSet[0].__sizedynamicProperty = folderTraversalSpec-&amp;gt;__sizedynamicProperty;&lt;br /&gt;
        objSpec[0].selectSet[0].dynamicProperty = folderTraversalSpec-&amp;gt;dynamicProperty;&lt;br /&gt;
&lt;p /&gt;
        objSpec[0].selectSet[1].name = datacenterVmTraversalSpec-&amp;gt;name;&lt;br /&gt;
        objSpec[0].selectSet[1].dynamicType = datacenterVmTraversalSpec-&amp;gt;dynamicType;&lt;br /&gt;
        objSpec[0].selectSet[1].__sizedynamicProperty = datacenterVmTraversalSpec-&amp;gt;__sizedynamicProperty;&lt;br /&gt;
        objSpec[0].selectSet[1].dynamicProperty = datacenterVmTraversalSpec-&amp;gt;dynamicProperty;&lt;br /&gt;
&lt;p /&gt;
        objSpec[0].selectSet[2].name = datacenterHostTraversalSpec-&amp;gt;name;&lt;br /&gt;
        objSpec[0].selectSet[2].dynamicType = datacenterHostTraversalSpec-&amp;gt;dynamicType;&lt;br /&gt;
        objSpec[0].selectSet[2].__sizedynamicProperty = datacenterHostTraversalSpec-&amp;gt;__sizedynamicProperty;&lt;br /&gt;
        objSpec[0].selectSet[2].dynamicProperty = datacenterHostTraversalSpec-&amp;gt;dynamicProperty;&lt;br /&gt;
&lt;p /&gt;
&lt;br /&gt;
        objSpec[0].selectSet[3].name = computeResourceHostTraversalSpec-&amp;gt;name;&lt;br /&gt;
        objSpec[0].selectSet[3].dynamicType = computeResourceHostTraversalSpec-&amp;gt;dynamicType;&lt;br /&gt;
        objSpec[0].selectSet[3].__sizedynamicProperty = computeResourceHostTraversalSpec-&amp;gt;__sizedynamicProperty;&lt;br /&gt;
        objSpec[0].selectSet[3].dynamicProperty = computeResourceHostTraversalSpec-&amp;gt;dynamicProperty;&lt;br /&gt;
&lt;p /&gt;
        objSpec[0].selectSet[4].name = computeResourceRpTraversalSpec-&amp;gt;name;&lt;br /&gt;
        objSpec[0].selectSet[4].dynamicType = computeResourceRpTraversalSpec-&amp;gt;dynamicType;&lt;br /&gt;
        objSpec[0].selectSet[4].__sizedynamicProperty = computeResourceRpTraversalSpec-&amp;gt;__sizedynamicProperty;&lt;br /&gt;
        objSpec[0].selectSet[4].dynamicProperty = computeResourceRpTraversalSpec-&amp;gt;dynamicProperty;&lt;br /&gt;
&lt;p /&gt;
        objSpec[0].selectSet[5].name = resourcePoolTraversalSpec-&amp;gt;name;&lt;br /&gt;
        objSpec[0].selectSet[5].dynamicType = resourcePoolTraversalSpec-&amp;gt;dynamicType;&lt;br /&gt;
        objSpec[0].selectSet[5].__sizedynamicProperty = resourcePoolTraversalSpec-&amp;gt;__sizedynamicProperty;&lt;br /&gt;
        objSpec[0].selectSet[5].dynamicProperty = resourcePoolTraversalSpec-&amp;gt;dynamicProperty;&lt;br /&gt;
&lt;p /&gt;
        objSpec[0].selectSet[6].name = hostVmTraversalSpec-&amp;gt;name;&lt;br /&gt;
        objSpec[0].selectSet[6].dynamicType = hostVmTraversalSpec-&amp;gt;dynamicType;&lt;br /&gt;
        objSpec[0].selectSet[6].__sizedynamicProperty = hostVmTraversalSpec-&amp;gt;__sizedynamicProperty;&lt;br /&gt;
        objSpec[0].selectSet[6].dynamicProperty = hostVmTraversalSpec-&amp;gt;dynamicProperty;&lt;br /&gt;
&lt;br /&gt;
       objSpec[0].selectSet[7].name = resourcePoolVmTraversalSpec-&amp;gt;name;&lt;br /&gt;
        objSpec[0].selectSet[7].dynamicType = resourcePoolVmTraversalSpec-&amp;gt;dynamicType;&lt;br /&gt;
        objSpec[0].selectSet[7].__sizedynamicProperty = resourcePoolVmTraversalSpec-&amp;gt;__sizedynamicProperty;&lt;br /&gt;
        objSpec[0].selectSet[7].dynamicProperty = resourcePoolVmTraversalSpec-&amp;gt;dynamicProperty;&lt;br /&gt;
&lt;p /&gt;
&lt;p /&gt;
        proSpec[0].type = "VirtualMachine";&lt;br /&gt;
        proSpec[0].all  = &amp;all;&lt;br /&gt;
&lt;br /&gt;
        proFiltSpec[0].objectSet = objSpec;&lt;br /&gt;
        proFiltSpec[0].__sizeobjectSet  = MAX_OBJECT_SPEC;&lt;br /&gt;
        proFiltSpec[0].propSet = proSpec;&lt;br /&gt;
        proFiltSpec[0].__sizepropSet = MAX_PROPERTY_SPEC;&lt;br /&gt;
&lt;br /&gt;
        retProp._USCOREthis = sc-&amp;gt;propertyCollector;&lt;br /&gt;
        retProp.__sizespecSet = MAX_PROPERTY_FILTER_SPEC;&lt;br /&gt;
        retProp.specSet = proFiltSpec;&lt;br /&gt;
&lt;br /&gt;
        if (SOAP_OK != soap_call___ns2__RetrieveProperties(soap, EndPoint, "", &amp;#38;retProp, &amp;#38;retPropResp))&lt;br /&gt;
        {&lt;br /&gt;
                if (soap-&amp;gt;error) soap_print_fault(soap, stderr);&lt;br /&gt;
                free(proFiltSpec);&lt;br /&gt;
                free(objSpec);&lt;br /&gt;
                free(proSpec);&lt;br /&gt;
                return FALSE;&lt;br /&gt;
        }&lt;br /&gt;
&lt;br /&gt;
        if (!retPropResp.returnval)&lt;br /&gt;
        {&lt;br /&gt;
                fprintf(stderr," ****** No Object found  ********\n");&lt;br /&gt;
                free(proFiltSpec);&lt;br /&gt;
                free(objSpec);&lt;br /&gt;
                free(proSpec);&lt;br /&gt;
                return FALSE;&lt;br /&gt;
        }&lt;br /&gt;
...................................................................................................................................................................................................................................................................................&lt;br /&gt;
&lt;br /&gt;
Could anyone tell me what's wrong with the above code ??&lt;br /&gt;
&lt;br /&gt;
Any body having the C code to find the list of VMs running on the Particular ESX ?? &lt;br /&gt;
&lt;br /&gt;
Does anyone have java or C# code similare to above C code snip ???</description>
      <pubDate>Fri, 25 Jul 2008 07:44:59 GMT</pubDate>
      <author>netix_evg</author>
      <guid>http://communities.vmware.com/thread/158166</guid>
      <dc:date>2008-07-25T07:44:59Z</dc:date>
      <clearspace:dateToText>1 day, 11 hours ago</clearspace:dateToText>
      <clearspace:messageCount>6</clearspace:messageCount>
      <clearspace:replyCount>5</clearspace:replyCount>
    </item>
    <item>
      <title>How to use the VmProvisioningChecker?</title>
      <link>http://communities.vmware.com/thread/242896</link>
      <description>&lt;br /&gt;
Hello &lt;br /&gt;
&lt;p /&gt;
I like to retrieve the possible migration destinations of a Virtual Machine. Can I use the VmProvisioningChecker.CheckMigrate_Task?&lt;br /&gt;
&lt;p /&gt;
How can I implement it and what kind of result should it return? I did run a test and it returns a moref of type task. I was not able to get the object of this moref.&lt;br /&gt;
&lt;p /&gt;
Can I also use it on ESX 3.5 / 3.0 Systems and Virtualcenter 2.x?&lt;br /&gt;
&lt;p /&gt;
A sample would be great.&lt;br /&gt;
&lt;p /&gt;
 Regards&lt;br /&gt;
&lt;p /&gt;
Manfred</description>
      <pubDate>Tue, 17 Nov 2009 16:37:12 GMT</pubDate>
      <author>manfred9999</author>
      <guid>http://communities.vmware.com/thread/242896</guid>
      <dc:date>2009-11-17T16:37:12Z</dc:date>
      <clearspace:dateToText>1 day, 18 hours ago</clearspace:dateToText>
      <clearspace:messageCount>6</clearspace:messageCount>
      <clearspace:replyCount>5</clearspace:replyCount>
    </item>
    <item>
      <title>Datastore and Snapshot</title>
      <link>http://communities.vmware.com/thread/243083</link>
      <description>&lt;br /&gt;
Is there a way to identify which VMs are using or "hogging" the datastore? I guess this will be a ratio of virtual disk size used / total datastore size? &lt;br /&gt;
&lt;p /&gt;
How about snapshot size? I looked through the MOB and it wasn't very obivious where this value is (if at all). &lt;br /&gt;
&lt;p /&gt;
Thanks,&lt;br /&gt;
&lt;p /&gt;
Jan</description>
      <pubDate>Wed, 18 Nov 2009 15:35:25 GMT</pubDate>
      <author>janetdoyle</author>
      <guid>http://communities.vmware.com/thread/243083</guid>
      <dc:date>2009-11-18T15:35:25Z</dc:date>
      <clearspace:dateToText>3 days, 12 hours ago</clearspace:dateToText>
      <clearspace:messageCount>4</clearspace:messageCount>
      <clearspace:replyCount>3</clearspace:replyCount>
    </item>
    <item>
      <title>gsoap/c++ connection to VMware ESX Server 3.5.0</title>
      <link>http://communities.vmware.com/thread/242295</link>
      <description>&lt;br /&gt;
Hi, &lt;br /&gt;
&lt;p /&gt;
I tried to build the attached code and connect with esm 3.5 host, but it fails. FOllowing is the output. I have copied the "rui.crt" file from ESX host (/etc/vmware/ssl dir). Please help!&lt;br /&gt;
&lt;p /&gt;
RetrieveServiceContent - OK&lt;br /&gt;
fullName: VMware ESX Server 3.5.0 build-153875&lt;br /&gt;
 name: VMware ESX Server&lt;br /&gt;
 build: 153875&lt;br /&gt;
 version: 3.5.0&lt;br /&gt;
&lt;p /&gt;
 test1.cpp 78&lt;br /&gt;
SOAP 1.1 fault: "":ServerFaultCode &lt;a class="jive-link-adddocument" href="http://communities.vmware.com/community-document-picker.jspa?communityID=&amp;subject=no+subcode"&gt;no subcode&lt;/a&gt;&lt;br /&gt;
"type"&lt;br /&gt;
Detail:&lt;br /&gt;
&lt;p /&gt;
 Thanks&lt;br /&gt;
&lt;p /&gt;
&lt;br /&gt;</description>
      <pubDate>Fri, 13 Nov 2009 10:09:12 GMT</pubDate>
      <author>praveenps</author>
      <guid>http://communities.vmware.com/thread/242295</guid>
      <dc:date>2009-11-13T10:09:12Z</dc:date>
      <clearspace:dateToText>3 days, 21 hours ago</clearspace:dateToText>
      <clearspace:messageCount>5</clearspace:messageCount>
      <clearspace:replyCount>4</clearspace:replyCount>
    </item>
    <item>
      <title>How to get the service instace?</title>
      <link>http://communities.vmware.com/thread/242594</link>
      <description>Hi,&lt;br /&gt;
&lt;br /&gt;
Can anyone please let me know which API is used to connect to the host server? Which steps do i need to follow?&lt;br /&gt;
&lt;p /&gt;
&lt;br /&gt;
I went through one of the examples (&lt;a class="jive-link-external" href="http://blogs.vmware.com/developer/2009/07/vsphere-sdk-hello-world.html"&gt;http://blogs.vmware.com/developer/2009/07/vsphere-sdk-hello-world.html&lt;/a&gt;) posted on the community but did not find the same APIs in the WSDL which i've. &lt;br /&gt;
&lt;p /&gt;
&lt;br /&gt;
I want to connect to host server from my web application (asp.net) and perform various operations on it.</description>
      <pubDate>Mon, 16 Nov 2009 10:19:08 GMT</pubDate>
      <author>ChaitanyaS</author>
      <guid>http://communities.vmware.com/thread/242594</guid>
      <dc:date>2009-11-16T10:19:08Z</dc:date>
      <clearspace:dateToText>3 days, 22 hours ago</clearspace:dateToText>
      <clearspace:messageCount>4</clearspace:messageCount>
      <clearspace:replyCount>3</clearspace:replyCount>
    </item>
    <item>
      <title>New counter "sys.cosDiskUsage.latest" added</title>
      <link>http://communities.vmware.com/thread/215014</link>
      <description>&lt;br /&gt;
The vSphere release added this new counter "sys.cosDiskUsage.latest"... anybody know what it reports?&lt;br /&gt;
&lt;p /&gt;
&lt;p /&gt;
&lt;p /&gt;
Tom</description>
      <pubDate>Thu, 11 Jun 2009 04:58:21 GMT</pubDate>
      <author>tmilner</author>
      <guid>http://communities.vmware.com/thread/215014</guid>
      <dc:date>2009-06-11T04:58:21Z</dc:date>
      <clearspace:dateToText>4 days, 60 minutes ago</clearspace:dateToText>
      <clearspace:messageCount>5</clearspace:messageCount>
      <clearspace:replyCount>4</clearspace:replyCount>
    </item>
    <item>
      <title>CreateNasDatastore() using the SDK</title>
      <link>http://communities.vmware.com/thread/242718</link>
      <description>I am trying to create a datastore on my esx server. I have the Managed Object Reference to the &lt;b&gt;HostDatastoreSystem&lt;/b&gt;. I also have set the fields correctly in the &lt;b&gt;HostNasVolumeSpec&lt;/b&gt;.&lt;br /&gt;
&lt;p /&gt;
I am using C++, and have not been able to find any examples regarding how to access the methods of different objects.&lt;br /&gt;
&lt;p /&gt;
I have:&lt;br /&gt;
&lt;p /&gt;
&lt;pre class="jive-pre"&gt;&lt;code class="jive-code jive-plain"&gt;hostDatastoreSystemMOR = *((vim2__ManagedObjectReference*)responseContent-&amp;gt;propSet[idx]-&amp;gt;t;val);
&lt;/code&gt;&lt;/pre&gt;&lt;br /&gt;
&lt;p /&gt;
/* __item and type of the hostDatastoreSystemMOR print correctly.  type = HostDataStoreSystem and __item prints the name*/&lt;br /&gt;
&lt;br /&gt;
&lt;pre class="jive-pre"&gt;&lt;code class="jive-code jive-plain"&gt;vim2__HostNasVolumeSpec spec;


spec.localPath=&amp;quot;&amp;quot;; spec.remoteHost=&amp;quot;&amp;quot;;spec.remotePath=&amp;quot;&amp;quot;; // these are set correctly.
&lt;/code&gt;&lt;/pre&gt;&lt;br /&gt;
&lt;p /&gt;
/* at this point I am all set to CreateNasDatastore() */&lt;br /&gt;
&lt;p /&gt;
but my call:&lt;br /&gt;
&lt;p /&gt;
&lt;pre class="jive-pre"&gt;&lt;code class="jive-code jive-plain"&gt;hostDatastoreSystemMOR .CreateNasDatastore(spec) 
&lt;/code&gt;&lt;/pre&gt; gets compile error &lt;b&gt;"class vim2__ManagedObjectReference has no member named CreateNasDatastore"&lt;/b&gt;.&lt;br /&gt;
&lt;p /&gt;
The error looks correct as there is no CreateNasDatastore() in the ManagedObjectReference.&lt;br /&gt;
&lt;p /&gt;
My question is How do I call CreateNasDataStore() when I have a MOR to HostDatastoreSystem. &lt;br /&gt;
&lt;p /&gt;
 really appreciate the help.&lt;br /&gt;
&lt;p /&gt;
thanks</description>
      <category domain="http://communities.vmware.com/tags?communityID=2416">vsphere</category>
      <category domain="http://communities.vmware.com/tags?communityID=2416">sdk4.0</category>
      <category domain="http://communities.vmware.com/tags?communityID=2416">c++</category>
      <category domain="http://communities.vmware.com/tags?communityID=2416">createnasdatastore</category>
      <pubDate>Mon, 16 Nov 2009 19:28:25 GMT</pubDate>
      <author>shaileshd</author>
      <guid>http://communities.vmware.com/thread/242718</guid>
      <dc:date>2009-11-16T19:28:25Z</dc:date>
      <clearspace:dateToText>4 days, 11 hours ago</clearspace:dateToText>
      <clearspace:messageCount>4</clearspace:messageCount>
      <clearspace:replyCount>3</clearspace:replyCount>
    </item>
    <item>
      <title>WaitForUpdates Hangs</title>
      <link>http://communities.vmware.com/thread/241753</link>
      <description>&lt;br /&gt;
Hello&lt;br /&gt;
&lt;p /&gt;
I use WaitForUpdates to receive new events. Somtimes my application hangs on the line of code where the WaitForUpdates is called.&lt;br /&gt;
&lt;p /&gt;
I don't see a solutin to avoid this problem. Does anyone have any simular expierience?&lt;br /&gt;
&lt;p /&gt;
&lt;p /&gt;
&lt;p /&gt;
Regards&lt;br /&gt;
&lt;p /&gt;
Manfred</description>
      <pubDate>Tue, 10 Nov 2009 17:50:39 GMT</pubDate>
      <author>manfred9999</author>
      <guid>http://communities.vmware.com/thread/241753</guid>
      <dc:date>2009-11-10T17:50:39Z</dc:date>
      <clearspace:dateToText>4 days, 21 hours ago</clearspace:dateToText>
      <clearspace:messageCount>3</clearspace:messageCount>
      <clearspace:replyCount>2</clearspace:replyCount>
    </item>
    <item>
      <title>How to find as to which redo log belongs to which base disk ?</title>
      <link>http://communities.vmware.com/thread/242788</link>
      <description>&lt;br /&gt;
I have a virtual machine with two virtual disks one is stored with vm itself and  other one is on a&lt;br /&gt;
&lt;p /&gt;
different datastore. By default both the disks have same name &amp;lt;vmname&amp;gt;.vmdk (descriptor file).&lt;br /&gt;
&lt;p /&gt;
When I create snapshot of this virtual machine then I can see the redo logs &amp;lt;vmname&amp;gt;-000001.vmdk&lt;br /&gt;
&lt;p /&gt;
and &amp;lt;vmname&amp;gt;-000002.vmdk made in the same folder as vm but I do not how to&lt;br /&gt;
&lt;p /&gt;
know  find out which redo log belongs to which base disk. &lt;br /&gt;
&lt;p /&gt;
&lt;p /&gt;
&lt;p /&gt;
gaurav</description>
      <pubDate>Tue, 17 Nov 2009 03:28:30 GMT</pubDate>
      <author>vohra</author>
      <guid>http://communities.vmware.com/thread/242788</guid>
      <dc:date>2009-11-17T03:28:30Z</dc:date>
      <clearspace:dateToText>5 days, 2 hours ago</clearspace:dateToText>
      <clearspace:messageCount>2</clearspace:messageCount>
      <clearspace:replyCount>1</clearspace:replyCount>
    </item>
    <item>
      <title>Get Cluster Name of VM with FindEntityViews</title>
      <link>http://communities.vmware.com/thread/242706</link>
      <description>Hello,&lt;br /&gt;
&lt;br /&gt;
I've got a simple inventory query setup that pulls back all of the virtual machines in vCenter. Is there any easy way to get the cluster name that the VM resides in? I'm not finding a basic VM property that contains this information. I see there's a "parent" property, so I'm not sure if that's what I need to use or not. A code snippet below is basically what I'd like to do:&lt;br /&gt;
&lt;br /&gt;
IList&amp;lt;EntityViewBase&amp;gt; vmList = client.FindEntityViews(typeof(VirtualMachine), null, null, null);&lt;br /&gt;
&lt;br /&gt;
foreach (VirtualMachine vm in vmList)&lt;br /&gt;
{&lt;br /&gt;
Console.WriteLine(vm.Name);&lt;br /&gt;
Console.WirteLine(vm.??)&lt;br /&gt;
}&lt;br /&gt;
&lt;br /&gt;
Any help is greatly appreciated. Thanks!</description>
      <category domain="http://communities.vmware.com/tags?communityID=2416">c#</category>
      <category domain="http://communities.vmware.com/tags?communityID=2416">cluster_name</category>
      <category domain="http://communities.vmware.com/tags?communityID=2416">.net</category>
      <pubDate>Mon, 16 Nov 2009 18:39:55 GMT</pubDate>
      <author>crigano</author>
      <guid>http://communities.vmware.com/thread/242706</guid>
      <dc:date>2009-11-16T18:39:55Z</dc:date>
      <clearspace:dateToText>5 days, 4 hours ago</clearspace:dateToText>
      <clearspace:messageCount>4</clearspace:messageCount>
      <clearspace:replyCount>3</clearspace:replyCount>
    </item>
    <item>
      <title>Trouble with find_entity_views</title>
      <link>http://communities.vmware.com/thread/242664</link>
      <description>&lt;br /&gt;
I'm trying to grab all of the templates from a datacenter. To do that, I'm trying to use find_entity_views and filter by 'config.template' =&amp;gt; 1. Unfortunately, this is not working for me. Here's the code:&lt;br /&gt;
&lt;br /&gt;
my $dc = $vim-&amp;gt;find_entity_view(view_type=&amp;gt;'Datacenter',&lt;br /&gt;
filter=&amp;gt;{name=&amp;gt;'CALO-RTP-DEV'});&lt;br /&gt;
&lt;br /&gt;
my $v = $vim-&amp;gt;find_entity_views(view_type=&amp;gt;'VirtualMachine',&lt;br /&gt;
filter=&amp;gt;{'config.template'=&amp;gt;1},&lt;br /&gt;
begin_entity=&amp;gt;$dc-&amp;gt;vmFolder);&lt;br /&gt;
print Dumper $v;&lt;br /&gt;
&lt;br /&gt;
foreach my $x (@$v) {&lt;br /&gt;
print $x-&amp;gt;name ."\n";&lt;br /&gt;
} &lt;br /&gt;
&lt;p /&gt;
Unfortunately, no VMs are returned from the find_entity_views call. I've also tried this without using the begin_entity, as well as setting the begin_entity to just be the datacenter itself, and I still get nothing returned. In fact, the only way I've successfully gotten a return value from find_entity_views when using a filter is if to filter only searches the VM name (filter=&amp;gt;{name=&amp;gt;'whateverthenameis'}). That seems to be the only field it will successfully search. Also, it won't return anything when I filter using wildcard characters (filter=&amp;gt;{name=&amp;gt;'.*something.*'} OR filter=&amp;gt;{name=&amp;gt;qr/.*something.*/i}). I've seen samples containing just about all of these sorts of searches, yet none of them work for me. Any ideas why that is? Any help is greatly appareciated.</description>
      <pubDate>Mon, 16 Nov 2009 16:08:05 GMT</pubDate>
      <author>piuhapofuhpaosf</author>
      <guid>http://communities.vmware.com/thread/242664</guid>
      <dc:date>2009-11-16T16:08:05Z</dc:date>
      <clearspace:dateToText>5 days, 7 hours ago</clearspace:dateToText>
      <clearspace:messageCount>3</clearspace:messageCount>
      <clearspace:replyCount>2</clearspace:replyCount>
    </item>
    <item>
      <title>Trouble with find_entity_views</title>
      <link>http://communities.vmware.com/thread/242663</link>
      <description>&lt;br /&gt;
I'm trying to grab all of the templates from a datacenter. To do that, I'm trying to use find_entity_views and filter by 'config.template' =&amp;gt; 1. Unfortunately, this is not working for me. Here's the code:&lt;br /&gt;
&lt;br /&gt;
my $dc = $vim-&amp;gt;find_entity_view(view_type=&amp;gt;'Datacenter',&lt;br /&gt;
filter=&amp;gt;{name=&amp;gt;'CALO-RTP-DEV'});&lt;br /&gt;
&lt;br /&gt;
my $v = $vim-&amp;gt;find_entity_views(view_type=&amp;gt;'VirtualMachine',&lt;br /&gt;
filter=&amp;gt;{'config.template'=&amp;gt;1},&lt;br /&gt;
begin_entity=&amp;gt;$dc-&amp;gt;vmFolder);&lt;br /&gt;
print Dumper $v;&lt;br /&gt;
&lt;br /&gt;
foreach my $x (@$v) {&lt;br /&gt;
print $x-&amp;gt;name ."\n";&lt;br /&gt;
} &lt;br /&gt;
&lt;p /&gt;
Unfortunately, no VMs are returned from the find_entity_views call. I've also tried this without using the begin_entity, as well as setting the begin_entity to just be the datacenter itself, and I still get nothing returned. In fact, the only way I've successfully gotten a return value from find_entity_views when using a filter is if to filter only searches the VM name (filter=&amp;gt;{name=&amp;gt;'whateverthenameis'}). That seems to be the only field it will successfully search. Also, it won't return anything when I filter using wildcard characters (filter=&amp;gt;{name=&amp;gt;'.*something.*'} OR filter=&amp;gt;{name=&amp;gt;qr/.*something.*/i}). I've seen samples containing just about all of these sorts of searches, yet none of them work for me. Any ideas why that is? Any help is greatly appareciated.</description>
      <pubDate>Mon, 16 Nov 2009 16:08:00 GMT</pubDate>
      <author>piuhapofuhpaosf</author>
      <guid>http://communities.vmware.com/thread/242663</guid>
      <dc:date>2009-11-16T16:08:00Z</dc:date>
      <clearspace:dateToText>5 days, 10 hours ago</clearspace:dateToText>
      <clearspace:messageCount>2</clearspace:messageCount>
      <clearspace:replyCount>1</clearspace:replyCount>
    </item>
    <item>
      <title>Prevent VM from being deleted</title>
      <link>http://communities.vmware.com/thread/242219</link>
      <description>&lt;br /&gt;
I am trying to find out if there is a way to prevent a VM from being 'Removed from Inventory' or 'Delete from Disk'. When I am running my code on a VM i don't want the user to be able to delete it. I have a CustomTask associated with the VM and there is a field in &lt;a class="jive-link-external" href="http://www.vmware.com/support/developer/vc-sdk/visdk400pubs/ReferenceGuide/vim.TaskInfo.html"&gt;TaskInfo&lt;/a&gt; called locked. Does anyone know how to set the locked field or even if that will fix my problem.</description>
      <category domain="http://communities.vmware.com/tags?communityID=2416">vm</category>
      <category domain="http://communities.vmware.com/tags?communityID=2416">delete</category>
      <category domain="http://communities.vmware.com/tags?communityID=2416">lock</category>
      <category domain="http://communities.vmware.com/tags?communityID=2416">block</category>
      <category domain="http://communities.vmware.com/tags?communityID=2416">vsphere</category>
      <category domain="http://communities.vmware.com/tags?communityID=2416">c#</category>
      <category domain="http://communities.vmware.com/tags?communityID=2416">api</category>
      <category domain="http://communities.vmware.com/tags?communityID=2416">webservices</category>
      <category domain="http://communities.vmware.com/tags?communityID=2416">task</category>
      <pubDate>Thu, 12 Nov 2009 20:24:42 GMT</pubDate>
      <author>scott2</author>
      <guid>http://communities.vmware.com/thread/242219</guid>
      <dc:date>2009-11-12T20:24:42Z</dc:date>
      <clearspace:dateToText>6 days, 12 hours ago</clearspace:dateToText>
      <clearspace:messageCount>9</clearspace:messageCount>
      <clearspace:replyCount>8</clearspace:replyCount>
    </item>
    <item>
      <title>VI SDK and Linked mode questions</title>
      <link>http://communities.vmware.com/thread/242316</link>
      <description>Hi &lt;br /&gt;
&lt;br /&gt;
I'm using VI SDK java to find out the following:&lt;br /&gt;
&lt;br /&gt;
1) Is there any method available to find out the list of vCenters linked by connecting to a vCenter? &lt;br /&gt;
2) How to get the vCenter Service Status details which i can see in vSphere client?&lt;br /&gt;
3) Is it possible to know whether the vCenter is using the local database or remote?&lt;br /&gt;
&lt;br /&gt;
Regards</description>
      <pubDate>Fri, 13 Nov 2009 10:28:56 GMT</pubDate>
      <author>eGBabu</author>
      <guid>http://communities.vmware.com/thread/242316</guid>
      <dc:date>2009-11-13T10:28:56Z</dc:date>
      <clearspace:dateToText>1 week, 1 day ago</clearspace:dateToText>
      <clearspace:messageCount>2</clearspace:messageCount>
      <clearspace:replyCount>1</clearspace:replyCount>
    </item>
    <item>
      <title>Tutorial: Get Your First VI SDK Application Running in 5 Minutes-- Beta 2 released</title>
      <link>http://communities.vmware.com/thread/196880</link>
      <description>Just wrote a tutorial:&lt;br /&gt;
&lt;br /&gt;
&lt;a class="jive-link-external" href="http://vijava.wiki.sourceforge.net/vijavaapisetup"&gt;http://vijava.wiki.sourceforge.net/vijavaapisetup&lt;/a&gt;&lt;br /&gt;
&lt;p /&gt;
&lt;br /&gt;
Steve JIN, VMware Engineering&lt;br /&gt;
Creator of &lt;a class="jive-link-external" href="http://vijava.sf.net/"&gt;VMware Infrastructure Java API&lt;/a&gt;. VI Java API 2.0 --- 15 times faster than AXIS in loading, 4+ faster in deserialization; only 1/4 of the size required by AXIS. More importantly, the freedom to redistribute your applications. (&lt;a class="jive-link-external" href="http://sourceforge.net/project/showfiles.php?group_id=228007"&gt;Download&lt;/a&gt;, &lt;a class="jive-link-external" href="http://vijava.svn.sourceforge.net/viewvc/vijava/trunk/src/com/vmware/vim25/mo/samples/"&gt;Samples&lt;/a&gt;, &lt;a class="jive-link-external" href="http://vijava.wiki.sourceforge.net/"&gt;DocWiki&lt;/a&gt;, &lt;a class="jive-link-external" href="http://sourceforge.net/export/rss2_projnews.php?group_id=228007"&gt;RSS Feed&lt;/a&gt;)&lt;br /&gt;
&lt;a class="jive-link-external" href="http://www.linkedin.com/groups?gid=1817385"&gt;Get Connected with Other Developers in the Community?&lt;/a&gt;</description>
      <pubDate>Sat, 28 Feb 2009 03:19:22 GMT</pubDate>
      <author>Steve Jin</author>
      <guid>http://communities.vmware.com/thread/196880</guid>
      <dc:date>2009-02-28T03:19:22Z</dc:date>
      <clearspace:dateToText>1 week, 1 day ago</clearspace:dateToText>
      <clearspace:messageCount>35</clearspace:messageCount>
      <clearspace:replyCount>34</clearspace:replyCount>
    </item>
    <item>
      <title>iscsi initiator from the guest os</title>
      <link>http://communities.vmware.com/thread/242002</link>
      <description>I have ESX Server 4.0. It has windows server 2003 VM. From my client I have to get various properties of the esx server and the VM.&lt;br /&gt;
I am not able to find a way to get the name of the microsoft iscsi initiator (initiator node name) installed on the windows vm. The name of the initiator is iqn.1991-05.com.microsoft:appdemoexch.appdemo.sspg.lab.emc.com.&lt;br /&gt;
&lt;br /&gt;
I need this info to be populated on the client.&lt;br /&gt;
&lt;br /&gt;
To get the info I am using the VI SDK 4.0. I am also looking at the MOB browser and have looked at each property and the links for the relevant VM, but none of the properties seem to return this info.&lt;br /&gt;
&lt;br /&gt;
I need to confirm if this info can be obtained. And if it can, it will be great if someone explains how.&lt;br /&gt;
&lt;br /&gt;
thanks for the help.&lt;br /&gt;
&lt;br /&gt;
shailesh</description>
      <category domain="http://communities.vmware.com/tags?communityID=2416">vsphere</category>
      <category domain="http://communities.vmware.com/tags?communityID=2416">webservices</category>
      <category domain="http://communities.vmware.com/tags?communityID=2416">sdk2.5</category>
      <pubDate>Wed, 11 Nov 2009 20:55:49 GMT</pubDate>
      <author>shaileshd</author>
      <guid>http://communities.vmware.com/thread/242002</guid>
      <dc:date>2009-11-11T20:55:49Z</dc:date>
      <clearspace:dateToText>1 week, 2 days ago</clearspace:dateToText>
      <clearspace:messageCount>3</clearspace:messageCount>
      <clearspace:replyCount>2</clearspace:replyCount>
    </item>
    <item>
      <title>Disk Latency Metric</title>
      <link>http://communities.vmware.com/thread/242057</link>
      <description>&lt;br /&gt;
&lt;b&gt;Disk Latency Metric&lt;/b&gt;&lt;br /&gt;
&lt;p /&gt;
Can that be retrieved via the SDK?&lt;br /&gt;
&lt;p /&gt;
 Thanks,&lt;br /&gt;
&lt;p /&gt;
Jan</description>
      <pubDate>Thu, 12 Nov 2009 00:20:12 GMT</pubDate>
      <author>janetdoyle</author>
      <guid>http://communities.vmware.com/thread/242057</guid>
      <dc:date>2009-11-12T00:20:12Z</dc:date>
      <clearspace:dateToText>1 week, 3 days ago</clearspace:dateToText>
      <clearspace:messageCount>2</clearspace:messageCount>
      <clearspace:replyCount>1</clearspace:replyCount>
    </item>
    <item>
      <title>Can we use vim2.5 to connect to ESX3.0 and ESX 3.5?</title>
      <link>http://communities.vmware.com/thread/231382</link>
      <description>Can we use vim2.5 to connect to ESX3.0 and ESX 3.5? I found from the samples that we have to connec to vim2.0 and then if ESX supports vim2.5 we can convert the ManagedObject to vim2.5 type and can access new vim2.5 methods. It is hassel to include two vims in the project.</description>
      <pubDate>Mon, 14 Sep 2009 15:15:08 GMT</pubDate>
      <author>haroon09</author>
      <guid>http://communities.vmware.com/thread/231382</guid>
      <dc:date>2009-09-14T15:15:08Z</dc:date>
      <clearspace:dateToText>1 week, 3 days ago</clearspace:dateToText>
      <clearspace:messageCount>14</clearspace:messageCount>
      <clearspace:replyCount>13</clearspace:replyCount>
    </item>
    <item>
      <title>Add existing vmdk to VM using VI Perl toolkit</title>
      <link>http://communities.vmware.com/thread/153922</link>
      <description>&lt;br /&gt;
HI,&lt;br /&gt;
&lt;p /&gt;
&lt;p /&gt;
&lt;p /&gt;
Is there a way to use the toolkit to add an existing hard disk file to an existing virtual machine? I see functions for adding new disks, but nothing that is already created.&lt;br /&gt;
&lt;p /&gt;
&lt;p /&gt;
&lt;p /&gt;
Thanks</description>
      <pubDate>Fri, 27 Jun 2008 15:29:40 GMT</pubDate>
      <author>virtualbob1</author>
      <guid>http://communities.vmware.com/thread/153922</guid>
      <dc:date>2008-06-27T15:29:40Z</dc:date>
      <clearspace:dateToText>1 week, 4 days ago</clearspace:dateToText>
      <clearspace:messageCount>4</clearspace:messageCount>
      <clearspace:replyCount>3</clearspace:replyCount>
    </item>
    <item>
      <title>SetTaskState questions</title>
      <link>http://communities.vmware.com/thread/241758</link>
      <description>&lt;br /&gt;
Hi,&lt;br /&gt;
&lt;p /&gt;
 I'm trying to use the SetTaskState method to cancel a task, providing a specific message, but I'm not having much luck.&lt;br /&gt;
&lt;p /&gt;
My first question is: is setting the task state to 'error' and specifying a RequestCanceled fault the same as canceling the task? For example, if it's a CloneVM_Task, will it terminate all sub-tasks and clean up any previously generated artifacts?&lt;br /&gt;
&lt;p /&gt;
My next question is: does anyone have a working example of the use of this command? No matter what I try, I always get the following fault:&lt;br /&gt;
&lt;p /&gt;
:code =&amp;gt; 'ServerFaultCode', :reason =&amp;gt; 'The operation is not allowed in the current state.'&lt;br /&gt;
&lt;p /&gt;
The task is running when I issue the  SetTaskState request, so I don't understand the cause of the error.&lt;br /&gt;
&lt;p /&gt;
I'm using an API binding generated from the API's wsdl, but a Perl example  would prove to be just as useful.&lt;br /&gt;
&lt;p /&gt;
Thanks in advance for any insight anyone can provide.&lt;br /&gt;
&lt;p /&gt;
&lt;br /&gt;</description>
      <pubDate>Tue, 10 Nov 2009 17:06:49 GMT</pubDate>
      <author>mseries</author>
      <guid>http://communities.vmware.com/thread/241758</guid>
      <dc:date>2009-11-10T17:06:49Z</dc:date>
      <clearspace:dateToText>1 week, 4 days ago</clearspace:dateToText>
      <clearspace:messageCount>3</clearspace:messageCount>
      <clearspace:replyCount>2</clearspace:replyCount>
    </item>
    <item>
      <title>Method for top level PerformanceManager properties</title>
      <link>http://communities.vmware.com/thread/241215</link>
      <description>&lt;br /&gt;
What method should be used to query the description, historicalInterval and perfCounter properties of the Performance Manager Object?&lt;br /&gt;
&lt;p /&gt;
&lt;p /&gt;
&lt;p /&gt;
Regards</description>
      <category domain="http://communities.vmware.com/tags?communityID=2416">soap</category>
      <category domain="http://communities.vmware.com/tags?communityID=2416">ruby</category>
      <category domain="http://communities.vmware.com/tags?communityID=2416">performancemanager</category>
      <pubDate>Sat, 07 Nov 2009 03:17:29 GMT</pubDate>
      <author>silmaril</author>
      <guid>http://communities.vmware.com/thread/241215</guid>
      <dc:date>2009-11-07T03:17:29Z</dc:date>
      <clearspace:dateToText>1 week, 4 days ago</clearspace:dateToText>
      <clearspace:messageCount>3</clearspace:messageCount>
      <clearspace:replyCount>2</clearspace:replyCount>
    </item>
    <item>
      <title>The operation is not allowed in the current state</title>
      <link>http://communities.vmware.com/thread/240926</link>
      <description>Hey All,&lt;br /&gt;
&lt;br /&gt;
I'm executing the following SOAP request to determine the amount of tasks running on VirtualCenter:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;CreateCollectorForTasks xmlns="urn:vim2" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"&amp;gt;&lt;br /&gt;
    &amp;lt;_this type="TaskManager"&amp;gt;TaskManager&amp;lt;/_this&amp;gt;&lt;br /&gt;
    &amp;lt;filter&amp;gt;&lt;br /&gt;
        &amp;lt;state&amp;gt;running&amp;lt;/state&amp;gt;&lt;br /&gt;
    &amp;lt;/filter&amp;gt;&lt;br /&gt;
&amp;lt;/CreateCollectorForTasks&amp;gt;&lt;br /&gt;
&lt;br /&gt;
This works well, but under some circumstances (which appear load related) I occasionally get a response as follows:&lt;br /&gt;
&lt;br /&gt;
"The operation is not allowed in the current state"                          &lt;br /&gt;
&lt;br /&gt;
I've previously only seen this error when performing invalid operations on a VM, like trying to stop an already stopped server.&lt;br /&gt;
&lt;br /&gt;
Does anyone have any ideas? &lt;br /&gt;
&lt;br /&gt;
Thanls,&lt;br /&gt;
-jd</description>
      <pubDate>Thu, 05 Nov 2009 14:44:14 GMT</pubDate>
      <author>johndemic</author>
      <guid>http://communities.vmware.com/thread/240926</guid>
      <dc:date>2009-11-05T14:44:14Z</dc:date>
      <clearspace:dateToText>1 week, 4 days ago</clearspace:dateToText>
      <clearspace:messageCount>3</clearspace:messageCount>
      <clearspace:replyCount>2</clearspace:replyCount>
    </item>
    <item>
      <title>SOAP request for performance information</title>
      <link>http://communities.vmware.com/thread/241051</link>
      <description>I'm trying to build a Soap request in ruby and is unable to retrieve performance information from the vCenter server.&lt;br /&gt;
&lt;br /&gt;
Below is the request I'm using. Can someone please tell me where I'm going wrong?&lt;br /&gt;
&lt;br /&gt;
  &amp;lt;env:Body&amp;gt;&lt;br /&gt;
    &amp;lt;n2:QueryPerfComposite xmlns:n2="urn:vim25"&amp;gt;&lt;br /&gt;
      &amp;lt;n2:_this type="PerformanceManager"&amp;gt;PerfMgr&amp;lt;/n2:_this&amp;gt;&lt;br /&gt;
      &amp;lt;n2:querySpec xsi:type="n2:PerfQuerySpec"&amp;gt;&lt;br /&gt;
        &amp;lt;n2:entity&amp;gt;vm-585&amp;lt;/n2:entity&amp;gt;&lt;br /&gt;
      &amp;lt;/n2:querySpec&amp;gt;&lt;br /&gt;
    &amp;lt;/n2:QueryPerfComposite&amp;gt;&lt;br /&gt;
  &amp;lt;/env:Body&amp;gt;&lt;br /&gt;
&lt;br /&gt;
= Response&lt;br /&gt;
&lt;br /&gt;
HTTP/1.1 500 Internal Server Error</description>
      <pubDate>Fri, 06 Nov 2009 05:11:30 GMT</pubDate>
      <author>silmaril</author>
      <guid>http://communities.vmware.com/thread/241051</guid>
      <dc:date>2009-11-06T05:11:30Z</dc:date>
      <clearspace:dateToText>1 week, 5 days ago</clearspace:dateToText>
      <clearspace:messageCount>2</clearspace:messageCount>
      <clearspace:replyCount>1</clearspace:replyCount>
    </item>
    <item>
      <title>How to move a vm from one virtual switch to another from the SDK / command line?</title>
      <link>http://communities.vmware.com/thread/240479</link>
      <description>&lt;br /&gt;
How do you move a vm from one virtual switch to another from the SDK / command line?&lt;br /&gt;
&lt;p /&gt;
 Joshua Smith</description>
      <category domain="http://communities.vmware.com/tags?communityID=2416">vsphere</category>
      <category domain="http://communities.vmware.com/tags?communityID=2416">sdk</category>
      <category domain="http://communities.vmware.com/tags?communityID=2416">vswitch</category>
      <category domain="http://communities.vmware.com/tags?communityID=2416">migrate</category>
      <category domain="http://communities.vmware.com/tags?communityID=2416">commandline</category>
      <pubDate>Tue, 03 Nov 2009 16:12:55 GMT</pubDate>
      <author>RationalPi42</author>
      <guid>http://communities.vmware.com/thread/240479</guid>
      <dc:date>2009-11-03T16:12:55Z</dc:date>
      <clearspace:dateToText>2 weeks, 1 day ago</clearspace:dateToText>
      <clearspace:messageCount>3</clearspace:messageCount>
      <clearspace:replyCount>2</clearspace:replyCount>
    </item>
    <item>
      <title>Setup Network/Vlan during CloneVM in .net</title>
      <link>http://communities.vmware.com/thread/240578</link>
      <description>I currently have a process to clone a vm but can't seem to find a way to set the Network/Vlan on the network adapter at the time it is cloned.  Have found a few partial examples of it being done after a clone is complete, but would prefer it to be done all in one step if possible.  If anyone has a .net example or can point me in the write direction i would be greatly appricated.</description>
      <category domain="http://communities.vmware.com/tags?communityID=2416">.net</category>
      <category domain="http://communities.vmware.com/tags?communityID=2416">clonevm</category>
      <category domain="http://communities.vmware.com/tags?communityID=2416">clonevm_task</category>
      <category domain="http://communities.vmware.com/tags?communityID=2416">vlan</category>
      <category domain="http://communities.vmware.com/tags?communityID=2416">nework</category>
      <pubDate>Tue, 03 Nov 2009 21:53:30 GMT</pubDate>
      <author>DroppedAtBirth</author>
      <guid>http://communities.vmware.com/thread/240578</guid>
      <dc:date>2009-11-03T21:53:30Z</dc:date>
      <clearspace:dateToText>2 weeks, 2 days ago</clearspace:dateToText>
      <clearspace:messageCount>7</clearspace:messageCount>
      <clearspace:replyCount>6</clearspace:replyCount>
    </item>
    <item>
      <title>Creating multiple VMs from same base image</title>
      <link>http://communities.vmware.com/thread/209724</link>
      <description>&lt;br /&gt;
HI all,&lt;br /&gt;
&lt;p /&gt;
          Is there any vi sdk api by which i can create multiple VMs form same base vmdk file? &lt;br /&gt;
&lt;p /&gt;
All the VM create from the base VMDK file will have their own delta vmdk file which will refer the same base VMDK file. Only the changes that are done on individual VM will be saved on their respective delta vmdk files. &lt;br /&gt;
&lt;p /&gt;
Thanks in advance......</description>
      <pubDate>Wed, 13 May 2009 11:22:59 GMT</pubDate>
      <author>atrockz</author>
      <guid>http://communities.vmware.com/thread/209724</guid>
      <dc:date>2009-05-13T11:22:59Z</dc:date>
      <clearspace:dateToText>2 weeks, 3 days ago</clearspace:dateToText>
      <clearspace:messageCount>12</clearspace:messageCount>
      <clearspace:replyCount>11</clearspace:replyCount>
    </item>
    <item>
      <title>HttpNfcLeaseDeviceUrl importKey Property Format</title>
      <link>http://communities.vmware.com/thread/240777</link>
      <description>&lt;br /&gt;
I'm importing an OVF appliance into vCenter 4.0 using the VI API (vijava to be specific).&lt;br /&gt;
&lt;p /&gt;
I'm calling the importVApp method to get a HttpNfcLease, which gives me a HttpNfcLeaseInfo, and a list of HttpNfcLeaseDeviceUrl objects.&lt;br /&gt;
&lt;p /&gt;
Question is:&lt;br /&gt;
&lt;p /&gt;
What determines the format of the HttpNfcLeaseDeviceUrl's importKey property?  Based on the OVF file described below, the importKey is being set to the value "/ImportTest1/VirtualLsiLogicController0:4".  I understand how "/TestExport1" is generated, but I am not sure how "/VirtualLsiLogicController0:4" is derived.  I would have expected it to be named after the OVF's diskId property.&lt;br /&gt;
&lt;p /&gt;
I'm free to modify the OVF, so if there's anything I need to set on the Harddisk elements, that'd be fine as well.&lt;br /&gt;
&lt;p /&gt;
Thanks!&lt;br /&gt;
&lt;p /&gt;
Mike &lt;br /&gt;
&lt;p /&gt;
&lt;p /&gt;
&lt;p /&gt;
Excerpts from the OVF descriptor:&lt;br /&gt;
&lt;p /&gt;
  &amp;lt;References&amp;gt;&lt;br /&gt;
    &amp;lt;ovf:File ovf:id="fileRef0" ovf:href="ImportTest.vmdk" ovf:size="447" /&amp;gt;&lt;br /&gt;
    &amp;lt;ovf:File ovf:id="fileRef1" ovf:href="ImportTest-flat.vmdk" ovf:size="1048576" /&amp;gt;&lt;br /&gt;
  &amp;lt;/References&amp;gt;&lt;br /&gt;
  &amp;lt;DiskSection&amp;gt;&lt;br /&gt;
    &amp;lt;Info&amp;gt;List of the virtual disks used in the package&amp;lt;/Info&amp;gt;&lt;br /&gt;
    &amp;lt;ovf:Disk ovf:capacity="1048576" ovf:diskId="disk0" ovf:fileRef="fileRef0" ovf:format="http://www.vmware.com/interfaces/specifications/vmdk.html#streamOptimized" /&amp;gt;&lt;br /&gt;
  &amp;lt;/DiskSection&amp;gt;&lt;br /&gt;
&lt;p /&gt;
...&lt;br /&gt;
&lt;p /&gt;
      &amp;lt;ovf:Item&amp;gt;&lt;br /&gt;
        &amp;lt;rasd:ElementName&amp;gt;SCSI Controller 0&amp;lt;/rasd:ElementName&amp;gt;&lt;br /&gt;
        &amp;lt;rasd:InstanceID&amp;gt;10&amp;lt;/rasd:InstanceID&amp;gt;&lt;br /&gt;
        &amp;lt;rasd:ResourceSubType&amp;gt;LsiLogic&amp;lt;/rasd:ResourceSubType&amp;gt;&lt;br /&gt;
        &amp;lt;rasd:ResourceType&amp;gt;6&amp;lt;/rasd:ResourceType&amp;gt;&lt;br /&gt;
      &amp;lt;/ovf:Item&amp;gt;&lt;br /&gt;
      &amp;lt;ovf:Item&amp;gt;&lt;br /&gt;
        &amp;lt;rasd:ElementName&amp;gt;Harddisk disk0&amp;lt;/rasd:ElementName&amp;gt;&lt;br /&gt;
        &amp;lt;rasd:HostResource&amp;gt;ovf:/disk/disk0&amp;lt;/rasd:HostResource&amp;gt;&lt;br /&gt;
        &amp;lt;rasd:InstanceID&amp;gt;11&amp;lt;/rasd:InstanceID&amp;gt;&lt;br /&gt;
        &amp;lt;rasd:ResourceSubType&amp;gt;10&amp;lt;/rasd:ResourceSubType&amp;gt;&lt;br /&gt;
        &amp;lt;rasd:ResourceType&amp;gt;17&amp;lt;/rasd:ResourceType&amp;gt;&lt;br /&gt;
      &amp;lt;/ovf:Item&amp;gt;</description>
      <category domain="http://communities.vmware.com/tags?communityID=2416">importkey</category>
      <category domain="http://communities.vmware.com/tags?communityID=2416">importvapp</category>
      <category domain="http://communities.vmware.com/tags?communityID=2416">sdk</category>
      <category domain="http://communities.vmware.com/tags?communityID=2416">java</category>
      <pubDate>Wed, 04 Nov 2009 18:54:16 GMT</pubDate>
      <author>MikeMatczynski</author>
      <guid>http://communities.vmware.com/thread/240777</guid>
      <dc:date>2009-11-04T18:54:16Z</dc:date>
      <clearspace:dateToText>2 weeks, 3 days ago</clearspace:dateToText>
      <clearspace:messageCount>1</clearspace:messageCount>
    </item>
    <item>
      <title>ovfManager and obtaining reference to</title>
      <link>http://communities.vmware.com/thread/240282</link>
      <description>&lt;br /&gt;
I have been trying to use the OVFManager through the SDK to import an OVF VM. I am using vb.net and c#. However, I cannot see how to connect to the OVFManager (cannot see it anywhere).&lt;br /&gt;
&lt;p /&gt;
 Does anyone have some example code on how to do this?&lt;br /&gt;</description>
      <category domain="http://communities.vmware.com/tags?communityID=2416">vsphere</category>
      <category domain="http://communities.vmware.com/tags?communityID=2416">sdk</category>
      <category domain="http://communities.vmware.com/tags?communityID=2416">vb.net</category>
      <category domain="http://communities.vmware.com/tags?communityID=2416">c#</category>
      <category domain="http://communities.vmware.com/tags?communityID=2416">ovf</category>
      <category domain="http://communities.vmware.com/tags?communityID=2416">ovfmanager</category>
      <pubDate>Mon, 02 Nov 2009 21:51:14 GMT</pubDate>
      <author>paul_xtravirt</author>
      <guid>http://communities.vmware.com/thread/240282</guid>
      <dc:date>2009-11-02T21:51:14Z</dc:date>
      <clearspace:dateToText>2 weeks, 3 days ago</clearspace:dateToText>
      <clearspace:messageCount>17</clearspace:messageCount>
      <clearspace:replyCount>16</clearspace:replyCount>
    </item>
    <item>
      <title>C# Using Single SignOn (SSPI) for Virtual Center 2.5.0.119598</title>
      <link>http://communities.vmware.com/thread/185064</link>
      <description>I am trying to use passthru authentication using SSPI to work in my c# application. Here is a snippet of the code I am trying to get to work.&lt;br /&gt;
&lt;br /&gt;
returns a reference for VMware.Vim.SessionManager&lt;br /&gt;
&lt;br /&gt;
VMware.Vim.VimClient vimClient = new VMware.Vim.VimClient();&lt;br /&gt;
vimClient.Connect("10.x.x.x", CommunicationProtocol.Https, 443);&lt;br /&gt;
&lt;br /&gt;
ManagedObjectReference serviceInstance = new ManagedObjectReference();&lt;br /&gt;
serviceInstance.Type = "ServiceInstance";&lt;br /&gt;
serviceInstance.Value = "ServiceInstance";&lt;br /&gt;
&lt;br /&gt;
SessionManager sm = new SessionManager(vimClient, serviceInstance);&lt;br /&gt;
sm.LoginBySSPI(ct_b64, null);&lt;br /&gt;
&lt;br /&gt;
I get an exception when I try to call this method &lt;b&gt;LoginBySSPI&lt;/b&gt;&lt;br /&gt;
&lt;br /&gt;
I am not sure that this is the correct approach, but I really would like to be able to login using single signon in my c# code but not having much success.&lt;br /&gt;
This works fine using PowerShell but I want to be able to do this directly using c# without using PS Pipelines.&lt;br /&gt;
&lt;p /&gt;
Any suggesstions welcome.&lt;br /&gt;
&lt;p /&gt;
Thanks</description>
      <pubDate>Mon, 15 Dec 2008 15:21:29 GMT</pubDate>
      <author>utarion</author>
      <guid>http://communities.vmware.com/thread/185064</guid>
      <dc:date>2008-12-15T15:21:29Z</dc:date>
      <clearspace:dateToText>2 weeks, 4 days ago</clearspace:dateToText>
      <clearspace:messageCount>17</clearspace:messageCount>
      <clearspace:replyCount>16</clearspace:replyCount>
    </item>
    <item>
      <title>Wait for vm clone task - vb.net</title>
      <link>http://communities.vmware.com/thread/239595</link>
      <description>&lt;br /&gt;
I have all my clone code working but need to find a way to wait for the clone task to finish.  Currently using the Vim25Api to do my cloning but can't get VimServer.WaitForUpdates to wait ont he task but I get an error saying I am not connected...  Alot of post on the forum talk about and show using WaitForTask, which is what I have used in vSphere PowerCLI before but I don't see it anywhere in the Vim25api.  I do find it in the VMware.Vim api.  Anyone have an example of waiting on a clone task using the Vim25api in .net?   Or is there another way I should be trying to wait for the task.  &lt;br /&gt;
&lt;p /&gt;
Dim cloneTask As ManagedObjectReference = _service.CloneVM_Task(templateRef, vmFolderRef, VMName, cloneSpec)&lt;br /&gt;
&lt;p /&gt;
&lt;p /&gt;
&lt;p /&gt;
Thanks&lt;br /&gt;
&lt;p /&gt;
Rob</description>
      <category domain="http://communities.vmware.com/tags?communityID=2416">vb.net</category>
      <category domain="http://communities.vmware.com/tags?communityID=2416">waitfortask</category>
      <category domain="http://communities.vmware.com/tags?communityID=2416">clonevm_task</category>
      <category domain="http://communities.vmware.com/tags?communityID=2416">vim25api</category>
      <pubDate>Thu, 29 Oct 2009 20:46:34 GMT</pubDate>
      <author>DroppedAtBirth</author>
      <guid>http://communities.vmware.com/thread/239595</guid>
      <dc:date>2009-10-29T20:46:34Z</dc:date>
      <clearspace:dateToText>2 weeks, 4 days ago</clearspace:dateToText>
      <clearspace:messageCount>4</clearspace:messageCount>
      <clearspace:replyCount>3</clearspace:replyCount>
    </item>
    <item>
      <title>SEC_E_INVALID_HANDLE error in InitializeClient() while trying to do LoginBySSPI()</title>
      <link>http://communities.vmware.com/thread/239210</link>
      <description>I am trying to login to my VMware vSphere 4 server using the PowerCLI api.&lt;br /&gt;
&lt;br /&gt;
The purpose of the project is to automatically take snapshot of the virtual machines. However the purpose is accomplished. But before moving to production, we had to change from Login() to LoginBySSPI() for enabling integrated login.&lt;br /&gt;
&lt;br /&gt;
At this point, the problem arose. Whatever, I do it does not login, fromt he vmware forum i understood that the sspichallenge code should be sent again to be authenticated. When i do that it throws the SEC_E_INVALID_HANDLE error at the initializeClient() function.&lt;br /&gt;
&lt;p /&gt;
code snippet is as follows&lt;br /&gt;
&lt;p /&gt;
I get error in the InitializeClient() function when it is called the second time from the catch section,&lt;br /&gt;
&lt;p /&gt;
in the first call to InitializeClient(), i get the clientToken of byte 55&lt;br /&gt;
and then when i pass it to loginbysspi i get the sspichallenge exception, from which i get the base64token and again pass to the initializeclient() so that i can get the server token and eventually pass to the LoginbySSPI(), but this time it fails at &lt;br /&gt;
&lt;p /&gt;
&lt;span style="color:#ff0000"&gt;&lt;b&gt;if (ss != SEC_E_OK &amp;#38;&amp;#38; ss != SEC_I_CONTINUE_NEEDED)&lt;/b&gt;&lt;br /&gt;
&lt;b&gt;{&lt;/b&gt;&lt;br /&gt;
&lt;b&gt;throw new Exception("InitializeSecurityContext() failed!!!");&lt;/b&gt;&lt;br /&gt;
&lt;b&gt;}&lt;/b&gt;&lt;br /&gt;
&lt;b&gt;with ss = -2146893055&lt;/b&gt;&lt;/span&gt;&lt;br /&gt;
&lt;p /&gt;
&lt;blockquote&gt;below is the code.... \\\\	VimClient VMClient; &lt;br clear="all" /&gt;	SessionManager sm; &lt;br clear="all" /&gt;	private void button1_Click(object sender, EventArgs e) &lt;br clear="all" /&gt;	{ &lt;br clear="all" /&gt;	try &lt;br clear="all" /&gt;	{ &lt;br clear="all" /&gt;	VMClient = new VimClient(); &lt;br clear="all" /&gt;	VMClient.Connect("vmware", CommunicationProtocol.Https, 443);&lt;/blockquote&gt;
&lt;blockquote&gt;var tokenString = Convert.ToBase64String(net.sf.vitfordotnet.mo.Sessionmanager.getToken()); &lt;br clear="all" /&gt;	DoLogin(tokenString);&lt;/blockquote&gt;
&lt;blockquote&gt;sm = new SessionManager(VMClient, VMClient.ServiceContent.SessionManager); &lt;br clear="all" /&gt;	sm.LoginBySSPI(tokenString, null); &lt;br clear="all" /&gt;	} &lt;br clear="all" /&gt;	catch (VMware.Vim.VimException ex) &lt;br clear="all" /&gt;	{ &lt;br clear="all" /&gt;	var mf = ex.MethodFault; &lt;br clear="all" /&gt;	// There was a challenge (response)! &lt;br clear="all" /&gt;	if (mf is SSPIChallenge) &lt;br clear="all" /&gt;	{ &lt;br clear="all" /&gt;	var sc = (SSPIChallenge)mf; &lt;br clear="all" /&gt;	var st_b64 = sc.Base64Token; &lt;br clear="all" /&gt;	byte--] st = null;-- &lt;br clear="all" /&gt; --	byte[-- ct; &lt;br clear="all" /&gt;	bool cc; &lt;br clear="all" /&gt;	st = Convert.FromBase64String(st_b64); &lt;br clear="all" /&gt;	// Complete the credentials acquisition, this time with &lt;br clear="all" /&gt;	// the second part of the package. &lt;br clear="all" /&gt;	var ch = new SSPIHelper(); &lt;br clear="all" /&gt;	ch.InitializeClient(out ct, st, out cc); &lt;br clear="all" /&gt;	var ct_b64 = Convert.ToBase64String(ct); &lt;br clear="all" /&gt;	DoLogin(ct_b64); &lt;br clear="all" /&gt;	} &lt;br clear="all" /&gt;	} &lt;br clear="all" /&gt;	NameValueCollection filter = new NameValueCollection(); &lt;br clear="all" /&gt;	filter.Add("name", "^" + "CG001876" + "$"); &lt;br clear="all" /&gt;	VirtualMachine vm = (VirtualMachine)VMClient.FindEntityView(typeof(VirtualMachine), null, filter, null); &lt;br clear="all" /&gt;	} &lt;br clear="all" /&gt;	public void DoLogin(string tokenStr) &lt;br clear="all" /&gt;	{ &lt;br clear="all" /&gt;	SessionManager sm = new SessionManager(VMClient, VMClient.ServiceContent.SessionManager); &lt;br clear="all" /&gt;	UserSession us = sm.LoginBySSPI(tokenStr, null); &lt;br clear="all" /&gt;	}&lt;/blockquote&gt;</description>
      <category domain="http://communities.vmware.com/tags?communityID=2416">loginbysspi</category>
      <category domain="http://communities.vmware.com/tags?communityID=2416">integrated</category>
      <category domain="http://communities.vmware.com/tags?communityID=2416">login</category>
      <category domain="http://communities.vmware.com/tags?communityID=2416">power</category>
      <category domain="http://communities.vmware.com/tags?communityID=2416">cli</category>
      <category domain="http://communities.vmware.com/tags?communityID=2416">automation</category>
      <pubDate>Wed, 28 Oct 2009 14:33:13 GMT</pubDate>
      <author>vinubaby</author>
      <guid>http://communities.vmware.com/thread/239210</guid>
      <dc:date>2009-10-28T14:33:13Z</dc:date>
      <clearspace:dateToText>2 weeks, 4 days ago</clearspace:dateToText>
      <clearspace:messageCount>4</clearspace:messageCount>
      <clearspace:replyCount>3</clearspace:replyCount>
    </item>
    <item>
      <title>how to monitor tasks using VI SDK that is how to know when a task has exactly completed</title>
      <link>http://communities.vmware.com/thread/189615</link>
      <description>&lt;br /&gt;
Hi ,&lt;br /&gt;
&lt;p /&gt;
&lt;p /&gt;
&lt;p /&gt;
   i need to know when actually a task is completed using VI API  whether it is a success or failure ..........for example if i use shutdownguest method on a vm to shut down the guest the method returns immediately invoking the task...but can someone help me with the code to know whethet the system has shut down completely?&lt;br /&gt;
&lt;p /&gt;
 Thanks in advance&lt;br /&gt;
&lt;p /&gt;
&lt;p /&gt;
&lt;p /&gt;
Regards,&lt;br /&gt;
&lt;p /&gt;
Padmini</description>
      <pubDate>Mon, 19 Jan 2009 04:58:33 GMT</pubDate>
      <author>srimini</author>
      <guid>http://communities.vmware.com/thread/189615</guid>
      <dc:date>2009-01-19T04:58:33Z</dc:date>
      <clearspace:dateToText>2 weeks, 5 days ago</clearspace:dateToText>
      <clearspace:messageCount>5</clearspace:messageCount>
      <clearspace:replyCount>4</clearspace:replyCount>
    </item>
    <item>
      <title>create screenshot for a vm</title>
      <link>http://communities.vmware.com/thread/214333</link>
      <description>&lt;br /&gt;
hi. &lt;br /&gt;
&lt;p /&gt;
I'm using vShpere web service SDK and i want to take a screenshot of my working vm.&lt;br /&gt;
&lt;p /&gt;
I used the function CreateScreenshot_Task, the API returns that task had success, but i have no screenshot.&lt;br /&gt;
&lt;p /&gt;
I  have searched on the vmx folder in the ESX but it's also not there.&lt;br /&gt;
&lt;p /&gt;
Maybe it's in some other place? may i set the output path (can it be on the client side?)&lt;br /&gt;
&lt;p /&gt;
&lt;p /&gt;
&lt;p /&gt;
Thanks!</description>
      <category domain="http://communities.vmware.com/tags?communityID=2416">vsphere</category>
      <category domain="http://communities.vmware.com/tags?communityID=2416">webservices</category>
      <category domain="http://communities.vmware.com/tags?communityID=2416">sdk</category>
      <category domain="http://communities.vmware.com/tags?communityID=2416">task</category>
      <pubDate>Mon, 08 Jun 2009 21:51:00 GMT</pubDate>
      <author>tshamul</author>
      <guid>http://communities.vmware.com/thread/214333</guid>
      <dc:date>2009-06-08T21:51:00Z</dc:date>
      <clearspace:dateToText>2 weeks, 5 days ago</clearspace:dateToText>
      <clearspace:messageCount>5</clearspace:messageCount>
      <clearspace:replyCount>4</clearspace:replyCount>
    </item>
    <item>
      <title>Looking for help on creating a C# class that can query for cpu utilization on a host</title>
      <link>http://communities.vmware.com/thread/238828</link>
      <description>&lt;br /&gt;
I am having trouble writing a class to query for the cpu usage when you pass in a host and the required information. Does anyone have a sample code or a guide on how to write such a program?&lt;br /&gt;
&lt;p /&gt;
&lt;p /&gt;
&lt;p /&gt;
Thanks</description>
      <category domain="http://communities.vmware.com/tags?communityID=2416">c#</category>
      <category domain="http://communities.vmware.com/tags?communityID=2416">vsphere</category>
      <category domain="http://communities.vmware.com/tags?communityID=2416">webservices</category>
      <category domain="http://communities.vmware.com/tags?communityID=2416">sdk</category>
      <category domain="http://communities.vmware.com/tags?communityID=2416">performance</category>
      <pubDate>Tue, 27 Oct 2009 09:34:53 GMT</pubDate>
      <author>shenji</author>
      <guid>http://communities.vmware.com/thread/238828</guid>
      <dc:date>2009-10-27T09:34:53Z</dc:date>
      <clearspace:dateToText>2 weeks, 5 days ago</clearspace:dateToText>
      <clearspace:messageCount>5</clearspace:messageCount>
      <clearspace:replyCount>4</clearspace:replyCount>
    </item>
    <item>
      <title>no performance data for host</title>
      <link>http://communities.vmware.com/thread/234038</link>
      <description>*&lt;br /&gt;
Hello, I am retrieving the performance data from the VC Server and when I get the  list of perfQuerySpec, I get 10 managed entities, 2 hosts and 8 VMs as we have set up in our VC server. Then when I pass in perfQuerySpec objects in queryPerf() method to retrieve performance metrics, my host managed entity magically disappears after queryPerf() is executed (i.e. when I get the values[] of type PerfEntityMetricBase, please see code below). It has only managed entities of mor type VirtualMachine, but not HostSystem. The hosts that are configured in the VC server are ESX 4.0. It works fine with VC server that has ESX 3.0. Could you please let me know what the problem is? &lt;br /&gt;
&lt;p /&gt;
 Please see below for code snippet.&lt;br /&gt;
&lt;p /&gt;
Thank you.&lt;br /&gt;
&lt;p /&gt;
Sushant&lt;br /&gt;
&lt;p /&gt;
======================================&lt;br /&gt;
&lt;p /&gt;
for (*int* i = 0; i &amp;lt; mor_hosts.size(); i++) {&lt;br /&gt;
&lt;br /&gt;
*&lt;br /&gt;
&lt;br /&gt;
ManagedObjectReference mor_host = mor_hosts.get(i);&lt;br /&gt;
&lt;p /&gt;
ManagedEntity me_host = getMeHosts();&lt;br /&gt;
&lt;p /&gt;
PerfProviderSummary pps_hosts = pm.queryPerfProviderSummary(me_host);&lt;br /&gt;
&lt;p /&gt;
&lt;b&gt;int&lt;/b&gt; refreshRate_hosts = pps_hosts.getRefreshRate();&lt;br /&gt;
&lt;p /&gt;
PerfMetricId[] metricId_hosts = pm.queryAvailablePerfMetric(me_host, _calendarPerfStart, _calendarPerfEnd, refreshRate_hosts);&lt;br /&gt;
&lt;p /&gt;
PerfQuerySpec qSpec_hosts = &lt;b&gt;new&lt;/b&gt; PerfQuerySpec();&lt;br /&gt;
&lt;p /&gt;
qSpec_hosts.setEntity(mor_host);&lt;br /&gt;
&lt;p /&gt;
qSpec_hosts.setStartTime(_calendarPerfStart);&lt;br /&gt;
&lt;p /&gt;
qSpec_hosts.setEndTime(_calendarPerfEnd);&lt;br /&gt;
&lt;p /&gt;
qSpec_hosts.setMetricId(metricId_hosts);&lt;br /&gt;
&lt;p /&gt;
qSpec_hosts.setIntervalId(refreshRate_hosts);&lt;br /&gt;
&lt;p /&gt;
qSpec_hosts.setFormat("csv");&lt;br /&gt;
&lt;p /&gt;
perfQuerySpec&lt;a class="jive-link-adddocument" href="http://communities.vmware.com/community-document-picker.jspa?communityID=&amp;subject=counter"&gt;counter&lt;/a&gt; = qSpec_hosts;&lt;br /&gt;
&lt;p /&gt;
++ counter;&lt;br /&gt;
&lt;p /&gt;
&lt;p /&gt;
&lt;p /&gt;
ArrayList&amp;lt;ManagedObjectReference&amp;gt; mor_vms = _vmu.getVirtualMachineMORs(_inventoryCurrent, mor_host);&lt;br /&gt;
&lt;p /&gt;
&lt;b&gt;for&lt;/b&gt; (*int* j = 0; j &amp;lt; mor_vms.size(); j++) {&lt;br /&gt;
&lt;p /&gt;
ManagedObjectReference mor_vm = mor_vms.get(j);&lt;br /&gt;
&lt;p /&gt;
ManagedEntity me_vms = getMeVms();&lt;br /&gt;
&lt;p /&gt;
PerfProviderSummary pps_vms = pm.queryPerfProviderSummary(me_vms);&lt;br /&gt;
&lt;p /&gt;
&lt;b&gt;int&lt;/b&gt; refreshRate_vms = pps_vms.getRefreshRate();&lt;br /&gt;
&lt;p /&gt;
PerfMetricId[] metricId_vms = pm.queryAvailablePerfMetric(me_vms, _calendarPerfStart, _calendarPerfEnd, refreshRate_vms);&lt;br /&gt;
&lt;p /&gt;
&lt;p /&gt;
&lt;p /&gt;
PerfQuerySpec qSpec_vms = &lt;b&gt;new&lt;/b&gt; PerfQuerySpec();&lt;br /&gt;
&lt;p /&gt;
qSpec_vms.setEntity(mor_vm);&lt;br /&gt;
&lt;p /&gt;
qSpec_vms.setStartTime(_calendarPerfStart);&lt;br /&gt;
&lt;p /&gt;
qSpec_vms.setEndTime(_calendarPerfEnd);&lt;br /&gt;
&lt;p /&gt;
qSpec_vms.setMetricId(metricId_vms);&lt;br /&gt;
&lt;p /&gt;
qSpec_vms.setIntervalId(refreshRate_vms);&lt;br /&gt;
&lt;p /&gt;
qSpec_vms.setFormat("csv");&lt;br /&gt;
&lt;p /&gt;
perfQuerySpec&lt;a class="jive-link-adddocument" href="http://communities.vmware.com/community-document-picker.jspa?communityID=&amp;subject=counter"&gt;counter&lt;/a&gt; = qSpec_vms;&lt;br /&gt;
&lt;p /&gt;
++ counter;&lt;br /&gt;
&lt;p /&gt;
}&lt;br /&gt;
&lt;p /&gt;
}&lt;br /&gt;
&lt;p /&gt;
PerfEntityMetricBase[] values = &lt;b&gt;null&lt;/b&gt;;&lt;br /&gt;
&lt;p /&gt;
values = pm.queryPerf(perfQuerySpec);</description>
      <pubDate>Mon, 28 Sep 2009 20:15:14 GMT</pubDate>
      <author>workvmware</author>
      <guid>http://communities.vmware.com/thread/234038</guid>
      <dc:date>2009-09-28T20:15:14Z</dc:date>
      <clearspace:dateToText>3 weeks, 1 day ago</clearspace:dateToText>
      <clearspace:messageCount>6</clearspace:messageCount>
      <clearspace:replyCount>5</clearspace:replyCount>
    </item>
    <item>
      <title>error (501) not implemented</title>
      <link>http://communities.vmware.com/thread/233259</link>
      <description>Hi,&lt;br /&gt;
&lt;br /&gt;
I'm trying to access the WBEM service of the CIMOM on the ESX Server 3i and all my requests end up with this error "(501) not implemented".&lt;br /&gt;
&lt;br /&gt;
What is it?&lt;br /&gt;
&lt;br /&gt;
I use wbemsharp (&lt;a class="jive-link-external" href="http://code.google.com/p/wbemtools/wiki/Intro"&gt;http://code.google.com/p/wbemtools/wiki/Intro&lt;/a&gt;) for my client and the connection is over HTTPS.&lt;br /&gt;
&lt;br /&gt;
Thanks in advance</description>
      <pubDate>Wed, 23 Sep 2009 20:08:49 GMT</pubDate>
      <author>dmitrif</author>
      <guid>http://communities.vmware.com/thread/233259</guid>
      <dc:date>2009-09-23T20:08:49Z</dc:date>
      <clearspace:dateToText>3 weeks, 1 day ago</clearspace:dateToText>
      <clearspace:messageCount>3</clearspace:messageCount>
      <clearspace:replyCount>2</clearspace:replyCount>
    </item>
    <item>
      <title>How to move files from one folder to another folder in datastore</title>
      <link>http://communities.vmware.com/thread/239562</link>
      <description>&lt;br /&gt;
I want to move some files (which aI already got using "HostDatastoreBrowser") from one file system folder to another file system folder (not Managed Object folder).&lt;br /&gt;
&lt;p /&gt;
In VI client we can move files when we are browsing the datastore from one folder to another folder, I want to do the same thing.&lt;br /&gt;
&lt;p /&gt;
Thanks</description>
      <pubDate>Thu, 29 Oct 2009 19:16:31 GMT</pubDate>
      <author>haroon09</author>
      <guid>http://communities.vmware.com/thread/239562</guid>
      <dc:date>2009-10-29T19:16:31Z</dc:date>
      <clearspace:dateToText>3 weeks, 1 day ago</clearspace:dateToText>
      <clearspace:messageCount>5</clearspace:messageCount>
      <clearspace:replyCount>4</clearspace:replyCount>
    </item>
    <item>
      <title>Virtual CDROM not connected on VM Power On</title>
      <link>http://communities.vmware.com/thread/239493</link>
      <description>Gentlemen!&lt;br /&gt;
&lt;br /&gt;
I would very much appreciate any help. The problem is as follows: using VimAPI we power off a certain VM, then insert an ISO into a virtual CDROM, then we set the CDROM's "Start connected" flag to true and power on the VM. The CDROM should be connected after the VM starts, but it isn't. The flag "Connect at power on" is set, but "Connected" is false.&lt;br /&gt;
&lt;br /&gt;
This bug happens when we access the VM via VirtualCenter. If we use ESX server, it works fine.&lt;br /&gt;
&lt;br /&gt;
Here's how we setup the CDROM and its VirtualDeviceConfigSpec&lt;br /&gt;
&lt;br /&gt;
                VirtualCdromIsoBackingInfo newBacking = new VirtualCdromIsoBackingInfo();&lt;br /&gt;
                newBacking.fileName = isoPath;&lt;br /&gt;
                newCdrom.backing = newBacking;&lt;br /&gt;
                newCdrom.connectable.startConnected = true;&lt;br /&gt;
&lt;br /&gt;
                VirtualDeviceConfigSpec deviceSpec = new VirtualDeviceConfigSpec();&lt;br /&gt;
                deviceSpec.device = newCdrom;&lt;br /&gt;
                deviceSpec.operation = VirtualDeviceConfigSpecOperation.edit;&lt;br /&gt;
                deviceSpec.operationSpecified = true;&lt;br /&gt;
                deviceSpecs.Add(deviceSpec);&lt;br /&gt;
&lt;br /&gt;
Then we reconfig the VM to apply the CDROM settings using ReconfigVM_Task().&lt;br /&gt;
&lt;br /&gt;
Can someone please explain how to start a VM with a connected CDROM using VirtualCenter?</description>
      <category domain="http://communities.vmware.com/tags?communityID=2416">c#</category>
      <category domain="http://communities.vmware.com/tags?communityID=2416">virtualcenter</category>
      <pubDate>Thu, 29 Oct 2009 15:39:56 GMT</pubDate>
      <author>heliocenterist</author>
      <guid>http://communities.vmware.com/thread/239493</guid>
      <dc:date>2009-10-29T15:39:56Z</dc:date>
      <clearspace:dateToText>3 weeks, 1 day ago</clearspace:dateToText>
      <clearspace:messageCount>4</clearspace:messageCount>
      <clearspace:replyCount>3</clearspace:replyCount>
    </item>
    <item>
      <title>sdk installation guide</title>
      <link>http://communities.vmware.com/thread/184049</link>
      <description>Hi,&lt;br /&gt;
&lt;br /&gt;
I am starting having a look at the VI SDK. I am using a windows XP workstation with JAVA SE and Apache Axis.&lt;br /&gt;
I am reading the sdkinstallationguide.pdf and when it comes to test my setup i receive this error:&lt;br /&gt;
&lt;br /&gt;
C:\devprojects\visdk\samples\Axis\java\com\vmware&amp;gt;java -Djavax.net.ssl.trustStore=c:&lt;br clear="all" /&gt;VMware-Certs -Xmx1024M com.vmware.vimsample.simpleclient.SimpleClient &lt;a class="jive-link-external" href="https://myvc.acme.com/sdk"&gt;https://myvc.acme.com/sdk&lt;/a&gt; root password&lt;br /&gt;
&lt;br /&gt;
Exception in thread "main" java.lang.NoClassDefFoundError: com/vmware/vimsample/&lt;br /&gt;
simpleclient/SimpleClient&lt;br /&gt;
Caused by: java.lang.ClassNotFoundException: com.vmware.vimsample.simpleclient.S&lt;br /&gt;
impleClient&lt;br /&gt;
        at java.net.URLClassLoader$1.run(Unknown Source)&lt;br /&gt;
        at java.security.AccessController.doPrivileged(Native Method)&lt;br /&gt;
        at java.net.URLClassLoader.findClass(Unknown Source)&lt;br /&gt;
        at java.lang.ClassLoader.loadClass(Unknown Source)&lt;br /&gt;
        at sun.misc.Launcher$AppClassLoader.loadClass(Unknown Source)&lt;br /&gt;
        at java.lang.ClassLoader.loadClass(Unknown Source)&lt;br /&gt;
        at java.lang.ClassLoader.loadClassInternal(Unknown Source)&lt;br /&gt;
Could not find the main class: com.vmware.vimsample.simpleclient.SimpleClient.&lt;br /&gt;
Program will exit.&lt;br /&gt;
&lt;p /&gt;
I have setup the paths as suggested in the guide:&lt;br /&gt;
&lt;br /&gt;
AXISCLASSPATH=C:\Program Files\Apache Software Foundation\Tomcat 6.0\webapps\axis\WEB-INF\lib\axis.jar;C:\Program Files\Apache Software Foundation\Tomcat 6.0\webapps\axis\WEB-INF\lib\commons-discovery.jar;C:\Program Files\Apache Software Foundation\Tomcat 6.0\webapps\axis\WEB-INF\lib\commons-logging.jar;C:\Program Files\Apache Software Foundation\Tomcat 6.0\webapps\axis\WEB-INF\lib\jaxrpc.jar;C:\Program Files\Apache Software Foundation\Tomcat 6.0\webapps\axis\WEB-INF\lib\saaj.jar;C:\Program Files\Apache Software Foundation\Tomcat 6.0\webapps\axis\WEB-INF\lib\log4j-1.2.8.jar;C:\Program Files\Apache Software Foundation\Tomcat 6.0\webapps\axis\WEB-INF\lib\xml-apis.jar;C:\Program Files\Apache Software Foundation\Tomcat 6.0\webapps\axis\WEB-INF\lib\xercesImpl.jar&lt;br /&gt;
&lt;br /&gt;
AXISHOME=C:\apache\axis&lt;br /&gt;
AXIS_HOME=C:\Program Files\Apache Software Foundation\Tomcat 6.0\webapps\axis\WEB-INF&lt;br /&gt;
AXIS_LIB=C:\Program Files\Apache Software Foundation\Tomcat 6.0\webapps\axis\WEB-INF\lib&lt;br /&gt;
CLASSPATH=C:\apache\axis\lib\axis.jar;C:\apache\axis\lib\axis-ant.jar;C:\apache\axis\lib\commons-discovery-0.2.jar;C:\apache\axis\lib\commons-logging-1.0.4.jar;C:\apache\axis\lib\jaxrpc.jar;C:\apache\axis\lib\log4j-1.2.8.jar;C:\apache\axis\lib\saaj.jar;C:\apache\axis\lib\wsdl4j-1.5.1.jar;C:\Program Files\Java\jre1.6.0_03;C:\Program Files\Java\jdk1.6.0_03\lib\tools.jar;C:\devprojects\visdk\samples\Axis\java\vim.jar;C:\devprojects\visdk\samples\Axis\java\lib\activation.jar;C:\devprojects\visdk\samples\Axis\java\lib\mailapi.jar&lt;br /&gt;
JAVAHOME=C:\Program Files\Java\jre1.6.0_03;C:\Program Files\Java\jdk1.6.0_03&lt;br /&gt;
KEYSTORE=C:\VMware-Certs&lt;br /&gt;
SDKHOME=C:\devprojects\visdk&lt;br /&gt;
WBEMHOME=C:\devprojects\visdk\samples\Axis\java\lib\wbem.jar&lt;br /&gt;
WSDLFILE=C:\devprojects\visdk\wsdl\vim25&lt;br /&gt;
&lt;br /&gt;
Am i missing Java packages? Can someone help?</description>
      <pubDate>Tue, 09 Dec 2008 14:41:13 GMT</pubDate>
      <author>acnsys</author>
      <guid>http://communities.vmware.com/thread/184049</guid>
      <dc:date>2008-12-09T14:41:13Z</dc:date>
      <clearspace:dateToText>3 weeks, 1 day ago</clearspace:dateToText>
      <clearspace:messageCount>12</clearspace:messageCount>
      <clearspace:replyCount>11</clearspace:replyCount>
    </item>
    <item>
      <title>FindByUuid API doesn't work for template</title>
      <link>http://communities.vmware.com/thread/239645</link>
      <description>Hi all,&lt;br /&gt;
&lt;br /&gt;
as document said, FindByUuid can be used to get the ManagedObjectReference of VirtualMachine or Host. &lt;br /&gt;
&lt;br /&gt;
but i find if i use this API to query tempalte, it always failed. (the soap call reture OK, but the MOR is NULL). &lt;br /&gt;
&lt;br /&gt;
here is the steps i used to create template:&lt;br /&gt;
1. create new VirtualMachine&lt;br /&gt;
2. convert the VM to template &lt;br /&gt;
3. try to find the MOR of template by its uuid.&lt;br /&gt;
&lt;br /&gt;
here is the code snap:&lt;br /&gt;
&lt;hr /&gt;
        ns2__ManagedObjectReference *morTemp = NULL;&lt;br /&gt;
        ns2__FindByUuidRequestType request;&lt;br /&gt;
        request._USCOREthis = serviceContent-&amp;gt;searchIndex;&lt;br /&gt;
        request.datacenter = NULL; /* search whole inventory */&lt;br /&gt;
        request.uuid = uuid;&lt;br /&gt;
        request.vmSearch = VimUtils::xsd_true;&lt;br /&gt;
&lt;br /&gt;
        _ns2__FindByUuidResponse response;&lt;br /&gt;
        if (vim-&amp;gt;__ns2__FindByUuid(&amp;#38;request,&amp;#38;response) == SOAP_OK)&lt;br /&gt;
        {&lt;br /&gt;
            morTemp = response.returnval;&lt;br /&gt;
        } else {&lt;br /&gt;
            VimUtils::makeErrorInfo(vim, errorInfo);&lt;br /&gt;
        }&lt;br /&gt;
&lt;br /&gt;
        // reset the soap mode&lt;br /&gt;
        soap_imode(vim-&amp;gt;soap, SOAP_IO_DEFAULT);&lt;br /&gt;
        soap_omode(vim-&amp;gt;soap, SOAP_IO_DEFAULT);&lt;br /&gt;
&lt;hr /&gt;
&lt;br /&gt;
i am using vCenter4 with ESX3.5, using gsoap to generate c++ code.&lt;br /&gt;
&lt;br /&gt;
Regards!</description>
      <category domain="http://communities.vmware.com/tags?communityID=2416">esx3.5</category>
      <category domain="http://communities.vmware.com/tags?communityID=2416">virtualcenter</category>
      <category domain="http://communities.vmware.com/tags?communityID=2416">webservices</category>
      <category domain="http://communities.vmware.com/tags?communityID=2416">gsoap</category>
      <pubDate>Fri, 30 Oct 2009 02:18:39 GMT</pubDate>
      <author>whiteear</author>
      <guid>http://communities.vmware.com/thread/239645</guid>
      <dc:date>2009-10-30T02:18:39Z</dc:date>
      <clearspace:dateToText>3 weeks, 1 day ago</clearspace:dateToText>
      <clearspace:messageCount>3</clearspace:messageCount>
      <clearspace:replyCount>2</clearspace:replyCount>
    </item>
    <item>
      <title>iSCSI lun to datastore mapping broken in vCenter 2.5?</title>
      <link>http://communities.vmware.com/thread/239621</link>
      <description>&lt;br /&gt;
Hi,&lt;br /&gt;
&lt;p /&gt;
I'm trying to find the IP addresses of iSCSI servers that provide datastore storage.  Under ESX3.5, I see e.g. vmhba32:2:0 in info.vmfs.extent.diskName of the datastore, and the same diskname is used in the Lun (from where the iSCSI server IP address is reachable via the transport address of HostScsiTopologyInterface for that vmhba.  This all works fine when connecting directly (using SOAP or MOB) to the ESX server.  However, when I connect to the VCS2.5 server managing this host, I sometimes see e.g.  vmhba32:5:0 as diskName for the same datastore.&lt;br /&gt;
&lt;p /&gt;
Removing and adding back the ESX host from the VCS server fixes it for this host, but skrews up the diskNames of other hosts in the same VCS2.5 server that access this datastore.&lt;br /&gt;
&lt;p /&gt;
Any idea what's going on?  I also checked with vshere client and I see the same disconnect here between the Configuration-&amp;gt;Storage and Configuration-&amp;gt;Storage Adapter.&lt;br /&gt;
&lt;p /&gt;
Oh, and this seems to wotj fine for VCS4/ESX4 because this uses generated names (e.g.  t10.F405E46494C45400D446F6557513D2131465B6D2466577A6) instead of the vmhba32:x:y names.&lt;br /&gt;
&lt;p /&gt;
&lt;p /&gt;
&lt;p /&gt;
Best,&lt;br /&gt;
&lt;p /&gt;
  Norbert</description>
      <pubDate>Thu, 29 Oct 2009 22:13:26 GMT</pubDate>
      <author>nkiesel</author>
      <guid>http://communities.vmware.com/thread/239621</guid>
      <dc:date>2009-10-29T22:13:26Z</dc:date>
      <clearspace:dateToText>3 weeks, 2 days ago</clearspace:dateToText>
      <clearspace:messageCount>2</clearspace:messageCount>
      <clearspace:replyCount>1</clearspace:replyCount>
    </item>
    <item>
      <title>vCloud API Session @ Technology Exchange Developer Day</title>
      <link>http://communities.vmware.com/thread/220522</link>
      <description>&lt;b&gt;Download this Session&lt;/b&gt;:   See attachment below.&lt;br /&gt;
&lt;br /&gt;
&lt;b&gt;Session abstract&lt;/b&gt;: VMware's vCloud API is a key element of VMware's vision for fostering a Cloud ecosystem of Service Providers, Enterprises, ISVs and VARs.The API enables provisioning and consumption of resources in the Cloud, management and publishing of VMs in the Cloud, as well as migration of VMs between internal and external Clouds. In this session, we will get into some details of the API and explore a few usage scenarios. The audience should walk away with an understanding of how the API fits within VMware's overall Cloud vision, what problem areas it addresses and the key concepts it exposes.&lt;br /&gt;
&lt;br /&gt;
&lt;b&gt;Level&lt;/b&gt;: Beginner&lt;br /&gt;
&lt;br /&gt;
&lt;b&gt;Presenter Bio&lt;/b&gt; &lt;br /&gt;
&lt;br /&gt;
&lt;img src="http://communities.vmware.com/servlet/JiveServlet/downloadImage/6285/picture.JPG" alt="http://communities.vmware.com/servlet/JiveServlet/downloadImage/6285/picture.JPG" class="jive-image"  /&gt; &lt;br /&gt;
&lt;br /&gt;
Tichomir Tenev&lt;br /&gt;
&lt;br /&gt;
Tichomir is a senior staff engineer at VMware currently working on VMware's Cloud products. He has been with VMware since 2001 and has worked on a number of the well known VMware products today such as VMware workstation and VMware vCenter. &lt;br /&gt;
&lt;br /&gt;
Prior to VMware, Tichomir worked for an energy trading startup and prior to that for a visualization company that spun off from Xerox PARC. &lt;br /&gt;
&lt;br /&gt;
Tichomir holds a Master's degree in Electrical Engineering &amp;#38; Computer Science from MIT, as well as Bachelor Degrees in Computer Science and Applied Math from MIT.</description>
      <category domain="http://communities.vmware.com/tags?communityID=2416">vcloud_api</category>
      <category domain="http://communities.vmware.com/tags?communityID=2416">technology</category>
      <category domain="http://communities.vmware.com/tags?communityID=2416">exchange</category>
      <category domain="http://communities.vmware.com/tags?communityID=2416">developer</category>
      <category domain="http://communities.vmware.com/tags?communityID=2416">day</category>
      <category domain="http://communities.vmware.com/tags?communityID=2416">session</category>
      <pubDate>Sat, 11 Jul 2009 00:10:20 GMT</pubDate>
      <author>navadavuluri</author>
      <guid>http://communities.vmware.com/thread/220522</guid>
      <dc:date>2009-07-11T00:10:20Z</dc:date>
      <clearspace:dateToText>3 weeks, 3 days ago</clearspace:dateToText>
      <clearspace:messageCount>1</clearspace:messageCount>
    </item>
    <item>
      <title>vSphere Custom Tasks XXX com.package.label not found XXX</title>
      <link>http://communities.vmware.com/thread/237555</link>
      <description>&lt;br /&gt;
I am trying to get some custom tasks working in vSphere using C#. I have followed this thread &lt;a class="jive-link-thread" href="http://communities.vmware.com/thread/214428"&gt;http://communities.vmware.com/thread/214428&lt;/a&gt; in setting up my custom tasks. I am seeing a lot of XXX com.package.label not found XXX in the Recent tasks in vSphere client. It seems to do this the first time a execute a custom task. If i execute the same custom task again it will display the proper label. If the label are showing up properly and i close and reopen the vSphere client some of them change to XXX com.package.label not found XXX.&lt;br /&gt;
&lt;p /&gt;
&lt;p /&gt;
&lt;p /&gt;
Any ideas on how to get the labels to show properly everytime? Thanks.</description>
      <category domain="http://communities.vmware.com/tags?communityID=2416">vsphere</category>
      <category domain="http://communities.vmware.com/tags?communityID=2416">custom</category>
      <category domain="http://communities.vmware.com/tags?communityID=2416">tasks</category>
      <category domain="http://communities.vmware.com/tags?communityID=2416">c#</category>
      <pubDate>Mon, 19 Oct 2009 20:43:46 GMT</pubDate>
      <author>scott2</author>
      <guid>http://communities.vmware.com/thread/237555</guid>
      <dc:date>2009-10-19T20:43:46Z</dc:date>
      <clearspace:dateToText>3 weeks, 3 days ago</clearspace:dateToText>
      <clearspace:messageCount>2</clearspace:messageCount>
      <clearspace:replyCount>1</clearspace:replyCount>
    </item>
    <item>
      <title>Looking for the logic or sample code (C#) to load an ISO file for a VM</title>
      <link>http://communities.vmware.com/thread/238443</link>
      <description>&lt;br /&gt;
There doesn't seem to be too much out there on loading ISO files for a VM within the VMware vSphere SDK. I'm looking  for either the logic or a code sample.&lt;br /&gt;
&lt;p /&gt;
 Thanks in Advance!</description>
      <pubDate>Sat, 24 Oct 2009 00:47:56 GMT</pubDate>
      <author>Leafy</author>
      <guid>http://communities.vmware.com/thread/238443</guid>
      <dc:date>2009-10-24T00:47:56Z</dc:date>
      <clearspace:dateToText>3 weeks, 4 days ago</clearspace:dateToText>
      <clearspace:messageCount>3</clearspace:messageCount>
      <clearspace:replyCount>2</clearspace:replyCount>
    </item>
    <item>
      <title>Server Hardware Health - Perl Sample Code</title>
      <link>http://communities.vmware.com/thread/237808</link>
      <description>&lt;br /&gt;
reference to the attached perl script at &lt;a class="jive-link-external" href="http://communities.vmware.com/docs/DOC-10665"&gt;http://communities.vmware.com/docs/DOC-10665&lt;/a&gt;&lt;br /&gt;
&lt;br /&gt;
Trying to run Hardware.pl on linux. I have vcli / perl sdk installed..&lt;br /&gt;
&lt;p /&gt;
I keep getting this error while trying to run Hardware.pl ..&lt;br /&gt;
&lt;br /&gt;
&lt;ol&gt;
&lt;li&gt;perl Hardware.pl &lt;/li&gt;
&lt;/ol&gt;
&lt;br /&gt;
Can't locate WSMan/StubOps.pm in @INC (@INC contains: /usr/lib/perl5/site_perl/5.8.8/i386-linux-thread-multi /usr/lib/perl5/site_perl/5.8.7/i386-linux-thread-multi /usr/lib/perl5/site_perl/5.8.6/i386-linux-thread-multi ..........&lt;br /&gt;
&lt;br /&gt;
Any idea what I am missing here.&lt;br /&gt;
&lt;br /&gt;
thanks&lt;br /&gt;</description>
      <category domain="http://communities.vmware.com/tags?communityID=2416">sdk</category>
      <category domain="http://communities.vmware.com/tags?communityID=2416">webservices</category>
      <pubDate>Tue, 20 Oct 2009 23:08:48 GMT</pubDate>
      <author>dee-ash</author>
      <guid>http://communities.vmware.com/thread/237808</guid>
      <dc:date>2009-10-20T23:08:48Z</dc:date>
      <clearspace:dateToText>3 weeks, 4 days ago</clearspace:dateToText>
      <clearspace:messageCount>6</clearspace:messageCount>
      <clearspace:replyCount>5</clearspace:replyCount>
    </item>
    <item>
      <title>Ruby sample code and library for VI SDK</title>
      <link>http://communities.vmware.com/thread/192869</link>
      <description>&lt;br /&gt;
I have been working on using Ruby monitor VMware systems using the VI web services API. I have created a simple ruby library which wraps the SOAP access in an easier to use form. The functionality is pretty basic, but it may be helpful for other people who want to use VMware from ruby.&lt;br /&gt;
&lt;p /&gt;
You can access the code here: &lt;br /&gt;
&lt;p /&gt;
&lt;a class="jive-link-external" href="http://svn.paglo.com/paglo_open_source/ruby_vmware/trunk/"&gt;http://svn.paglo.com/paglo_open_source/ruby_vmware/trunk/&lt;/a&gt;&lt;br /&gt;
&lt;p /&gt;
The code is licensed under the GPL.&lt;br /&gt;
&lt;p /&gt;
Please feel free to contact me with issues or feedback. &lt;br /&gt;
&lt;p /&gt;
Chris Waters&lt;br /&gt;
CTO, PhD&lt;br /&gt;
paglo.com - The Search Engine for IT&lt;br /&gt;
chris@paglo.com</description>
      <pubDate>Thu, 05 Feb 2009 20:07:25 GMT</pubDate>
      <author>ChrisPaglo</author>
      <guid>http://communities.vmware.com/thread/192869</guid>
      <dc:date>2009-02-05T20:07:25Z</dc:date>
      <clearspace:dateToText>3 weeks, 4 days ago</clearspace:dateToText>
      <clearspace:messageCount>4</clearspace:messageCount>
      <clearspace:replyCount>3</clearspace:replyCount>
    </item>
    <item>
      <title>Which api is used to find the path to a VMs vmdk given only its name (or minimal information)</title>
      <link>http://communities.vmware.com/thread/238684</link>
      <description>Hello, &lt;br /&gt;
&lt;br /&gt;
I am searching for the proper API to find the absolute path to a Virtual Machines vmdk file.&lt;br /&gt;
Let&amp;rsquo;s say inputting the minimum amount of information (ideally just the Virtual machines &lt;br /&gt;
&lt;p /&gt;
&lt;p /&gt;
&lt;p /&gt;
&lt;p /&gt;
&lt;p /&gt;
name) i would want to get the path like this:&lt;br /&gt;
&lt;p /&gt;
&lt;p /&gt;
&lt;p /&gt;
&lt;p /&gt;
&lt;p /&gt;
&lt;p /&gt;
"[ &lt;a class="jive-link-adddocument" href="http://communities.vmware.com/community-document-picker.jspa?communityID=&amp;subject=storage1+%5D"&gt;storage1 ]&lt;/a&gt; MailServer/SystemDisk.vmdk"&lt;br /&gt;
&lt;p /&gt;
&lt;p /&gt;
&lt;p /&gt;
&lt;p /&gt;
&lt;p /&gt;
&lt;p /&gt;
Can anyone point me to the right api or if they even know the methods/procedures that would be even better.  &lt;br /&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;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;br /&gt;
thank you</description>
      <category domain="http://communities.vmware.com/tags?communityID=2416">full</category>
      <category domain="http://communities.vmware.com/tags?communityID=2416">path</category>
      <category domain="http://communities.vmware.com/tags?communityID=2416">vmdk</category>
      <category domain="http://communities.vmware.com/tags?communityID=2416">given</category>
      <category domain="http://communities.vmware.com/tags?communityID=2416">name</category>
      <category domain="http://communities.vmware.com/tags?communityID=2416">vm</category>
      <pubDate>Mon, 26 Oct 2009 16:41:42 GMT</pubDate>
      <author>IDPRESV</author>
      <guid>http://communities.vmware.com/thread/238684</guid>
      <dc:date>2009-10-26T16:41:42Z</dc:date>
      <clearspace:dateToText>3 weeks, 4 days ago</clearspace:dateToText>
      <clearspace:messageCount>7</clearspace:messageCount>
      <clearspace:replyCount>6</clearspace:replyCount>
    </item>
    <item>
      <title>Building the samples in sdk</title>
      <link>http://communities.vmware.com/thread/217257</link>
      <description>I am trying to build the sdk. &lt;br /&gt;
I had installed VS 2005. I had set the %SDKHOME% to my SDK directory and I had set my %WSDLFILE% to %SDKHOME%\wsdl&lt;br /&gt;
&lt;br /&gt;
C:\Documents and Settings\vknerell\Desktop\VMware\VSphere SDk\sdk\SDK\samples\DotNet\cs\SimpleClient\bin\Debug&amp;gt;echo %WSDLFILE%&lt;br /&gt;
C:\Documents and Settings\vknerell\Desktop\VMware\VSphere SDk\sdk\SDK\wsdl&lt;br /&gt;
&lt;br /&gt;
when I execute the build2005 command from sdk command prompt. I am getting the following output of errors:&lt;br /&gt;
&lt;p /&gt;
C:\Documents and Settings\vknerell\Desktop\VMware\VSphere SDk\sdk\SDK\samples\DotNet&amp;gt;Build2005&lt;br /&gt;
Visual Studio 2005 is installed&lt;br /&gt;
Setting Path&lt;br /&gt;
Error: Directory for WSDL files vim.wsdl and vimService.wsdl not specified&lt;br /&gt;
       Please specify WSDL files to generate stubs for&lt;br /&gt;
The system cannot find the file specified.&lt;br /&gt;
E.g.&lt;br /&gt;
        genvimstubs.cmd .\&lt;br /&gt;
        Or to customize namespace stubfilename and dll names etc...&lt;br /&gt;
        genvimstubs.cmd .\ VimApi .\stubdir MyVimStubs.cs .\dlldir MyVimStubs&lt;br /&gt;
ECHO is off.&lt;br /&gt;
Error: No Visual Studio 2005 environment settings found&lt;br /&gt;
       Please run this script inside a Visual Studio 2005 Command Prompt&lt;br /&gt;
ECHO is off.&lt;br /&gt;
Stub generation Failed!&lt;br /&gt;
ECHO is off.&lt;br /&gt;
Error: Directory for WSDL files vim.wsdl and vimService.wsdl not specified&lt;br /&gt;
       Please specify WSDL files to generate stubs for&lt;br /&gt;
The system cannot find the file specified.&lt;br /&gt;
E.g.&lt;br /&gt;
        genvimstubs.cmd .\&lt;br /&gt;
        Or to customize namespace stubfilename and dll names etc...&lt;br /&gt;
        genvimstubs.cmd .\ VimApi .\stubdir MyVimStubs.cs .\dlldir MyVimStubs&lt;br /&gt;
ECHO is off.&lt;br /&gt;
Error: No Visual Studio 2005 environment settings found&lt;br /&gt;
       Please run this script inside a Visual Studio 2005 Command Prompt&lt;br /&gt;
ECHO is off.&lt;br /&gt;
Stub generation Failed!&lt;br /&gt;
ECHO is off.&lt;br /&gt;
Building Samples in Debug mode&lt;br /&gt;
Done Building optimized Stubs and all Samples&lt;br /&gt;
&lt;br /&gt;
The WSDL path has been set properly but why doesn't it find those files?&lt;br /&gt;
&lt;br /&gt;
can somebody help me ?</description>
      <pubDate>Mon, 22 Jun 2009 23:37:52 GMT</pubDate>
      <author>aswani521</author>
      <guid>http://communities.vmware.com/thread/217257</guid>
      <dc:date>2009-06-22T23:37:52Z</dc:date>
      <clearspace:dateToText>3 weeks, 4 days ago</clearspace:dateToText>
      <clearspace:messageCount>17</clearspace:messageCount>
      <clearspace:replyCount>16</clearspace:replyCount>
    </item>
    <item>
      <title>CopyVirtualDisk_Task issue (VimSdk BUG)</title>
      <link>http://communities.vmware.com/thread/140735</link>
      <description>Hi folks. I want to copy a virtual disk via VimSdk 2.5.&lt;br /&gt;
&lt;br /&gt;
For this I connect to the webservice of a ESX 3.5 server, and run the task. Worx fine. BUT: When I do this through a host, that has access to source and target datastore, but which is _not_hosting the VM the virtual disk belongs to, then, if the VM is powered-on, the host does not recongize that the virtual disk is not locked, when i created a snapshot for the VM via VC before. Tricky, I know.&lt;br /&gt;
&lt;br /&gt;
Anybody that has been into this before?&lt;br /&gt;
&lt;p /&gt;
&lt;p /&gt;
&lt;p /&gt;
&lt;br /&gt;
As the VM is not known on the host that should copy its disk, it is not even possible to refresh the VM. Even refreshing the source datastore the VM resides on does not seem to help.&lt;br /&gt;
&lt;p /&gt;
&lt;p /&gt;
&lt;p /&gt;
&lt;p /&gt;
&lt;p /&gt;
&lt;p /&gt;
The error that comes up on the ESX: "General fault caused by file. Device or resource busy" - hm, okay, I understand this, but it is not the truth &lt;img class="jive-emoticon" border="0" src="http://communities.vmware.com/images/emoticons/wink.gif" alt=";-)" /&gt; &lt;br /&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;
Tos2k</description>
      <pubDate>Tue, 22 Apr 2008 11:40:35 GMT</pubDate>
      <author>tos2k</author>
      <guid>http://communities.vmware.com/thread/140735</guid>
      <dc:date>2008-04-22T11:40:35Z</dc:date>
      <clearspace:dateToText>3 weeks, 5 days ago</clearspace:dateToText>
      <clearspace:messageCount>8</clearspace:messageCount>
      <clearspace:replyCount>7</clearspace:replyCount>
    </item>
    <item>
      <title>Creating an event for rescan operations</title>
      <link>http://communities.vmware.com/thread/238175</link>
      <description>Hello,&lt;br /&gt;
&lt;br /&gt;
I have been reading the Perl API documentation but I cannot find a way to monitor when a particular HBA is doing a rescan operation.&lt;br /&gt;
&lt;br /&gt;
We have a shared environment where multiple people start rescan operations, which decreases the performance of the storage and even hangs the ESX server sometimes.&lt;br /&gt;
&lt;br /&gt;
 Is there any way to create a custom event for the rescan operation, or maybe get the whole list of tasks being executed at the ESX and then parse it for the rescan operation.&lt;br /&gt;
&lt;br /&gt;
Any help is highly appreciated.&lt;br /&gt;
&lt;p /&gt;
Juan Aristizabal.</description>
      <category domain="http://communities.vmware.com/tags?communityID=2416">rescan</category>
      <category domain="http://communities.vmware.com/tags?communityID=2416">hba</category>
      <category domain="http://communities.vmware.com/tags?communityID=2416">perl</category>
      <category domain="http://communities.vmware.com/tags?communityID=2416">toolkit</category>
      <pubDate>Thu, 22 Oct 2009 18:41:37 GMT</pubDate>
      <author>Aristizabal</author>
      <guid>http://communities.vmware.com/thread/238175</guid>
      <dc:date>2009-10-22T18:41:37Z</dc:date>
      <clearspace:dateToText>3 weeks, 5 days ago</clearspace:dateToText>
      <clearspace:messageCount>3</clearspace:messageCount>
      <clearspace:replyCount>2</clearspace:replyCount>
    </item>
    <item>
      <title>support of moref in http request url to get the VM files</title>
      <link>http://communities.vmware.com/thread/232027</link>
      <description>&lt;br /&gt;
For getting the VM files we need to formulate the httpurl in the form of &lt;br /&gt;
&lt;p /&gt;
example - httpurl: &lt;a class="jive-link-external" href="https://hostname/folder/vmname?dcPath=ha-datacenter/&amp;#38;dsName=Storage"&gt;https://hostname/folder/vmname?dcPath=ha-datacenter/&amp;#38;dsName=Storage&lt;/a&gt; is used for listing the folder.&lt;br /&gt;
&lt;p /&gt;
and example httpurl: &lt;a class="jive-link-external" href="https://hostname/folder/vmname/vmname.vmx?dcPath=ha-datacenter&amp;#38;dsName=LocalStorage"&gt;https://hostname/folder/vmname/vmname.vmx?dcPath=ha-datacenter&amp;#38;dsName=LocalStorage&lt;/a&gt; is used for getting the vmx file.&lt;br /&gt;
&lt;p /&gt;
Here We need to form the vm specification like ?dcPath=dataCenter&amp;#38;dsName=dataStoreName which will be recognised as a http resource. As of now vm specification is not supported  in moref form (like: "moref=24")&lt;br /&gt;
&lt;p /&gt;
will this be supported in future releases?. otherwise its good-to have  if moref is also supported.&lt;br /&gt;
&lt;p /&gt;
Thanks&lt;br /&gt;
&lt;p /&gt;
Yvs</description>
      <pubDate>Thu, 17 Sep 2009 08:04:50 GMT</pubDate>
      <author>yvsvmware</author>
      <guid>http://communities.vmware.com/thread/232027</guid>
      <dc:date>2009-09-17T08:04:50Z</dc:date>
      <clearspace:dateToText>3 weeks, 5 days ago</clearspace:dateToText>
      <clearspace:messageCount>3</clearspace:messageCount>
      <clearspace:replyCount>2</clearspace:replyCount>
    </item>
    <item>
      <title>Problem with AnswerVM_Task : unexpected arguments</title>
      <link>http://communities.vmware.com/thread/139946</link>
      <description>&lt;br /&gt;
Hello. I have a problem with the AnswerVM() .&lt;br /&gt;
&lt;p /&gt;
code :&lt;br /&gt;
&lt;p /&gt;
my $host_views=Vim::find_entity_views(view_type =&amp;gt; 'HostSystem',&lt;br /&gt;
                                      begin_entity =&amp;gt; $cluster_view); &lt;br /&gt;
foreach my $host (reverse @$host_views) {  &lt;br /&gt;
&lt;p /&gt;
 my $newvm_views = Vim::get_views(mo_ref_array =&amp;gt; $host-&amp;gt;vm);&lt;br /&gt;
        foreach (@$newvm_views){&lt;br /&gt;
        if (defined $_-&amp;gt;runtime-&amp;gt;question){&lt;br /&gt;
         $_-&amp;gt;AnswerVM($_-&amp;gt;runtime-&amp;gt;question-&amp;gt;id, $_-&amp;gt;runtime-&amp;gt;question-&amp;gt;choice-&amp;gt;defaultIndex);&lt;br /&gt;
  }&lt;br /&gt;
}&lt;br /&gt;
&lt;p /&gt;
Error :&lt;br /&gt;
&lt;p /&gt;
Unexpected arguments: 2 at C:/Program Files/VMware/VMware VI Perl Tool&lt;br /&gt;
kit/Perl/lib/VMware/VIM2Stub.pm line 25387&lt;br /&gt;
        VimService::build_arg_string('ARRAY(0x48226dc)', 'HASH(0x482267c)') call&lt;br /&gt;
ed at C:/Program Files/VMware/VMware VI Perl Toolkit/Perl/lib/VMware/VIM2Stub.pm&lt;br /&gt;
 line 26522&lt;br /&gt;
        VimService::AnswerVM('VimService=HASH(0x36eed0c)', '_this', 'ManagedObje&lt;br /&gt;
ctReference=HASH(0x4bc6670)', 2, 1) called at C:/Program Files/VMware/VMware VI&lt;br /&gt;
Perl Toolkit/Perl/lib/VMware/VICommon.pm line 1011&lt;br /&gt;
        ViewBase::invoke('VirtualMachine=HASH(0x4e2aa30)', 'AnswerVM', 2, 1) cal&lt;br /&gt;
led at C:/Program Files/VMware/VMware VI Perl Toolkit/Perl/lib/VMware/VIM2Runtim&lt;br /&gt;
e.pm line 1457&lt;br /&gt;
        VirtualMachineOperations::AnswerVM('VirtualMachine=HASH(0x4e2aa30)', 2,&lt;br /&gt;
1) called at C:\Program Files\VMware\VMware VI Perl Toolkit\Perl\apps\Test\R&lt;br /&gt;
eponse.pl line 99&lt;br /&gt;
        main::reponse() called at C:\Program Files\VMware\VMware VI Perl Toolkit&lt;br /&gt;
\Perl\apps\Test\Reponse.pl line 66&lt;br /&gt;
&lt;p /&gt;
Thanks for help.</description>
      <pubDate>Thu, 17 Apr 2008 14:37:28 GMT</pubDate>
      <author>Matmaht</author>
      <guid>http://communities.vmware.com/thread/139946</guid>
      <dc:date>2008-04-17T14:37:28Z</dc:date>
      <clearspace:dateToText>4 weeks, 1 day ago</clearspace:dateToText>
      <clearspace:messageCount>2</clearspace:messageCount>
      <clearspace:replyCount>1</clearspace:replyCount>
    </item>
    <item>
      <title>Console of vSphere Client in C#</title>
      <link>http://communities.vmware.com/thread/237115</link>
      <description>Hello all,&lt;br /&gt;
&lt;br /&gt;
First of all, I apologize if this is the wrong forum, but it looked as the best out there to ask this question.&lt;br /&gt;
&lt;p /&gt;
&lt;br /&gt;
I tried to find a solution to my "problem" for quite a while now, but no luck.&lt;br /&gt;
&lt;p /&gt;
&lt;br /&gt;
So here it is....&lt;br /&gt;
&lt;p /&gt;
&lt;br /&gt;
I'm writing a custom C# windows forms application and I was wondering if it is possible to somehow open the vSphere Client's Console programmatically from within C# .&lt;br /&gt;
&lt;p /&gt;
&lt;br /&gt;
I'm using ESXi 4.&lt;br /&gt;
&lt;p /&gt;
&lt;br /&gt;
This application is just for an internal use in the company I work for, so just to clarify, I'm not trying to develop some commercial software.&lt;br /&gt;
&lt;p /&gt;
&lt;br /&gt;
In previous version of this app I used to open the entire client, but people who use it don't like to click all over the place to get to the console, hence my question.&lt;br /&gt;
&lt;p /&gt;
&lt;br /&gt;
I have looked into few APIs, but I either don't know which one to use or I couldn't find proper methods.&lt;br /&gt;
&lt;p /&gt;
&lt;p /&gt;
&lt;p /&gt;
&lt;p /&gt;
&lt;p /&gt;
&lt;br /&gt;
Any help is greatly appreciated.&lt;br /&gt;
&lt;p /&gt;
&lt;br /&gt;
Chris</description>
      <category domain="http://communities.vmware.com/tags?communityID=2416">vsphere</category>
      <category domain="http://communities.vmware.com/tags?communityID=2416">vic</category>
      <category domain="http://communities.vmware.com/tags?communityID=2416">c#</category>
      <pubDate>Fri, 16 Oct 2009 12:35:07 GMT</pubDate>
      <author>k.malek</author>
      <guid>http://communities.vmware.com/thread/237115</guid>
      <dc:date>2009-10-16T12:35:07Z</dc:date>
      <clearspace:dateToText>4 weeks, 1 day ago</clearspace:dateToText>
      <clearspace:messageCount>7</clearspace:messageCount>
      <clearspace:replyCount>6</clearspace:replyCount>
    </item>
    <item>
      <title>Java SDK samples will not build</title>
      <link>http://communities.vmware.com/thread/237980</link>
      <description>&lt;br /&gt;
Can anybody help? &lt;br /&gt;
&lt;p /&gt;
I have set  AXISHOME=c:\axis\axis-1_4, JAVAHOME=c:\Sun\SDK\jdk\bin, and WBEMHOME=c:\vsphere\SDK\samples\Axis\java as per readme_java.html. Then I try to build the samples using "build" (I have also tried "build -w"). This just generates hundreds of "cannot find symbol" errors for example:&lt;br /&gt;
&lt;p /&gt;
C:\vsphere\SDK\samples\Axis\java\com\vmware\apputils\vim\ServiceUtil.java:308: c&lt;br /&gt;
annot find symbol&lt;br /&gt;
symbol  : class ObjectContent&lt;br /&gt;
location: class com.vmware.apputils.vim.ServiceUtil&lt;br /&gt;
      ObjectContent[] ocary =&lt;br /&gt;
      ^&lt;br /&gt;
C:\vsphere\SDK\samples\Axis\java\com\vmware\apputils\vim\ServiceUtil.java:331: c&lt;br /&gt;
annot find symbol&lt;br /&gt;
symbol  : class ManagedObjectReference&lt;br /&gt;
location: class com.vmware.apputils.vim.ServiceUtil&lt;br /&gt;
      ManagedObjectReference usecoll = collector;&lt;br /&gt;
      ^&lt;br /&gt;
C:\vsphere\SDK\samples\Axis\java\com\vmware\apputils\vim\ServiceUtil.java:335: c&lt;br /&gt;
annot find symbol&lt;br /&gt;
symbol  : class ManagedObjectReference&lt;br /&gt;
location: class com.vmware.apputils.vim.ServiceUtil&lt;br /&gt;
      ManagedObjectReference useroot = root;&lt;br /&gt;
      ^&lt;br /&gt;
C:\vsphere\SDK\samples\Axis\java\com\vmware\apputils\vim\ServiceUtil.java:339: c&lt;br /&gt;
annot find symbol&lt;br /&gt;
symbol  : class SelectionSpec&lt;br /&gt;
location: class com.vmware.apputils.vim.ServiceUtil&lt;br /&gt;
      SelectionSpec[] selectionSpecs = null;&lt;br /&gt;
      ^&lt;br /&gt;
C:\vsphere\SDK\samples\Axis\java\com\vmware\apputils\vim\ServiceUtil.java:343: c&lt;br /&gt;
annot find symbol&lt;br /&gt;
symbol  : class PropertySpec&lt;br /&gt;
location: class com.vmware.apputils.vim.ServiceUtil&lt;br /&gt;
      PropertySpec[] propspecary = buildPropertySpecArray(typeinfo);&lt;br /&gt;
      ^&lt;br /&gt;
C:\vsphere\SDK\samples\Axis\java\com\vmware\apputils\vim\ServiceUtil.java:344: c&lt;br /&gt;
annot find symbol&lt;br /&gt;
symbol  : class PropertyFilterSpec&lt;br /&gt;
location: class com.vmware.apputils.vim.ServiceUtil&lt;br /&gt;
      PropertyFilterSpec spec =&lt;br /&gt;
      ^&lt;br /&gt;
C:\vsphere\SDK\samples\Axis\java\com\vmware\apputils\vim\ServiceUtil.java:345: c&lt;br /&gt;
annot find symbol&lt;br /&gt;
&lt;p /&gt;
&lt;p /&gt;
&lt;p /&gt;
&lt;br /&gt;</description>
      <category domain="http://communities.vmware.com/tags?communityID=2416">api</category>
      <category domain="http://communities.vmware.com/tags?communityID=2416">vsphere</category>
      <category domain="http://communities.vmware.com/tags?communityID=2416">webservices</category>
      <pubDate>Wed, 21 Oct 2009 20:01:18 GMT</pubDate>
      <author>tgiglia</author>
      <guid>http://communities.vmware.com/thread/237980</guid>
      <dc:date>2009-10-21T20:01:18Z</dc:date>
      <clearspace:dateToText>4 weeks, 1 day ago</clearspace:dateToText>
      <clearspace:messageCount>4</clearspace:messageCount>
      <clearspace:replyCount>3</clearspace:replyCount>
    </item>
    <item>
      <title>vmregister.pl doesn't work</title>
      <link>http://communities.vmware.com/thread/188857</link>
      <description>&lt;br /&gt;
Hi All,&lt;br /&gt;
&lt;p /&gt;
 I have just started exploring the VMware Perl toolkit and I find  some intersting sample scripts in it. I am using vmregister.pl script to register a VM in one of my test ESX servers. But I get the following error&lt;br /&gt;
&lt;p /&gt;
&lt;span style="color:#0000ff"&gt;C:\Program Files\VMware\VMware VI Perl Toolkit\Perl\samples\vm&amp;gt;perl vmregister.pl --url &lt;/span&gt;&lt;a class="jive-link-external" href="https://10.75.121.133/sdk/webService"&gt; https://10.75.121.133/sdk/webService&lt;/a&gt;&lt;span style="color:#0000ff"&gt; --host "ps6484" --pool Flowers --vmxpath "&lt;a class="jive-link-adddocument" href="http://communities.vmware.com/community-document-picker.jspa?communityID=&amp;subject=Local+Datastore"&gt;Local Datastore&lt;/a&gt;Windows XP Professional" --folder "Lotus" --username root --password xxxxxxxxx&lt;br /&gt;
Could not find virtual machine folder&lt;/span&gt;&lt;br /&gt;
&lt;p /&gt;
&lt;span style="color:#0000ff"&gt;End Disconnect&lt;/span&gt;&lt;br /&gt;
&lt;p /&gt;
&lt;span style="color:#0000ff"&gt;C:\Program Files\VMware\VMware VI Perl Toolkit\Perl\samples\vm&amp;gt;&lt;/span&gt;&lt;br /&gt;
&lt;p /&gt;
If I don't give the --folder option I get a syntax error:&lt;br /&gt;
&lt;p /&gt;
&lt;span style="color:#0000ff"&gt;C:\Program Files\VMware\VMware VI Perl Toolkit\Perl\samples\vm&amp;gt;perl vmregister.pl --url &lt;/span&gt;&lt;a class="jive-link-external" href="https://10.75.121.133/sdk/webService"&gt; https://10.75.121.133/sdk/webService&lt;/a&gt;&lt;span style="color:#0000ff"&gt; --host "ps6484" --pool Flowers --vmxpath "&lt;a class="jive-link-adddocument" href="http://communities.vmware.com/community-document-picker.jspa?communityID=&amp;subject=Local+Datastore"&gt;Local Datastore&lt;/a&gt;Windows X&lt;/span&gt;&lt;span style="color:#0000ff"&gt;P &lt;/span&gt;&lt;span style="color:#0000ff"&gt;Professional" --username root --password xxxxxxx&lt;br /&gt;
Filtering is only supported for Simple Types at vmregister.pl line 71&lt;/span&gt;&lt;br /&gt;
&lt;p /&gt;
&lt;span style="color:#0000ff"&gt;End Disconnect&lt;/span&gt;&lt;br /&gt;
&lt;p /&gt;
&lt;span style="color:#0000ff"&gt;C:\Program Files\VMware\VMware VI Perl Toolkit\Perl\samples\vm&amp;gt;&lt;/span&gt;&lt;br /&gt;
&lt;p /&gt;
Am I missing anything? Is the 'Folder' option essential? I can't find a good documentation for vmregister.pl. The available documentation seems to be insufficient.&lt;br /&gt;
&lt;p /&gt;
&lt;ul class="jive-dash"&gt;
&lt;li&gt;Nik&lt;/li&gt;
&lt;/ul&gt;</description>
      <pubDate>Wed, 14 Jan 2009 05:39:59 GMT</pubDate>
      <author>writetonikhil</author>
      <guid>http://communities.vmware.com/thread/188857</guid>
      <dc:date>2009-01-14T05:39:59Z</dc:date>
      <clearspace:dateToText>1 month, 12 hours ago</clearspace:dateToText>
      <clearspace:messageCount>9</clearspace:messageCount>
      <clearspace:replyCount>8</clearspace:replyCount>
    </item>
    <item>
      <title>how to know if session cookie expired for retrieveProperties()</title>
      <link>http://communities.vmware.com/thread/238120</link>
      <description>&lt;br /&gt;
retrieveProperties() seems to return null if nothing matches or if the session cookie you send has expired. Other calls such as findByInventoryPath() return a SOAP fault if the session has expired.&lt;br /&gt;
&lt;p /&gt;
How do I tell if the cookie is bad or the property filter spec returned no matches? I'm using this for getting tasks which often there are none of. I'd prefer not to do another call each time to check the session if there is another way.</description>
      <category domain="http://communities.vmware.com/tags?communityID=2416">session</category>
      <category domain="http://communities.vmware.com/tags?communityID=2416">cookie</category>
      <category domain="http://communities.vmware.com/tags?communityID=2416">retrieveproperties</category>
      <pubDate>Thu, 22 Oct 2009 13:55:57 GMT</pubDate>
      <author>mm6</author>
      <guid>http://communities.vmware.com/thread/238120</guid>
      <dc:date>2009-10-22T13:55:57Z</dc:date>
      <clearspace:dateToText>1 month, 16 hours ago</clearspace:dateToText>
      <clearspace:messageCount>1</clearspace:messageCount>
    </item>
    <item>
      <title>VA deployment degradation on vSphere4</title>
      <link>http://communities.vmware.com/thread/238054</link>
      <description>&lt;br /&gt;
Hello,&lt;br /&gt;
&lt;p /&gt;
We have high performance degradation when our Appliance is deployed to ESX server via Virtual Center. When the appliance is deployed to ESX directly we don&amp;rsquo;t have such problem.&lt;br /&gt;
We are using the following script:&lt;br /&gt;
&lt;p /&gt;
&lt;i&gt;curl -u username:NfelMC2Ub -k -T upload &lt;a class="jive-link-external" href="https://10.250.148.27/folder/LR1_11133_ESXAppliance/upload.dat?dcPath=Center&amp;#38;dsName=Storage1"&gt;https://10.250.148.27/folder/LR1_11133_ESXAppliance/upload.dat?dcPath=Center&amp;#38;dsName=Storage1&lt;/a&gt;&lt;/i&gt;&lt;br /&gt;
&lt;p /&gt;
where 10.250.148.27 is the address of Virtual Center. If we specify the address of ESX instead of Virtual Center, everything works fast. &lt;br /&gt;
BTW such problem appeared on vSphere 4, on previous versions everything was fine.&lt;br /&gt;
Could you please answer:&lt;br /&gt;
&lt;br /&gt;
&lt;ul&gt;
&lt;li&gt;What could be the reason of this degradation?&lt;/li&gt;
&lt;li&gt;How can we tune up the speed of deployment via Virtual Center?&lt;/li&gt;
&lt;li&gt;If we have correct credentials on Virtual Center, is it possible to deploy directly to the ESX registered on it?&lt;/li&gt;
&lt;/ul&gt;
&lt;br /&gt;
Thank you</description>
      <pubDate>Thu, 22 Oct 2009 11:03:10 GMT</pubDate>
      <author>Lexus16</author>
      <guid>http://communities.vmware.com/thread/238054</guid>
      <dc:date>2009-10-22T11:03:10Z</dc:date>
      <clearspace:dateToText>1 month, 19 hours ago</clearspace:dateToText>
      <clearspace:messageCount>1</clearspace:messageCount>
    </item>
    <item>
      <title>VI SDK 2.5 Events and Tasks</title>
      <link>http://communities.vmware.com/thread/238033</link>
      <description>I am looking for new Tasks and Events that are available in vSphere 4.0 and ESX 4.0 and were not available in earlier version of ESX and vCenter/VirtualCenter. I am using VI SDK to fetch the events and tasks from Virtual Center/ESX.&lt;br /&gt;
&lt;br /&gt;
Is there a list of tasks and events for each version of ESX and Virtual Center. Alternatively is there a way to get this information from VI SDK API?&lt;br /&gt;
&lt;br /&gt;
Appreciate and details or pointers on this.&lt;br /&gt;
&lt;br /&gt;
Thanks&lt;br /&gt;
Satish</description>
      <category domain="http://communities.vmware.com/tags?communityID=2416">vi</category>
      <category domain="http://communities.vmware.com/tags?communityID=2416">sdk2.5</category>
      <category domain="http://communities.vmware.com/tags?communityID=2416">esx</category>
      <category domain="http://communities.vmware.com/tags?communityID=2416">events</category>
      <category domain="http://communities.vmware.com/tags?communityID=2416">tasks</category>
      <category domain="http://communities.vmware.com/tags?communityID=2416">vsphere</category>
      <pubDate>Thu, 22 Oct 2009 04:03:06 GMT</pubDate>
      <author>svohra</author>
      <guid>http://communities.vmware.com/thread/238033</guid>
      <dc:date>2009-10-22T04:03:06Z</dc:date>
      <clearspace:dateToText>1 month, 1 day ago</clearspace:dateToText>
      <clearspace:messageCount>4</clearspace:messageCount>
      <clearspace:replyCount>3</clearspace:replyCount>
    </item>
    <item>
      <title>create linked-clones (delta-disks) via vmware API's?</title>
      <link>http://communities.vmware.com/thread/132621</link>
      <description>Is it possible to create linked-clones (delta-disks) via vmware API's (either via Virtual Center or ESX?) Any insight or assistance would be greatly appreciated.</description>
      <pubDate>Fri, 14 Mar 2008 17:03:59 GMT</pubDate>
      <author>cbyvmwr</author>
      <guid>http://communities.vmware.com/thread/132621</guid>
      <dc:date>2008-03-14T17:03:59Z</dc:date>
      <clearspace:dateToText>1 month, 1 day ago</clearspace:dateToText>
      <clearspace:messageCount>10</clearspace:messageCount>
      <clearspace:replyCount>9</clearspace:replyCount>
    </item>
    <item>
      <title>List current tasks and its progress (percent) for a selected VM</title>
      <link>http://communities.vmware.com/thread/120148</link>
      <description>&lt;br /&gt;
I'm looking for a way to list current tasks and its progress (percent) for a selected VM (with Perl). I can't find an example script for this. Maybe some of you can point me in the right direction..?  Examples?</description>
      <category domain="http://communities.vmware.com/tags?communityID=2416">perl</category>
      <category domain="http://communities.vmware.com/tags?communityID=2416">vm</category>
      <category domain="http://communities.vmware.com/tags?communityID=2416">task</category>
      <pubDate>Mon, 07 Jan 2008 16:57:35 GMT</pubDate>
      <author>asp24</author>
      <guid>http://communities.vmware.com/thread/120148</guid>
      <dc:date>2008-01-07T16:57:35Z</dc:date>
      <clearspace:dateToText>1 month, 1 day ago</clearspace:dateToText>
      <clearspace:messageCount>6</clearspace:messageCount>
      <clearspace:replyCount>5</clearspace:replyCount>
    </item>
    <item>
      <title>c# code needed to list plugins in extension manager!</title>
      <link>http://communities.vmware.com/thread/234520</link>
      <description>Can anyone help me I need code to list the plugins listed in the extension manager. I know how register plugins but I now need code to list them and unregister.&lt;br /&gt;
&lt;p /&gt;
&lt;br /&gt;
Ricky El-Qasem&lt;br /&gt;
&lt;br /&gt;
VCI/VCP - MCSE - RHCT</description>
      <pubDate>Thu, 01 Oct 2009 09:44:16 GMT</pubDate>
      <author>rickyelqasem</author>
      <guid>http://communities.vmware.com/thread/234520</guid>
      <dc:date>2009-10-01T09:44:16Z</dc:date>
      <clearspace:dateToText>1 month, 1 day ago</clearspace:dateToText>
      <clearspace:messageCount>3</clearspace:messageCount>
      <clearspace:replyCount>2</clearspace:replyCount>
    </item>
    <item>
      <title>"certificate is required" or terrible exception</title>
      <link>http://communities.vmware.com/thread/236510</link>
      <description>&lt;br /&gt;
Hello everybody!&lt;br /&gt;
&lt;p /&gt;
 Sorry for my english. &lt;img class="jive-emoticon" border="0" src="http://communities.vmware.com/images/emoticons/wink.gif" alt=";)" /&gt; I get stuck with error while running .NET sample "CIMInfo" - "A certificate is required to complete client authentication" at this line code:&lt;br /&gt;
&lt;p /&gt;
"IWSManEnumerator enumeratorFans = (IWSManEnumerator)&lt;br /&gt;
                                           session.Enumerate(urlString,&lt;br /&gt;
                                           null, null, wsman.SessionFlagUseBasic() &amp;#38;&lt;br /&gt;
                                wsman.SessionFlagCredUsernamePassword() &amp;#38; wsman.SessionFlagSkipCACheck() &amp;#38; wsman.SessionFlagSkipCNCheck());" &lt;br /&gt;
&lt;p /&gt;
&lt;p /&gt;
&lt;p /&gt;
How to install this certificate? I try to install via IE over &lt;a class="jive-link-external" href="https://my-esx,"&gt;https://my-esx,&lt;/a&gt; but it doesn't installing at "Trusted Root certification Authorities". Any tricks?&lt;br /&gt;
&lt;p /&gt;
&lt;p /&gt;
&lt;p /&gt;
Thanks in advance. &lt;br /&gt;
&lt;p /&gt;
&lt;br /&gt;</description>
      <pubDate>Tue, 13 Oct 2009 13:37:57 GMT</pubDate>
      <author>DannyUtro</author>
      <guid>http://communities.vmware.com/thread/236510</guid>
      <dc:date>2009-10-13T13:37:57Z</dc:date>
      <clearspace:dateToText>1 month, 1 day ago</clearspace:dateToText>
      <clearspace:messageCount>4</clearspace:messageCount>
      <clearspace:replyCount>3</clearspace:replyCount>
    </item>
    <item>
      <title>LVM.EnableResignature for ESX 4.0</title>
      <link>http://communities.vmware.com/thread/237201</link>
      <description>&lt;br /&gt;
Hello, &lt;br /&gt;
&lt;p /&gt;
For ESX 4.0 I am not able to see this option lvm.enableresignature.&lt;br /&gt;
&lt;p /&gt;
I want to make my snap visible to ESX server (4.0) through API.&lt;br /&gt;
&lt;p /&gt;
fOR older version it works fine.&lt;br /&gt;
&lt;p /&gt;
Any help?&lt;br /&gt;
&lt;p /&gt;
-AsHwIN</description>
      <pubDate>Fri, 16 Oct 2009 18:29:00 GMT</pubDate>
      <author>Ashwin89</author>
      <guid>http://communities.vmware.com/thread/237201</guid>
      <dc:date>2009-10-16T18:29:00Z</dc:date>
      <clearspace:dateToText>1 month, 2 days ago</clearspace:dateToText>
      <clearspace:messageCount>6</clearspace:messageCount>
      <clearspace:replyCount>5</clearspace:replyCount>
    </item>
    <item>
      <title>ExtendVirtualDisk returns with FileFault</title>
      <link>http://communities.vmware.com/thread/234757</link>
      <description>Hello,&lt;br /&gt;
&lt;br /&gt;
I'm trying to expand a virtual disk after connecting to a ESX host. But the function ExtendVirtualDisk returns with &lt;br /&gt;
&lt;div class="jive-quote"&gt;
SOAP Fault:&lt;br /&gt;
&lt;hr /&gt;
Fault string: General fault caused by file. &lt;br /&gt;
One of the parameters supplied is invalid&lt;br /&gt;
Fault detail: FileFault&lt;br /&gt;
End Disconnect&lt;br /&gt;
&lt;/div&gt;
&lt;br /&gt;
Using the function QueryVirtualDiskUuid return the right uuid of the virtual machine. So I think $datastore_path and $datastore are correct. $size is user input and also correct if I print the value of the variable.&lt;br /&gt;
&lt;br /&gt;
Here is some of the code:&lt;br /&gt;
&lt;pre class="jive-pre"&gt;&lt;code class="jive-code jive-plain"&gt;# get the virtual machine
my $vm_views = Vim::find_entity_views( view_type =&amp;gt; 'VirtualMachine', filter =&amp;gt; { 'config.name' =&amp;gt; $vm_name } );
my $vm_view = shift( @$vm_views );

# get datastore details
my $datastore_path = $vm_view-&amp;gt;{ layout }-&amp;gt;{ disk }[0]-&amp;gt;{ diskFile }[0];
my $vm_datastore = $vm_view-&amp;gt;{ datastore }[0];

# get datacenter
my $datacenters = Vim::find_entity_views( view_type =&amp;gt; 'Datacenter' );
my $datacenter = undef;
my $tmp_datacenter = undef;
foreach $tmp_datacenter ( @$datacenters ) { 
    my $datastores = $tmp_datacenter-&amp;gt;{ datastore };
    my $tmp_datastore = undef;
    foreach $tmp_datastore ( @$datastores ) { 
        if ( $vm_datastore-&amp;gt;{ value } eq $tmp_datastore-&amp;gt;{ value } ) { 
            $datacenter = $tmp_datacenter;
        }
    }
}


my $vd_mgr = VIExt::get_virtual_disk_manager(); 

# this correctly returns the uuid
my $disk_uuid = $vd_mgr-&amp;gt;QueryVirtualDiskUuid( name =&amp;gt; $datastore_path, datacenter =&amp;gt; $datacenter );
print( 'disk uuid: ' . Dumper( $disk_uuid ) ); 

# this returns with an error
my $task = $vd_mgr-&amp;gt;ExtendVirtualDisk( name =&amp;gt; $datastore_path, datacenter =&amp;gt;  $datacenter,  newCapacityKb =&amp;gt; $size );
print( 'task: ' . Dumper( $task ) );
&lt;/code&gt;&lt;/pre&gt;&lt;br /&gt;
&lt;br /&gt;
Thanks for help in advance.&lt;br /&gt;
&lt;br /&gt;
By Tobias</description>
      <category domain="http://communities.vmware.com/tags?communityID=2416">extend_virtual_disk</category>
      <category domain="http://communities.vmware.com/tags?communityID=2416">datastore</category>
      <category domain="http://communities.vmware.com/tags?communityID=2416">datacenter</category>
      <category domain="http://communities.vmware.com/tags?communityID=2416">perl</category>
      <pubDate>Fri, 02 Oct 2009 10:49:42 GMT</pubDate>
      <author>tobiasvdk</author>
      <guid>http://communities.vmware.com/thread/234757</guid>
      <dc:date>2009-10-02T10:49:42Z</dc:date>
      <clearspace:dateToText>1 month, 2 days ago</clearspace:dateToText>
      <clearspace:messageCount>5</clearspace:messageCount>
      <clearspace:replyCount>4</clearspace:replyCount>
    </item>
    <item>
      <title>SSL Certificate</title>
      <link>http://communities.vmware.com/thread/235667</link>
      <description>&lt;br /&gt;
Hi All,&lt;br /&gt;
&lt;p /&gt;
Was wondering if someone could help me.&lt;br /&gt;
&lt;p /&gt;
I have an ESX4 server running and was trying to updated the SSL Certificates on it.&lt;br /&gt;
&lt;p /&gt;
 Here's what I've already done:&lt;br /&gt;
&lt;p /&gt;
Received back my cert from the CA and replaced /etc/vmware/ssl/rui.crt with the new one. &lt;br /&gt;
&lt;p /&gt;
At this point I thought the chain bundle cert would go in the same directory (/etc/vmware/ssl/) but when I did that it didn't work.&lt;br /&gt;
&lt;p /&gt;
I've read through this doc (&lt;a class="jive-link-external" href="http://www.vmware.com/pdf/vi_vcserver_certificates.pdf"&gt;http://www.vmware.com/pdf/vi_vcserver_certificates.pdf&lt;/a&gt;) but it doesn't seem to address this directly.  The bottom of page 4 talks a bit about this but doesn't name any directories or file names for which I would think we would need to know in order to replace the old with the new.&lt;br /&gt;
&lt;p /&gt;
The other portion of this which has been frustrating is not knowing what type of webserver is turned on by default.  (netstat -anp doesn't display the program which is listening on port 80 and wireshark reports back the server type as "Golfe")&lt;br /&gt;
&lt;p /&gt;
If anyone could focus my attention in the right direction I'd sure appreciate it.&lt;br /&gt;
&lt;p /&gt;
Blessings,&lt;br /&gt;
&lt;p /&gt;
Jason</description>
      <category domain="http://communities.vmware.com/tags?communityID=2416">ssl</category>
      <category domain="http://communities.vmware.com/tags?communityID=2416">certificate</category>
      <category domain="http://communities.vmware.com/tags?communityID=2416">esx4</category>
      <category domain="http://communities.vmware.com/tags?communityID=2416">golfe</category>
      <pubDate>Wed, 07 Oct 2009 23:58:33 GMT</pubDate>
      <author>palletjackracer</author>
      <guid>http://communities.vmware.com/thread/235667</guid>
      <dc:date>2009-10-07T23:58:33Z</dc:date>
      <clearspace:dateToText>1 month, 2 days ago</clearspace:dateToText>
      <clearspace:messageCount>2</clearspace:messageCount>
      <clearspace:replyCount>1</clearspace:replyCount>
    </item>
    <item>
      <title>Error with disk when creating a VM</title>
      <link>http://communities.vmware.com/thread/237509</link>
      <description>&lt;br /&gt;
I'm programmatically creating a new VM. When I do, I get this error:&lt;br /&gt;
&lt;p /&gt;
VMware ESX cannot open the virtual disk,  "/vmfs/volumes/4a721a68-0d1c4a-&lt;br /&gt;
bf-cea3-001ec9b7d003/78698-160/78698-160.vmdk" for clustering.&lt;br /&gt;
Please verify that the virtual disk was created using the &lt;br /&gt;
'thick' option. &lt;br /&gt;
&lt;p /&gt;
Cannot open the disk '/vmfs/volumes/4a721a68-0d1c4-&lt;br /&gt;
4abf-cea3-001ec9b7d003/78698-160/78698-160.vmdk' or one of &lt;br /&gt;
the snapshot disks it depends on. Reason: Thin/TBZ disks &lt;br /&gt;
cannot be opened in multiwriter mode..&lt;br /&gt;
&lt;p /&gt;
 In the code, I set it to not use thin provisioning and not to lazyzero, but I still get the error. I put the coede below. Any ideas why that error occurs?&lt;br /&gt;
&lt;p /&gt;
&lt;p /&gt;
&lt;p /&gt;
// Create a new disk - file based - for the vm&lt;br /&gt;
&lt;p /&gt;
String volumeName = "&lt;a class="jive-link-adddocument" href="http://communities.vmware.com/community-document-picker.jspa?communityID=&amp;subject=util01"&gt;util01&lt;/a&gt;";&lt;br /&gt;
&lt;p /&gt;
VirtualDeviceConfigSpec diskSpec = new VirtualDeviceConfigSpec();&lt;br /&gt;
&lt;p /&gt;
diskSpec.fileOperation = VirtualDeviceConfigSpecFileOperation.create;&lt;br /&gt;
&lt;p /&gt;
diskSpec.fileOperationSpecified = true;&lt;br /&gt;
&lt;p /&gt;
diskSpec.operation = VirtualDeviceConfigSpecOperation.add;&lt;br /&gt;
&lt;p /&gt;
diskSpec.operationSpecified = true;&lt;br /&gt;
&lt;p /&gt;
VirtualDisk disk = new VirtualDisk();&lt;br /&gt;
&lt;p /&gt;
VirtualDiskFlatVer2BackingInfo diskfileBacking = new VirtualDiskFlatVer2BackingInfo();&lt;br /&gt;
&lt;p /&gt;
diskfileBacking.fileName = volumeName;&lt;br /&gt;
&lt;p /&gt;
diskfileBacking.diskMode = "persistent";&lt;br /&gt;
&lt;p /&gt;
diskfileBacking.eagerlyScrub = true;&lt;br /&gt;
&lt;p /&gt;
diskfileBacking.thinProvisioned = false;&lt;br /&gt;
&lt;p /&gt;
diskfileBacking.thinProvisionedSpecified = true;&lt;br /&gt;
&lt;p /&gt;
disk.key = 0;&lt;br /&gt;
&lt;p /&gt;
disk.controllerKey = diskCtlrKey;&lt;br /&gt;
&lt;p /&gt;
disk.unitNumber = 0;&lt;br /&gt;
&lt;p /&gt;
disk.backing = diskfileBacking;&lt;br /&gt;
&lt;p /&gt;
disk.capacityInKB = 8092;&lt;br /&gt;
&lt;p /&gt;
disk.controllerKeySpecified = true;&lt;br /&gt;
&lt;p /&gt;
disk.unitNumberSpecified = true;&lt;br /&gt;
&lt;p /&gt;
diskSpec.device = disk;</description>
      <pubDate>Mon, 19 Oct 2009 16:22:34 GMT</pubDate>
      <author>daniellynn</author>
      <guid>http://communities.vmware.com/thread/237509</guid>
      <dc:date>2009-10-19T16:22:34Z</dc:date>
      <clearspace:dateToText>1 month, 3 days ago</clearspace:dateToText>
      <clearspace:messageCount>3</clearspace:messageCount>
      <clearspace:replyCount>2</clearspace:replyCount>
    </item>
    <item>
      <title>Introducing the VI 2.5 Client Plugin - SVMotion</title>
      <link>http://communities.vmware.com/thread/126141</link>
      <description>SVMotion is a VI 2.5 client plugin (the &lt;b&gt;FIRST&lt;/b&gt; released, third-party plugin in fact) that extends the client's functionality by providing an integrated, graphical tool that can be used to invoke storage VMotion (SVMotion) operations. This plugin is not supported by VMware. In fact, the plugin is not anywhere close to supported by VMware because it is the result of a two-week dive into the inner-workings of the VI client libraries with popular reflection tools (reverse-engineering). l o s t c r e a t i o n s is working on a white paper that describes how to build VI plugins.&lt;br /&gt;
&lt;br /&gt;
Read more about SVMotion and download it here &lt;a class="jive-link-external" href="http://www.lostcreations.com/code/wiki/vmware/viplugins/svmotion"&gt;http://www.lostcreations.com/code/wiki/vmware/viplugins/svmotion&lt;/a&gt;.&lt;br /&gt;
&lt;br /&gt;
 &lt;img src="http://communities.vmware.com/servlet/JiveServlet/downloadImage/2-862407-1890/01-plugin_manager-unchecked.png" alt="01-plugin_manager-unchecked.png" width="450" class="jive-image-thumbnail jive-image" onclick="myJiveImage.start(this, 'http://communities.vmware.com/servlet/JiveServlet/downloadImage/2-862407-1890/01-plugin_manager-unchecked.png');return false;"/&gt;&lt;br /&gt;
&lt;br /&gt;
 &lt;img src="http://communities.vmware.com/servlet/JiveServlet/downloadImage/2-862407-1891/03-migrate_storage_menu_item.png" alt="03-migrate_storage_menu_item.png" width="450" class="jive-image-thumbnail jive-image" onclick="myJiveImage.start(this, 'http://communities.vmware.com/servlet/JiveServlet/downloadImage/2-862407-1891/03-migrate_storage_menu_item.png');return false;"/&gt; &lt;br /&gt;
&lt;br /&gt;
 &lt;img src="http://communities.vmware.com/servlet/JiveServlet/downloadImage/2-862407-1892/04-analysing_environment.png" alt="04-analysing_environment.png" width="450" class="jive-image-thumbnail jive-image" onclick="myJiveImage.start(this, 'http://communities.vmware.com/servlet/JiveServlet/downloadImage/2-862407-1892/04-analysing_environment.png');return false;"/&gt; &lt;br /&gt;
&lt;br /&gt;
 &lt;img src="http://communities.vmware.com/servlet/JiveServlet/downloadImage/2-862407-1893/05-migrate_storage_selections.png" alt="05-migrate_storage_selections.png" width="450" class="jive-image-thumbnail jive-image" onclick="myJiveImage.start(this, 'http://communities.vmware.com/servlet/JiveServlet/downloadImage/2-862407-1893/05-migrate_storage_selections.png');return false;"/&gt;</description>
      <pubDate>Wed, 13 Feb 2008 08:51:13 GMT</pubDate>
      <author>akutz</author>
      <guid>http://communities.vmware.com/thread/126141</guid>
      <dc:date>2008-02-13T08:51:13Z</dc:date>
      <clearspace:dateToText>1 month, 3 days ago</clearspace:dateToText>
      <clearspace:messageCount>178</clearspace:messageCount>
      <clearspace:replyCount>177</clearspace:replyCount>
    </item>
    <item>
      <title>Example on usage of TaskHistoryCollector using ZSI and Python</title>
      <link>http://communities.vmware.com/thread/237221</link>
      <description>&lt;br /&gt;
Hi,&lt;br /&gt;
&lt;p /&gt;
 I am trying to use pyton with ZSI to retreive task using taskhistorycollector. Can some one post if you have any example using Python and ZSI with filter.&lt;br /&gt;
&lt;p /&gt;
Appreciate your help.&lt;br /&gt;
&lt;p /&gt;
&lt;p /&gt;
&lt;p /&gt;
Thanks,&lt;br /&gt;
&lt;p /&gt;
Ravi Kumar P.</description>
      <category domain="http://communities.vmware.com/tags?communityID=2416">zsi</category>
      <category domain="http://communities.vmware.com/tags?communityID=2416">python</category>
      <pubDate>Fri, 16 Oct 2009 17:45:17 GMT</pubDate>
      <author>rpapiset</author>
      <guid>http://communities.vmware.com/thread/237221</guid>
      <dc:date>2009-10-16T17:45:17Z</dc:date>
      <clearspace:dateToText>1 month, 6 days ago</clearspace:dateToText>
      <clearspace:messageCount>1</clearspace:messageCount>
    </item>
    <item>
      <title>VMware Coffee Talk - October 7th Wed 9:00 AM PST - vSphere APIs for Performance Monitoring</title>
      <link>http://communities.vmware.com/thread/233040</link>
      <description>Session Title: vSphere APIs for Perfomance Monitoring&lt;br /&gt;
Session Abstract:&lt;br /&gt;
Understand the features available to developers via vSphere Web Services APIs to &lt;br /&gt;
collect performance statistics and discuss best practices in collecting performance &lt;br /&gt;
data when using these APIs. This presentation is a must-attend for any developer &lt;br /&gt;
that retrieves performance information from the vSphere platform in any large environment. &lt;br /&gt;
While the content is advanced, developers new to the platform will find it useful.&lt;br /&gt;
&lt;b&gt;Web Ex&lt;/b&gt; &lt;a class="jive-link-external" href="https://vmware.webex.com/vmware/lsr.php?AT=pb&amp;#38;SP=MC&amp;#38;rID=35901597&amp;#38;rKey=822ee8e69fddbcc7"&gt;Link&lt;/a&gt; &lt;br /&gt;
&lt;b&gt;MP3&lt;/b&gt; &lt;a class="jive-link-external" href="http://blogs.vmware.com/files/vsphere-perf-apis.mp3"&gt;Link&lt;/a&gt;&lt;br /&gt;
Level: Advanced&lt;br /&gt;
Speakers: &lt;br /&gt;
Ravi Soundararajan &lt;br /&gt;
Staff Engineer Performance Team &lt;br /&gt;
Balaji Parimi&lt;br /&gt;
Ecosytem Engineering&lt;br /&gt;
Message was edited by: heyitspablo - Added Web Ex Link</description>
      <category domain="http://communities.vmware.com/tags?communityID=2416">performance</category>
      <category domain="http://communities.vmware.com/tags?communityID=2416">esx</category>
      <category domain="http://communities.vmware.com/tags?communityID=2416">api</category>
      <category domain="http://communities.vmware.com/tags?communityID=2416">monitor_esx</category>
      <category domain="http://communities.vmware.com/tags?communityID=2416">coffee_talk</category>
      <pubDate>Tue, 22 Sep 2009 21:49:32 GMT</pubDate>
      <author>heyitspablo</author>
      <guid>http://communities.vmware.com/thread/233040</guid>
      <dc:date>2009-09-22T21:49:32Z</dc:date>
      <clearspace:dateToText>1 month, 6 days ago</clearspace:dateToText>
      <clearspace:messageCount>1</clearspace:messageCount>
    </item>
    <item>
      <title>Deployment of Virtual Machines over SDK 2.5 doesn't work after upgrade to ESX 4</title>
      <link>http://communities.vmware.com/thread/236681</link>
      <description>Hi,&lt;br /&gt;
&lt;br /&gt;
I have developed a small framework based on the C# SDK 2.5 that deploys (creates) virtual machines with appropriate settings. All worked fine, even after update of vCenter from 2.5 to 4.0. &lt;br /&gt;
&lt;br /&gt;
Then I updated the first ESX servers and got sometimes an error message "illegal configuration for device '7'". I did not take it serious, because in the second attempt it always worked. But after I updated the whole farm, I get the error message every time the  framework attempts to deploy a VM.&lt;br /&gt;
&lt;p /&gt;
&lt;p /&gt;
&lt;p /&gt;
&lt;br /&gt;
The only change made was the update from ESX 3.5 to 4.0.&lt;br /&gt;
&lt;p /&gt;
&lt;p /&gt;
&lt;p /&gt;
&lt;br /&gt;
Device '7' is the hard disk, and when I change the code to leave out the hard disk, the deployments work as expected. The only thing I have to do is to add the hard disk manually after deployment.&lt;br /&gt;
&lt;p /&gt;
&lt;p /&gt;
&lt;p /&gt;
&lt;br /&gt;
What I'd like to know is what VMware changed so that the deployment doesn't work any longer under ESX 4.0, and what I have to change so that it works again.&lt;br /&gt;
&lt;p /&gt;
&lt;p /&gt;
&lt;p /&gt;
&lt;br /&gt;
I tried to open a support call, but was sent here. So this is the only place to ask for me. I have added the code below. There is one thing in that the SDK required: leaving out the blank between the datastore alias closing bracket and the path.&lt;br /&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;br /&gt;
private VimApi.VirtualDeviceConfigSpec CreateDisk(string DatastoreName,&lt;br /&gt;
string MachineName, int GB_Capacity, int Controller, int Key, int UnitNumber)&lt;br /&gt;
{&lt;br /&gt;
VimApi.VirtualDeviceConfigSpec spec = new VimApi.VirtualDeviceConfigSpec();&lt;br /&gt;
VimApi.VirtualDisk dev = new VimApi.VirtualDisk();&lt;br /&gt;
VimApi.VirtualDiskFlatVer2BackingInfo bi = new VimApi.VirtualDiskFlatVer2BackingInfo();&lt;br /&gt;
bi.diskMode = "persistent";&lt;br /&gt;
bi.fileName = string.Format("[{0]{1}/{1}_{2}.vmdk", DatastoreName, MachineName, UnitNumber).Replace("_0.vmdk", ".vmdk");&lt;br /&gt;
bi.thinProvisioned = true;&lt;br /&gt;
bi.thinProvisionedSpecified = true;&lt;br /&gt;
bi.split = false;&lt;br /&gt;
bi.splitSpecified = true;&lt;br /&gt;
dev.backing = bi;&lt;br /&gt;
dev.capacityInKB = GB_Capacity * 1024 * 1024;&lt;br /&gt;
dev.key = Key;&lt;br /&gt;
dev.controllerKey = Controller;&lt;br /&gt;
dev.controllerKeySpecified = true;&lt;br /&gt;
dev.unitNumber = UnitNumber;&lt;br /&gt;
dev.unitNumberSpecified = true;&lt;br /&gt;
spec.device = dev;&lt;br /&gt;
spec.fileOperation = VimApi.VirtualDeviceConfigSpecFileOperation.create;&lt;br /&gt;
spec.fileOperationSpecified = true;&lt;br /&gt;
spec.operation = VimApi.VirtualDeviceConfigSpecOperation.add;&lt;br /&gt;
spec.operationSpecified = true;&lt;br /&gt;
return spec;&lt;br /&gt;
}</description>
      <category domain="http://communities.vmware.com/tags?communityID=2416">vmware</category>
      <category domain="http://communities.vmware.com/tags?communityID=2416">sdk</category>
      <category domain="http://communities.vmware.com/tags?communityID=2416">create</category>
      <category domain="http://communities.vmware.com/tags?communityID=2416">virtual_machine</category>
      <category domain="http://communities.vmware.com/tags?communityID=2416">deploy</category>
      <category domain="http://communities.vmware.com/tags?communityID=2416">hard</category>
      <category domain="http://communities.vmware.com/tags?communityID=2416">disk</category>
      <pubDate>Wed, 14 Oct 2009 08:48:25 GMT</pubDate>
      <author>michael.ronge</author>
      <guid>http://communities.vmware.com/thread/236681</guid>
      <dc:date>2009-10-14T08:48:25Z</dc:date>
      <clearspace:dateToText>1 month, 6 days ago</clearspace:dateToText>
      <clearspace:messageCount>7</clearspace:messageCount>
      <clearspace:replyCount>6</clearspace:replyCount>
    </item>
    <item>
      <title>Creating multiple clones at a time</title>
      <link>http://communities.vmware.com/thread/234523</link>
      <description>Hi,&lt;br /&gt;
&lt;br /&gt;
I want to prepare number of virtual machines (i.e. clones or images) from the golden image. &lt;br /&gt;
&lt;p /&gt;
&lt;br /&gt;
I'm developing my own UI from where I'll be selecting one of the existing golden images. I'll mention a number of clones which i need. When i click on the button, i'll be invoking appropriate vSphere web services API to create clones.&lt;br /&gt;
&lt;p /&gt;
&lt;br /&gt;
Can anyone tell me what I'm trying to achieve is feasible or not? Can we create multiple clones at a time ? And that too using web services?</description>
      <pubDate>Thu, 01 Oct 2009 12:13:33 GMT</pubDate>
      <author>ChaitanyaS</author>
      <guid>http://communities.vmware.com/thread/234523</guid>
      <dc:date>2009-10-01T12:13:33Z</dc:date>
      <clearspace:dateToText>1 month, 1 week ago</clearspace:dateToText>
      <clearspace:messageCount>7</clearspace:messageCount>
      <clearspace:replyCount>6</clearspace:replyCount>
    </item>
    <item>
      <title>CustomFieldsManager object not working</title>
      <link>http://communities.vmware.com/thread/135158</link>
      <description>&lt;br /&gt;
I have setup Custom Values for VM guests using the VC Client GUI.  I am using the VI Perl Toolkit to try to retrieve those values in code.  I have found code snippets that describe how to do this but mine fail.  I have traced the line that is failing and it appears my CustomFieldsManager is not working at all in VI.  When I run the following short bit of code from a Perl script:&lt;br /&gt;
&lt;p /&gt;
use strict;&lt;br /&gt;
use warnings;&lt;br /&gt;
use Getopt::Long;&lt;br /&gt;
use VMware::VIRuntime;&lt;br /&gt;
&lt;p /&gt;
my $username = "username"; &lt;br /&gt;
my $password = "password"; &lt;br /&gt;
my $service_url = "&lt;a class="jive-link-external" href="https://servername/sdk/vimService"&gt;https://servername/sdk/vimService&lt;/a&gt;";&lt;br /&gt;
&lt;p /&gt;
Vim::login(service_url =&amp;gt; $service_url, user_name =&amp;gt; $username, password =&amp;gt; $password);&lt;br /&gt;
&lt;p /&gt;
my $csi_view;&lt;br /&gt;
my $si_moref = ManagedObjectReference-&amp;gt;new(type =&amp;gt; 'ServiceInstance',value=&amp;gt;'ServiceInstance');&lt;br /&gt;
my $si_view = Vim::get_view(mo_ref =&amp;gt; $si_moref);&lt;br /&gt;
my $sc_view = $si_view-&amp;gt;RetrieveServiceContent();&lt;br /&gt;
my $cfm_view = Vim::get_view(mo_ref =&amp;gt; $sc_view-&amp;gt;customFieldsManager);&lt;br /&gt;
&lt;p /&gt;
The last line is causing the error below:&lt;br /&gt;
&lt;p /&gt;
Can't call method "type" on an undefined value at /usr/share/perl/5.8/VMware/VICommon.pm line 828.&lt;br /&gt;
&lt;p /&gt;
 When I look in my MOB for this ESX Host, and RetrieveServiceContent, the CustomFieldsManager object shows "Unset"  next to it, even though I have Custom Fields created and filled in for the VM's on this host.  How do I use this CustomFields functionality from the VI Perl toolkit?</description>
      <category domain="http://communities.vmware.com/tags?communityID=2416">perl</category>
      <category domain="http://communities.vmware.com/tags?communityID=2416">customfieldsmanager</category>
      <category domain="http://communities.vmware.com/tags?communityID=2416">custom</category>
      <category domain="http://communities.vmware.com/tags?communityID=2416">values</category>
      <category domain="http://communities.vmware.com/tags?communityID=2416">mob</category>
      <pubDate>Wed, 26 Mar 2008 18:58:36 GMT</pubDate>
      <author>brrSCO</author>
      <guid>http://communities.vmware.com/thread/135158</guid>
      <dc:date>2008-03-26T18:58:36Z</dc:date>
      <clearspace:dateToText>1 month, 1 week ago</clearspace:dateToText>
      <clearspace:messageCount>6</clearspace:messageCount>
      <clearspace:replyCount>5</clearspace:replyCount>
    </item>
    <item>
      <title>Failed : fault.RestrictedVersion.summary</title>
      <link>http://communities.vmware.com/thread/236665</link>
      <description>&lt;br /&gt;
The command: vicfg-snmp --server &amp;lt;ESX_IP_Address&amp;gt; --username root --password &amp;lt;password&amp;gt; -c &amp;lt;community_name&amp;gt; -t &amp;lt;Trap Destination&amp;gt;@162/&amp;lt;community_name&amp;gt; &lt;br /&gt;
&lt;p /&gt;
Error: "Failed : fault.RestrictedVersion.summary"&lt;br /&gt;
&lt;p /&gt;
&lt;p /&gt;
&lt;p /&gt;
Above is giving me problems, when I try to start "snmp" on Esxi 4.0 free version, as suggested in this link &lt;a class="jive-link-thread" href="http://communities.vmware.com/thread/151296"&gt;http://communities.vmware.com/thread/151296&lt;/a&gt; I might have a faulty or wrong license in order to get this to work.&lt;br /&gt;
&lt;p /&gt;
Ive been trying to get an answer from VM-Ware about if I actually lack the proper license for the use of snmp on a free version or if infact it can have something to do with the fact that I installed with the Dell customized version of free esxi 4.0&lt;br /&gt;
&lt;p /&gt;
I was given a license key for the free installation when I downloaded ESXI and I have put that key into the server as follows&lt;br /&gt;
&lt;p /&gt;
&lt;p /&gt;
&lt;p /&gt;
Product: ESXi 4 Single Server Licensed for 2 physical CPUs (1-6 cores per CPU)&lt;br /&gt;
License Key: XXXXX-XXXXX-XXXXX-XXXXX-XXXXX&lt;br /&gt;
Expires: Never&lt;br /&gt;
&lt;p /&gt;
Product Features: &lt;br /&gt;
    Up to 256 GB of memory&lt;br /&gt;
    Up to 4-way virtual SMP&lt;br /&gt;
&lt;p /&gt;
Can someone give me an answer to this?&lt;br /&gt;
&lt;p /&gt;
1.  Is it possible to start up SNMP on ESXI 4.0 free version using "VMware vSphere CLI"?&lt;br /&gt;
&lt;p /&gt;
2. Do I need a different license for this?&lt;br /&gt;
&lt;p /&gt;
&lt;p /&gt;
&lt;p /&gt;
Best regards&lt;br /&gt;
&lt;p /&gt;
//Bobo</description>
      <pubDate>Wed, 14 Oct 2009 08:20:57 GMT</pubDate>
      <author>saff</author>
      <guid>http://communities.vmware.com/thread/236665</guid>
      <dc:date>2009-10-14T08:20:57Z</dc:date>
      <clearspace:dateToText>1 month, 1 week ago</clearspace:dateToText>
      <clearspace:messageCount>7</clearspace:messageCount>
      <clearspace:replyCount>6</clearspace:replyCount>
    </item>
    <item>
      <title>Before I venture into the unknown...</title>
      <link>http://communities.vmware.com/thread/236834</link>
      <description>&lt;br /&gt;
Hi guys,&lt;br /&gt;
&lt;p /&gt;
&lt;p /&gt;
&lt;p /&gt;
Before I venture into the unknown with the Vpshere SDK for .Net. Can somebody tell me if I can do the following with the SDK for C#?&lt;br /&gt;
&lt;p /&gt;
&lt;p /&gt;
&lt;p /&gt;
Create or clone a VM - I believe this can be done from looking at the samples.&lt;br /&gt;
&lt;p /&gt;
Configure the following on a VM&lt;br /&gt;
&lt;p /&gt;
     - Hostname&lt;br /&gt;
&lt;p /&gt;
     - IP address&lt;br /&gt;
&lt;p /&gt;
     - CPU's assigned to it&lt;br /&gt;
&lt;p /&gt;
     - memory asssigned to it&lt;br /&gt;
&lt;p /&gt;
      - disk space&lt;br /&gt;
&lt;p /&gt;
&lt;p /&gt;
&lt;p /&gt;
Also am I able to reference all of the methods I could refernce from the power CLI?&lt;br /&gt;
&lt;p /&gt;
&lt;p /&gt;
&lt;p /&gt;
cheers. &lt;br /&gt;
&lt;p /&gt;
 Thanks in advance for looking at my question.</description>
      <pubDate>Thu, 15 Oct 2009 00:42:15 GMT</pubDate>
      <author>bobg2007</author>
      <guid>http://communities.vmware.com/thread/236834</guid>
      <dc:date>2009-10-15T00:42:15Z</dc:date>
      <clearspace:dateToText>1 month, 1 week ago</clearspace:dateToText>
      <clearspace:messageCount>3</clearspace:messageCount>
      <clearspace:replyCount>2</clearspace:replyCount>
    </item>
    <item>
      <title>listing of folders and its respective vms</title>
      <link>http://communities.vmware.com/thread/137232</link>
      <description>Hi,&lt;br /&gt;
&lt;br /&gt;
I am new at the programming site of VI3. Now I need your help!&lt;br /&gt;
&lt;p /&gt;
How can I realize the relationship between folders and virtual machines, to get a list of folders and vms is no problem. But I need a list of all vms in its respective folders.&lt;br /&gt;
&lt;br /&gt;
It should be looks like that:&lt;br /&gt;
&lt;br /&gt;
Folder1:&lt;br /&gt;
   vm1,vm3,vm5,...&lt;br /&gt;
&lt;br /&gt;
Folder2:&lt;br /&gt;
   vm2,vm4,vm6,...&lt;br /&gt;
&lt;p /&gt;
&lt;br /&gt;
I am waiting for your suggestions. Thanks.</description>
      <pubDate>Fri, 04 Apr 2008 12:14:09 GMT</pubDate>
      <author>ktemplar</author>
      <guid>http://communities.vmware.com/thread/137232</guid>
      <dc:date>2008-04-04T12:14:09Z</dc:date>
      <clearspace:dateToText>1 month, 1 week ago</clearspace:dateToText>
      <clearspace:messageCount>15</clearspace:messageCount>
      <clearspace:replyCount>14</clearspace:replyCount>
    </item>
    <item>
      <title>Gathering details of all DataStores</title>
      <link>http://communities.vmware.com/thread/235963</link>
      <description>hi,&lt;br /&gt;
&lt;br /&gt;
Is it possible to gather details of all the datastores using web services?&lt;br /&gt;
&lt;p /&gt;
&lt;br /&gt;
In my client application. i want to keep details of all available data stores in my database.&lt;br /&gt;
&lt;p /&gt;
Can one  virtula machine use many disks? ( As per my knowledge, one disk can be shared by multiple virtual machines., Am i right?) &lt;br /&gt;
&lt;p /&gt;
(I've referred to DataStore managed object from the documentation. What i understand is data store is independent of hosts (ESX servers) and the virtual machines. Many hosts can connect to one data store. Similarly one data store can have many virtual disks i.e. virtual machines. )</description>
      <pubDate>Fri, 09 Oct 2009 12:07:10 GMT</pubDate>
      <author>ChaitanyaS</author>
      <guid>http://communities.vmware.com/thread/235963</guid>
      <dc:date>2009-10-09T12:07:10Z</dc:date>
      <clearspace:dateToText>1 month, 1 week ago</clearspace:dateToText>
      <clearspace:messageCount>3</clearspace:messageCount>
      <clearspace:replyCount>2</clearspace:replyCount>
    </item>
    <item>
      <title>vSphere/vCenter client and the web services</title>
      <link>http://communities.vmware.com/thread/234547</link>
      <description>&lt;br /&gt;
Hi,&lt;br /&gt;
&lt;p /&gt;
Does vSphere client (or vCenter client earlier) invoke the vSphere  web services internally to perform any operations on the ESX server?&lt;br /&gt;
&lt;p /&gt;
I'm novice to VMware developemnt. &lt;br /&gt;
&lt;p /&gt;
What i understand is vSphere or vCenter client is a management console. An actioan/operations like creating VM or cloning images actually happen on the ESX servers or hosts. Web services are hosted on the ESX servers. When we perform an action through vSphere/vCenter client (e.g. create virtual machine), internally it would be invoking appropriate API provided by the web service SDKto do the needful.&lt;br /&gt;
&lt;p /&gt;
Is my understanding correct?</description>
      <pubDate>Thu, 01 Oct 2009 12:53:06 GMT</pubDate>
      <author>ChaitanyaS</author>
      <guid>http://communities.vmware.com/thread/234547</guid>
      <dc:date>2009-10-01T12:53:06Z</dc:date>
      <clearspace:dateToText>1 month, 1 week ago</clearspace:dateToText>
      <clearspace:messageCount>3</clearspace:messageCount>
      <clearspace:replyCount>2</clearspace:replyCount>
    </item>
    <item>
      <title>How to Fetch Events with some offset</title>
      <link>http://communities.vmware.com/thread/97693</link>
      <description>I want to write a program which periodically pulls login/logout events from ESX/VC. Looking at the APIs in VI SDK 2.0.1 for fetching events, it seems there is no direct way to pull events from the middle of the list present at ESX (i.e. give a direct offset to retrieve 100 events starting with key 5001).&lt;br /&gt;
&lt;br /&gt;
To explain this with an example: if i have pulled say 5000 events and i sleep for 1 day and next day another 1400 events are generated, now i want to pull only the new events starting at 5001. The way out is to traverse page wise from start and keep pulling until i hit the event with key which i have already pulled.&lt;br /&gt;
&lt;br /&gt;
The problem arises in the above traversal when my program goes down without retrieving all the events. Now i have holes in my event list, which needs to be fixed somehow. Although this can be fixed but is un-intutive.&lt;br /&gt;
&lt;br /&gt;
Is there any other easier way to directly set my page to start with event 5001 and then keep moving to next page until i am able to retrieve all events ?</description>
      <pubDate>Thu, 09 Aug 2007 05:32:12 GMT</pubDate>
      <author>Deepak00</author>
      <guid>http://communities.vmware.com/thread/97693</guid>
      <dc:date>2007-08-09T05:32:12Z</dc:date>
      <clearspace:dateToText>1 month, 2 weeks ago</clearspace:dateToText>
      <clearspace:messageCount>6</clearspace:messageCount>
      <clearspace:replyCount>5</clearspace:replyCount>
    </item>
    <item>
      <title>How to edit VM Image settings using VI SDK 4</title>
      <link>http://communities.vmware.com/thread/235512</link>
      <description>&lt;br /&gt;
Hi&lt;br /&gt;
&lt;p /&gt;
All&lt;br /&gt;
&lt;p /&gt;
I just wanted to know how to edit VM Image setting using VI SDK 4&lt;br /&gt;
&lt;p /&gt;
Vm Image Setting could be(memory setting etc)&lt;br /&gt;
&lt;p /&gt;
&lt;br /&gt;</description>
      <pubDate>Wed, 07 Oct 2009 11:28:45 GMT</pubDate>
      <author>newsharon86</author>
      <guid>http://communities.vmware.com/thread/235512</guid>
      <dc:date>2009-10-07T11:28:45Z</dc:date>
      <clearspace:dateToText>1 month, 2 weeks ago</clearspace:dateToText>
      <clearspace:messageCount>9</clearspace:messageCount>
      <clearspace:replyCount>8</clearspace:replyCount>
    </item>
    <item>
      <title>API to turn on Fault Tolerance</title>
      <link>http://communities.vmware.com/thread/235505</link>
      <description>&lt;br /&gt;
For my BR application I need to Turn Off FT to be able to take a VM Snapshot . I found API TurnOffFaultToleranceForVM_Task to turn off FT for a VM. But I dont see any API to turn it on back again. Why isn't there an API to turn FT on ?. Is there some way I can do this ?&lt;br /&gt;
&lt;p /&gt;
Thanks,&lt;br /&gt;
&lt;p /&gt;
Parag</description>
      <category domain="http://communities.vmware.com/tags?communityID=2416">ft</category>
      <category domain="http://communities.vmware.com/tags?communityID=2416">ha</category>
      <category domain="http://communities.vmware.com/tags?communityID=2416">fault_tolerance</category>
      <category domain="http://communities.vmware.com/tags?communityID=2416">availability</category>
      <category domain="http://communities.vmware.com/tags?communityID=2416">high_availability</category>
      <category domain="http://communities.vmware.com/tags?communityID=2416">webservices</category>
      <category domain="http://communities.vmware.com/tags?communityID=2416">api</category>
      <pubDate>Wed, 07 Oct 2009 12:42:40 GMT</pubDate>
      <author>Bramha</author>
      <guid>http://communities.vmware.com/thread/235505</guid>
      <dc:date>2009-10-07T12:42:40Z</dc:date>
      <clearspace:dateToText>1 month, 2 weeks ago</clearspace:dateToText>
      <clearspace:messageCount>3</clearspace:messageCount>
      <clearspace:replyCount>2</clearspace:replyCount>
    </item>
    <item>
      <title>ReconfigVM not working for Multiple Disks</title>
      <link>http://communities.vmware.com/thread/209342</link>
      <description>&lt;br /&gt;
Hi,  I am trying to add multiple RDM disks to a VM . My vmConfigSpec has a list of VirtualDevice ConfigSpecs added to it , one for each disk.  When I call Reconfig_VM I get   "operation failed because file already exists" and the path of the last VMDK file&lt;br /&gt;
&lt;p /&gt;
Any information would be very helpful &lt;br /&gt;
&lt;p /&gt;
Thanks,&lt;br /&gt;
&lt;p /&gt;
Parag&lt;br /&gt;
&lt;p /&gt;
&lt;br /&gt;
Here is the code that is called in a loop&lt;br /&gt;
&lt;p /&gt;
&lt;br /&gt;
        String datastorePath = "" + " " + vmName + "/";&lt;br /&gt;
        String rdmFilePath = datastorePath + vmName + "&lt;u&gt;" + "SMVI1&lt;/u&gt;" + getPath(lunName).replace('/', '_') + "_1" + ".vmdk"; // instead of the _1 put lunId        &lt;br /&gt;
&lt;br /&gt;
        VirtualDiskRawDiskMappingVer1BackingInfo backingInfo = new VirtualDiskRawDiskMappingVer1BackingInfo();&lt;br /&gt;
        backingInfo.setCompatibilityMode("physicalMode");&lt;br /&gt;
        backingInfo.setDeviceName(deviceName); &lt;br /&gt;
        backingInfo.setFileName(rdmFilePath);&lt;br /&gt;
        backingInfo.setDiskMode("");&lt;br /&gt;
        backingInfo.setLunUuid(lunUUID);&lt;br /&gt;
&lt;br /&gt;
        VirtualDisk disk = new VirtualDisk();&lt;br /&gt;
        disk.setCapacityInKB(lunsizeInKB);&lt;br /&gt;
        disk.setBacking(backingInfo);&lt;br /&gt;
        disk.setConnectable(new VirtualDeviceConnectInfo());&lt;br /&gt;
        disk.getConnectable().setAllowGuestControl(false);&lt;br /&gt;
        disk.getConnectable().setConnected(true);&lt;br /&gt;
        disk.getConnectable().setStartConnected(true);&lt;br /&gt;
        disk.setControllerKey(new Integer(un.getKey()));&lt;br /&gt;
        disk.setKey(new Integer(-1));&lt;br /&gt;
        disk.setUnitNumber(new Integer(un.getValue()));&lt;br /&gt;
&lt;br /&gt;
        VirtualDeviceConfigSpec vdCfgSpec = new VirtualDeviceConfigSpec();&lt;br /&gt;
        vdCfgSpec.setOperation(VirtualDeviceConfigSpecOperation.ADD);        &lt;br /&gt;
        vdCfgSpec.setFileOperation(VirtualDeviceConfigSpecFileOperation.CREATE);&lt;br /&gt;
        vdCfgSpec.setDevice(disk);       &lt;br /&gt;
        //VirtualDeviceConfigSpec [] vdCfgSpecList = {vdCfgSpec};       &lt;br /&gt;
        vmConfigSpec.getDeviceChange().add(vdCfgSpec);&lt;br /&gt;
&lt;p /&gt;
&lt;p /&gt;
 After adding multiple vdCfgSpec to my vmConfigSpec I call reconfigVMTask&lt;br /&gt;
&lt;p /&gt;
&lt;p /&gt;
&lt;p /&gt;
ManagedObjectReference taskMOR = null;      &lt;br /&gt;
        try {&lt;br /&gt;
            taskMOR = client.getPort().reconfigVMTask(vmMOR.reference(), vmConfigSpec);&lt;br /&gt;
        }     &lt;br /&gt;
        catch (Exception e) {      &lt;br /&gt;
            System.out.println(e.getMessage());&lt;br /&gt;
        }</description>
      <category domain="http://communities.vmware.com/tags?communityID=2416">api</category>
      <category domain="http://communities.vmware.com/tags?communityID=2416">java</category>
      <category domain="http://communities.vmware.com/tags?communityID=2416">sdk2.5</category>
      <category domain="http://communities.vmware.com/tags?communityID=2416">sdk</category>
      <pubDate>Mon, 11 May 2009 14:34:56 GMT</pubDate>
      <author>Bramha</author>
      <guid>http://communities.vmware.com/thread/209342</guid>
      <dc:date>2009-05-11T14:34:56Z</dc:date>
      <clearspace:dateToText>1 month, 2 weeks ago</clearspace:dateToText>
      <clearspace:messageCount>9</clearspace:messageCount>
      <clearspace:replyCount>8</clearspace:replyCount>
    </item>
    <item>
      <title>powerpath version from the vsphere ws sdk</title>
      <link>http://communities.vmware.com/thread/234765</link>
      <description>&lt;br /&gt;
Is there a way to get the powerpath version that's installed in ESX through SDK? I tried to look for it under plugstoretopology. but i couldn't find anything.&lt;br /&gt;
&lt;p /&gt;
Also, doesn't SDK expose pseudodevice names generated by powerpath? &lt;br /&gt;
&lt;p /&gt;
&lt;p /&gt;
&lt;p /&gt;
thanks&lt;br /&gt;
&lt;p /&gt;
venkat &lt;br /&gt;
&lt;p /&gt;
&lt;br /&gt;</description>
      <pubDate>Fri, 02 Oct 2009 13:30:44 GMT</pubDate>
      <author>venkat70</author>
      <guid>http://communities.vmware.com/thread/234765</guid>
      <dc:date>2009-10-02T13:30:44Z</dc:date>
      <clearspace:dateToText>1 month, 2 weeks ago</clearspace:dateToText>
      <clearspace:messageCount>6</clearspace:messageCount>
      <clearspace:replyCount>5</clearspace:replyCount>
    </item>
    <item>
      <title>creating RDM</title>
      <link>http://communities.vmware.com/thread/144290</link>
      <description>&lt;p /&gt;
&lt;p /&gt;
&lt;br /&gt;
Hi all,&lt;br /&gt;
&lt;p /&gt;
&lt;p /&gt;
&lt;p /&gt;
any one help me i am facing an issue while creating rdm. i pasted code below please look into the code and tell me where i'm doing mistake.&lt;br /&gt;
&lt;p /&gt;
&lt;p /&gt;
&lt;p /&gt;
here i'm unable to create an  RDM.&lt;br /&gt;
&lt;p /&gt;
For creating RDM we need to do the following:&lt;br /&gt;
&lt;p /&gt;
&lt;p /&gt;
&lt;p /&gt;
Create the VirtualDeviceConfigSpec and set its properties. &lt;br /&gt;
Create VirtualMachineConfigSpec object and set the VirtualDeviceConfigSpec to the device change property of VirtualMachineConfigSpec object. &lt;br /&gt;
      3.   Call the ReconfigVM_Task.&lt;br /&gt;
&lt;p /&gt;
&lt;p /&gt;
&lt;p /&gt;
If I follow the process 1 specified below getting the error "Incompatible device backing specified for device 0 " as it is unable to create the vmdk file with the path specified in&lt;br /&gt;
&lt;p /&gt;
backingInfo-&amp;gt;fileName. If I specify backingInfo-&amp;gt;fileName="&lt;a class="jive-link-adddocument" href="http://communities.vmware.com/community-document-picker.jspa?communityID=&amp;subject=datastorename"&gt;datastorename&lt;/a&gt;" then it is creating Virtual Disk with unknown size which is not RDM.&lt;br /&gt;
&lt;p /&gt;
&lt;p /&gt;
&lt;p /&gt;
But if I follow the process 2 , first create vmdk file and then specify this file in backingInfo-&amp;gt;fileName, its working fine.&lt;br /&gt;
&lt;p /&gt;
But the problem is it works only in case of ESXServer not Virtual Center because for creating VirtualDisk_Task, it takes VirtualDiskManager as &lt;br /&gt;
&lt;p /&gt;
Parameter which is not set in case of Virtual Center.&lt;br /&gt;
&lt;p /&gt;
&lt;p /&gt;
&lt;p /&gt;
So we are unable to understand why it is failing to create the RDM in process 1.&lt;br /&gt;
&lt;p /&gt;
I am also enclosing the link where the guy is able to create RDM using Process 1.&lt;br /&gt;
&lt;p /&gt;
Link : &lt;a class="jive-link-external" href="http://communities.vmware.com/thread/38923;jsessionid=14172672B2B1D99EBB70617BD6066CE5?tstart=15"&gt;http://communities.vmware.com/thread/38923;jsessionid=14172672B2B1D99EBB70617BD6066CE5?tstart=15&lt;/a&gt;&lt;br /&gt;
&lt;p /&gt;
&lt;p /&gt;
&lt;p /&gt;
We came to know how to set the values for the following properties also&lt;br /&gt;
&lt;p /&gt;
&lt;p /&gt;
&lt;p /&gt;
backingInfo-&amp;gt;lunUuid&lt;br /&gt;
&lt;p /&gt;
vdCfgSpec-&amp;gt;device-&amp;gt;unitNumber&lt;br /&gt;
&lt;p /&gt;
vdCfgSpec-&amp;gt;device-&amp;gt;controllerKey&lt;br /&gt;
&lt;p /&gt;
&lt;p /&gt;
&lt;p /&gt;
I also tried setting the below property in process 1 but no use&lt;br /&gt;
&lt;p /&gt;
&lt;p /&gt;
&lt;p /&gt;
vdCfgSpec -&amp;gt;fileOperation = VirtualDeviceConfigSpecFileOperation::create;        &lt;br /&gt;
&lt;p /&gt;
vdCfgSpec -&amp;gt;fileOperationSpecified = true;&lt;br /&gt;
&lt;p /&gt;
&lt;p /&gt;
&lt;p /&gt;
I am still working on this, but if you find any solution on process 1, please let me know.&lt;br /&gt;
&lt;p /&gt;
&lt;br /&gt;</description>
      <pubDate>Tue, 06 May 2008 13:00:03 GMT</pubDate>
      <author>karthimin</author>
      <guid>http://communities.vmware.com/thread/144290</guid>
      <dc:date>2008-05-06T13:00:03Z</dc:date>
      <clearspace:dateToText>1 month, 2 weeks ago</clearspace:dateToText>
      <clearspace:messageCount>6</clearspace:messageCount>
      <clearspace:replyCount>5</clearspace:replyCount>
    </item>
    <item>
      <title>findByDatastorePath call never returns</title>
      <link>http://communities.vmware.com/thread/235297</link>
      <description>&lt;br /&gt;
when i use a credential which doesn't have access to datastores and make the above call, it never returns. is this a known issue?&lt;br /&gt;
&lt;p /&gt;
i used jstack to see which threads are waiting and i see the thread is waiting on this call. should i first check whether datastores are available using this credential before making the call? &lt;br /&gt;
&lt;p /&gt;
 thanks&lt;br /&gt;
&lt;p /&gt;
venkat &lt;br /&gt;
&lt;p /&gt;
&lt;p /&gt;
&lt;p /&gt;
   java.lang.Thread.State: WAITING (on object monitor)&lt;br /&gt;
    at java.lang.Object.wait(Native Method)&lt;br /&gt;
    - waiting on &amp;lt;0xe0d305f8&amp;gt; (a org.apache.commons.httpclient.MultiThreadedHttpConnectionManager$ConnectionPool)&lt;br /&gt;
    at org.apache.commons.httpclient.MultiThreadedHttpConnectionManager.doGetConnection(MultiThreadedHttpConnectionManager.java:518)&lt;br /&gt;
    - locked &amp;lt;0xe0d305f8&amp;gt; (a org.apache.commons.httpclient.MultiThreadedHttpConnectionManager$ConnectionPool)&lt;br /&gt;
    at org.apache.commons.httpclient.MultiThreadedHttpConnectionManager.getConnectionWithTimeout(MultiThreadedHttpConnectionManager.java:416)&lt;br /&gt;
    at org.apache.commons.httpclient.HttpMethodDirector.executeMethod(HttpMethodDirector.java:153)&lt;br /&gt;
    at org.apache.commons.httpclient.HttpClient.executeMethod(HttpClient.java:397)&lt;br /&gt;
    at org.apache.commons.httpclient.HttpClient.executeMethod(HttpClient.java:346)&lt;br /&gt;
    at org.apache.axis2.transport.http.AbstractHTTPSender.executeMethod(AbstractHTTPSender.java:542)&lt;br /&gt;
    at org.apache.axis2.transport.http.HTTPSender.sendViaPost(HTTPSender.java:189)&lt;br /&gt;
    at org.apache.axis2.transport.http.HTTPSender.send(HTTPSender.java:75)&lt;br /&gt;
    at org.apache.axis2.transport.http.CommonsHTTPTransportSender.writeMessageWithCommons(CommonsHTTPTransportSender.java:371)&lt;br /&gt;
    at org.apache.axis2.transport.http.CommonsHTTPTransportSender.invoke(CommonsHTTPTransportSender.java:209)&lt;br /&gt;
    at org.apache.axis2.engine.AxisEngine.send(AxisEngine.java:448)&lt;br /&gt;
    at org.apache.axis2.description.OutInAxisOperationClient.send(OutInAxisOperation.java:401)&lt;br /&gt;
    at org.apache.axis2.description.OutInAxisOperationClient.executeImpl(OutInAxisOperation.java:228)&lt;br /&gt;
    at org.apache.axis2.client.OperationClient.execute(OperationClient.java:163)&lt;br /&gt;
    at com.vmware.ws.service.SearchIndexServiceStub.FindByDatastorePath(SearchIndexServiceStub.java:686)&lt;br /&gt;
    at com.vmware.vi.SearchIndexImpl.findByDatastorePath(SearchIndexImpl.java:56)</description>
      <pubDate>Tue, 06 Oct 2009 12:04:11 GMT</pubDate>
      <author>venkat70</author>
      <guid>http://communities.vmware.com/thread/235297</guid>
      <dc:date>2009-10-06T12:04:11Z</dc:date>
      <clearspace:dateToText>1 month, 2 weeks ago</clearspace:dateToText>
      <clearspace:messageCount>2</clearspace:messageCount>
      <clearspace:replyCount>1</clearspace:replyCount>
    </item>
    <item>
      <title>vi sdk 2.5 and windows communication foundation</title>
      <link>http://communities.vmware.com/thread/206587</link>
      <description>&lt;br /&gt;
Has anyone tried creating a wcf proxy using vi sdk 2.0 or 2.5?&lt;br /&gt;
&lt;p /&gt;
I wanted to find out what their expirience was?&lt;br /&gt;
&lt;p /&gt;
Also i was not sure if this is the right forum to post to.&lt;br /&gt;
&lt;p /&gt;
Any help would be appreciated&lt;br /&gt;
&lt;p /&gt;
&lt;br /&gt;</description>
      <pubDate>Thu, 23 Apr 2009 15:06:46 GMT</pubDate>
      <author>dgxhubbard</author>
      <guid>http://communities.vmware.com/thread/206587</guid>
      <dc:date>2009-04-23T15:06:46Z</dc:date>
      <clearspace:dateToText>1 month, 2 weeks ago</clearspace:dateToText>
      <clearspace:messageCount>4</clearspace:messageCount>
      <clearspace:replyCount>3</clearspace:replyCount>
    </item>
    <item>
      <title>WCF client?</title>
      <link>http://communities.vmware.com/thread/235446</link>
      <description>Is it possible to create WCF client for VI SDK 4.0? Has anyone tried it?</description>
      <pubDate>Tue, 06 Oct 2009 23:10:12 GMT</pubDate>
      <author>aivanoff</author>
      <guid>http://communities.vmware.com/thread/235446</guid>
      <dc:date>2009-10-06T23:10:12Z</dc:date>
      <clearspace:dateToText>1 month, 2 weeks ago</clearspace:dateToText>
      <clearspace:messageCount>2</clearspace:messageCount>
      <clearspace:replyCount>1</clearspace:replyCount>
    </item>
    <item>
      <title>how I can know the version of a host server or a virtual center (ESX server 4.0 or vCenter server 4.0 or lower version) through API</title>
      <link>http://communities.vmware.com/thread/235420</link>
      <description>Hi,  &lt;br /&gt;
&lt;br /&gt;
I need use some APIs which are "*&lt;i&gt;Since&lt;/i&gt; *vSphere API 4.0". For example &lt;a class="jive-link-external" href="http://www.vmware.com/support/developer/vc-sdk/visdk400pubs/ReferenceGuide/vim.vm.FileLayoutEx.html"&gt;VirtualMachineFileLayoutEx&lt;/a&gt;. When I connect to a ESX server and vCenter 4.0, everything is fine. But once I connected a lower version (such as ESX server 3.x) and try to use the API, then an error message, RuntimeException would be gotten and it caused by invalidProperty(com.vmware.vim25.InvalidProperty)  &lt;br /&gt;
&lt;p /&gt;
That is make sense. My Question is how I can know the version of a host server or a virtual center (4.0 or lower) through API and then I could avoid the error exception popped up&lt;br /&gt;
&lt;p /&gt;
Other, whether a virtual Center could include ESX server 4.0 and other lower version ESX server at the same time?&lt;br /&gt;
&lt;p /&gt;
&lt;p /&gt;
&lt;p /&gt;
Thank you</description>
      <pubDate>Tue, 06 Oct 2009 21:39:44 GMT</pubDate>
      <author>tqll</author>
      <guid>http://communities.vmware.com/thread/235420</guid>
      <dc:date>2009-10-06T21:39:44Z</dc:date>
      <clearspace:dateToText>1 month, 2 weeks ago</clearspace:dateToText>
      <clearspace:messageCount>2</clearspace:messageCount>
      <clearspace:replyCount>1</clearspace:replyCount>
    </item>
    <item>
      <title>Developing a Mac OS X and/ or iPhone native application using xcode</title>
      <link>http://communities.vmware.com/thread/235312</link>
      <description>Hi&lt;br /&gt;
&lt;br /&gt;
I'm not a programmer, but I'm curious about the procedure for developing a native Mac OS X and/ or iPhone native application using Apple's developer tools (xcode). Is this possible and what VMware development tools are required as I see that there is both a web services sdk and a perl sdk?&lt;br /&gt;
&lt;br /&gt;
If anyone has any experience of developing for the Mac/ iPhone platforms with regards to VMware vSphere I would be very interested in any pointers.&lt;br /&gt;
&lt;br /&gt;
Thanks&lt;br /&gt;
&lt;br /&gt;
P.S. Please move this post if I've posted in the wrong developer community.</description>
      <pubDate>Tue, 06 Oct 2009 13:17:21 GMT</pubDate>
      <author>cookieme</author>
      <guid>http://communities.vmware.com/thread/235312</guid>
      <dc:date>2009-10-06T13:17:21Z</dc:date>
      <clearspace:dateToText>1 month, 2 weeks ago</clearspace:dateToText>
      <clearspace:messageCount>1</clearspace:messageCount>
    </item>
    <item>
      <title>can't connect virtual nic to distributed virtual port group</title>
      <link>http://communities.vmware.com/thread/235119</link>
      <description>&lt;br /&gt;
I'm trying to connect a virtual nic on a vm to a distributed virtual port group. I have tried every set of options to the nic config spec I can think of.&lt;br /&gt;
&lt;p /&gt;
For any VM I create using the API, in vSphere Client when you right click the VM, edit settings, select the network adapter, the network label dropdown is set to empty. When I pick the correct network from the dropdown the nic in the VM works. &lt;br /&gt;
&lt;p /&gt;
The sample code seems to say that all you need to do is setDeviceName on the nic backing to one of the names in the network label dropdown in vSphere client.&lt;br /&gt;
&lt;p /&gt;
Have tried:&lt;br /&gt;
&lt;p /&gt;
&lt;ul class="jive-dash"&gt;
&lt;li&gt;backing.setNetwork to a reference to the network&lt;/li&gt;
&lt;/ul&gt;
&lt;p /&gt;
&lt;ul class="jive-dash"&gt;
&lt;li&gt;using VirtualEthernetCardDistrbibutedVirtualPortBackingInfo instead of VirtualEthernetCardNetworkBackingInfo &lt;/li&gt;
&lt;/ul&gt;
&lt;p /&gt;
&lt;ul class="jive-dash"&gt;
&lt;li&gt;using nic.setDeviceInfo() and setting label and summary to the name of the network &lt;/li&gt;
&lt;/ul&gt;
&lt;p /&gt;
I just need to know what to set to populate this dropdown so the nic works without manually setting the network label in the gui.</description>
      <category domain="http://communities.vmware.com/tags?communityID=2416">java</category>
      <category domain="http://communities.vmware.com/tags?communityID=2416">sdk2.5</category>
      <category domain="http://communities.vmware.com/tags?communityID=2416">webservices</category>
      <category domain="http://communities.vmware.com/tags?communityID=2416">networking</category>
      <pubDate>Mon, 05 Oct 2009 14:59:31 GMT</pubDate>
      <author>mm6</author>
      <guid>http://communities.vmware.com/thread/235119</guid>
      <dc:date>2009-10-05T14:59:31Z</dc:date>
      <clearspace:dateToText>1 month, 2 weeks ago</clearspace:dateToText>
      <clearspace:messageCount>2</clearspace:messageCount>
      <clearspace:replyCount>1</clearspace:replyCount>
    </item>
    <item>
      <title>Re: Help Virtual Center + C# begginer</title>
      <link>http://communities.vmware.com/thread/234669</link>
      <description>&lt;br /&gt;
thanks for your answer... &lt;br /&gt;
&lt;p /&gt;
I'm currently have another problems... but, this question has been answered.&lt;br /&gt;
&lt;p /&gt;
Regards. &lt;br /&gt;
&lt;p /&gt;
&lt;br /&gt;</description>
      <pubDate>Thu, 01 Oct 2009 21:05:39 GMT</pubDate>
      <author>ghosther</author>
      <guid>http://communities.vmware.com/thread/234669</guid>
      <dc:date>2009-10-01T21:05:39Z</dc:date>
      <clearspace:dateToText>1 month, 2 weeks ago</clearspace:dateToText>
      <clearspace:messageCount>8</clearspace:messageCount>
      <clearspace:replyCount>7</clearspace:replyCount>
    </item>
    <item>
      <title>how to get all the datastores in VC inventory?</title>
      <link>http://communities.vmware.com/thread/234542</link>
      <description>how to get all the datastores in VC inventory. &lt;br /&gt;
&lt;br /&gt;
I use vi java API as following &lt;br /&gt;
&lt;p /&gt;
String[] s1 = {"+VirtualMachine"+}; &lt;br /&gt;
&lt;p /&gt;
String[] s2 = {"+HostSystem"+}; &lt;br /&gt;
&lt;p /&gt;
String[] s3 = {"Datastore"}; &lt;br /&gt;
&lt;p /&gt;
String[]&lt;a class="jive-link-external" href="http://communities.vmware.com/community-document-picker.jspa?communityID=&amp;#38;subject=%5D%5B] sArray = &lt;b&gt;new&lt;/b&gt; String["&gt;http://communities.vmware.com/community-document-picker.jspa?communityID=&amp;#38;subject=%5D%5B] sArray = &lt;b&gt;new&lt;/b&gt; String[&lt;/a&gt;&lt;a class="jive-link-external" href="http://communities.vmware.com/community-document-picker.jspa?communityID=&amp;#38;subject=%5D%5B"&gt;http://communities.vmware.com/community-document-picker.jspa?communityID=&amp;#38;subject=%5D%5B&lt;/a&gt; { s1, s2, s3 }; &lt;br /&gt;
&lt;p /&gt;
//Array of Managed Entities &lt;br /&gt;
&lt;p /&gt;
ManagedEntity[] me = &lt;b&gt;new&lt;/b&gt; InventoryNavigator(mm.getConVmware().getRootFolder()).searchManagedEntities(sArray, *true*); &lt;br /&gt;
&lt;p /&gt;
But it only returns ManagedEntity about HostSystem and vm. There isn't any datastore ManagedEntity in the inventory. &lt;br /&gt;
&lt;p /&gt;
Thank you</description>
      <pubDate>Thu, 01 Oct 2009 13:15:30 GMT</pubDate>
      <author>tqll</author>
      <guid>http://communities.vmware.com/thread/234542</guid>
      <dc:date>2009-10-01T13:15:30Z</dc:date>
      <clearspace:dateToText>1 month, 2 weeks ago</clearspace:dateToText>
      <clearspace:messageCount>3</clearspace:messageCount>
      <clearspace:replyCount>2</clearspace:replyCount>
    </item>
    <item>
      <title>error trying to retreive extensionlist</title>
      <link>http://communities.vmware.com/thread/234776</link>
      <description>&lt;br /&gt;
I'm try to retreive in c# the extsionlist where the plugins reside and failing. Can you help me? Here is s copy of my code:&lt;br /&gt;
&lt;p /&gt;
&lt;br /&gt;
 _service = new VimService();&lt;br /&gt;
                _service.Url = url;&lt;br /&gt;
                _svcRef = new ManagedObjectReference();&lt;br /&gt;
                _svcRef.type = "ServiceInstance";&lt;br /&gt;
                _svcRef.Value = "ServiceInstance";&lt;br /&gt;
                _service.CookieContainer = new System.Net.CookieContainer();&lt;br /&gt;
                CreateServiceRef("ServiceInstance");&lt;br /&gt;
                _sic = _service.RetrieveServiceContent(_svcRef);&lt;br /&gt;
                _propCol = _sic.propertyCollector;&lt;br /&gt;
                _rootFolder = _sic.rootFolder;&lt;br /&gt;
&lt;p /&gt;
&lt;br /&gt;
                String userName = userTextBox.Text;&lt;br /&gt;
                String password = passTextBox.Text;&lt;br /&gt;
&lt;p /&gt;
&lt;p /&gt;
&lt;br /&gt;
                if (_sic.sessionManager != null)&lt;br /&gt;
                {&lt;br /&gt;
                    _service.Login(_sic.sessionManager, userName, password, null);&lt;br /&gt;
                    ManagedObjectReference extMOREF = _sic.extensionManager;&lt;br /&gt;
&lt;p /&gt;
&lt;p /&gt;
&lt;p /&gt;
                    PropertySpec pSpec = new PropertySpec();&lt;br /&gt;
                    pSpec.type = "extensionList";&lt;br /&gt;
                    pSpec.all = true;&lt;br /&gt;
                    // pSpec.all = false;&lt;br /&gt;
                    //pSpec.pathSet = new string[] { "extensionList" };&lt;br /&gt;
                    ObjectSpec oSpec = new ObjectSpec();&lt;br /&gt;
                    oSpec.obj = _sic.extensionManager;&lt;br /&gt;
&lt;p /&gt;
&lt;br /&gt;
                    PropertyFilterSpec pfSpec = new PropertyFilterSpec();&lt;br /&gt;
                    pfSpec.propSet = new PropertySpec[] { pSpec };&lt;br /&gt;
                    pfSpec.objectSet = new ObjectSpec[] { oSpec };&lt;br /&gt;
&lt;p /&gt;
&lt;br /&gt;
                    ObjectContent&lt;a class="jive-link-external" href="http://"&gt;http://&lt;/a&gt; ocary = _service.RetrieveProperties(_propCol, new PropertyFilterSpec&lt;a class="jive-link-external" href="http://] ocary = _service.RetrieveProperties(_propCol, new PropertyFilterSpec["&gt;http://] ocary = _service.RetrieveProperties(_propCol, new PropertyFilterSpec[&lt;/a&gt; { pfSpec });&lt;br /&gt;
&lt;p /&gt;
&lt;p /&gt;
&lt;br /&gt;
Ricky El-Qasem&lt;br /&gt;
&lt;br /&gt;
VCI/VCP - MCSE - RHCT</description>
      <pubDate>Fri, 02 Oct 2009 12:36:46 GMT</pubDate>
      <author>rickyelqasem</author>
      <guid>http://communities.vmware.com/thread/234776</guid>
      <dc:date>2009-10-02T12:36:46Z</dc:date>
      <clearspace:dateToText>1 month, 2 weeks ago</clearspace:dateToText>
      <clearspace:messageCount>2</clearspace:messageCount>
      <clearspace:replyCount>1</clearspace:replyCount>
    </item>
    <item>
      <title>someone can help me with this exception?</title>
      <link>http://communities.vmware.com/thread/234671</link>
      <description>&lt;br /&gt;
I'm trying to use the web service sdk, and compile a simple proyect that just connect to Virtual Center.&lt;br /&gt;
&lt;p /&gt;
But i have a server not found exeption.&lt;br /&gt;
&lt;p /&gt;
someone can help my if the url i'm using is wrong... &lt;a class="jive-link-external" href="https://myhost:8443/"&gt;https://myhost:8443/&lt;/a&gt;&lt;br /&gt;
&lt;p /&gt;
I'm trying to use this sdk since one week ago, and nothing..&lt;br /&gt;
&lt;p /&gt;
Regards.</description>
      <category domain="http://communities.vmware.com/tags?communityID=2416">c#</category>
      <category domain="http://communities.vmware.com/tags?communityID=2416">sdk4.0</category>
      <pubDate>Thu, 01 Oct 2009 21:13:42 GMT</pubDate>
      <author>ghosther</author>
      <guid>http://communities.vmware.com/thread/234671</guid>
      <dc:date>2009-10-01T21:13:42Z</dc:date>
      <clearspace:dateToText>1 month, 2 weeks ago</clearspace:dateToText>
      <clearspace:messageCount>3</clearspace:messageCount>
      <clearspace:replyCount>2</clearspace:replyCount>
    </item>
    <item>
      <title>datastore and LUN mapping</title>
      <link>http://communities.vmware.com/thread/199287</link>
      <description>&lt;br /&gt;
How I will get the mapping between datastore and LUN?&lt;br /&gt;
&lt;p /&gt;
Suppose I am having net app filer which is connected to datastore then how should get this mapping?&lt;br /&gt;
&lt;p /&gt;
same with iscsi mapping on net app filer?&lt;br /&gt;
&lt;p /&gt;
from vi sdk how i will able to get all the information about LUN?Host?&lt;br /&gt;
&lt;p /&gt;
&lt;p /&gt;
&lt;p /&gt;
-AshWin</description>
      <pubDate>Thu, 12 Mar 2009 22:08:28 GMT</pubDate>
      <author>Ashwin89</author>
      <guid>http://communities.vmware.com/thread/199287</guid>
      <dc:date>2009-03-12T22:08:28Z</dc:date>
      <clearspace:dateToText>1 month, 2 weeks ago</clearspace:dateToText>
      <clearspace:messageCount>12</clearspace:messageCount>
      <clearspace:replyCount>11</clearspace:replyCount>
    </item>
    <item>
      <title>Help Virtual Center + C# begginer</title>
      <link>http://communities.vmware.com/thread/234177</link>
      <description>Please somebody...&lt;br /&gt;
&lt;br /&gt;
Could you tell me all requeriments for develop a C# application that execute the following usin Virtual Center:&lt;br /&gt;
&lt;p /&gt;
&lt;br /&gt;
Power On a Vm&lt;br /&gt;
&lt;p /&gt;
&lt;br /&gt;
Power Off&lt;br /&gt;
&lt;p /&gt;
&lt;br /&gt;
Get Performace Status(like web admin in ESX Server) &lt;br /&gt;
&lt;p /&gt;
&lt;br /&gt;
i need to know all the software that i may install on my pc...&lt;br /&gt;
&lt;p /&gt;
&lt;br /&gt;
i have installed:&lt;br /&gt;
&lt;p /&gt;
&lt;br /&gt;
Visual Studio(off corse) &lt;br /&gt;
&lt;p /&gt;
&lt;br /&gt;
Esx server 2.0&lt;br /&gt;
&lt;p /&gt;
&lt;br /&gt;
And nothing else...&lt;br /&gt;
&lt;p /&gt;
&lt;br /&gt;
please could you give me the rest of the list, and the url??&lt;br /&gt;
&lt;p /&gt;
&lt;br /&gt;
and a sample application code. &lt;br /&gt;
&lt;p /&gt;
Regards.</description>
      <pubDate>Tue, 29 Sep 2009 15:52:23 GMT</pubDate>
      <author>ghosther</author>
      <guid>http://communities.vmware.com/thread/234177</guid>
      <dc:date>2009-09-29T15:52:23Z</dc:date>
      <clearspace:dateToText>1 month, 3 weeks ago</clearspace:dateToText>
      <clearspace:messageCount>3</clearspace:messageCount>
      <clearspace:replyCount>2</clearspace:replyCount>
    </item>
    <item>
      <title>rename a portgroup</title>
      <link>http://communities.vmware.com/thread/234643</link>
      <description>Hello,&lt;br /&gt;
&lt;br /&gt;
I want to rename a portgroup without changing portgroup policies. With the code I wrote, the portgroup is rename but if the portgroup policies are different from vSwitch policies the portgroup is reset to the vswitch policies. Is there a simple way to save portgroup policies or a better way to rename portgroup ?&lt;br /&gt;
&lt;p /&gt;
Thank you&lt;br /&gt;
&lt;p /&gt;
Dominic&lt;br /&gt;
&lt;p /&gt;
Sample code :&lt;br /&gt;
&lt;p /&gt;
my $newName = $nameOpt;&lt;br /&gt;
my $pgName = $pgOpt;&lt;br /&gt;
my $indic = 0;&lt;br /&gt;
&lt;p /&gt;
my $hostviews = Vim::find_entity_views(view_type =&amp;gt; 'HostSystem');&lt;br /&gt;
&lt;p /&gt;
if ($hostviews) {&lt;br /&gt;
foreach (@$hostviews) {&lt;br /&gt;
my $hostview = $_;&lt;br /&gt;
my $netview = Vim::get_view (mo_ref =&amp;gt; $hostview-&amp;gt;configManager-&amp;gt;networkSystem);&lt;br /&gt;
&lt;p /&gt;
foreach my $portgroup (@{$netview-&amp;gt;networkConfig-&amp;gt;portgroup}) {&lt;br /&gt;
if ($portgroup-&amp;gt;spec-&amp;gt;name eq $pgName) {&lt;br /&gt;
&lt;p /&gt;
$indic = 1;&lt;br /&gt;
&lt;p /&gt;
my $vSwitch = $portgroup-&amp;gt;spec-&amp;gt;vswitchName;&lt;br /&gt;
my $vlanId = $portgroup-&amp;gt;spec-&amp;gt;vlanId;&lt;br /&gt;
&lt;p /&gt;
my $hostNetPolicy = new HostNetworkPolicy();&lt;br /&gt;
&lt;p /&gt;
my $hostPGSpec = new HostPortGroupSpec (name =&amp;gt; $newName,&lt;br /&gt;
policy =&amp;gt; $hostNetPolicy,&lt;br /&gt;
vlanId =&amp;gt; $vlanId,&lt;br /&gt;
vswitchName =&amp;gt; $vSwitch);&lt;br /&gt;
&lt;p /&gt;
eval {$netview-&amp;gt;UpdatePortGroup(pgName =&amp;gt; $pgName, portgrp =&amp;gt; $hostPGSpec); };&lt;br /&gt;
&lt;p /&gt;
if ($@) {&lt;br /&gt;
print_screen('clear','red',$@-&amp;gt;fault_string, '-&amp;gt; ' . $pgName);&lt;br /&gt;
#VIExt::fail($@-&amp;gt;fault_string);&lt;br /&gt;
} else {&lt;br /&gt;
print_screen('clear','green','PortGroup has been renamed : ', $vSwitch . ' : ' . $pgName . ' -&amp;gt; ' . $newName);&lt;br /&gt;
}&lt;br /&gt;
&lt;p /&gt;
.......................</description>
      <pubDate>Thu, 01 Oct 2009 19:04:07 GMT</pubDate>
      <author>fordian</author>
      <guid>http://communities.vmware.com/thread/234643</guid>
      <dc:date>2009-10-01T19:04:07Z</dc:date>
      <clearspace:dateToText>1 month, 3 weeks ago</clearspace:dateToText>
      <clearspace:messageCount>2</clearspace:messageCount>
      <clearspace:replyCount>1</clearspace:replyCount>
    </item>
    <item>
      <title>update frequency for vm.summary.storage.committed</title>
      <link>http://communities.vmware.com/thread/234217</link>
      <description>Does anyone know what the update frequency is for the vm.summary.storage.committed (and related) properties?  Some user-originated activities will cause this to update but does vSphere periodically update it as well?</description>
      <category domain="http://communities.vmware.com/tags?communityID=2416">vsphere</category>
      <category domain="http://communities.vmware.com/tags?communityID=2416">sdk4.0</category>
      <pubDate>Tue, 29 Sep 2009 18:14:27 GMT</pubDate>
      <author>EmboticsSteve</author>
      <guid>http://communities.vmware.com/thread/234217</guid>
      <dc:date>2009-09-29T18:14:27Z</dc:date>
      <clearspace:dateToText>1 month, 3 weeks ago</clearspace:dateToText>
      <clearspace:messageCount>4</clearspace:messageCount>
      <clearspace:replyCount>3</clearspace:replyCount>
    </item>
    <item>
      <title>getting the size for all the virtual machine files</title>
      <link>http://communities.vmware.com/thread/234458</link>
      <description>&lt;br /&gt;
hello,&lt;br /&gt;
&lt;p /&gt;
Is there any way in vsphere API to get the size of all the files like for (.vmx/.nvram/.log)?&lt;br /&gt;
&lt;p /&gt;
I dont want to copy them on the box and check the size.&lt;br /&gt;
&lt;p /&gt;
&lt;p /&gt;
&lt;p /&gt;
-AsHwIN</description>
      <pubDate>Wed, 30 Sep 2009 20:48:58 GMT</pubDate>
      <author>Ashwin89</author>
      <guid>http://communities.vmware.com/thread/234458</guid>
      <dc:date>2009-09-30T20:48:58Z</dc:date>
      <clearspace:dateToText>1 month, 3 weeks ago</clearspace:dateToText>
      <clearspace:messageCount>2</clearspace:messageCount>
      <clearspace:replyCount>1</clearspace:replyCount>
    </item>
    <item>
      <title>how can i get datastore earlier than hostSystem</title>
      <link>http://communities.vmware.com/thread/234436</link>
      <description>&lt;br /&gt;
I connet to a virtual center and need get datastore ealier than hostSystem, and then list all of the host associated this datasore.&lt;br /&gt;
&lt;p /&gt;
&lt;br /&gt;</description>
      <pubDate>Wed, 30 Sep 2009 18:37:00 GMT</pubDate>
      <author>tqll</author>
      <guid>http://communities.vmware.com/thread/234436</guid>
      <dc:date>2009-09-30T18:37:00Z</dc:date>
      <clearspace:dateToText>1 month, 3 weeks ago</clearspace:dateToText>
      <clearspace:messageCount>3</clearspace:messageCount>
      <clearspace:replyCount>2</clearspace:replyCount>
    </item>
    <item>
      <title>VI SDK, powershell toolkit and getting AlarmState alarm ManagedEntity objects.</title>
      <link>http://communities.vmware.com/thread/188809</link>
      <description>So I use the VI Toolkit (for Windows) power shell in a c# app to give me a ManagedEntity and I want to loop over the triggered alarms to get alarm information, ie the alarm name and the managed entity that triggered the alarm. Using the following chunk of code...&lt;br /&gt;
foreach (AlarmState triggeredAlarm in myManagedEntity.TriggeredAlarmState) {&lt;br /&gt;
}&lt;br /&gt;
Gives me a VMware.Vim.AlarmState for all triggered alarms, which is great.&lt;br /&gt;
&lt;br /&gt;
But how can I use the VI SDK to get the corresponding Alarm for the triggered alarm? I want that because the Alarm object contains vital info like the AlarmSpec.Name?&lt;br /&gt;
&lt;br /&gt;
And the triggered alarm has a ManagedObjectReference Entity, how can I get the ManagedEntity object that corresponds to this Entity? &lt;br /&gt;
&lt;br /&gt;
I guess my question is simply how to go from an ManagedObjectReference to a ManagedEntity?&lt;br /&gt;
&lt;br /&gt;
I can use the VI Toolkit Get-View -Id... cmdlet to get this info, but it's too slow when I have many alarms &lt;img class="jive-emoticon" border="0" src="http://communities.vmware.com/images/emoticons/sad.gif" alt=":(" /&gt;</description>
      <pubDate>Tue, 13 Jan 2009 22:19:20 GMT</pubDate>
      <author>robmatrovemobile</author>
      <guid>http://communities.vmware.com/thread/188809</guid>
      <dc:date>2009-01-13T22:19:20Z</dc:date>
      <clearspace:dateToText>1 month, 3 weeks ago</clearspace:dateToText>
      <clearspace:messageCount>5</clearspace:messageCount>
      <clearspace:replyCount>4</clearspace:replyCount>
    </item>
  </channel>
</rss>

