Wednesday, December 28, 2011

Troubleshooting Vmware ESXi migration issues

While trying to install ESXi 4.0 U4 to my hosts, I started experiencing these errors:


  • "A general system error occurred: Migration failed while copying data, Broken Pipe"

  • "A general system error occurred: Failed to start migration pre-copy. Error 0xbad010d. The ESX hosts failed to connect over theVMotion network. "

attempting the put a host in maintenance mode. The VMs would not failover to another host.


Anyway, the fix was #2 under resolution in the link below. Basically, set Migrate.Enabled setting on all hosts to 0, then back to 1. After done on all hosts, the vMotion started working again.


Weird.

Reference:
http://kb.vmware.com/selfservice/microsites/search.do?language=en_US&cmd=displayKC&externalId=1036083

ESXi 4.0 Tech Support Mode

To use Tech Support Mode:


  1. Log in to your ESXi host at the console.

  2. Press Alt+F1 to switch to the console window.

  3. Enter unsupported to start the Tech Support Mode login process. Note that no text will appear on the console window.

  4. Enter the password for the root user. Tech Support Mode is now active.

  5. Complete tasks in Tech Support Mode.

  6. Enter the command clear to clear the screen of any residual data from step 5. This may be required by your local security policies.

  7. Enter the command exit to exit Tech Support Mode.

  8. Press Alt+F2 to return the server to DCUI mode.

Reference:
http://kb.vmware.com/selfservice/microsites/search.do?language=en_US&cmd=displayKC&externalId=1003677

Tuesday, December 27, 2011

Deleting a Windows Service

Had a service that I could not get rid of and found that you can use SC.EXE (resource kit tool) to remove the service from the Services control panel. The EXE was removed from the file system, but it was still being referenced.

Run this below to delete the service, where service name is not the service display name, see service name in properties of the specific service.

sc.exe delete

Reference:
http://support.microsoft.com/kb/251192