Upgrading vCenter 4 to vCenter 5

Shares

In this tutorial I will guide you through upgrading vCenter 4 to the new vCenter 5. In this lab I have a separate SQL Server running SQL 2008 R2 on Windows 2008 R2, vCenter 4.1 running on Windows 2008 R2.

Upgrading to vCenter 5

1. Firstly backup your vcenter database followed by backing up your vcenter SSL keys C:programdataVMwareVMware VirtualCenterSSL. Log into your vCenter server as the service account that is running the vCenter services. Either burn or mount the vCenter 5 iso image to the DVD drive of your vCenter server. It will either auto start or if you have auto start disabled you can browse the DVD and double click autostart.exe. First thing we are going to do is test our current ESXi servers to see if the VPX agent is ready to be upgraded. NOTE: In vSphere 5, there is no more ESX servers, so you must plan to re-install your hosts to ESXi.


vcenter 5

2. Select vCenter Host Agent Pre-Upgrade Checker and click Install. Click Next at the Welcome screen.


vcenter 5

3. The wizard will pick up your existing DSN, enter in the username and password to authenticate to your database. Alternatively you can select Use Windows Credentials if the user you are logged in with has access to your database, or Use Virtual Center Credentials. Click Next.


vcenter 5

4. Select Custom Mode. Click Next.


vcenter 5

5. Select your hosts and click Next.


vcenter 5

6. Click Run precheck and when finished click Next.


vcenter 5

7. As you can see my host has passed, you can also click on View Report if you wish. Click Next.


vcenter 5

8. The Pre-Upgrade Checker has now complete, click Finish.


vcenter 5

9. Click on vCenter Server and click install to being the vCenter 5 installation wizard.


vcenter 5

10. Select your language and click Ok.


vcenter 5

11. The wizard picks up that you have a previous version of vCenter and that an upgrade to vCenter 5 will take place. Click Next.


vcenter 5

12. Click Next to the End-User Patent Agreement.


vcenter 5

13. Agree to the license agreement and click Next.


vcenter 5

14. Enter in your username and organization followed by your license key, or leave empty to install in evaluation mode. Click Next.


vcenter 5

15. Click Yes if you are continuing in evaluation mode or click no and enter in your vcenter 5 license key.


vcenter 5

16. Your preivous DSN is found, click Next.


vcenter 5

17. Make sure you take a backup of your existing database before upgrading. Also backup your SSL keys. Select Upgrade and click I have taken a backup. Click Next.


vcenter 5

18. You can select Automatic or Manual here, I select Automatic to have vCenter upgrade my vCenter Agent on each host automatically. Click Next.


vcenter 5

19. Enter in your password for the vCenter Service and enter in your FQDN for your vCenter Server. Click Next.


vcenter 5

20. Select your installation Directories for vCenter 5 and click Next.


vcenter 5

21. Check your port settings for conflicts, most of these ports are from your existing vCenter 4. Click Next.


vcenter 5

22. Check the Inventory Service Ports for conflicts. Click Next.


vcenter 5

23. Select the Inventory Size that corresponds to your environment. Click Next.


vcenter 5

24. If you power on more than 2000 virtual machines simultaneously then select this box, otherwise click Install.


vcenter 5

25. The vCenter 5 upgrade begins.


vcenter 5

26. Click Finish.


vcenter 5

27. Back at the welcome screen, install the vSphere Client. This will upgrade your existing client. The installation is very basic so I won’t provide any screen shots. Once the new vSphere Client is installed, double click it to launch it. Enter in your vCenter ip address or hostname followed by your username/password or you can tick the box to use your current Windows session credentials.


vcenter 5

28. Select Install this certificate… and then click Ignore.


vcenter 5

29. You are now logged into your new vCenter 5 Server.


vcenter 5

If you have any technical questions about this tutorial or any other tutorials on this site, please open a new thread in the forums and the community will be able to help you out.

Disclaimer:
All the tutorials included on this site are performed in a lab environment to simulate a real world production scenario. As everything is done to provide the most accurate steps to date, we take no responsibility if you implement any of these steps in a production environment.

  • Rajeev Ranjan

    it’s a really nice and fruitfull post.

  • Muthu G

    very nice…

  • Chris Stuttler

    I was able to follow your step by step and get the job done.  Well documented!