It is painful to turn the proxy on and off in my Ubuntu laptop between office and home.  As a lazy guy, I would like to make it automatic. Easy life now 🙂 1) Create 3 scripts named proxy_on, proxy_off and check_proxy under /usr/local/bin. #!/bin/bash #proxy_on gsettings set org.gnome.system.proxy.socks host 'proxy.company.local' gsettings set org.gnome.system.proxy.socks port … Continue reading Auto Configure Proxy in Ubuntu
Check Virtual Machine UUID
Each virtual machine is automatically assigned a universally unique identifier (UUID), which is stored in the SMBIOS system information descriptor. It can be accessed by standard SMBIOS scanning software (for example, SiSoftware Sandra or the IBM utility smbios2) and is used for system management in the same way you use the UUID of a physical … Continue reading Check Virtual Machine UUID
be2net 4.1.334.0 on IBM HX5
While doing the health check, we found that the 10G NIC on one IBM HX5 ESXi host is hardcoded as ‘10000 Mb, Full Duplex’. And there is no ‘Auto negotiate’ in the dropdown list when I tried to change it to auto-negotiation. I compared the Emulex driver to other host’s which can be set as … Continue reading be2net 4.1.334.0 on IBM HX5
Failed to power on suspended virtual machine
Normally if you can not power on a suspended virtual machine, you need to empty the sched.swap.derivedName and checkpoint.vmState values in the .vmx file (according to VMware KB). This will change the power state of the VM to off, and lose everything in the memory. But this did not work when I troubleshot a VM … Continue reading Failed to power on suspended virtual machine
esxcli plugin to run arbitrary shell commands (remotely)
A fancy vCenter plugin allowing user to run esxcli command remotely without DCUI or SSH. http://www.v-front.de/2013/01/release-esxcli-plugin-to-run-arbitrary.html