Home
Home
About
Contact
Showing posts with label
ESXi
.
Show all posts
Showing posts with label
ESXi
.
Show all posts
Friday, November 9, 2018
How to reinventory/register a vm from the CLI.
To re-inventory/register a vm from the CLI, do the following from an ssh prompt.
vim-cmd vmsvc/getallvms | grep -i <VM Name> to get the VM ID.
vim-cmd vmsvc/reload <VM ID>
Tested on ESX 5.0.x - 5.5.x
Friday, January 5, 2018
Reset vmware ESX evaluation license.
VMWare ESXi license expires in 60 days. You can reset that 60 days by doing the following.
-ssh into the ESXi host.
-rm -f /etc/vmware/vmware.lic /etc/vmware/license.cfg
-reboot
Enable SNMP on ESXi
ssh into the esxi host.
esxcli system snmp set --communities="string name"
esxcli system snmp set --targets="<monitoring server>"@161/"string name","<monitoring server>"@161/"string name"
esxcli system snmp set --enable true
esxcli system snmp test
log into vi client.
find the server and go to the configuration tab.
select Security Profile under Software
select Properties under Firewall
find SNMP server and click on the Options button.
start the service.
esxcli system snmp set --communities="MRTG"
esxcli system snmp set --targets="fwprd-slw-ape1"@161/"MRTG","fwprd-slw-ape2"@161/"MRTG","fwprd-slw-core"@161/"MRTG"
esxcli system snmp set --enable true
esxcli system snmp test
Reset vmware ESX evaluation license.
VMWare ESXi license expires in 60 days. You can reset that 60 days by doing the following.
-ssh into the ESXi host.
-rm -f /etc/vmware/vmware.lic /etc/vmware/license.cfg
-reboot
Reset vmware ESX evaluation license.
VMWare ESXi license expires in 60 days. You can reset that 60 days by doing the following.
-ssh into the ESXi host.
-rm -f /etc/vmware/vmware.lic /etc/vmware/license.cfg
-reboot
Reset vmware ESX evaluation license.
VMWare ESXi license expires in 60 days. You can reset that 60 days by doing the following.
-ssh into the ESXi host.
-rm -f /etc/vmware/vmware.lic /etc/vmware/license.cfg
-reboot
Reset vmware ESX evaluation license.
VMWare ESXi license expires in 60 days. You can reset that 60 days by doing the following.
-ssh into the ESXi host.
-rm -f /etc/vmware/vmware.lic /etc/vmware/license.cfg
-reboot
Older Posts
Home
Subscribe to:
Posts (Atom)