#echo 'Restarting Services' #services. #license.cfg /etc/vmware/license.cfg # restart services echo 'Restarting VPXA'
ESXi 6.5 Update 3 provides legacy support for AMD Zen 2 servers. Try to upgrade to 7.0 and see if things work out. So do not have any paid licenses for VMWare Thanks I guess I have to think through multiple annoying options here 1. With ESXi 6.5 Update 3 you can track license usage and refresh switch topology. I have a homelab with one file server for home photos/documents etc and one or more linux machines for any experimentation I might do. The ixgben driver adds queue pairing to optimize CPU efficiency. # get a new trial license echo 'Copying new license' cp /etc/vmware/. The ESXi 6.5 Update 3 release includes the following list of new features. Vim-cmd vmsvc/power.shutdown ' $vmid' echo 'Waiting for VM to power off.' i = 30 while do if then printf 'bb $i' else printf 'bb $i' fi sleep 1 i = ` expr $i - 1 ` done state = $(vim-cmd vmsvc/power.getstate $vmid | grep Powered ) x = ` expr $x + 1 ` done if then # remove license echo 'Removing License' rm -r /etc/vmware/license.cfg
#!/bin/sh # This script shuts down the UPS-Agent and resets the license echo 'Getting VMID of UPS-Agent' vmid = $(vim-cmd vmsvc/getallvms | grep ups-agent | awk '' ) echo 'VMID is' $vmid echo 'Getting UPS-Agent Power state' state = $(vim-cmd vmsvc/power.getstate $vmid | grep Powered ) echo 'VM is currently' $state x = 1 while ] do echo 'Powering off.'