From the appliances command-line interface, you can upgrade VMware Cloud Director Availability to the latest version by using an .iso file containing the upgrade binaries that you mount to the CD-ROM drive of the virtual appliance.

Perform this procedure multiple times, to upgrade each VMware Cloud Director Availability appliance.

Prerequisites

  • Follow a strict order when upgrading the VMware Cloud Director Availability appliances.
  • 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.

Procedure

  1. Copy the .iso file to a datastore that is accessible from the vCenter Server instance that you use with VMware Cloud Director Availability.
  2. Mount the .iso file in a VMware Cloud Director Availability appliance.
    1. Log in to the vSphere Client in the site where you want to upgrade VMware Cloud Director Availability.
    2. On the Home page, click Hosts and Clusters.
    3. Right-click the virtual machine that hosts the VMware Cloud Director Availability appliance and select Edit Settings.
    4. On the Virtual Hardware tab, select CD/DVD Drive > Datastore ISO File.
    5. Follow the prompts to add the CD/DVD drive to the VMware Cloud Director Availability virtual machine then select the Connected checkbox.
    Repeat this step to mount the .iso file in all remaining VMware Cloud Director Availability appliances.
  3. Upgrade a VMware Cloud Director Availability appliance in the upgrade order from the following table.
    Note: Proceed with the upgrade only after taking a snapshot of each cloud appliance.
    Upgrade Order VMware Cloud Director Availability Appliance
    First Cloud Director Replication Management Appliance
    Repeat for all instances Replicator Appliance
    Last Tunnel Appliance
    1. Connect to the appliance console either by using a Secure Shell (SSH) client or by using the vSphere Client and log in as the root user.
    2. Mount the .iso file inside the guest operating system.
      mount /mnt/cdrom
    3. Review the end-user license agreement (EULA) and if you accept the EULA, press q.
      python3 /mnt/cdrom/update/iso-upgrade.py eula | less
    4. Install the upgrade.
      python3 /mnt/cdrom/update/iso-upgrade.py
      After successfully completing, the upgrade outputs both in the console and in the /var/log/upgrade.log file:
      [date-timestamp] Postupgrade to 4.6.x complete.
      Nothing to do.
      Loaded plugin: tdnfrepogpgcheck
    5. After the upgrade completes, restart the appliance.
      reboot
    Repeat this step to upgrade all remaining VMware Cloud Director Availability appliances according the upgrade order.

What to do next

After you upgrade all the VMware Cloud Director Availability appliances, finish the upgrade by completing the post-upgrade configuration.