RSS
 

Posts Tagged ‘VMWare’

VirtualCenter Server will not start

01 Jun

Was working one minute…now its not! Welcome to the wonderful world of Windows Updates. I’m assuming this was broken by the unattended installation of Server 2008 R2 SP1 through our environment or some KB update prior.

It all started with this error when I tried to log into VCenter Server:

“vSphere Client could not connect to ‘{machine name}’ A connection failure occurred (Unable to connect to the remote server)”

After investigating this, I determined the VMware VirtualCenter Server Service was not running. However, trying to start it produced an Event 7000, Service Control Manager “The VMware VirtualCenter Server service failed to start due to the following error: The service did not respond to the start or control request in a timely fashion.”

After contacting VMware support, their suggestion was to uninstall and reinstall. Which frankly, is their answer to 90% of any issues – very frustrating for what has to be one of the most expensive OS support contracts out there. While this didn’t directly fix the problem, uninstalling and reinstalling produced this error:

The following port numbers are either invalid or already in use.
VMware VirtualCenter HTTPS Port: 443

As it turned out, Routing and Remote Services now employs SSTP protocol. That feature produces a listener on 80 and/or 443. I’m not sure if this was introduced when we did the Service Pack or when. But nevertheless, selecting RRAS>PORTS>WAN Miniport (SSTP) Configure, and disabling “Remote access connections (inbound only)”

For reference, here is the knowledge bulletin I eventually used to troubleshoot:
http://kb.vmware.com/selfservice/microsites/search.do?language=en_US&cmd=displayKC&externalId=1003926

 
No Comments

Posted in IT

 

Renaming a VMWare Virtual Machine

04 Mar

This procedure was documented using VM Infrastructure 3.5 for altering ESXi 3.5 virtual machines. You may need to use Veeam to make the renaming adjustments. Could also be done via SSH.

CAUTION: If snapshots do exist and are needed, then you may need to alter the *.vmdk files to keep the chaining in place. If you do not need the snapshots, select “delete all” under the snapshot manager and perform this procedure after the host has consolidated them.

PRODCEDURE FOR NON-SNAPSHOT

  1. Copy to new directory for backup
  2. Remove from inventory (do not select DELETE)
  3. Alter folder name if desired
  4. Rename the following inside the folder
  5. Rename *.vmx, vmdk, vmsd, vmxf, nvram
  6. Edit *.vmx (using a text editor)
    extendedConfigFile = “(old to new).vmxf”
    scsi0:0.fileName = “(old to new).vmdk”u
  7. Edit *.vmdk
    “Extent description” RW 16777216 VMFS “(old to new)-flat.vmdk”
  8. Edit *.vmxf
    Sandbox XP.vmx
  9. Add *.vmx file to inventory
 
No Comments

Posted in IT