Quantcast
Channel: VMware Communities: Message List - vSphere Management SDK
Browsing all 2052 articles
Browse latest View live

Re: Personality

If you're on vSphere 5.x or later, you can use GuestOperationsManager to copy file and run processes in guest.  Best part of this API call, is it uses the VMware Tools and can be done even with the VM...

View Article


Re: Personality

We have a generic template we´re cloning. Then we want to inject personality files (text files) onto the new machine. Do you have to wait until the cloning is done, or can you inject it while its...

View Article


Re: Personality

You have to wait for the cloning to complete and the VM to boot up.  You'll need VMware Tools running to call the GuestOps methods. Technically, it is possible to mount the VMDK and insert files and...

View Article

Image may be NSFW.
Clik here to view.

Re: Personality

Okej, I see  But I create a VM instead of cloning. Is it possible then to create files on the VM before the "creation process" is finished?

View Article

Image may be NSFW.
Clik here to view.

Re: Personality

Whatever process you are using to install your VM Guest OperatingSystem could be hooked to install files.  You'll need an operating system to copy files into a Guest  If you need a file in there before...

View Article


Creating custom attributes using pyvmomi

Creating a custom attribute using the perl sdk looks like this:   $customFieldMgr->AddCustomFieldDef(name => $cfkey, moType => 'VirtualMachine');  Doing the same in python using pyvmomi...

View Article

Have server to download files

Is it possible to have the vSphere server to download files based on an asynchronos request?For instance, if I want to create a VM from an external image.So make a request to vSphere server and pass a...

View Article

Re: Have server to download files

I really doubt this is possible without some kind of script or some external third party tools.

View Article


Re: Have server to download files

Hmm, okej. Would it be possible to do this by creating a script and upload it and run it?

View Article


Re: How to import an ova image using VISDK

Old post, but did you find a solution to this?

View Article

How to specify entities when calling queryperf

The docs (vSphere Documentation Center) say 'As a general rule, specify between 10 and 50 entities in a single call to the QueryPerf method." How does one attach multiple eneties to queryspec? Thanks...

View Article

Re: How to import an ova image using VISDK

Indirectly.  You'll notice you stream bits into the API.  So in your case, you'd just pull from source and push them as you stream into the API.

View Article

Re: Have server to download files

You'll have to do this external to the vCenter server.  You could put the process/script on the vCenter server, but it's generally not recommended.

View Article


Re: How to specify entities when calling queryperf

The query spec is an array, so you just put multiple specs into the array.

View Article

Re: Have server to download files

Okej, is it possible to trigger this script through api?

View Article


Re: Issue with retrieveProperties

Even I do have the same issue (even with the retrievepropertiesex + continueretrievepropertiesex ) using vsphere 5.5.Is this the known issue  and vmware is working on this ?

View Article

retrievepropertiesEx crash if called from multiple threads

Hi Experts, i am using the createpropertycollector to create the propertycollector object. This is per-thread basis. if each thread calls up the  retrieveproperties(...), then there would be crash. How...

View Article


Re: Have server to download files

If the vCenter is virtual and is running VMware Tools, you can invoke the GuestOperations methods to run the script/program in the GuestOS.  Otherwise, you'll need an OS specific option to execute the...

View Article

Create VMDK via RDM to iSCSI target using SOAP API

We are attempting to create a vmdk that points to an iSCSI target via a RDM. Our goal is to have this process be 100% automated via the SOAP API, but cannot find the necessary function calls within the...

View Article

Re: Create VMDK via RDM to iSCSI target using SOAP API

When you create the RDM backing info, it will auto-create the file for you.  Just be sure to supply the LUN information.  If you want to create it with a specific file name, then you can specify the...

View Article
Browsing all 2052 articles
Browse latest View live


<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>