Upgrading vSphere 6.0 U2 to vSphere 6.5d – Part 2

Continuing on from Part 1, where I upgraded the external PSC appliances, Part 2 of this post will now continue the upgrade sequence and upgrade the vCenter Server Appliance 6.0 to the 6.5d release. As previously with the PSC appliance upgrade, the vCSA 6.5 upgrade follows the same two stage approach. The first stage is to deploy a new appliance and the second stage is to copy the data from the 6.0 appliance to the new 6.5 appliance.

Stage 1 – Deploy the new vCenter Server Appliance

In stage 1, I will deploy the OVA file of the vCenter 6.5 appliance. Mount the ISO and navigate to the \vcsa-ui-installer\ directory and then to the required subdirectory for your OS:

  • For Windows OS, go to the win32 subdirectory, and run the installer.exe
  • For Linux OS, go to the lin64 subdirectory, and run the installer
  • For Mac OS, go to the mac subdirectory, and run the Installer.app

Ensure you have a full backup or snapshots of all the required machine before commencing.

I’m running my upgrade from a Windows machine so I will run \vcsa-ui-installer\ win32\installer.exe

1.5.1

Select Upgrade from the vCenter Server Appliance 6.5 Installer

1.5.2

The introduction provides an overview of the stages required to complete the upgrade. Click Next.

1.5.3

Accept the End User License Agreement and click Next

1.5.4

Enter the FQDN of the existing vCenter Server Appliance, this is the first vCSA 6.0 I installed, along with the required credentials. Then enter the ESXi host for the source vCSA. Click Next

1.5.5

Click Yes on the Certificate Warning to continue.

1.5.6

Enter the ESXi host FQDN where you would like the new vCSA 6.5 appliance deployed. Click Next

1.5.7

Click Yes on the Certificate Warning to continue.

1.5.8

Enter the name for the vCSA appliance VM and set a root password. Click Next.

1.5.9

Select the deployment size you would like for your environment. For my home lab, I selected Tiny

1.5.10

Select a datastore for the vCSA and if you would like to enable Thin Disk Mode. Click Next.

1.5.11

Now select a network with ephemeral port binding, this is temporary and the new vCSA appliance can be moved to another network after the upgrade has completed.

Enter the temporary network identity in the required fields. It’s worth noting at this point that the temporary names and IP addresses used during the upgrade all need to be resolvable by DNS. Once the upgrade has completed, the appliance frees the temporary IP address and assumes the network settings of the source 6.0 appliance.

1.5.12

Review the summary on the Ready to complete stage 1 page, verify the settings and then click Finish

1.5.13

Once the deployment has completed, click Continue to progress to Stage 2. If you close, you can continue with Stage 2 by navigating to the VAMI of the newly deployed vCenter Server appliance, https://vma01tmp.testlab.com:5480

1.5.14

Stage 2 – Copy Data from source vCenter Server Appliance to the vCSA 6.5 appliance

After completing stage 1, you will be taken to stage 2 and the introduction page. Click Next.

1.5.15

Confirm the source vCenter Server and ESXi host information. This will be pre-populated from Stage 1 unless you closed the Upgrade after Stage 1. If so, you we need to re-enter the information. Click Next

1.5.16

A pre-upgrade check will run and display it’s results. The check highlighted an internal error during the vSphere ESX Agent Manager upgrade checks. I managed to find a resolution to this error in the VMware communities

https://communities.vmware.com/thread/557876

1.5.17

Navigate to the source vCSA Managed Object Browser, https://vmatestlab01.testlab.com/mob – you will need to authentication with SSO administrator credentials.

Click content

1.5.18

Click ExtensionManager

1.5.19

Click UnregisterExtension and a new window will appear for the UnregisterExtension

1.5.20

Enter com.vmware.vim.eam in the value field and click Invoke Method

1.5.21

This unregisters the plug-in and results in void  

1.5.22

Refresh the Managed Object Browser and verify the plug-in has been unregistered

1.5.23

Stop the vmware-eam service on the source vCSA appliance by running service-control –stop vmware-eam from the shell

Once the vmware-eam service is stopped, you can continue. Click Next

1.5.24

It’s likely you will be required to enter your password again due to the session expiring. Enter your password and click Log in

1.5.25

The pre-upgrade check will run again and display it’s results. This time, the check only highlighted that DRS should not be set to Fully Automated on the cluster where the ESXi host resides during the upgrade process. As in part 1, I configured the DRS Automation Level to manual.

1.5.26

You now need to select the data you would like to migrate form the course vCSA 6.0 appliance, I decided to take all of the data. Select the option for your environment and click Next

1.5.27

Review the summary information on the Ready to complete page, check I have backed up the source vCenter Server and all the required data from the database and click Finish

1.5.28

At this point, the installer will display a notice stating the source vCSA appliance will be shutdown once the network configuration has been enabled on the new vCSA 6.5 appliance. This is a useful option as the source vCSA configuration and data is left intact for easier rollback, if required. Click OK

1.5.29

If all goes well, the data should be copied and the source vCSA shutdown. The new vCSA 6.5 should be powered on and accessible with your source network identity. At this point I renamed the VMs in vCenter for convenience.

1.5.30

You now need to upgrade all vCSAs in your SSO domain before proceeding to upgrade the ESXi hosts. I will finish this blog series in Part 3 when I complete the upgrade of my ESXi hosts.

 

 

 

 

 

 

 

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s