From the appliance 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.

Prerequisites

  • 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 to the 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 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.
  3. Connect to the VMware Cloud Director Availability appliance by using a Secure Shell (SSH) client.
    1. Open an SSH connection to Appliance-IP-Address.
    2. Authenticate as the root user.
  4. Upgrade the appliance.
    Note: Proceed with the upgrade only after taking a snapshot of the appliance.
    1. Mount the .iso file inside the guest operating system.
      mount /mnt/cdrom
    2. Review the end-user license agreement (EULA) and if you accept the EULA, press q.
      python3 /mnt/cdrom/update/iso-upgrade.py eula | less
    3. 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
    4. After the upgrade completes, restart the appliance.
      reboot

What to do next

After you upgrade the appliance, complete the upgrade with a post-upgrade configuration. For more information, see Post-upgrade configuration.