Thursday, May 24, 2012

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.


01 vcenter 5 upgrade Upgrading vCenter 4 to vCenter 5
2. Select vCenter Host Agent Pre-Upgrade Checker and click Install. Click Next at the Welcome screen.

02 vcenter 5 upgrade Upgrading vCenter 4 to 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.

03 vcenter 5 upgrade Upgrading vCenter 4 to vCenter 5
4. Select Custom Mode. Click Next.

04 vcenter 5 upgrade Upgrading vCenter 4 to vCenter 5
5. Select your hosts and click Next.

05 vcenter 5 upgrade Upgrading vCenter 4 to vCenter 5
6. Click Run precheck and when finished click Next.

06 vcenter 5 upgrade Upgrading vCenter 4 to vCenter 5
7. As you can see my host has passed, you can also click on View Report if you wish. Click Next.

07 vcenter 5 upgrade Upgrading vCenter 4 to vCenter 5
8. The Pre-Upgrade Checker has now complete, click Finish.

08 vcenter 5 upgrade Upgrading vCenter 4 to vCenter 5
9. Click on vCenter Server and click install to being the vCenter 5 installation wizard.

09 vcenter 5 upgrade Upgrading vCenter 4 to vCenter 5
10. Select your language and click Ok.

10 vcenter 5 upgrade Upgrading vCenter 4 to 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.

11 vcenter 5 upgrade Upgrading vCenter 4 to vCenter 5
12. Click Next to the End-User Patent Agreement.

12 vcenter 5 upgrade Upgrading vCenter 4 to vCenter 5
13. Agree to the license agreement and click Next.

13 vcenter 5 upgrade Upgrading vCenter 4 to vCenter 5
14. Enter in your username and organization followed by your license key, or leave empty to install in evaluation mode. Click Next.

14 vcenter 5 upgrade Upgrading vCenter 4 to vCenter 5
15. Click Yes if you are continuing in evaluation mode or click no and enter in your vcenter 5 license key.

15 vcenter 5 upgrade Upgrading vCenter 4 to vCenter 5
16. Your preivous DSN is found, click Next.

16 vcenter 5 upgrade Upgrading vCenter 4 to 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.

17 vcenter 5 upgrade Upgrading vCenter 4 to 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.

18 vcenter 5 upgrade Upgrading vCenter 4 to vCenter 5
19. Enter in your password for the vCenter Service and enter in your FQDN for your vCenter Server. Click Next.

19 vcenter 5 upgrade Upgrading vCenter 4 to vCenter 5
20. Select your installation Directories for vCenter 5 and click Next.

20 vcenter 5 upgrade Upgrading vCenter 4 to vCenter 5
21. Check your port settings for conflicts, most of these ports are from your existing vCenter 4. Click Next.

21 vcenter 5 upgrade Upgrading vCenter 4 to vCenter 5
22. Check the Inventory Service Ports for conflicts. Click Next.

22 vcenter 5 upgrade Upgrading vCenter 4 to vCenter 5
23. Select the Inventory Size that corresponds to your environment. Click Next.

23 vcenter 5 upgrade Upgrading vCenter 4 to vCenter 5
24. If you power on more than 2000 virtual machines simultaneously then select this box, otherwise click Install.

24 vcenter 5 upgrade Upgrading vCenter 4 to vCenter 5
25. The vCenter 5 upgrade begins.

25 vcenter 5 upgrade Upgrading vCenter 4 to vCenter 5
26. Click Finish.

26 vcenter 5 upgrade Upgrading vCenter 4 to 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.

27 vcenter 5 upgrade Upgrading vCenter 4 to vCenter 5
28. Select Install this certificate… and then click Ignore.

28 vcenter 5 upgrade Upgrading vCenter 4 to vCenter 5
29. You are now logged into your new vCenter 5 Server.

29 vcenter 5 upgrade Upgrading vCenter 4 to vCenter 5

Source : http://www.sysadmintutorials.com

0 comments:

Post a Comment