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

Set dynamic IP to virtual machines on vSphere

Hi everyone : I'm using an evaluation license on vSphere and wanted to try out some stuff. I have two machines connected to a vSwitch, a VMKernel well configured with subnet 192.168.0.0/24. The thing is I don't want to set IP of my machines…
1
vote
2 answers

What is a difference between vcenter's template and virtual machine?

As in the topic. I wonder since I cannot find this information anywhere and currently I am using a virtual machine (linux) on my vcenter which is cloned and then a special shell script is run on this freshly cloned machine to setup up environment…
Patryk
  • 22,602
  • 44
  • 128
  • 244
1
vote
1 answer

Shutdown Host in v-center using c#

I am a starter in c# and I have a small knowledge. I have made a windows application on c# that shutdwon windows servers in my network remotely. I have a v-center server that hosts two Hosts with virtual machines. I could connect to the virtual…
Jaz
  • 689
  • 1
  • 5
  • 11
1
vote
1 answer

Unable to create filterPolicy on DVS port on vCenter (VMWare)

I am tring to make script controlling firewall rules on DVS ports. Here is my script(I have tried to post only relevant part, but even it big enough): #!/usr/bin/evn python import sys import pprint from oslo.vmware import api as vmware_api from…
Dmitry Bogun
  • 164
  • 1
  • 2
  • 6
1
vote
4 answers

searchManagedEntity for Datastore in vSphere6.0 returns null :VIjava

I created an serviceInstance of vCenter 6.0 using vijava5.5 When i try to fetch the properties of Datastore using SerachManagedEntity am getting null response even for available datastore Datastore ds = (Datastore) new…
asvignesh
  • 787
  • 2
  • 6
  • 32
1
vote
1 answer

vSphere API host turn OFF/ON

It's possible to turn on/off host using vSphere API using vCenter? I can't find suitable function on VMware API or some example in pythonor other language.
bob_marley
  • 11
  • 3
1
vote
1 answer

Powershell Match virtual hard disks in Virtual Center with their disk labels

I would like to match the drive in the windows os to the vCenter *.vmdk. Here is a link for the informations I need. I find no way to get "Location 192 (Bus Number 0, Target Id 0, LUN 0)" with powershell (info from disk). From the WMI I don't get…
Patrick
  • 2,128
  • 16
  • 24
0
votes
0 answers

Vcenter The installer is unable to connect to the vCenter Server Management Interface. Installer log files are located at

I cannot install Vcenter on ESXI, I got this error "The installer is unable to connect to the vCenter Server Management Interface. Installer log files are located at ..." I tryed to ping the IP address and its not responding (request time out) how…
0
votes
0 answers

Querying vCenter for VM info using PowerShell - Too slow

Is it possible to make the below PowerShell code run faster? try { $ConnectionObject = Connect-VIServer -Server $vCenterServer -Credential $Cred -Force } catch {} if($ConnectionObject -and $ConnectionObject.IsConnected){ $AllVMs = Get-VM…
Steve
  • 337
  • 4
  • 11
0
votes
0 answers

vmware Deploying OVA through python api

Running into some challenges with deploying an OVA. Been beating my head against the wall for a couple days and need to call in some help. The goal is to deploy an OVA to a vcenter. Keep in mind this is a lab environment so there are self signed…
Jared
  • 135
  • 1
  • 13
0
votes
0 answers

VCenter behind Nginx Proxy Manager comes the error message: HTTP Status 400 – Bad Request

I would like to do the vcenter behind a proxy in the network. we use Nginx proxy manager. I configured the vcenter server in nginx with the advanced configuration sub_filter "VCENTER-FQDN" "EXTERNAL-FQDN"; proxy_set_header Host VCENTER-FQDN;…
0
votes
0 answers

How to create X count vDS port groups with different VLANs for each VM in vmWare vcenter via Ansible?

I have 100 VMs, and each of them needs to create 3+ port groups in vmWare vDS with its own VLAN. lets take for example only 9 VMs. For each VM needs to be created 3+ port groups with names like: "vDS VM 1 vlan 11" "vDS VM 1 vlan 21" "vDS VM 1 vlan…
0
votes
0 answers

Ansible Vmware Guest: Add a 2nd NIC on VM

On Ansible 2.9 I'm using the community.vmware collection in order to deploy VM's and increase resources on existing VMs (CPU,RAM,HDD and NICs) I'm struggling with the last once since I need to specify the first network to add a 2nd one (otherwise it…
Greens
  • 3
  • 6
0
votes
1 answer

How to check for vCenter Server updates with the vSphere Python API?

I want to automate the checking of new vCenter Server updates with the vSphere Python API with the intent in mind to then be able to decide with a prompt if I should update or not. I checked for existing scripts and went through the API…
Antoine
  • 9
  • 3
0
votes
0 answers

vmware / centos extend disk

I have some backups going to a mount point on a VM running centos below. I have extended the disk in vcenter and I can see the extra space, but I am not sure how to proceed with making this extra space usable. I have looked into extending the…
Matt
  • 1