In the VMware Cloud Director Availability On-Premises Appliance management interface, you can upgrade from VMware Cloud Director Availability 4.0 to the latest version by specifying an online or a local repository that contains the upgrade binaries.

Follow the updated procedure bellow when upgrading from VMware Cloud Director Availability 4.0. If you are upgrading from version 3.x to 4.0, follow the legacy Upgrade On-Premises by Using a Specified Repository procedure. For information about the upgrade in the on-premises site, see Upgrading On-Premises.

Prerequisites

Verify that the VMware Cloud Director Availability On-Premises Appliance has a network access to the specified repository.

Procedure

  1. If the network restricts the appliances online Internet access, prepare a local repository with the upgrade files.
    1. To host the upgrade files inside the internal network, install and configure a local Web server.
    2. Download the VMware-Cloud-Director-Availability-release.number.xxxxxxx-build_sha.iso file, that contains the VMware Cloud Director Availability release.number Upgrade Disk Image.
    3. To access the image file contents, mount the downloaded .iso file to a local computer.
    4. Copy the update directory to the local Web server.
      The update directory contains the manifest files and the dnf subdirectory.
  2. Log in to the management interface of the VMware Cloud Director Availability On-Premises Appliance.
    1. In a Web browser, go to https://On-Prem-Appliance-IP-address/ui/admin.
    2. Log in as the root user.
  3. In the left pane, click Configuration.
  4. Under Version, next to Product version click Check for updates.
  5. Upgrade the VMware Cloud Director Availability On-Premises Appliance by completing the Update wizard.
    Note: Proceed with the upgrade only after taking a snapshot of the VMware Cloud Director Availability On-Premises Appliance.
    1. In the Repository page, select Use Specified Repository.
    2. In the Repository URL text box, specify the repository URL address and click Next.
      • If the appliance has Internet access, enter the following URL and specify the target version https://packages.vmware.com/vcav/4.2.
      • Alternatively, enter the URL address of the local repository pointing to the update/dnf directory of the local Web server. For example, enter http://local-Web-server-address/update/dnf.
    3. In the Available updates page, select an update and click Next.
    4. In the EULA Review page, to accept the end-user license agreement click Next.
    5. In the Ready for update page, click Finish and wait for the installation process to finish.
    The VMware Cloud Director Availability On-Premises Appliance automatically restarts.
  6. After the appliance restarts, verify that the upgrade is successful.

    When the upgrade process finishes, in the left pane in System Tasks, you might see a red Update task that failed with messages like Operation aborted due to an unexpected error or Task aborted due to service reboot, while the upgrade is successful.

    1. Connect to the appliance console either by using a Secure Shell (SSH) client or by using the appliance console in the vSphere Client and log in as the root user.
    2. Open the upgrade log file.
      less /var/log/upgrade.log
    3. Verify that the upgrade log finishes with the following log entry.
      The upgrade was successful! Scheduling reboot in 15 seconds.

What to do next

After you upgrade the VMware Cloud Director Availability On-Premises Appliance, complete the upgrade with a post-upgrade configuration. For more information, see Post-Upgrade Configuration On-Premises.