Sunday, April 10, 2011

How to use TMG AD Config tool

In order to activate the proxy automatic discovery in a TMG 2010 installation you can mark Active Directory using the TMG AD Config tool. You can download the TMG AD Config Tool from Microsoft Download Center (look for the AdConfigPack.EXE). After download and install on TMG you can execute the following command line in order to register the AD marker key:
tmgadconfig add -default -type winsock -url
For more info read Forefront TMG (ISA Server) Product Team Blog

Wednesday, April 6, 2011

Using the partedUtil command line utility on ESX and ESXi

Please read the following article from VMware's KB.

Reloading a vmx file without removing the Virtual machine from inventory

If you manually edit a vmx file your changes are not recognized from vSphere. You must remove the virtual machine from inventory and then add it again manually for the changes to be recognized. But we can do something else to reload the vmx file without removing the virtual machine from inventory:
First we must connect to ESXi using ssh. From this shell we must enter this command to find the Inventory ID of the virtual machine:
vmware-vim-cmd vmsvc/getallvms | grep <virtual machine name>
The output of this command is the Inventory ID we want. So we can enter this command to reload the vmx file:
vmware-vim-cmd vmsvc/reload <inventory id>
For more information please take a look at this article from VMware's KB.