All Topics

So we have VMWare tools pushed to out ESXi hosts using the offline bundle and baseline. What now happens is we get the yellow banner message that VMWare tools is out of date and the offer to update.... See more...
So we have VMWare tools pushed to out ESXi hosts using the offline bundle and baseline. What now happens is we get the yellow banner message that VMWare tools is out of date and the offer to update. If I select that and no advanced option, it works fine and reboots the VM. If, however, I set the advanced options of /s /v "/qn REBOOT=ReallySuppress" then the installer seems to start and think about it a few seconds and stop again and the VM returns to how it was before still showing the banner. On a hunch, I logged into one of the VMs, install the bundled Visual C++ and rebooted and then tried again from the vSphere web interface and this time it worked. I now feel its the Visual C++ but I cannot figure how to deploy it and reboot and then retry the installer and besides it means every VM will need a reboot anyway because Visual C++ forces a reboot. We also tried an SCCM deployment and it works but it does only the tools install. Not the Visual C++ so the Tools version is current wherever we have tested the push those machines don't have the right version of the runtime dependency. I could really use some help here with what has worked for you guys in the past. Thanks.
  Hello  I got this warning output of invoke-vmscript. what this mean and to correct VERBOSE: Performing the operation "Invoke-VMScript" on target "win2019-2". VERBOSE: 11/10/2023 5:16:30 PM Invo... See more...
  Hello  I got this warning output of invoke-vmscript. what this mean and to correct VERBOSE: Performing the operation "Invoke-VMScript" on target "win2019-2". VERBOSE: 11/10/2023 5:16:30 PM Invoke-VMScript Finished execution VM : win2019-2 ExitCode : 0 ScriptOutput : The filename, directory name, or volume label syntax is incorrect.   The script   $cmdIP = "netsh interface ipv4 set address name=`"$Ethernet`" static $newIP 255.255.255.0 $newGateWay" $cmdDNS1 = "netsh interface ipv4 set dns name=`"$Ethernet`" static $DNS" #$vm = Get-VM $hostname Invoke-VMScript -VM $VmName -ScriptText $cmdIP -GuestUser administrator -GuestPassword xxxxxx -Verbose write-host "##########################################################################" write-host "Setting network for $Ethernet in $VmName machine #########################" write-host "##########################################################################" Invoke-VMScript -VM $VmName -ScriptText $cmdDNS1 -GuestUser administrator -GuestPassword xxxxxx -Verbose write-host "##########################################################################" write-host "Setting DNS network for $Ethernet in $VmName machine #####################" write-host "##########################################################################"
This is the error I get when I try to put any host into maintenance. I understand that this started happening when they updated the certificate. The strange thing is that in the certificates section... See more...
This is the error I get when I try to put any host into maintenance. I understand that this started happening when they updated the certificate. The strange thing is that in the certificates section, I don't see the new one. And when I try to import it it tells me that it already exists. This is in a productive environment. Any Suggestions?
Hi all Quick question, and I presume the answer will be that it isn't possible. I'm making a health check Powershell script for customer servers, many of which are in VMWare environments. I'd like... See more...
Hi all Quick question, and I presume the answer will be that it isn't possible. I'm making a health check Powershell script for customer servers, many of which are in VMWare environments. I'd like to include a test which checks in the VM host if the VM is suffering from CPU Contention issues. Would this be in any way possible (without knowing the username/password at the host level!)? Thanks! Matt
Hello, I'm looking for a storage report encompassing my entire vcenter.  I want datastores, but also anything not in a datastore, like RDMs or storage which has not been used or defined as a DS.  I ... See more...
Hello, I'm looking for a storage report encompassing my entire vcenter.  I want datastores, but also anything not in a datastore, like RDMs or storage which has not been used or defined as a DS.  I want ESX host installation boot drives, and everything.  I figured that this would require pulling from each ESXi host but then I would get duplicates.  I want Total Space, Used Space, Free Space.  Kind of what is in the Summary tab for vCenter, but not just datastores.  Not sure if a foreach loop would be necessary. I tried using Bing, but there is no -ViewType called StorageDevice: $storageDevices = Get-View -ViewType StorageDevice | Select-Object -ExpandProperty ScsiLun $totalCapacity = ($storageDevices.Capacity.Block * $storageDevices.Count / 1TB) $totalUsed = ($storageDevices.Capacity.Block - $storageDevices.FreeSpace.Block * $storageDevices.Count) / 1TB $totalFree = ($storageDevices.FreeSpace.Block * $storageDevices.Count / 1TB) Write-Host "Total Capacity: $totalCapacity TB" Write-Host "Total Used: $totalUsed TB" Write-Host "Total Free: $totalFree TB"   Any help would be appreciated.  
Hi All, Kind of stuck here on what I would believe is a simple problem. I have a Cloud Assembly template that deploys a VM. The input form has a drop-down menu which allows the user to select the Da... See more...
Hi All, Kind of stuck here on what I would believe is a simple problem. I have a Cloud Assembly template that deploys a VM. The input form has a drop-down menu which allows the user to select the Datacenter for deployment. I was able to get the Datacenter drop-down menu to be populated by using an Orchestrator Action. Once the user has selected the Datacenter from the menu, I want the Network drop-down menu to display ONLY the networks available on that Datacenter. I am stuck on how to make this happen. How do I take the output from the first drop-down menu, and use it as an input to another Action to populate the second drop-down menu. It seems all of drop-down menus populate when the form is displayed so I'm not sure how this would work. Can someone point me in the right direction to some docs or examples that accomplish this. Thanks in advance.  I was reading through this post and I feel this may be my answer. https://communities.vmware.com/t5/Legacy-User-Blogs/Drop-Down-Lists-in-vRealize-Automation-from-Static-to-Dynamic-to/ta-p/2765231  But this post is a few years old, I'm using the Cloud version of Aria and a lot of what is shown in the post does not match up with what I'm seeing.  Thanks again.   
Hi All, I know this is an nth topic about scripting and IO. I need to take a look at IO sizes my VMs generate. I'd like to generate a report for every VM, with at least one week of consumption (max ... See more...
Hi All, I know this is an nth topic about scripting and IO. I need to take a look at IO sizes my VMs generate. I'd like to generate a report for every VM, with at least one week of consumption (max and average IO size, and max and average IOPS) I saw IO size is in the realtime part of stats, so I have to increase the statistics level on my vCenter to keep history. So, what is the smarter method to get these data ? - a planned script which will ask io size (max and average) for the last hour ? - or a script which will ask for many hours at the same time ? I imagine this will be a great cpu consumer for the vCenter. Do I have the possibility to parallelize this demand for a cluster, for example ? Thanks by advance.
I had tried to remote into one of our VM's and found that it had frozen up. I shut down the VM and tried to power back on, but i get the error below: Power On VM Key haTask-3-vim.VirtualMachine.... See more...
I had tried to remote into one of our VM's and found that it had frozen up. I shut down the VM and tried to power back on, but i get the error below: Power On VM Key haTask-3-vim.VirtualMachine.powerOn-129462248 Description Power On this virtual machine Virtual machine VM04 State Failed - File VM04_0-000001.vmdk was not found Errors VMware ESX cannot find the virtual disk "VM04_0-000001.vmdk". Verify the path is valid and try again. File system specific implementation of Lookup[file] failed File system specific implementation of LookupAndOpen[file] failed File system specific implementation of Lookup[file] failed File system specific implementation of Lookup[file] failed The system cannot find the file specified Cannot open the disk 'VM04_0-000001.vmdk' or one of the snapshot disks it depends on. Module 'Disk' power on failed. Failed to start the virtual machine. I'm on ESXi Ver. 6.5.0 (Build 4887370). I tried to restore from a snapshot, but that also failed. I looked at the .vmsd file and everything looks like its pointing to the correct VM. I realize that there are several posts with similar issues to this one, but i haven't got anywhere as of yet. I will attach several files that pertain to this VM below, including the contents of the VM's folder when running the "ls -lisa" command. Im pretty new to using ESXi and dealing with virtual machines like this.
I want to set up the esxi 6 on a pcie M.2 SSD. The server is a Poweredge R610 with a H700 raid. During the installation everything went well and the SSD was listed, but now I can't boot on the SSD b... See more...
I want to set up the esxi 6 on a pcie M.2 SSD. The server is a Poweredge R610 with a H700 raid. During the installation everything went well and the SSD was listed, but now I can't boot on the SSD because it isn't listed in UEFI. Also. I am seeking for a VM solution that supports the Windows 8 VMs to boot from UEFI. It seems currently vSphere 5 does not support Window 8 yet and WorkStation 8 does. However from the product description I saw vSphere claims to support UEFI boot but WorkStation 8 does not.
In the fcd folder there are multiple vmdks and vmfd files, but there is only 1 of them present in the container volumes view. I believe these are from when we were testing permissions and some were m... See more...
In the fcd folder there are multiple vmdks and vmfd files, but there is only 1 of them present in the container volumes view. I believe these are from when we were testing permissions and some were missing, so when deleting them they were probably removed from the DB but not the files. This is the same for multiple datastores assigned to the container volumes. How should i go about verifying these are not in use and deleting them? Is there a tool available, or would i need to make a script to take out the known volumes against the files in the datastores using govc? Edit: I have manually gone through the volumes, there are around 40 volumes in the view, there 7 vmdks in the /fcd/ folder in the different datastores that are not in the view. 2 of those disks are still mounted on the kubernetes nodes.
Hello, I have a problem, after login to vcenter via SSH, I type set.shell --enable, then type "shell" and get root access. But it looks like i have no acces to vmware or vcenter services. There is... See more...
Hello, I have a problem, after login to vcenter via SSH, I type set.shell --enable, then type "shell" and get root access. But it looks like i have no acces to vmware or vcenter services. There is no any vmware command available I have ho access to mounted datastore. esxcli  - command con foud and can not found anywhre like /usr/sbin root@vcenter1 [ /usr/sbin ]# find / -name esxcli   - no result root@vcenter1 [ /usr/sbin ]# vmware -l bash: vmware: command not found which esxcli which: no esxcli in (/usr/local/bin:/sbin:/bin:/usr/sbin:/usr/bin:/usr/java/jre-vmware/bin:/opt/vmware/bin:/opt/vmware/bin) login as: root Pre-authentication banner message from server: | | VMware vCenter Server Appliance 6.7.0.54000 | | Type: vCenter Server with an embedded Platform Services Controller | End of banner message from server root@vcenter.xxx.xxx password: Last login: Fri Nov 10 07:26:03 2023 from 10.0.3.52 Connected to service * List APIs: "help api list" * List Plugins: "help pi list" * Launch BASH: "shell" Command> shell Shell access is granted to root root@vcenter1 [ ~ ]# ls -la what could have happened that I cannot manage vcenter via the CLI console ? Regards Irek
Greetings  Not sure were to post this so if not correct please boot it to the correct help group.  I am attempting to make a vm from a old Windows installation installed on D drive. This hard drive ... See more...
Greetings  Not sure were to post this so if not correct please boot it to the correct help group.  I am attempting to make a vm from a old Windows installation installed on D drive. This hard drive was in an old computer to which I installed in my new computer. The new pc sees only the drive and is not configured in the boot menu Of course, I have my main Windows on C drive.  The program completes, but when trying to create and start the vm , it errors saying can't find boot files. I have selected the entirety of D drive and also tried just the partition with Windows.  All I need is to be able to run the old version of Windows in a VM, There is nothing else of value on the drive other than the normal restore partitions etc. any help or suggestion greatly appreciated Thanks in advance
If I can be pointed to some material to come up with a migration strategy it would be much appreciated. Scenario: I have a customer that has to evacuate a DC. They have 4 hospitals attached - so li... See more...
If I can be pointed to some material to come up with a migration strategy it would be much appreciated. Scenario: I have a customer that has to evacuate a DC. They have 4 hospitals attached - so little or no downtime is required. They're new target DC is 50mi away, and will be connected via 100Gbps link with VXLAN to extend L2. Customer has vCenter 7,x with two clusters. 1500 VMs - CIFS/NAS, iSCSI attached storage Hardware is Cisco UCS Flexpod Storage is NetApp- - 5 arrays, 2 of them provide FC via Cisco MDS switches and fabric interconnects. All 5 also provide CIFS/NFS. I have read about vmigration via vCenter Stretch Cluster/NetApp Metro Cluster. I have also read about SRM/NetApp Metro Cluster. Can I get high level overview of how both would work, and which provides the least downtime/risk?
I think I've asked this question before, but can't seem to find if there was ever a good solution. Environment has ~40 vcenters. Some are linked, some are not. I'm running a modified version of Ala... See more...
I think I've asked this question before, but can't seem to find if there was ever a good solution. Environment has ~40 vcenters. Some are linked, some are not. I'm running a modified version of Alan and Luc's role/permission script from 2010.  (yes, its still useful today!) The problem is that when I log into a linked vcenter, it creates a role from each vcenter login. So I end up getting duplicate roles. When you later go to set permissions using 'the role', it fails because there's two. So, the larger question is wondering if there is any way to tell that you're logged into a linked vcenter so that automation like this doesn't happen twice? Or is the only real solution to do a duplication check before role creation/whatever else you're trying to do?
We're in the process of an Oracle bare metal (ODA) to VMWare/Netapp migration project.   The netapp is an all NVME SSD SAN array.   ESX servers are dell R750s with 2 HBAs each.  We have carved up 32 ... See more...
We're in the process of an Oracle bare metal (ODA) to VMWare/Netapp migration project.   The netapp is an all NVME SSD SAN array.   ESX servers are dell R750s with 2 HBAs each.  We have carved up 32 "disks" (1TB each) on the netapp to present to the ESX host which are served to the linux guest via VMDK (not using RDM).   When we are running the SLOB benchmark tool, we can see the linux host making use of all 32 ASM disks (as it sees them):   But when the ESX admin looks at the disks at the ESX layer, he is only seeing 2 busy disks:   Is this normal?   Do we have some bottleneck due to how we have the disks presented to ESX?    Not sure how disks/luns from the netapp should appear on the ESX host?   Thanks   Wayne    
I would like to put a cname in front of my VMC Vcetner, when I do so, get the error [400] An error occurred while sending an authentication request to the vCenter Single Sign-On server - An error oc... See more...
I would like to put a cname in front of my VMC Vcetner, when I do so, get the error [400] An error occurred while sending an authentication request to the vCenter Single Sign-On server - An error occurred when processing metadata during vCenter Single Sign-On setup: the service provider validation failed. Verify that the server URL is correct and is in FQDN format, or that the hostname is a trusted service provider alias.   There is a workaround for on-prem is in a kb, but obviously I cannot make these changes to a VMC environment. https://kb.vmware.com/s/article/71387 Any thoughts how to get past this? Thanks, -GB  
Hi all, I am trying to get Guest customization working reliably between vCenter 7.0.3 and ESXi 8.0U2 guest OS. I've followed all the advice from William Lam and 7/10 times, identical attempts at cl... See more...
Hi all, I am trying to get Guest customization working reliably between vCenter 7.0.3 and ESXi 8.0U2 guest OS. I've followed all the advice from William Lam and 7/10 times, identical attempts at cloning with guest customizations will work as expected with the new VM getting a new host name, IP and connecting to the network. 3/10 times the guest customization fails, I've attached the entire /var/log/vmware-imc/toolsDeployPkg.txt from a failed attempt, but I believe the pertinent part is: DEBUG:imc.nested_esx_utils:['esxcli', 'network', 'ip', 'interface', 'list'] ERROR:root:(b'Connection failed: 503 Service Unavailable\n', 1) So when the guest customization script tries to run the "esxi network ip interface list" command, the esxi service is responding with a 503.  If I run the command manually afterwards it works fine, this leads me to believe that the most likely scenario is that the ESX services haven't finished initializing by the time the guest customization is being started? Has anyone else experienced this? Is there anyway to run commands on the guest os before the guest customization that I could leverage to fix this (sleep etc!)?
Hi All, how to identify the Bootable LUN details of ESXI host using script for multiple ESXI HOST on Vcenter, whether they are booting from SAN Lun (3PAR)  or local disk...?? Thanks, Kumar
Hi All Query – Licencing for VMware Cross vCenter Migration. Question - Do all ESXi hosts in source vcenter and all ESXi hosts in destination vcenter require Enterprise plus licencing to hot mi... See more...
Hi All Query – Licencing for VMware Cross vCenter Migration. Question - Do all ESXi hosts in source vcenter and all ESXi hosts in destination vcenter require Enterprise plus licencing to hot migrate VMs? Or can you just licence the hosts you want to cross vcenter migrate between, such as 1 host in source and 1 host in destination?  Reference – To vMotion powered-on virtual machines with the Advanced Cross vCenter vMotion feature, you must have a vSphere Enterprise Plus license on both the source and destination vCenter Server instances To migrate powered-off virtual machines with the Advanced Cross vCenter vMotion feature, you must have a vSphere Standard license. https://docs.vmware.com/en/VMware-vSphere/8.0/vsphere-vcenter-esxi-management/GUID-DAD0C40A-7F66-44CF-B6E8-43A0153ABE81.html
 Hello, I am trying to find a way to get information about which VLAN the management network interface uses (usually vmk0) when the server is connected to a distributed switch. I do not have access ... See more...
 Hello, I am trying to find a way to get information about which VLAN the management network interface uses (usually vmk0) when the server is connected to a distributed switch. I do not have access to the vCenter Server, so can't collect the information there, I need to locate it on the host itself. Again, this is for distributed switch, vDS, I know where to find it for a classic standard switch, vSS. Anyone have any ideas? Regards, Matts