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
0
votes
2 answers

How to get vm creation time from the machine's properties

I'm using vijava (5.1) to fetch data from a vCenter about virtual machines. For that matter I'm using a filter with some properties (for example, guest.hostName, runtime.powerState etc.). I need to get the creation time for these virtual machines…
Noam
  • 3,049
  • 10
  • 34
  • 52
0
votes
1 answer

Thread does not create multiple VMs (session issue)

Data is taken from *.CSV file. Script should create in my test case 2 VM on the same vcenter but in different thread. Need guidance how to solve this. cls Add-PSSnapin VMware.VimAutomation.Core | Out-Null #import VM settings $VMs = Import-CSV…
vencrena
  • 65
  • 1
  • 10
0
votes
1 answer

Python list with Vcenter vm

I found a Python script to list all Vcenter VM attributes, but now I need to register some of attributes into a Python list (or array, dict... ). But it doesn't works. My getVminfos.py : EDIT : the right file : import argparse import…
Isador
  • 595
  • 3
  • 10
  • 23
0
votes
1 answer

Store output of vim-cmd command into a variable

I have a command that I want to run from a shell script which is: vim-cmd vmsvc/getallvms I would like to turn the output of this command into a variable which is: 60 abc-trunk [xxxxx] abc-trunk/abc-trunk.vmx rhel6_64Guest vmx-10 …
0
votes
1 answer

Multiple entries after storing one single certificate into my Java keystore

I'm using the class InstallCert to import a VMware vCenter certificate into my local Java keystore. The line socket.startHandshake() returns an UnsupportedOperationException, but the class SavingTrustManager still has downloaded the certificate…
vesontio
  • 381
  • 1
  • 7
  • 19
0
votes
0 answers

Connection closed error while using VMware vSphere Management 5.5 SDK

I have written a C# application to extract data from VMWare vCenter Server. When I run it on our production server I get the error: The underlying connection was closed: A connection that was expected to be kept alive was closed by the…
Anks
  • 11
  • 6
0
votes
1 answer

Create folder on VCenter server using Ansible

Problem statement: Given a folder name, Check if it exists on VCenter Server and if not create the same. Clone a VM from template under this folder. For example, I want to clone a VM under "Administrator Desktops" as shown in the following…
Shasha99
  • 1,746
  • 2
  • 16
  • 30
0
votes
1 answer

Moving ESXI host to Internal VM network

Is there a way to move the ESXI host to a network that was internally created? For example, I have a forest on that host with the DC acting as a router between an internal network (with all the VMs) and the internet. This is so when I tinker(learn)…
0
votes
1 answer

Check connectivity on virtual machine in vCenter

I am trying to write a small powershell script that checks the health of a newly started server. Here's what I want to do: Start VM if it's not already started Wait for Guest Tools to start running Run the powershell script Test-Connection…
Christoffer Reijer
  • 1,925
  • 2
  • 21
  • 40
0
votes
1 answer

Pyvmomi : Capture vcenter reset event for vms

I am using pyvmomi for capturing vcenter events using WaitForUpdatesEx method. But it is not able to capture vm's reset event as there is no property change in this case. It is capturing poweron, poweroff, suspend events as state changes for…
tarun
  • 11
  • 1
0
votes
1 answer

Getting Could not generate DH keypair Exception

I am getting this exception when vCenter(5.5) try to download zip file from a https server. VCenter server has JRE 1.6.0.31. I am aware of bug related to same issue in Java 1.6 and 1.7. This exception is caused by …
Bhushan
  • 567
  • 2
  • 5
  • 14
0
votes
1 answer

how to add a disk to vcenter guest using Ansible

I'm attempting to add a second disk to a vmware vcenter instance. Here is what I have: - name: "Modifying ..." local_action: module: vsphere_guest vcenter_hostname: "{{ vcenter.hostname }}" username: "{{…
Simply Seth
  • 3,246
  • 17
  • 51
  • 77
0
votes
1 answer

Unable to Login to VMware vCenter server through Cloud Foundry

I have installed Cloud Foundry in Windows 7 machine.I am trying to login to VMware vCenter server through Cloud Foundry CLI by giving API endpoint as IP address of vCenter server.I am getting "Server error, status code: 404, error code: 0,…
0
votes
1 answer

vCenter proxy implementation

I am writing a vCenter proxy using ssl-sockets in order to reduce number of connections to the vCenter. I have one connection using vi-java to update vCenter inventory (PropertyCollector, PropertyFilter, etc.) and I want to translate the objects…
DanielM
  • 3,598
  • 5
  • 37
  • 53
0
votes
1 answer

Ovftool error "Unsupported value" when converting a virtual machine

I get some ovf images. And I have a problem when I try to import on vSphere. I was looking at solutions but I could not find it. When I do a "deploy ovf template" on vCenter, I get an error: The OVF package requires unsupported hardware. Detail:…
byrqowy
  • 37
  • 1
  • 3
  • 10