Re: Clone VM from TPL, Change DVS Backing - Not allowed in current state
Ok so the next thing I was going to comment on was the template state.The only time i have seen the error you reference "The operation is not allowed in the current state" was when i was deploying from...
View ArticleRe: Help with creating baremetal VM on Storage DRS Cluster (vSphere SDK)
oh ok got it. So you are bypassing the applystoragedrsrecommendations_task completely. This might have to be the way I end up doing it. I just don't understand why it doesn't work the other way, but...
View ArticleRe: Help with creating baremetal VM on Storage DRS Cluster (vSphere SDK)
It seems that way yeh - i can't remember if that was intentional or if i tried the other way first and it frustrated me so i then came up with this method - as you say the end result is the same, would...
View ArticleRe: Incompatible device backing error when changing network adapter address type
I am currently doing the same. Reusing the nic and just change addressType and macAddress properties but I get the following fault:Fatal error: Uncaught exception 'Vmwarephp\Exception\Soap' with...
View Articlemount a volume always fail invoked by vmtools
Hi, I wrote a python script to execute command in guest OS by pyvmomi 6.0. The main function I used is "GuestProcessManager.StartProgramInGuest" to talk with vmtools in guest OS to execute specific...
View ArticleRe: Clone VM from TPL, Change DVS Backing - Not allowed in current state
That is what i thought too but template seems fine and the GUI can deploy (and make "experimental" hardware changes) ok. I have parked this for the moment to give me back some sanity! Just doing a post...
View ArticleRe: mount a volume always fail invoked by vmtools
Nobody met this kind of problem before?
View ArticleRe: PowerCLI 6.3 changes with VimClient.Connect() for C# - SSL/TLS Error
I am in the exact same situation with C#. Any ideas how I might manage to get around this error? Thanks.
View ArticleRe: PowerCLI 6.3 changes with VimClient.Connect() for C# - SSL/TLS Error
Able to work it out from some other searches....not the best way to do it perhaps, but will work for this purpose... private void IgnoreBadCertificates() {...
View ArticleCreate a VM through CreateVM_Task and SOAP WebServices
Hello, I am facing a strange problem here, trying to create a VM with Php & SOAP ! I managed to connect to my vCenter, and creating an "empty" VM with no additional hardware (no deviceChange...
View ArticleRe: PowerCLI 6.3 changes with VimClient.Connect() for C# - SSL/TLS Error
I found this generic solution: .net - C# Ignore certificate errors? - Stack Overflow, so it works for me.
View ArticleHow to get the uuid of a host system
Actually I want to add a PCIPassthrough device to a VM. In the VirtualPCIPassthroughDeviceBackingInfo, it need to set a systemId.systemId xsd:string The ID of the system the PCI device is...
View ArticleIs there any way to call system calls(like ioctl) in the SDK?
I need send a message a vmk device driver in the Java service, but I don't know whether current SDK support this.In a local application, I can use system calls to open the device and call ioctl to...
View ArticleRe: How to get the uuid of a host system
Does anybody know this?I find that the commands "esxcli system uuid get" and "esxcfg-info | grep 'System UUID'" in the ESXi shell also can get the value.The VMKernel UUID has the same value as this...
View ArticleAdding vGPU using pyVmomi
Hi Everyone I have been trying to add a vGPU using pyVmomi. I found a way of doing it in powershell from a blog which is as follows: Param ($VM, $vGPUProfile) $VM = Get-VM $VM $spec = New-Object...
View ArticleRe: "vDS dvs port cannot be found" when deleting a port mirroring session
I had the same problem and solved it: PROBLEM: Cannot disable, edit, remove any port mirroring sessions. Received error, similar to:"The object or item referred could not be found. vDS dvs port 463...
View Articlevvol datastore became inactive
Hello there After we registered our VASA Provider to the webclient(Version 6.5.0 Build 4240420),we successfully created datastores. But after we refreshing the datastores,their status came into...
View ArticleRe: Building and Running Samples (vSphere Web Services SDK 6.0 and JDK 8...
Lower versions of JDK works fine, and not the JDK 1.8. Any workaround? We need a solution.
View ArticleRe: Adding vGPU using pyVmomi
The powershell way I was referring to is available in the blog here:http://www.virtu-al.net/2015/10/26/adding-a-vgpu-for-a-vsphere-6-0-vm-via-powercli/ I am able to model removing a vGPU in a python...
View ArticleRe: vCenter API description about instance for virtual disk performance...
Hi mahe90, I have the same problem. Did you find any solution??
View Article