Questions tagged [vsphere]

vSphere is VMware's virtualization operating system.

667 questions
2
votes
1 answer

Deploy OVA to VCenter with Terraform

I am by no means a knowledgeable VMWare user at this point. I think this might just be a case where I just don't understand some essential concepts. I'm trying to deploy a VM into a VCenter, I have an OVA (template?) that I want to deploy…
Breedly
  • 12,838
  • 13
  • 59
  • 83
2
votes
0 answers

SOAP for ''esxcli storage core device detached list''?

I have an ESXi 5.5 installed. After some time, I noticed that there were multiple detached disks. Running the command esxcli storage core device detached list returns: naa.6000eb3b4f9264d90000000000001d6a off naa.6000eb3b4f9264d90000000000001d98 …
Mirel Vlad
  • 2,032
  • 3
  • 27
  • 35
2
votes
0 answers

execute command in Windows VM using pyvmomi

I'm using vSphere and I want to execute commands remotely using Pyvmomi. I found a sample which is execute_program_in_vm.py but unfortunately it's only working for debian/ubuntu. Is there anyway to execute command working for guest Windows…
Jwed
  • 21
  • 2
2
votes
0 answers

pysphere PerformanceManager fails to get statistics of datastores

I'm trying to get statistics of vsphere datastores. While I'm able to get statistics of hosts, it fails with datastores: from pysphere import VIServer server = VIServer() server.connect(HOST, USER, PASSWORD) pm =…
EliadL
  • 6,230
  • 2
  • 26
  • 43
2
votes
1 answer

VMWare pyvmomi 6.0.0 : Operation not supported

I am using VMWare's pyvmomi to manage my ESXI's virtual machines I'm using : pyvmomi-6.0.0 with python 2.7.5 to clone a VM on VMWare ESXi 6.0.0 Update 1 which is managed by vCenter Server 6 Using pyvmomi, i can successfully retrieve vm objects,…
Nicolas B.
  • 315
  • 2
  • 9
2
votes
2 answers

PowerShell: How to get the name of my ESXi

How to get the ESXI Name? what I tried: Add-PsSnapin VMware.VimAutomation.Core -ErrorAction "SilentlyContinue" $User = $Password = $ESXiServer = "IPAddress" Connect-VIServer $ESXiServer -User $User -Password $Password $Datacenter =…
frhling1
  • 55
  • 1
  • 6
  • 11
2
votes
0 answers

Kubernetes dashboard on vSphere, fresh install gives "no route to host"

This was taken from Github (issue #24407) to Stackoverflow. Even with the commit from Friday, May 6th 2016 (commit c11229f) to cluster/vsphere, this error Error: 'dial tcp 172.17.0.2:9090: no route to host' Trying to reach:…
Henk
  • 330
  • 7
  • 18
2
votes
2 answers

Custom dynamic inventory scripts/plugins in Ansible

Ansible allows devs to write programs (in any language) that will return JSON describing the dynamic “snapshot” of current hosts. I’m using vSphere, which is currently not supported by Ansible OSS, and so I need to write such a "custom inventory…
smeeb
  • 27,777
  • 57
  • 250
  • 447
2
votes
0 answers

How to manage Docker server by multi clients

I want to implement Docker for my project. Now, my project has an enterprise server (Redhat 6) which is running ESXi. We created many developer accounts and set permissions for them. Our developers use the vSphere Client to manage the virtual…
Tuan
  • 2,303
  • 2
  • 25
  • 37
2
votes
1 answer

VmWare vSphere: send automatically mail/notification on event

I'm new on vsphere and I have an important question. Is there a section where I can set parameters that allow a vsphere to send me notifications/email when a condition happens? For example when a virtual machine cpu usage go over a value that I…
Michele De Nardi
  • 636
  • 8
  • 31
2
votes
1 answer

Enable Management API in VMWare vSphere Hypervisor

I am using the free version of vmWares vSphere Hypervision 6. The problem I have is that I want to use the Management API. I want to start and stop vm's and also take and reset to snapshots via scripts but the API is read-only for the free…
Jakob Auer
  • 131
  • 1
  • 9
2
votes
2 answers

How do I query vSphere for an existing virtual machine?

Using the VMware.Vim library (part of PowerCLI I believe) I'm trying to find a specific machine that exists in vSphere. My code looks like this: using VMware.Vim; var client = new…
Paul
  • 2,698
  • 22
  • 27
2
votes
1 answer

How to compare vm Templates between two VMware vsphere environment?

I'm using two different vsphere environments for deploying my application. I'm using a template of pre-installed RHEL, and from time to time I want to update the template on both environment (usually for security reasons). While I'm updating one…
eplaut
  • 666
  • 1
  • 7
  • 26
2
votes
0 answers

Information about VSphere sdk Java Service export several objects.

At the moment I am trying to create a vsphere web service. I have exported all the necessary back - end class as well as some other parsers. The idea is that I need to extend DataProviderAdapter probably to send and receive information from the GUI.…
celeborn
  • 308
  • 2
  • 13
2
votes
2 answers

How Can I deploy OVA file on Vsphere Client with python

I want to automate deploying OVA image on VSphere with python. I looked up at some packages viz. Pysphere, psphere but didn't find direct method to do so. is there any Library I'm missing or is there any other way to deploy OVA/OVF files/templates…
Uday Swami
  • 395
  • 8
  • 22