Questions tagged [vcenter]

VMware vCenter Server is a datacenter management server to manage VMware ESXi host system

VMware vCenter Server is a centralised management application to orchestrate vSphere. It can be used to monitor, operate, manage resource and performance evaluation of vSphere components.

267 questions
26
votes
3 answers

Failure on HttpWebrequest with inner exception Authentication failed because the remote party has closed the transport stream

Using C#, .Net 4.5, I'm trying to send out a web request through HttpWebRequest on a remote server. Please see the code below. I tried most of the solutions suggested by some forums but I always end up with the same error. Please see the stack…
13
votes
2 answers

PyVmomi add NIC with unconnected dvs ('config.distributedVirtualSwitch' is Unset)

I am using the code below in order to add a NIC configured with DistributedVirtualSwitch to an existing VM (via pyVmomi): def __AddNIC(si, vmconf_dict, network_name): vm = __get_vm(si, vmconf_dict) print " Network label : " + network_name …
Vano
  • 1,416
  • 1
  • 13
  • 26
7
votes
6 answers

vCenter REST API authentication

I am following this VMware documentation. What headers are to be provided to authenticate to vCenter Server while using REST API?
codec
  • 7,978
  • 26
  • 71
  • 127
6
votes
1 answer

Round a number in PowerShell one-liner

I'm using VMWare's PowerCLI to run this command to output an inventory of sorts from vCenter. Get-VM | Select-Object Name,MemoryGB,NumCpu,UsedSpaceGB,@{n="TotalHDSizeGB"; e={(Get-HardDisk -VM $_ |Measure-Object -Sum CapacityGB).Sum}},@n="Network";…
Josiah
  • 2,666
  • 5
  • 30
  • 40
5
votes
0 answers

terraform vsphere provider hangs while creating vm

I'm trying to create a VM based on a template (ubuntu 18.04) using terraform and vsphere provider. The final error showed by terraform apply.. command is: * vsphere_virtual_machine.vm: timeout waiting for an available IP address However, the VM is…
Vitor Carvalho
  • 335
  • 1
  • 5
  • 11
5
votes
1 answer

PropertyParams when deploying VM from OVF

I am using the VMWare vCenter REST API to deploy new Virtual Machines from OVF library items. Part of the API allows for additional_paramaters but I am unable to get it to function properly. Specifically, I would like to set the PropertyParams for…
NuSkooler
  • 5,391
  • 1
  • 34
  • 58
5
votes
1 answer

VCenter: REST API: How to upload ova to content Library

Iam trying to create a VM from ova using REST API. I can do this using this Rest API: https://vcenter_ip/rest/com/vmware/vcenter/ovf/library-item/id:?~action=deploy To do this, I uploaded the ova through VSphere client.…
Deepa
  • 862
  • 12
  • 21
5
votes
4 answers

Is vmware vCenter server necessary for esxi + terraform

I am currently investigating terraform, is it possible to create VM with Terraform on Esxi 6 without vCenter Server? Since I only have free version of Esxi 6 installed. Thank you in advance.
perigee
  • 9,438
  • 11
  • 31
  • 35
4
votes
3 answers

Troubleshoot docker Exit on 137 when "OOMKilled": false

What I did Started services on an AlmaLinux server with docker-compose up Noticed output of docker-compose logs wasn't changing for a while Check docker-compose ps $ docker-compose ps Name Command …
DannyDannyDanny
  • 838
  • 9
  • 26
4
votes
1 answer

How to add disk to VMware's VM host more efficiently by using Ansible offical module?

Env OS Version: CentOS 7.5 Ansible Version: 2.8.4 with python 2.7.5 ESXi and VCenter Version: 6.5.2 Purpose I have already completed my code, but I wondering if there are more better way to add disk to VM host by Ansible offical module. My…
Kai Kudou
  • 73
  • 1
  • 6
4
votes
1 answer

Vim25 A general system error occurred: Authorize Exception

I am trying to check whether vCenter user has privileges or not on root folder using VIM25 library. I am using hasPrivilegeOnEntity method. vimport.hasPrivilegeOnEntity(authorizationManager, rootFolder, userSessionKey, privilages); Above code is…
4
votes
1 answer

What are customvalue objects in the Ansible vmware_guest module?

We use Ansible extensively in a VMware environment. I found the customvalues option in the Ansible documentation at https://docs.ansible.com/ansible/vmware_guest_module.html#options. What are custom values in this module? Does this use VMware…
Dennis
  • 2,866
  • 7
  • 32
  • 49
3
votes
4 answers

VCenter 6.5 installation - internal error

I'm getting an error "internal error" when trying to "Set up vCenter Server Appliance" as shown in the attached screenshot: It starts as shown in the second screenshot and then it throws the internal error, it looks like it's failing to set the…
beepboop
  • 31
  • 1
  • 1
  • 3
3
votes
2 answers

How to get filtered VM list on vcenter with python

I'm trying to get a list of registered virtual machines - by their name - in my vcenter. The problem that I have many vms (~5K), and I am doing it a lot of times (O(1000)/hour). The SDKs I'm using causing it a lot of traffic…
eplaut
  • 666
  • 1
  • 7
  • 26
3
votes
2 answers

Cloudstack without using vCenter

I want to deploy 10-15 VMWare hosts to cloudstack. This is my first time working with any type of cloud. I was doing research on installation and architecture, I was stuck on a point that for using VMWare hosts i have to install VCenter server, but…
1
2 3
17 18