Found this article online about how vSphere virtualizes NUMA and how this is relevant to the configuration of vCPUs in your VMs:
https://www.opvizor.com/decoupling-of-cores-per-socket-from-virtual-numa-topology-in-vsphere-6-5
You can use either esxcli or vicfg-hostops to enter/exit maintenance mode.
esxcli
vicfg-hostops
Note that you can use vicfg-hostops --operation info to check whether the host is finished with entering maintenance mode or is still busy.
PowerCLI
After connecting to the host or vCenter server:
You can quickly get a list of VMs, the datastores they are using and the logical folder they are in through PowerCLI:
Get-VM | Select Name,@{N="Datastore";E={[string]::Join(',',(Get-Datastore -Id $_.DatastoreIdList | Select -ExpandProperty Name))}},@{N="Folder";E={$_.Folder.Name}}
Combine it with Export-CSV to export the results to a CSV file.
You can download installation files and ISOs of any of the latest versions of VMWare Tools for each released version of ESX:
→ https://packages.vmware.com/tools/esx/index.html
This is useful if you need support for a certain OS version but are not able to upgrade the ESX host in order to get it (e.g. Windows 10 support on ESX 5.5 "non-u3").
Note that, although officially unsupported, VMWare Tools is technically backwards compatible, meaning you can install a newer version on a guest running on an older ESX host.
Windows 10 is not out of the box supported on ESX 5.5, unless you're running 5.5u3. One of the issues is that earlier versions do not have a compatible video driver for Windows 10.
However, for older versions of ESX 5.5, you can manually download the VMWare Tools and install them:
→ https://packages.vmware.com/tools/esx/5.5u3/windows/index.html
If your vCenter server has a self-signed certificate, you will get a warning about this when connecting to it from vSphere PowerCLI. You can disable this warning through PowerCLI with the Set-PowerCLIConfiguration cmdlet.
Set-PowerCLIConfiguration -InvalidCertificateAction Ignore
After making the change, new connections to the vCenter server will no longer produce a warning about the certificate.
You may have noticed that running the VMWare vSphere client on a display with higher DPI settings causes problems with the mouse cursor alignment when working inside a VM. This is because of a mismatch between the DPI settings of the VM and the DPI settings of your computer.
To resolve, right-click the shortcut to the client, go to the Compatibility tab, and enable Disable display scaling on high DPI settings.
The downside of this method is that there will be misalignment of some parts in the client, but it is still workable and moreover, it solves the mouse issue in a VM.
« ‹ | December 2024 | › » | ||||
Sun | Mon | Tue | Wed | Thu | Fri | Sat |
1 | 2 | 3 | 4 | 5 | 6 | 7 |
8 | 9 | 10 | 11 | 12 | 13 | 14 |
15 | 16 | 17 | 18 | 19 | 20 | 21 |
22 | 23 | 24 | 25 | 26 | 27 | 28 |
29 | 30 | 31 |