In the appliances management interface, you can upgrade VMware Cloud Director Availability to the latest version by using an .iso image file containing the upgrade binaries that you mount to the CD-ROM drive of the virtual appliances.
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
- Copy the .iso file to a datastore that is accessible from the vCenter Server instance that you use with VMware Cloud Director Availability.
- Mount the .iso file to each of the VMware Cloud Director Availability appliances.
- Log in to the vSphere Client on the site where you want to upgrade VMware Cloud Director Availability.
- Navigate to the virtual machine that hosts the VMware Cloud Director Availability appliance.
- Right-click this virtual machine and select Edit Settings.
- On the Virtual Hardware tab, select .
- Follow the prompts to add the CD/DVD drive to the VMware Cloud Director Availability virtual machine then select the Connected checkbox.
- By using the appliances console, mount the .iso file inside the guest operating system of each of the VMware Cloud Director Availability appliances.
- 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.
- Mount the .iso file inside the guest operating system of each appliance.
mount /mnt/cdrom
- Log in to the service management interface of each VMware Cloud Director Availability appliance.
- Open a Web browser and according to the upgrade order go to each appliance management interface address.
Upgrade Order VMware Cloud Director Availability Appliance Management Interface Address First Cloud Director Replication Management Appliance https://Appliance-IP-Address/ui/admin Repeat for all instances Replicator Appliance https://Replicator-IP-Address/ui/admin Last Tunnel Appliance https://Tunnel-IP-Address/ui/admin - Log in by using the root user credentials.
- Open a Web browser and according to the upgrade order go to each appliance management interface address.
- In the left pane, click Settings.
- Under Version, next to Product version click Check for updates.
- Upgrade this appliance by completing the Update wizard.
- On the Repository page, select Use CDROM Updates then click Next.
If you skipped mounting the image, you see an error message: Could not download the release manifest from file:///mnt/cdrom/update/rel-manifest.json. To continue, perform step 3.
- On the Available updates page, select the update then click Next.
- On the Release notes page, read the notes for this version then click Next.
- On the Compatibility Check page, verify the paired on-premises appliances compatibility with the upgrade version then click Next.
If you powered off the Tunnel Appliance and all Replicator Appliance instances before starting the upgrade of the Cloud Director Replication Management Appliance, the following expected error message shows for each paired site:
Generic Network Error occurred on client side.
If you did not power them off until now, once these compatibility checks pass, power them off. - On the EULA Review page, to accept the end-user license agreement click Next.
- On the Ready for update page, confirm creating a backup by selecting the I have created a backup archive of the appliance. checkbox then click Finish.
The upgrade process starts. Wait for the installation process to finish.Note: If you see either of the following messages, wait a few minutes before attempting to log back in:
Timeout has occurred or Operation aborted due to an unexpected error.
- On the Repository page, select Use CDROM Updates then click Next.
- After the upgrade finishes, verify that the upgrade is successful.
- 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.
- Open the upgrade log file.
less /var/log/upgrade.log
- When upgrading to version 4.6.x, verify that the upgrade log contains the following log entry near the end.
'Postupgrade to 4.6.x complete.'Once the following tailing lines are logged at the end of the log file, the appliance automatically reboots in 15 seconds: [date-timestamp] # set -o pipefail; /usr/bin/systemd-run --on-active=15 /usr/sbin/reboot 2>&1 | /usr/bin/gawk '{ print strftime("[%Y-%m-%d %T %Z]"), $0 }' | tee -a /var/log/upgrade.log 1>&2 [date-timestamp] Running timer as unit: run-re595c8a07fe845bbb87e6c36f866caf2.timer [date-timestamp] Will run service as unit: run-re595c8a07fe845bbb87e6c36f866caf2.service
- Unmount the .iso file.
- In the vSphere Client, shut down the virtual machine that hosts the appliance.
- Right-click the virtual machine and select Edit Settings.
- In the Virtual Hardware tab, select CD/DVD Drive and uncheck the Connected and the Connect At Power On checkboxes.
- Power on the virtual machine that hosts the appliance.
Results
What to do next
After you upgrade all the VMware Cloud Director Availability appliances, finish the upgrade by completing the post-upgrade configuration.