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

Re: Deploy OVF C#

First off apologies: this post is >1yr old and responding to old posts is a bit off form.....but I have just spent 3 days fighting with the same problem so thought it worthwhile posting what I had...

View Article


Image may be NSFW.
Clik here to view.

vMotion of a virtual machine with multiple data stores in vmmigrate.pl

Hello I am using vmmigrate.pl to write a shell script to vMotion a virtual machine. System configuration is vCenter x 1, ESXi x 2, Stgege x 1, physical server x 1. We plan to run vSphere cli based...

View Article


Image may be NSFW.
Clik here to view.

Re: PHP - vSphere WSDL Primer

HI ,  Could you please show sample for InitiateFileTransferToGuest or AcuquireCredentailsInGuest method via soap client. I'm stuck at  passing the auth in InitiateFileTransfer it says dynamicType and...

View Article

Image may be NSFW.
Clik here to view.

Re: How can I bypath the Root CA when using HTML Console?

I was running into the same issue. I ended up performing a HTTP request, then getting the ssl info and creating a certificate and installing into the Firefox certificate database. This was done with...

View Article

Image may be NSFW.
Clik here to view.

SOAP 'Login': Cannot complete login due to an incorrect user name or password

Hello all -- I'm attempting to perform a 'Login' SOAP method, but am receiving a ServerFaultCode with the string of "Cannot complete login due to an incorrect user name or password." The username and...

View Article


Image may be NSFW.
Clik here to view.

Re: SOAP 'Login': Cannot complete login due to an incorrect user name or...

Turns out I had the wrong endpoint being utilized in the RetrieveServiceContentResponse and Login POSTs . Fixing this results in a successful login.

View Article

Image may be NSFW.
Clik here to view.

vSphere SDK / API wmks.min.js Idle Timeout

Hi there, We have developed our own client portal for various reason beyond the scope of this discussion, however we have hit a snag and I would greatly appreciate any input or assistance in this...

View Article

Image may be NSFW.
Clik here to view.

Noob trying to create simple C# exe from SDK, can't find apputil.dll

I'm a fairly proficient C# and C++ Windows developer, and I'm getting started with this whole SDK. Not being sure which one I need, so I downloaded VMware-vSphereSDK-6.5.0-4571253. The samples, even...

View Article


Image may be NSFW.
Clik here to view.

Rest Java - VM creation

1. Is it possible to create VM with template configuration using REST Java?2. Is it possible to apply OS customization on VM using REST Java ?

View Article


Image may be NSFW.
Clik here to view.

vSphere SDK windows authentication

Hi, I'm using .NET c# and so far I'm connection to the vCenter in next way: VimClient client1 = new VimClient();client1.Connect("https://<hostname>/sdk");client1.Login("user", "pass"); However,...

View Article

Image may be NSFW.
Clik here to view.

how can i use Python script to login to config network information?

guys,i got a question here: when i finished building a esxi vm through vCenter and installed an OS,can i or how to use Python code to login to config network service? any help?much thanks  

View Article

Image may be NSFW.
Clik here to view.

Attach vmware tools image to PXE booted host

I am trying to boot my host using PXE, as I need to change the image frequently.But the problem is, I don't see any vmware-tools image attached to the host.Which in turn, gives me error whenever I try...

View Article

Image may be NSFW.
Clik here to view.

Re: CloneVM_Task throws error "The request refers to an unexpected or unknown...

Hi Anandraj, could you solve your issue? I am also trying to use the cluster instead of a specific host and getting the same error?Please share.

View Article


Image may be NSFW.
Clik here to view.

Get ESXi local filesystem details like capacity and freespace

Hi, We can get the disk information of guests using GuestDiskInfo objecthttps://code.vmware.com/doc/preview?id=4206#/doc/vim.vm.GuestInfo.DiskInfo.htmlIt gives us capacity as well as free space. Is...

View Article

Image may be NSFW.
Clik here to view.

Re: PowerCLI 6.3 changes with VimClient.Connect() for C# - SSL/TLS Error

Hi there Currently I am switching my app from 5.1 dll to 6.5 dll How implement this solution for VimClient.Connect ? regards

View Article


Image may be NSFW.
Clik here to view.

can not find HostSystem mob on vpshere mob webpage.

Hello,      I am trying to check some iscsi infomation, I followed this discussion How to get the iscsi initiator name(iqn) of esx using vsphere sdk , I login into the (version 6.0) vcenter's mob...

View Article

Image may be NSFW.
Clik here to view.

Re: can not find HostSystem mob on vpshere mob webpage.

You need to drill down into the rootFolder object, or if you know the moRefID of your host, just hit it directly in the MOB with https://<FQDN>/mob/?moid=host-NN

View Article


Re: can not find HostSystem mob on vpshere mob webpage.

Thanks for your help, I had have found the mob.

View Article

Image may be NSFW.
Clik here to view.

Re: can not find HostSystem mob on vpshere mob webpage.

If your issue is resolved, could you mark it as such so others know?

View Article

Expanding VMDK in 6.5 with c#

I would like to expand a VMDK on a VM in our 6.5 environment via the c# Management SDK, and if I understand the documentation correctly the best way to do this would be to leverage HostExtendDisk_Task...

View Article
Browsing all 2052 articles
Browse latest View live


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