Questions tagged [vmware-vcenter]
This tag should be used to request advice on issues involving a vCenter installation issue or configuration problem.
565
questions
0
votes
0
answers
31
views
Ansible / VMWARE - Retrieve network interface labels and start them according to the information for each VM
Context
I'd like to retrieve the network interface labels for each VM, which I define directly in a variable array, and connect them. Knowing that the network interfaces already exist on each VMs.
I ...
1
vote
1
answer
50
views
How can I powerdown VMs to enter Maintenance Mode to apply vCenter component update in vSphere Lifecycle Manager Images when vCenter itself is running
My basic question is: is it possible to use vCenter to apply a component update to the host, seeing as how I would need to shutdown the VMs in order to do it, and crucially 1 of them is a router VM ...
0
votes
0
answers
68
views
Error trying to get disak space usage from discovered VMS using Zabbix
I am trying to create a trigger on a template called Template Virt VMware Guest in order to extract the % of free space of the VMWARE VM that has the template inherited.
What I did was:
Going to the ...
1
vote
1
answer
123
views
Internal network exception on the k8s following VMWare vMotion
Our k8s cluster uses VMware VM as worker nodes. K8s version is 1.22.9, network is flannel, kube-proxy mode is iptables.
A worker node with storage was moved with vMotion. After the migration is ...
0
votes
0
answers
128
views
how to pull all VMs and its associated storage using govc
I'm able to connect to Vcenter using govc, however I would like get a list of all VMs within a specific folder with it storage(Related Objects) or datastore cluster in a comma separated format.
Can ...
0
votes
1
answer
36
views
Sending ESXI audit logs to http endpoint?
Is it possible to send audit logs from ESXI's (or better yet, vCenter) to an http endpoint via API/webhook rather than a syslog server?
Couldnt find a direct answer or a tutorial online.
Thanks!
0
votes
0
answers
39
views
Need help on how to Reset the powerstate of multiple VM's similar to obtaining multiple VM's powerstate using a VMware Dynamic Inventory File
I am trying to create and use a playbook that will reset the power of ONE, TWO or ALL VM's similiar to the playbook I use to obtain the powerstate of ONE, TWO or ALL VM's.
Here is my current setup and ...
1
vote
1
answer
121
views
Ansible / YML code needed to Reset / Power Cycle a VMware VM
I have a file called "vcenter.yml" in my hosts folder which is used to authenticate to my vcenter and perform a dynamic inventory of this vcenter. I use this file to gather VM info and also ...
0
votes
0
answers
19
views
Installing Open VMware Tools on different Ubuntu versions
I have a range of Ubuntu servers dating back to v18.04.
Each one has a different version of Open VM Tools available through its' repository.
Is there anything that's preventing me from compiling and ...
5
votes
1
answer
213
views
The GPU usage provided by nvidia-smi command is very different from GPU metrics from guest OS
I'm working on a project that can monitor virtual machines' vgpu usage.
The hypervisor is vCenter, we have nvidia A16 cards installed on vCenter hosts, and assigned a16 vGPU to a couple of windows VMs ...
1
vote
0
answers
341
views
Can Packer connect to a VM in vSphere via SSH?
I'm just getting started with configuring a VM on VMware vSphere and I'm using HashiCorp Packer to create the VM template. I'm very pleased with how most things are working out for me, but I have a ...
0
votes
1
answer
103
views
Why does VMware count memory as storage and how can I disable this behavior?
Coming from a Proxmox environment to VMware I'm puzzled by this behavior:
It's a rented environment and I was asked how much memory/disk storage/CPU do I need. I didn't account for memory randomly ...
0
votes
0
answers
708
views
Deploying VM from VM template on vmware vCenter with Ansible makes network unreachable
OS: Oracle Linux 8.7
vCenter: 7.0.3 build 20051473
hypervisor: VMware ESXi, 7.0.3, 19193900
ansible-playbook [core 2.13.5]
python version = 3.8.10 (default, Nov 14 2022, 12:59:47) [GCC 9.4.0]
jinja ...
0
votes
1
answer
197
views
DNS issue with CentOS7?
I am working in a VMWare environment creating a network for a college class, and I keep running into what I can only assume is a DNS error with my two CENTOS7 systems. The system environment is as ...
-1
votes
1
answer
3k
views
unable to get deployment statu
During VMware vCenter 7 deployment on the second stage of installation, after a reboot, when trying to log in https://:5480/ redirects to https://:5480/configurev2/#/
"unable to get deployment ...
1
vote
4
answers
354
views
move-vm not working : Could not find VirtualMachine with name
I am trying to cross migrate VM across two Vcenters ( from 6.5 to 7.0)
with move-vm command, but something is wrong, couldn't find my test-vm, even basic get-vm find it.
$global:DefaultVIServers
Name ...
1
vote
1
answer
636
views
vSphere errors when replacing certificate
When I try replacing my machine certificate with one I just got from ZeroSSL, I get the following error:
Invalid base64 encoded X509 certificate string
If I remove the -----BEGIN CERTIFICATE----- and ...
1
vote
0
answers
258
views
vCenter Server Appliance Autostart Services Stopped
Look at all these automatic start services that are stopped after a reboot.
And navigating to the vSphere client returns a "no healthy upstream" error.
This appliance is a couple days old. ...
1
vote
2
answers
580
views
Can vCenter be installed through NAT?
I'm setting up a new data centre, working with some hardware on the other side of the country with nobody onsite for a few days. So in the meantime I've set up port forwarding to access internal ...
0
votes
1
answer
544
views
vCenter "Recent Tasks" pane: How to make "Pick columns" customization persistent
Everytime I login to vCenter the first thing I do is uncheck a few columns in Recent Tasks > Pick columns. The vCenter just cannot remember my choice which is quite frustrating. Is there any way to ...
1
vote
2
answers
3k
views
Finding the ESX/ESXi host in vSphere cluster on which a virtual machine is running programmatically via REST API
For any powered on VM in a given folder I want to retrieve its IP address and the ESXi host it's running on. I'm haveing problems finding an REST API endpoint to retrieve the ESXi host a VM is running ...
2
votes
2
answers
2k
views
How to upgrade ESX 6.7 to 7.0.3 with vCenter's Lifecycle Manager without importing an ISO?
I have upgraded vCenter from 6.7 to 7.0.3 (u3e) and next I want to upgrade ESX to 7.0.3. From vCenter's Lifecycle Manager > Updates I can see 7.0.3 builds listed but I did not find how I can make a ...
0
votes
1
answer
361
views
ESX hosts crash within same vcenter cluster
I have a vcenter cluster of 12 ESX hosts (ClusterA) and another cluster of 3 ESX hosts (ClusterB). All of these are a mix of poweredge r620s and r630s.
Some of the hosts have hardware errors that can ...
0
votes
1
answer
274
views
ovftool import succeeds but VM is not able to be found
So I am importing a VM using the following command:
ovftool.exe --name="test_VM2" --datastore="vsanDatastore" C:\Users\testuser\Desktop\VM_Exports\test_server.ova "...
0
votes
1
answer
1k
views
vSphere Enhanced Authentication Plugin for SSO
I have recently configured a vCenter Server to monitor our companies virtual machines, and would like to use the Windows Sessionauthentication.
The vCenter is already joined to the AD Domain, and i ...
1
vote
0
answers
306
views
Is there a way to automatically install vmware tools on new Windows server VMs upon VM Creation in vCenter7?
We are running vCenter7 to manage our virtual machine infrastructure, i am trying to set up backup verification with nakivos screenshot verification feature, however when the flash VM boot job ...
0
votes
1
answer
561
views
Linux VM on IBM Power Machine to move to X86 hardware and vice versa
As we know, with VMware we can connect different x86 hardware like HP , Dell etc and can move VMs to different hardware without any downtime.
Is there any solution available which can integrate IBM ...
0
votes
0
answers
89
views
VMWare VSphere to AWS Backup with Hypervisor Plugin
Following along with this documentation, got the virtual machine up and hypervisor registered in AWS Backup console but when the backup runs I get a permissions error. When I try to run a on demand ...
-3
votes
1
answer
1k
views
Clone VMWare VM to multiple VMs
I use vCenter cluster of several ESXi servers, with VSAN storage.
I need to setup multiple VMs from a single vm.
Is there a way to clone one VM to multiple VMs via vCenter? is there a feature for that?...
0
votes
1
answer
1k
views
Why should I enable promiscuous mode?
I'm currently using an environment lab for testing ESXi so I run nested ESX(two ESX are installed on ESX)
The problem is I was trying to install vCenter on both of my lab ESX and at the end of stage 1 ...
0
votes
2
answers
738
views
write shell script or other script on vCenter
esxcli is existed on vSphere. But I need to write script on vCenter and vCenter doesn't have esxcli command.
How can I write script for vCenter?
2
votes
1
answer
587
views
vmWare and maintenance mode on primary HA (DRS) host
I have to make a change to all my esxi hosts in a cluster that has DRS enabled, one of the hosts is the primary host for HA. As far as I know a host is selected by the system during an election ...
1
vote
1
answer
16k
views
Failed to deploy OVF package. ThrowableProxy.cause A general system error occurred: Transfer failed: Invalid response code: 500
Versions:
ESXI: 7.0 Update 2 (build number 17867351)
VMware Workstation: 16.1.2 build-17966106
I exported a VM from QKVM (Qnap KVM) and been trying to import it into one of our ESXIs using vCenter, ...
2
votes
1
answer
4k
views
What kind of services does ESXI SLP port advertise to locally connected hosts?
I got enthusiastic about the last exploitations of ESXI CVE-2021-21974 (heap overflow exploitation). After researching the SLP service, which is the weak point in this CVE, I tried to turn it off, ...
0
votes
1
answer
400
views
vSphere70u1 - How can the vCLS agent VMs provide Clustering Service?
vSphere 7 Update 1 added a new "vSphere Clustering Service (vCLS)" and according to the doc:
Basic Architecture
The basic architecture for the vCLS control plane consists of maximum 3 ...
0
votes
1
answer
117
views
could not launch vCenter vSphere client
I just installed vCenter on an ESXI host (v7.0 U3):
(my storage is only 256GB, so I choose "thin" mode)
It seems that "vSphere client service" is healthy.
And I can see linking ...
1
vote
2
answers
700
views
vCenter in a ESXI host that it manages
We have 2 physical servers (A and B), each with ESXI 7.0 installed. We'd like to manage them with vCenter. Can we install vCenter on one of those servers? Is it advisable?
0
votes
1
answer
96
views
ESXi v in v setup - distributed switch kills all interhost communication
On all distributed port groups I disabled all security settings and set everything to promiscuous.
I've got a setup I built where I have three virtualized ESXi hosts. Their management vmkernels were ...
1
vote
1
answer
760
views
why ansible doesn't recognize the vcenter windows machines?
I'm pretty new with Ansible so I might configured things wrong
[I have a Docker container running Ansible service in it
I have an Ansible repository that include the Ansible files (this is a .Git ...
0
votes
1
answer
419
views
Show guest memory utilisation in vCenter
Is it possible to record and show the amount of memory that a Windows guest OS is using in vCenter? In this blog post VMware recommends using the guest OS memory counter for capacity planning. However,...
0
votes
2
answers
552
views
How to patch vmware-esxi via vcenter
Our company is using a single vmware-esxi host (vmware-esxi v6.5) which hasn't been patched since installation. The VMs are a windows server and a vcenter appliance.
Using Update Manager I attached ...
0
votes
0
answers
136
views
Changing Vcenter and Esxi IP's
Guys I have a Vcenter with lots of Esxi hosts and all of them have public IP addresses in their vmkernel's (managment) and now we need to change all of them to private IP is there any easy way to do ...
0
votes
1
answer
1k
views
Reinstalling ESXi - How to retrieve data
I have lost my ESXi password and I want to reinstall the ESXi server. How can I get the Vms up and running after installing ESXi since I am using Physical SAN to store them (including Vcenter). Please ...
0
votes
1
answer
2k
views
Can't access ESXi console after restart, vCenter is powered off
We have a vCenter 6.5 U3 hosted in one ESXi 6.5 U3, the host got restarted and vCenter wasn't set to automatically start, now vCenter is powered off and something is preventing us to log on ESXi.
If I ...
0
votes
0
answers
97
views
vCenter network setup
Following design to be applied:
ESXi Host standalone
vCenter deployed on ESXi
Network-Config ESXi:
Config vCenter:
Error-Message:
Problem:
I want to have the vCenter management enabled on the ...
1
vote
1
answer
4k
views
Powercli create local user and assign permission At VC level
I need a powercli script to automate some task in VC , I have found below script but here I can assign AD group permission to folder level. but I want to assign permission at VC level. is there any ...
1
vote
3
answers
2k
views
vCenter 7: Catalina Logs filing up, tomcat-users.xml missing?
We were receiving errors on our vCenter servers that the log disk is getting low on disk space. According to VMWare KBs we checked what is consuming space. We found espiecially a lot of log files ...
0
votes
1
answer
667
views
How to fetch the disk difference before and after adding a new disk
I'm preparing a playbook to find the newly scanned HDD from vmware, I used below filtering to fetch the no. of HDDs:
before_add: "{{ hostvars[inventory_hostname].ansible_devices.keys() | select('...
0
votes
0
answers
174
views
ESX host cmd to check if physical host went to battery
Trying to trouble shoot some issues on a server and see if it's related to loss of power, they have cheap APC that don't have logging or interface. I've checked the event log in v-sphere but don't ...
1
vote
1
answer
795
views
Does vCenter/VMWare have a tool/command that shows Actual Usage (Written Data) within thick Provisioned Storage in a DataStore
I am very familiar with our storage footprints. All our storage is thin provisioned (is there any Enterprise Array these days that does not use thin provisioning. Don't think so). And of course see ...