Archive for July 2013

Upgrading vSphere 4.1 to vSphere 5.1

core4

Upgrading is a multistage process in which procedures must be performed in a particular order. Follow the process outlined in this high-level overview to ensure a smooth upgrade with a minimum of system downtime. Make sure that you understand the entire upgrade process before you attempt to upgrade. If you do not follow the safeguards, you might lose data and lose access to your servers. Without planning, you might incur more downtime than is necessary

  • vCenter Single Sign-On
  • Inventory Service
  • vCenter Server

Datacentres continue to evolve. This evolution involves increasingly larger and more complex datacentres. Due to technologies such as cloud computing and distributed applications, administrators must have scalable tools and services to manage these environments in the most efficient manner possible. The longer you do not upgrade the less new beneficial features you will be able to take advantage of to provide an improved and scalable platform

Example Environment

This is an upgrade document targeted at

  • 1 x MS Windows 2008 R2 VMware vCenter VM
  • 1 x MS SQL Server 2008 R2 VM running the VMware vCenter DB + Update Manager DB
  • 25 x VMware ESXi 4.1 U3 Hosts
  • No external Certificates

Planning Tasks

The upgrade to vCenter Server 5.1 includes a database schema upgrade and an upgrade of the vCenter Server Software.

vSphere 5.1 introduces vCenter Single Sign On service as part of the vCenter Server management infrastructure. This change affects vCenter Server installation, upgrading, and operation

You need to check every single point of the VMware Upgrade Guide and make sure you know exactly what you are doing and how to recover from any potential issues

Always use the “Run as Administrator” option. It can cause you to get random error messages because your account even if it is administrator can be denied rights to certain actions

  • Check the Interoperability Matrix

Step0

  • Check Host BIOS Version and Upgrade if necessary

Step0b

  • Make sure hosts reach the minimum hardware configuration

Step2

  • Make sure vCenter meets the minimum hardware requirements

Step3

  •  Make sure Single Sign On meets the minimum hardware requirements

Step4

  • Make sure Inventory Service meets the minimum requirements (if installed separately)

Step5

  • Make sure Inventory Service meets the minimum requirements (if installed on the same server as vCenter)

Step6

  • Make sure the server you install vSphere client on is supported

Step7

  • Make sure the server and web browser is supported for vSphere Web Client

Step8

  • Check JVM Settings (Can be set during vCenter Install)

Step9

  • Check the Database Authentication Mode

Step10

  • Make sure TCP/IP is enabled in SQL Server Configuration Manager

Step21

  • Always check with your vendor. E.g Dell, HP, IBM to see if they offer a customised ISO for VMware vSphere EXi5.X. These can provide extra features and functionality you may not get from the vanilla version via VMware

Step11

  • Make sure Active Directory, DNS and time synchronisation is working correctly

Step37

  • Upgrade your current licensing via your portal

Step12

  • Backup your vCenter and vCenter Update Manager Database via Backup Software and within SQL Management Studio

Step13

  • Backup SSL Certs to a separate location

Step14

  • Run the vCenter Host Agent Pre-Upgrade Checker and resolve any issues

Step15

  • Snapshot the vCenter DB Server and the vCenter VM (If Virtual Servers)

Step16

  • Stop the VMware Virtual Center Service

Step17

  • Important Notes about SSO

Step23

  • Install vCenter Single Sign On

Step38

  • Confirm Active Directory Domains

Step36

  • Install the vCenter Web Client

Step27

  • Upgrade the Inventory Service

Step22

  • Important Notes about the vCenter Install

Step25

  • Install vCenter

Step24

  • Upgrade the vSphere Client to v5.1

Step26

  •  Upgrade Update Manager

Step29

  • Upgrade the Update Manager Client Plugin

Step30

  • Upgrade the Hosts

Step31

  • Upgrade VMware Tools

Step32

  • Upgrade VM Hardware Version

Step33

  • Upgrade Datastores from VMFS3 to VMFS5

Step34

  • Upgrade Virtual Distributed Switches to v5.1

Step35