Jul
14
2010

How to: Upgrade to vSphere 4.1

With yesterdays release of vSphere 4.1 comes the challenge to upgrade your existing installation to this new version. Because I have been testing the beta for a while now, I couldn´t wait to try it in our new testing environment.


However, there are a few caveats:

  • VMware released a KB article with the supported upgrade methods for ESX(i) 3.0.x, 3.5 and 4 full, embedded or installable;
  • Do NOT upgrade vCenter server to version 4.1 if you are using VMware View Composer 2.0.x. Check out this VMware KB article for more information.

Before you start the upgrade process, back-up the vCenter- and Update Manager databases.

After downloading the needed ISO´s, I started with the upgrade of the vCenter server.

But first of all, I had to uninstall all incompatible vCenter components, in this case Guided Consolidation 4.0.

When this is done, it´s time to update the vCenter server.

vCenter server upgrade

Note: vCenter Server 4.1 is supported only on 64 bit operating systems. As such, there is no in-place upgrade path for vCenter Server installs on 32 bit operating systems. If your vCenter Server is installed on a 32 bit operating system, you need to switch to a new 64 bit machine where vCenter Server 4.1 can be installed. Check out this VMware KB article for an overview of the database migration procedure using the vCenter Server 4.1 migration tools.

The installation detects the earlier vCenter server installation.

The installation detects the current vCenter server database and the used ODBC driver. Check whether the correct database is displayed to avoid upgrading the incorrect database.

Confirm that you want to upgrade your existing database and that you have made a back-up before starting the upgrade process.

Specify if you want the upgrade process to upgrade your vCenter agents automatically or manually. If you want minimal disruption, choose the automatic option, although VMware HA and FT will continue to function when disconnected from the vCenter server..

Enter the password for the vCenter server service account.

Check the ports used by vCenter server. In my home test environment the changes made for the previous vCenter server installation were neatly preserved.

Then a new vCenter server installation feature. Select your vSphere setup to correctly size the memory used for the vCenter server Java Virtual Machine (JVM) memory.

There are three options, Small <100 hosts, Medium >100 hosts <400 hosts, Large > 400 hosts.
Personally I think I will never use the Medium and Large option although I would love to setup such a huge environment.

When you’ve passed these 7 screens, the installation process has enough information to upgrade your previous vCenter server installation.

 

 

 

 

 

 

 

 

 

Next, the vSphere client upgrade.

______________________________________________________

Page 1 – vCenter server upgrade
Page 2 – vSphere client upgrade
Page 3 – Update Manager upgrade
Page 4 -  ESX host upgrade

______________________________________________________

 

  • Share/Bookmark

Related posts:

  1. Upgrading VMware ESX 3.5 to ESX 4.0 (vSphere)
  2. vSphere 4 Update 1 released
  3. vSphere ‘how to upgrade’ videos
  4. VMware vSphere Update 1 updated
  5. vSphere 4: 9 months later
Written by Erik Scholten in: How To, VMware, vSphere | Tags: , ,

Pages: 1 2 3 4

Erik Scholten is a Solution Architect for Centric Managed ICT Services creating the most ingenious virtual infrastructures. His work includes selling, presenting, designing, building and developing virtual infrastructures for some major companies in the Netherlands. In his spare time he likes to ride his motorcycle.
  • FM
    Hi

    Looking at upgrading vCenter 4.0 update 1 to vCenter 4.1 and have a DSN question.

    The 4.1 upgrade guide says it needs a 64bit DSN, whilst the previous versions used a 32bit DSN.

    I created an additional 64bit DSN to point to the vCenter DB - the aiming being to get the installer to use this.

    When I run the 4.1 installation it reports I have an earlier version of vCenter alredy installed and it will upgrade this version.In the database options window it detects the 32bit DSN - so I cannot specify the 64bit DSN I created earlier. The next window has the upgrade options for the database, however I'm reluctant to continue on as it's using the 32bit DSN.

    Any advice?
  • @Home I forgot to update my DSN before the upgrade and updated my vSPhere setup without any problems. Afterwards I removed the 32 bit DSN and replaced it with a 64 bit DSN. No problem.
  • FM
    Cheers for the info.

    I shall let the installer continue with the upgrade process, and then check the DSN details.
  • Sascha Berlin/Germany
    many thanks for this how to!

    It works fine.
  • Patters
    @donkarnash I had the same problem as you by the sound of it. I wrote up a workaround here:
    http://pcloadletter.co.uk/2010/07/26/upgrading-to-vcenter-4-1/
  • John Doe
    Nice work Erik and posted just one day after 4.1 is out.
    Keep the good work.
  • Mr Sarge
    wy ist it necessary to install the pre-upgrade package via esxupdate before the upgrade with VUM?
  • Honestly? I have no idea.Maybe to fix a bug which prohibits the update with VUM but that's just speculation.
  • Trupel
    Thanks for the info! very helpful
  • donkarnash
    HI,

    I have vcenter 4.0 update 1 with 3 hosts in cluster & HA installed on windows 2003 32bit server.

    I have to upgrade to vcenter 4.1 and installed sql express edition

    I have moved all vm's from one host to remaining other two.

    I have installed ESXi 4.1 build 260247 on one host.

    Then created a vm - windows 2008 R2 64bit - installed vcenter 4.1 & vpshere client build 258902.

    I ran the agent pre-upgrade check on the existing vcenter.

    Also ran backup.bat under datamigration on the existing vcenter.

    I copied the vcenter 4.1 installation files and datamigration folder to new server.

    I have different host name and different IP address for this new vcenter.

    I can login to the vcenter on new host but obviously it is empty.

    Now...I need some guidance here.

    I do not know if I need to migrate the existing db to new server ??

    if yes --- how --- what are the steps as I do not have SQL Server Management Studio on win 2003 vcenter server.

    if no --- do I just run the install.bat on the new vcenter server ????

    I know I will have to update the configuration files manually as the host name and IP address are different.

    which specific files are these ????

    Can you please guide me.

    Many thanks
  • In my opinion, migration or fresh install depends on the amount of configuration in vCenter. If you have a small scale install with a few hosts, a few resource pools, some HA and DRS config, and don't mind losing the performance history, do a fresh install. If performance history is critical and you have a large scale installation with many hosts and maybe additional tools like SRM, I would perform an upgrade.
blog comments powered by Disqus

Powered by WordPress | Aeros Theme | TheBuckmaker.com WordPress Themes