Table of Contents

vagrant

https://hunter2.gitbook.io/darthsidious/building-a-lab/building-a-lab-with-esxi-and-vagrant

usb disk to vmware esxi version 6

vmkfstools -C vmfs6 -S my_vmfs /vmfs/devices/disks/naa.ID:1

vmkfstools -C vmfs6 -S usb1tb /vmfs/devices/disks/mpx.vmhba33:C0:T0:L0

https://www.it-react.com/index.php/2020/04/26/how-to-add-a-usb-disk-as-vmfs-datastore-in-esxi-6-7/

how_to_add_a_usb_disk_as_vmfs_datastore_in_esxi_6.pdf

Upgrade

how-to-upgrade-from-vsphere-6-7-to-7

Patch upgrade within version 7

Thunderbolt 3

https://www.virtuallyghetto.com/2019/04/new-thunderbolt-3-to-10gbe-options-for-esxi.html

64GB mem

M471A4G43MB1

https://www.virtuallyghetto.com/2019/03/64gb-memory-on-the-intel-nucs.html

vmware esxi upgrade

https://tinkertry.com/easy-update-to-latest-esxi

info setup ESXI NUC

seearch for “TPM 2.0 device detected but a connection cannot be established.” to disable

https://madlabber.wordpress.com/2019/07/13/running-esxi-6-7-on-a-bean-canyon-intel-nuc-nuc8i5beh/

USB adapter lan

https://flings.vmware.com/usb-network-native-driver-for-esxi#requirements

vusb0_status=$(esxcli network nic get -n vusb0 | grep 'Link Status' | awk '{print $NF}')
count=0
while [[ $count -lt 20 && "${vusb0_status}" != "Up" ]]
do
    sleep 10
    count=$(( $count + 1 ))
    vusb0_status=$(esxcli network nic get -n vusb0 | grep 'Link Status' | awk '{print $NF}')
done

if [ "${vusb0_status}" = "Up" ]; then
    esxcfg-vswitch -L vusb0 vSwitch1
    esxcfg-vswitch -M vusb0 -p "Management Network" vSwitch1
    esxcfg-vswitch -M vusb0 -p "VM Network" vSwitch1
fi

https://medium.com/@moondev/my-adventure-adding-10gbe-networking-to-an-intel-nuc-for-esxi-via-thunderbolt-3-pcie-expansion-1d6a627ffea4

https://danjohnson.blog/2017/11/17/the-intel-nucvsan-home-lab/

backup free script

https://communities.vmware.com/docs/DOC-8760

https://communities.vmware.com/thread/545078

Power on VM

ESXi 4.x, 5.x and 6.0

To power on a virtual machine from the command line: List the inventory ID of the virtual machine with the command:

vim-cmd vmsvc/getallvms |grep <vm name>

Note: The first column of the output shows the vmid.

Check the power state of the virtual machine with the command:

vim-cmd vmsvc/power.getstate <vmid>

Power-on the virtual machine with the command:

vim-cmd vmsvc/power.on <vmid>

USB storage

usb-devices-as-vmfs-datastore-in-vsphere-esxi-6-5

esxcli storage vmfs snapshot list
esxcli storage vmfs snapshot mount -u 583b1a72-ade01532-55f6-f44d30649051