How to extend reset your expired ESXi Evaluation EVAL license

 

The below steps help to renew your EVAL for another 60days again!


1.SSH to your esxi server

2.Remove the existing License file : rm -r /etc/vmware/license.cfg

3.Copy the license from template file : cp /etc/vmware/.#license.cfg /etc/vmware/license.cfg

4.rm  /etc/vmware/vmware.lic 

4. restart VPXA service using : /etc/init.d/vpxa restart   

register VMs from all datastores where we have .vmx file

When you want to register all VMs from datastore use below script to register all VMs.


A) Register all Virtual Machine in a datastore
find /vmfs/volumes/<Datastore name>/ -type f -maxdepth 2 -name '*.vmx' -exec vim-cmd solo/registervm {} \;

 

B) Register all Virtual Machine in all datastore
find /vmfs/volumes/ -maxdepth 3 -name '*.vmx' -exec vim-cmd solo/registervm {} \;

how to unlink a NIC from a esxi vSwitch

  List the vSwitches from ESXI using CLI:          esxcli network vswitch standard list  output example: vSwitch0    Name: vSwitch0    Class...