Tuesday, June 28, 2011

Reload Virtual Machine settings from vmx file in vSphere Client

If you have edited vmx file manually (or changed it in the another vSphere Client), you may need to refresh Virtual Machine settings in already opened Client window.

Method 1:
you can to re-add this virtual machine.

Method 2:
open server console and type the following:

vmware-vim-cmd vmsvc/getallvms |grep "Your Virtual Machine Name"
Note: use vim-cmd command to run in ESXi server.

It outputs next result:

16 Max Virtual Machine [datastore1] Max Virtual Machine/Max Virtual Machine.vmx winXPProGuest vmx-07

"16" is inventory ID that can be used to reload configuration:
vmware-vim-cmd vmsvc/reload 16
Note: use vim-cmd command to run in ESXi server.

Now you have virtual machine settings "up to date" in all your vSphere Clients.

No comments:

Post a Comment

Note: Only a member of this blog may post a comment.