Question about Plug-in Development for our PCIe SSD
We are going to develop the Plug-in for our PCIe SSD under vCenter Web UI.Our product is PCIe SSD, which is the same as Fusion-IOs IODrive.We develop the Block and SCSI driver for our PCIe SSD under...
View ArticleUsing SearchDatastore to find a file.
I have a simple request, I am using VIperl to write my script. I need to check for a file in a datastore location and then run my if statement. I have been able to use searchdatastore but it...
View ArticleIssues with InitiateFileTransferFromGuest
We recently switched our code from using VIX to using the new web SDK guest services. We have noticed a strange issue with the InitiateFileTransferFromGuest call. It appears that the first time we...
View ArticleNeed help: Using SDK perl for creating a new Datacenter
Hi All, I'm very new to using Vmware SDK for Perl and I'm stuck with some very basic issues. I'm trying to create a new Datacenter using the below code but its failing and I am not able to debug....
View ArticleAlarm statuses
Hi everyone,I'm trying to create an application that notifies me whenever a vCenter alarm gets triggered however I keep getting a gray value for the OverallStatus field of the AlarmState object for...
View ArticleOVA import using importVapp fails for ISO files
I am using Java SDK to import OVA from local file system. I followed the sample code in vapp/OVFManagerImportLocalVApp.java That works fine for VMDK images. Unfortunately my OVA also contains an ISO...
View ArticleGet virtual disk IO operation offset and translate it to pysical storage offset.
Hello, I have 2 problems that i couldn't solve yet.1) How can I get the VM virtual disk offsets of IO operations? For example, I need to get all IO virtual disk offets from last 20 seconds.2) If I will...
View ArticleList of Standard switch portgroups in a ESXi (or) VC
Hi, Is there a way to get the list of all standard switch port groups that are created in a ESXi server / VC..? I could get the list for DVS, but for standard switch I couldn't find the exact way or...
View ArticlevSphere6.0 login issue: javax.xml.ws.soap.SOAPFaultException: The session is...
In our plugin, we need to retrieve the extension information from ExtensionManager. We use the following code to do that. private static void setContext(VCenterInfo vcenter) { Map<String,...
View ArticleProgrammatically discover Web Client (server) location from vCenter?
Hi- is there a way, using the vSphere Management SDK (or otherwise) for a particular vCenter to discover the location - IP address/hostname of the vSphere Web Client server or servers which are...
View ArticleHow to revert to an older version of an extension in a production environment
If I register an extension with vCenter with version number 0.0.1 and then later upgrade it to 0.0.2, How can I revert back to the older version (0.0.1)? I ask this as we may sometimes we need to move...
View ArticleIs it possible to use vSphere scheduled task to call my own script in vSphere...
I have written a script which can be called using command line, and i want it can be called when triggering vSphere scheduled task.The API to create scheduled task is "createScheduledTask" method of...
View ArticleGetting "Session not authenticated" while calling createUser function
Hi, We get successfully connected and authenticated to VMware ESXi machine using the webservices.But when we try to do some more operations like 'createUser()' it gives us error saying "Session is not...
View ArticleChanging network settings of guest-OS using vSphere API
Hello, My question is regarding the VSphere 5.5 API: I would like to change the network settings (IP, net-mask, dns etc.) of an OS (Linux & Windows) installed on a VM.It seems that the correct way...
View ArticleExample code for adding to Recent Tasks
I would like to track action progress using the Recent Tasks view. I can't seem to find any sample code to help. I saw some other threads that suggested looking at the WSSDK, but I didn't find...
View Articlecom.vmware.vim25.DvsPortConnectedEvent - howcan i retrive theDistributed...
We need to listen to this event,based on the name and port we need to retrieve the info from our db.Please suggest appropriate methods
View ArticleAutomatically distinguish between RDM Vmdk and vmdk file.
Hello all, I am working on an application that customise a virtual machine. So far I was using only RDMs, which as you probably know are pointers to physical disks. However, for the RDMs, I am using...
View Articlehow the file delete is handled for thick and thin disks ?
Hello Experts,Does it create the hole or zero-out when the file is deleted for thick or thin disks ?does CBT recognize this hole and doesn't give these blocks ?Thanks, Balu
View Articlehow to identify thick and thin disks ?
Hi,Using vSphere APIs, is there a way to identify disk type (thick and thin) ?Thanks, Balu
View Articleexamlple of using CloneVM_Task() in .NET
Hello, Can anyone provide me a well-written, working example of c# code that uses the CloneVM_Task method? I find VMWare samples that came with the SDK complicated, hard to understand and modify for my...
View Article