new1234.jpg

Archive

Posts Tagged ‘Host’

VMware: Cannot remove a License Key from VMware vCenter Server

August 23rd, 2014 5 comments

Last week I upgraded a vCenter Server from version 5.1 to 5.5, I also added a 4th hosts to the cluster, so I need to upgrade the host license keys. But after upgrade I couldn’t remove the license files in vCenter Licensing section:

image

 

Solution:

To connect to the ADAM database:

  1. Log in to the vCenter Server.
  2. To open ADSI Edit, click Start > Run, type adsiedit.msc, and press Enter.
  3. Right-click ADSI Edit and click Connect to.
  4. In the Connection point section, click Select or type a Distinguished Name or Naming Context.
  5. Enter dc=virtualcenter, dc=vmware, dc=int
  6. In the Computer section, click Select or type a domain or server: (Server | Domain [:port]).
  7. Enter localhost
  8. Click OK.
  9. Drill down to DC=virtualcenter,DC=vmware,DC=int, OU=Licensing, OU=LicenseEntities.You see the CN="license key" containers.
  10. Right-click the container that shows the the serial number of the key that is negative within the vCenter Server Licensing page.
  11. Click Delete.

image

 

Result:

When you restart he vSphere client and navigate to the Licensing page the old license keys are removed and you can re-assign license keys to the hosts

image

 

More information: VMware

sanderdaems

Sander Daems is founder and author of this blog and working as a Sr. Infrastructure Consultant by IT-Value. Sander has over 10 years experience in IT, primary focus: virtualization, storage and SBC

More Posts - Website

Follow Me:
TwitterLinkedIn

VMware: The operation is not allowed in the current connection state of the host

March 22nd, 2012 6 comments

Today I want to install Windows 8 in my test lab, after creating a new virtual machine and power-on the VM I received warning error message:

Failed to find a host for powering on the virtual machine. The following faults explain why the registered host is not compatible

The operation is not allowed in the current connection state of the host.

 

image

 

Weird, both ESXi 5.0 hosts are powered on, my vCenter VM is running on the same machine which I want to power on the new virtual machine.. also strange is.. there’s no CPU (0 MHz) and no Memory usage (0,00 MB) activity at this host, check the screenshot below

 

image

Double check..:

image

Jup.. there are two running servers at esx01.vmpros.lan

 

Solution:

After disconnecting the ESXi host from vCenter and reconnect the host I was able to power on virtual machines, also my CPU/Memory activity is back

 

image

sanderdaems

Sander Daems is founder and author of this blog and working as a Sr. Infrastructure Consultant by IT-Value. Sander has over 10 years experience in IT, primary focus: virtualization, storage and SBC

More Posts - Website

Follow Me:
TwitterLinkedIn