Skip to main content

Posts

Showing posts from June, 2009

Killing a VM

Sometimes the Virtual Center won’t do the job. You virtual machine has hung and you need to kill it. Here are 2 examples of how you can kill the vm from within the service console: The ‘VMWARE-CMD’ command Log on to the service console and issue the following command vmware-cmd /vmfs/volumes/ / / .vmx stop’ you must not use the friendly datastore name. If you need to know the location of all vm’s type ‘VMWARE-CMD -l’ that will list on vm’s and the location for the corresponding vmx file. If that fails, then try it with the hard option, ‘vmware-cmd /vmfs/volumes/ / / .vmx stop hard’ this command will just try and kill it without shutting it down. 2. Kill it using the PID command Run the following command: ps auxfww | grep to locate the correct PID of the virtual machine, the first number to appear in the output is your vm’s PID. Use the PID number to terminate the process by issuing kill -9 PID NO

Remote Console for SingleVM thru vCenter 4.0

This is one of another feature that vCenter4.0 (although it existing in VirtualCenter 2.5) provides that we can give remote console access thru RemoteConsole Plug-in and also can be accessed by web browsers. Browse the vCenter web console thru Internet Explorer® or FireFox. Select the desired VM and navigate to “Console” button. Then, Install the Remote Console Plug in in your desktop After the installation of the plug-in, navigate back to “Summary” tab. Click “ Generate Virtual Machine” Then pops up a window with URL of the VM Copy and paste URL in the browser or double click the “Remote Console Plug-in” shortcut in your desktop.