Questions tagged [vsphere]

vSphere is VMware's virtualization operating system.

667 questions
3
votes
3 answers

Is it possible to spin up VM using Vagrant and provider as vSphere in free edition of ESXi?

We are using free edition of ESXi. Is it possible to spin up VM using Vagrant and provider as vSphere?
Vasu
  • 187
  • 2
  • 10
3
votes
1 answer

How can I access a VM console from the command line of another machine

I have a VMWare vSphere 5.5 Hypervisor with a RHEL VM running on it. From my understanding of the documentation at http://libvirt.org/drvesx.html, I believe I should be able to interact fully with the VM using libvirt, via virsh. However, after…
Andrew Stubbs
  • 4,322
  • 3
  • 29
  • 48
3
votes
1 answer

nodejs + vmware vsphere sdk soap connection

I am trying to use NodeJS with soap and connect to VMWare's WSDL on a ESX or a virtual center but have been unable to do so. Any pointers would be really helpful. I am using node-soap and I also found a php tutorial using soap to connect to ESX…
waka-waka-waka
  • 1,025
  • 3
  • 14
  • 30
3
votes
2 answers

How to create new VM using VMware VSphere API via PHP

I'm trying to create a new Virtual Machine in VSphere via specifications entered into a web form POSTed to php. I found the method call CreateVM_Task (scroll 70% of the way down) which seems to be the right API call. My problem is how to connect…
Ryan
  • 45
  • 1
  • 2
  • 10
2
votes
1 answer

Deploying vSphere client plugin on vCenter 8.0 is failed

vSphere Client plugin Name is appeared on the vCenter with "failed" status with below failure message. I am looking for a solution to resolve this issue. "Error deploying plug-in. org.osgi.service.subsystem.SubsystemException: Framework could…
Meenakshi
  • 21
  • 1
2
votes
1 answer

Difference between "pyVmomi" and "vSphere Automation SDK for Python"?

When I was searching for pyVmomi (Python SDK for the VMware vSphere API) doc/examples I found the vSphere Automation SDK for Python page. The name sounds like another vSphere SDK but the APIs are quite different from pyVmomi. Is it pyVmomi wrappers…
pynexj
  • 19,215
  • 5
  • 38
  • 56
2
votes
0 answers

VMWare java SDK: When doesn't an available PerfMetricID report Data?

I'm trying to use vmware sdk for java to collect the perfomance data of each entity (cluster/datastore/Host/VM) in the vmware environment. The idea is to get the available PerfMetricIds for the target entity with queryAvailablePerfMetric, query…
DS_UNI
  • 2,600
  • 2
  • 11
  • 22
2
votes
1 answer

Packer with vsphere waiting for IP timeout

I am attempting to create VMWare templates using Packer. I have a simple file that is essentially a copy of https://github.com/guillermo-musumeci/packer-vsphere-iso-windows/tree/master/win2019.base. When I build this it times out at "Waiting for…
Matt
  • 41
  • 2
  • 6
2
votes
1 answer

ansible problem execut for get vm info in vsphere

I try to execute this ansible yml file to get vm info in vsphere, I have two files: hosts file: [Web] 192.168.11.11 #ip of my vsphere server test.vmware2.yaml file: - name: Gather all registered virtual machines community.vmware.vmware_vm_info: …
Mila88
  • 23
  • 5
2
votes
1 answer

vSphere VMware.Vim Clone_VM 'The operation is not allowed in the current state.'

My team is developing an application that needs to clone existing templates in our vSphere environment. We're using VMware.Vim in a C# application to do this. We're replacing an already existing implementation that uses PowerShell. Below is the…
2
votes
1 answer

Getting exit code 0x80131029, when running powershell through vmware API

I am getting exit code as 0x80131029 when running powershell through VMware API. Is there anyway I can find out the reason for this exit code through windows log or any other method? Following cmdlets are being…
2
votes
3 answers

Connecting to VCenter with PHP using REST API authentication error

I followed the instructions in the official vsphere site to get info from the server and from the answer of another user here . From what I have understood, firstly I have to get the session id (cis id), but I got "null" as a result. I tried…
alessiow
  • 29
  • 6
2
votes
1 answer

what is the linux file location where the cloud-init user-data is passed to?

what is the linux file location where the cloud-init user-data is passed to? And how does cloud init use that, is it passed as kernel parameter for proc commandline? Can explain in atleast level 2? How cloudinit works on bare eSXI?
kapata rajesh
  • 29
  • 1
  • 3
2
votes
0 answers

How to increase the screen resolution for VMWare/vSphere virtual machines for running Selenium tests?

While running Selenium tests using the Chrome driver on a virtual machine created in vSphere/VMware, the window size seems to be limited. Our tests try to set the window size to 1920x1080, which results in the following log messages: 2019-11-04…
niellus16
  • 51
  • 1
  • 3
2
votes
1 answer

How can I use vSphere Cloud Plugin inside Jenkins pipeline code?

I have a setup at work where the vSphere host are manually restarted before execution of a specific jenkins job, as a noob in the office I automated this process by adding a extra build step to restart vm's with the help of…
Vivin
  • 146
  • 1
  • 8
1 2
3
44 45