Site icon Default Reasoning

Upgrade VMware vCloud Director 5.1 to version 5.5 – Part 1

Before we jump into the upgrade process of the vCloud Director, let’s have a quick look at what’s new in version 5.5.

These are just the highlights, for a complete overview and closer look at each of all new features, refer to the What’s new with VMware vCloud Connector 5.5 Technical Whitepaper

Before you begin with the upgrade, read the following documents.

The upgrade steps look as follows.

  1. Disable the user access to vCloud Director and display a maintenance message.
  2. Using the cell management tool, quiesce a vCloud Director cell and shutdown vCloud Director services.
  3. Upgrade the vCloud Director software.
  4. Upgrade the vCloud Director database.
  5. Restart the vCloud Director.
  6. Upgrade vShield Manager.
  7. Optionally, upgrade vCenter Server, ESXi hosts.
  8. Upgrade vShield Edge Appliances.

Let’s get started!

Disable user access and display maintenance message

  1. Login to the vCloud Director Cell with superuser or root account.
  2. First, change the working directory to [root@vCD-01 /]# cd /opt/vmware/vcloud-director/bin/
  3. Next, enter the following command: [root@vCD-01 bin]# service vmware-vcd stop
  4. Enter the following command to enter the maintenance mode: [root@vCD-01 bin]# ./vmware-vcd-cell maintenance
  5. Any user logging in on the vCloud Director cell will now receive a message stating that the service is unavailable.

Quiesce vCloud Director cell and shutdown services

When the cell is in the maintenance mode, we can now use the cell management tool to quiesce and shut down vCloud Director services on the server’s cell.

  1. First, check the current job status with the following command. Replace the vcdadmin user with your administrator user account: [root@vCD-01 bin]# ./cell-management-tool -u vcdadmin cell -t
  2. Next, use the following command to quiesce the cell: [root@vCD-01 bin]# ./cell-management-tool -u vcdadmin cell –quiesce true
  3. Shut down the cell: [root@vCD-01 bin]# ./cell-management-tool -u vcdadmin cell –shutdown

You can now safely continue with the vCloud Director software upgrade.

Upgrade vCloud Director software

  1. First, upload the vCloud Director 5.5 binaries to the vCloud Director cell.
  2. Next, change the file execution permissions: [root@vCD-01 download]# chmod u+x vmware-vcloud-director-5.5.0-1323688.bin
  3. Execute the installation file: [root@vCD-01 download]# ./vmware-vcloud-director-5.5.0-1323688.bin
  4. When the installer finished checking the requirements and extracting the files it will prompt you with a message stating that an older version of vCloud Director has been detected and if you want to upgrade to version 5.5 Press Y to upgrade.
  5. When the upgrade process completes, continue to the database upgrade. Do not start the vCloud Director services!

Upgrade vCloud Director database

This step needs to be done only once since all servers in a vCloud Director server group share the same database. After the database is upgraded, you need to upgrade all other vCloud Director servers in the group or they will not be able to communicate with the database.

  1. Before you begin make sure you have a back-up of the vCloud Director database.
  2. Execute the database upgrade script: [root@vCD-01 /]# /opt/vmware/vcloud-director/bin/upgrade
  3. Press Y when asked if you want to upgrade the product.
  4. Optionally, press Y if you want to rebuild the database indexes and the database statistics. According to the vCloud Director upgrade guide, these procedures can lead to better database performance after the upgrade so I choose to upgrade.
  5. When the database upgrade is completed, it will automatically start the vCloud Director services when you press Y answering the “Start it now?” question.

Verify the version of the vCloud Director installation from the Help menu.

This concludes part 1 of the vCloud Director upgrade process. Repeat the steps above, except for the database upgrade, on all vCloud Director servers in the group.

Continue to part 2 where we will upgrade the vShield Manager and the vShield Edge Appliances.

Cheers!

– Marek.Z

Exit mobile version