In this article I will describe a procedure how you can update vCloud Director to 18.104.22.168.
The update process takes around 10 to 15 minutes in total, based on my three vCD cell setup.
The release notes for 22.214.171.124 can be found here.
These are the specifics of my vCloud Director lab:
- Running version vCloud Director 126.96.36.199
- I’m using the appliances
- The lab consists of 3 vCD cells
- We’re using the embedded database
- vSphere 6.7
Let’s get started!
Update vCloud Director to 188.8.131.52
- Find out which cell is the primary cell.
Open your browser and navigate to https://<Local-FQDN/IP>:5480
- Log in with your administrative credentials.
- After logging in you can see which cell of the cells is the primary
- Login to https://my.vmware.com and download the update package. In this case it’s “VMware vCloud Director 184.108.40.206–Virtual Appliance update package for 9.7.x”
Direct link: https://my.vmware.com/group/vmware/details?downloadGroup=VSPP_VCD9703&productId=867&rPId=36103#
- After the download completes, copy the .GZ file to the /tmp/ folder on your primary cell (In my example I’m using WinSCP)
- Connect with SSH to your vCD cell
VMware vCloud Director 220.127.116.11–Virtual Appliance update package for 9.7.xShell1234567891011# Create a new folder inside /tmp/ with the name "local-update-package"mkdir /tmp/local-update-package# Extract the .GZ to the /tmp/local-update-package/ foldertar -zxf /tmp/VMware_vCloud_Director_18.104.22.16844-14535248_update.tar.gz -C /tmp/local-update-package# Configure the folder /local-update-package/ as default update repositoryvamicli update --repo file:///tmp/local-update-package# Check if the repository is configured correctlyvamicli update --check
- The result of the check will look like this
- Stop the vCD cell
Stop vCloud Director serviceShell12345678# vCD cell quiesce/opt/vmware/vcloud-director/bin/cell-management-tool -u m.roeleveld cell -q true# vCD cell maintenance mode/opt/vmware/vcloud-director/bin/cell-management-tool -u m.roeleveld cell -m true# vCD cell software shutdown/opt/vmware/vcloud-director/bin/cell-management-tool -u m.roeleveld cell --shutdown
- Quickly take a snapshot of the vCD cells in vSphere, just to be sure.
- Install the patch now. Installation will roughly take 5 minutes
vamicli update --install latestShell1vamicli update --install latest
- Repeat the steps 5-10 on the vcd-cell02 and vcd-cell02
Update the database
- Log on to the primary vCD cell and make a backup of the vCloud Director database.
vCD database backup & updatePowerShell12# Backup the vCloud Director databaseopt/vmware/appliance/bin/create-db-backup
- Upgrade the vCloud Director database by running the following command
/opt/vmware/vcloud-director/bin/upgradeShell12# Start the update of the vCloud Director database upgrade script/opt/vmware/vcloud-director/bin/upgrade
- Start the vCloud Director service on vcd-cell02 and vcd-cell03
Start vCloud Director servicePowerShell12# Start vCloud Director serviceservice vmware-vcd start
- Don’t forget to remove the snapshot from the cells in vSphere!
PS. Check our other vCloud Director related articles here.
371 total views, 3 views today