They changed the database from vCenter 5.0 to 5.2 and I tried the migration steps from the VMWare Support Website and still it failed. I even called up the support of VMWare and at the end we had to face a new installation of vCenter.
This are the steps:
- Download the newest vCenter appliance and import it
- Run the applicance and check from the screen console the IP if you haven’t already setup a fix one
- Open it with your Browser: https://192.168.x.x:5480/
- Accept license Agreement
- Configure with default Settings
- Click on all next buttons until it starts to build the database and start the services
- Check if all services are up and running
- Change the hostname and IP Settings (Network/Adress) and click on Save Settings. After that you need to reboot the machine.
- Set the AD Settings
I tried set it over the Web-Interface but somehow it never worked. Finally I just connected to the appliance via putty and run following commands:
/opt/likewise/bin/domainjoin-cli join $YOURDOMAIN $USERNAME $PASSWORD
shutdown –r now
- Wait until the Appliance is up again.
- Login to the Web Appliance and go to the section Admin and Click on “Toggle certificate settings”. After that I had to restart the appliance again.
- This time connect via Web-Browser to a different port: https://192.168.x.x:9443
- Go there to Manage/Configuration and add there AD identitysource:
Replace the fields with your domain settings.
- Move System-Domain above localos.
- After you can vSphere Client and login with root to the vCenter. If there should be a message poping up about the certificate, you can just ignore it.
- Click on “localhost” and from there go to the tab “Permissions” and add the domain users in which you want to be able to login and set their permissions. I usually add the Domain Admin as well.
- Right click on “localhost” and rename it to the appliance hostname to better identifiy it and add a Datacenter and Cluster to it. The cluster settings you can get from the old appliance.
NOTICE: If you should use EVC then deactivate it first and activate it again after you have added all ESX, otherwise you aren’t able to add them.
- Go to the vCenter Settings and setup Email, SNMP etc.
NOTICE: Set a limit to how many days it should keep the protocols, because it could grow quickly and fill up all free space. The license key you can also lookup on your old instance.
- Connect to the old vSphere Server and disconnect all ESX Server from there
- On the new vSphere Server add them all to the cluster:
Notice: Use the Full Qualified Domain Name of the ESX Server and use the root login to add them. It will even add the licenses of the ESX.
- Set all other settings and switch off the old instance of vSphere
- Don’t forget to change the password of vSphere.