ESXI

esxcli hardware ipmi bmc get

Example output

[root@vmhost:~] esxcli hardware ipmi bmc get
BMC Firmware Version: 1.56
IPMI Version: 2.0
IPv4 Address: 172.16.0.2
IPv4 Gateway: 172.16.0.1
IPv4 Subnet: 255.255.255.0
IPv6 Addresses:
LAN ifAdminStatus: true
MAC Address: aa:aa:aa:aa:bc
Manufacturer: Intel Corporation
OS Name Reported:

reboot -n -f

Force reboot ESXi host

vim-cmd vimsvc/task_list

Example output

[root@esxi-1:~] vim-cmd vimsvc/task_list

(ManagedObjectReference) [

   ‘vim.Task:haTask–vim.VirtualDiskManager.moveVirtualDisk-15130

vim-cmd vimsvc/task_cancel

Example output
[root@esxi-1:~] vim-cmd vimsvc/task_cancel haTask--vim.VirtualDiskManager.moveVirtualDisk-15130

vim-cmd vimsvc/task_info

Example output
[root@esxi-1:~] vim-cmd vimsvc/task_info haTask--vim.VirtualDiskManager.moveVirtualDisk-15130

esxcli system hostname set -H

esxcli system hostname set -H=lab-vcf9-esx01

esxcli system hostname set -f=<fqdn>

esxcli system hostname set -f=lab-vcf9-esx01.leaha.co.uk

/sbin/generate-certificates

After the hostname and fqdn have been set, you can regenerate the certificates on the host with this command

Was this article helpful?
YesNo