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
1
vote
1 answer

OpenShift 4.5 IPI Installation on vSphere failing to connect to vCenter with self-signed certificate

I am following the installation docs for the new IPI install of OpenShift 4.5 on vCenter and running into a snag when trying to connect to the vCenter. I am running the installer from a CentOS 7 box. [root@lb ocp45_install_2]# openshift-install…
Eliza
  • 11
  • 3
1
vote
1 answer

Easiest way to provision vm from vCenter or oVirt

I have very less experience working on VM provisioning. As part of my current poc, I want to provision vm through API of either vcenter(VmWare) or through Ovirt(https://www.ovirt.org/). What is the easiest way to set up the ecosystem?
Rakesh
  • 1,374
  • 1
  • 16
  • 24
1
vote
1 answer

How do I get ipstack for VMs using vmware pyvmomi?

Is there a way to get the IPStack for a vm in vmware? Particularly using pyvmomi for python https://pubs.vmware.com/vi3/sdk/ReferenceGuide/vim.vm.GuestInfo.html#field_detail no longer shows ip stack and vm.summary returns a large list of info…
AlbinoRhino
  • 467
  • 6
  • 23
1
vote
1 answer

Is there a way to ignore disk provisioning changes on vsphere datastore side in terraform?

I am currently trying to work around a problem a customer has with his vcenter storage configuration. We create VMs with a terraform module and initially pull the values from "eagerly_scrub" and "thin_provisioned" from the vsphere template as…
kgorskowski
  • 745
  • 5
  • 12
1
vote
1 answer

Setting ESXi FQDN as the hostname in vCenter using PowerCLI

I'm trying to get and set the FQDN as the hostname for ESXi hosts in vCenter. I have the following command : $esxcli = Get-esxcli -vmhost 192.168.2.21 $getname = $esxcli.system.hostname.get() | select Fullyqualifieddomainname Now when I check the…
Huud Rych
  • 21
  • 5
1
vote
1 answer

How to list vCenter (VCSA) services in powershell / Powercli

I need to list the Linux-based vCenter (VCSA) Services in powercli / powershell script. I don't know of any powercli cmdlet that will list the services. I thought of using vSphere REST API newly introduced in vSphere 6.5 The two calls I tried using…
1
vote
3 answers

Can a VMware guest use ansible to determine it's own name and/or uuid?

I'm building an ansible playbook designed to run on a vcenter VM. It's run on startup by ansible-pull. My goal is to read the tags on the vm using ansible, then make some config changes to the guest system based on those tags. The difficulty is…
Mike A
  • 500
  • 4
  • 16
1
vote
1 answer

Ansible module for running commands inside vcenter server or Running certificate manager

I want to automate the process of "Replacing the certificate" using certificate-manager of vcenter through ansible playbook for vcenter. I have all 3 required certificates (I have generated it from third part CA) which we need to pass inside…
Gaurav Nagpal
  • 155
  • 2
  • 15
1
vote
0 answers

'Connection aborted.', error(32, 'Broken pipe')

I am trying to 'POST' several ~512 MB vmdk files to an ESX host, however, after first file is POSTed my program starts failing error with the following error: 'Connection aborted.', error(32, 'Broken pipe') I have tried increasing the request…
Aditya
  • 551
  • 5
  • 26
1
vote
0 answers

Call vCenter 6.5 REST API with vcsim simulator

Probably is a silly question but how can I call vCenter 6.5 REST API with vcsim simulator? I've not vCenter but I've install vcsim and govc from github, they works but no REST response. I've try several times. vcsim should answer the call: curl -sk…
Energy Dome
  • 153
  • 3
  • 8
1
vote
0 answers

ova fails to import, seems related to the BootOrderSection tag in the ovf

I've got an ova file that I've created with packer (via this plugin) that imports fine into my local vCenter managed vSphere cluster. I'm on version 6.5. I've got reports that a customer was unable to import this ova into their similar cluster. I…
Jeffrey Price
  • 21
  • 2
  • 3
1
vote
0 answers

503 Service Unavailable (Failed to connect to endpoint:

My Vsphere windows client threw this error while trying to connect to my vcenter. After following forum solutions, I ssh and check storage issues. There were two volumes which had maxed. 100%. I cleared old logs and now my storage is healthy.…
Gandalf
  • 21
  • 1
  • 6
1
vote
1 answer

Powercli Find Powered Off VM and shutdown date

I have a generic script that will show me all powered off vm's on a singular host. I would like to build upon that and have it show me what date it was powered off so we know how long it's been off for. Below is the script i'm using that shows me…
aztech
  • 71
  • 2
  • 5
  • 9
1
vote
0 answers

Unmouting datastore using VI Java

I am using VI Java to create, delete and clone a VM. I am unable to unmount datastores using VI Java. How do I retrieve all the existing datastores so that I can call destroy_task() on the datastore I want? ( I don't know if this is a good idea - if…
1
vote
1 answer

Terraform: cannot traverse type VmwareDistributedVirtualSwitch

Trying to setup kubernetes-anywhere for the first time, and I am having a challenge in getting terraform to use a distributed port group that I have setup in vCenter. The error message is: * vsphere_virtual_machine.kubevm1: 1 error(s) occured: *…
JoeAway
  • 11
  • 2