This procedure will show you how to identify the HPE ProLiant iLO via ESXi CLI.
1 – Enable SSH on the host you need the ILO
2 – Login to the ESXi host by ssh
3 – Then type cd /opt/hp/tools
4 – Then type ./hponcfg -w /tmp/ilo-conf.txt
This procedure will show you how to identify the HPE ProLiant iLO via ESXi CLI.
1 – Enable SSH on the host you need the ILO
2 – Login to the ESXi host by ssh
3 – Then type cd /opt/hp/tools
4 – Then type ./hponcfg -w /tmp/ilo-conf.txt
Follow this procedure if you want disable root password expiration by cli and clear password history:
Keeping CDROMs plugged into Virtual Machines can inhibit DRS/vMotion from working well for these Virtual Machines, as such it is best practice to remove CDROMs when not needed, so follow the commands to identify them.
List all Virtual Machine with CDROM connect:
Get-VM | Get-CDDrive | Where {$_.extensiondata.connectable.connected -eq $true} | Select Parent
Disconnect all CDROM from all Virtual Machine
Get-VM | Get-CDDrive | Where {$_.extensiondata.connectable.connected -eq $true} | Set-CDDrive -NoMedia -confirm:$false
You can’t put your host in maintenance due to this error “Failed to enter namespaces maintenance mode due to Error com.vmware.vapi errors.unauthenticated
It’s time to check if you have a certificate expired, login to VCSA over ssh and execute this command:
for store in $(/usr/lib/vmware-vmafd/bin/vecs-cli store list | grep -v TRUSTED_ROOT_CRLS); do echo “[*] Store :” $store; /usr/lib/vmware-vmafd/bin/vecs-cli entry list –store $store –text | grep -ie “Alias” -ie “Not After”;done;
The WCP certificate are expired
[*] Store : wcp
Alias : wcp
Not After : Jan 10 11:48:31 2023 GMT
To renew the certificate execute this command /usr/lib/vmware-vmca/bin/certificate-manager with option 6 “Replace Solution user certificates with VMCA certificates”
When we try to edit the Network settings through VAMI appears black Box, this situation happens with chrome the workaround is to use firefox.
When we try to update the VMtools we got an installation package vc_runtimeminimum_x86.msi’ error appears, to correct this problem you must follow the following steps.
Run regedit.exe as administrator
Navigate to HKEY_LOCAL_MACHINE\SOFTWARE\Classes\Installer\Products
Perform a search for the string {2E72FA1F-BADB-4337-B8AE-F7C17EC47D1D}
You should find the path being referenced in one of the subkeys (see attached example)
Delete the key {2E72FA1F-BADB-4337-B8AE-F7C17EC47D1D}.
Since the upgrade to version ESXi 6.7 U1 and newer, it’s impossible to enable Hardware-Assisted Virtualization with PCI Passthrough Devices by GUI and it’s not supported by VMware, but it’s possible to enable by editing the VMX file.
Follow the procedure:
1- Shutdown the VM
2- Add this configuration
3- Power On the VM
Issues with LifeCycle Manager where we could not download updates from VMware Depot and we got the error below. Communication with VMware is done by proxy.
The workaround is following:
If you have recently upgraded to the version 7, you probably noticed twice the amount of HBA ports in your ESXi.
For EMULEX HBA:
esxcli system module parameters set -m lpfc -p lpfc_enable_fc4_type=1
Reboot the host.
For QLOGIC HBA;
esxcfg-module -s ‘ql2xnvmesupport=0’ qlnativefc
Reboot the host.