Upgrade Your Service Provider Offerings with VMware vCloud Director 10.0

Upgrading vCloud Director from version 9.7 to version 10.0

This document provides a step-by-step guide on upgrading vCloud Director from version 9.7 to version 10.0. The upgrade process is performed on a CentOS 7 system, where vCloud Director and PostgreSQL are installed. This guide assumes that the reader has already stopped the vCloud Director service and has created a backup of the database before starting the upgrade process.

Step 1: Stop the vCloud Director service

Before starting the upgrade, the reader should stop the vCloud Director service using the following command:

“`

sudo /etc/init.d/vmware-vcd stop

“`

Step 2: Backup the database

The reader should create a backup of the database before upgrading vCloud Director. The PostgreSQL database is located on another VM, and the reader should use the `pg_dump` command to create a backup of the database. The following command creates a backup of the database in the `/var/lib/pgsql/vcloud` directory:

“`

sudo su – postgres

pg_dump vcloud > /var/lib/pgsql/vcloud-backup_20200124-1821.sql

“`

Step 3: Download the upgrade package

The reader should download the upgrade package from the VMware website. The upgrade package for vCloud Director 10.0 is available at the following URL:

“`

https://code.vmware.com/apis/553/vcloud-director

“`

Step 4: Install the upgrade package

Once the upgrade package has been downloaded, the reader should install it using the following command:

“`

sudo ./vmware-vcloud-director-distribution-10.0.0-14638910.bin

“`

This command will extract the contents of the upgrade package and prepare the system for the upgrade.

Step 5: Verify the upgrade prerequisites

Before starting the upgrade, the reader should verify that all necessary prerequisites are installed. The following command checks for RPM packages that may be required for the upgrade:

“`

sudo rpm -qa | grep -i vcloud

“`

Step 6: Upgrade the database schema

After the upgrade package has been installed, the reader should run the `upgradeRun` script to apply several updates to the database. This script can be found in the following location:

“`

/opt/vmware/vcloud-director/bin

“`

The `upgradeRun` script will prompt the reader to enter their license key and confirm that they have created a backup of their database before continuing. Once these steps have been completed, the script will apply the updates to the database schema.

Step 7: Start the vCloud Director service

Once the upgrade has been completed, the reader should start the vCloud Director service using the following command:

“`

sudo service vmware-vcd start

“`

This command starts the `vmware-vcd-watchdog` and `vmware-vcd-cell` services.

Conclusion

———-

In this document, we have provided a step-by-step guide on upgrading vCloud Director from version 9.7 to version 10.0. The upgrade process includes stopping the vCloud Director service, creating a backup of the database, downloading the upgrade package, installing the upgrade package, verifying the upgrade prerequisites, and starting the vCloud Director service once the upgrade has been completed.