In this article I will describe a procedure how you can update vCloud Director to 220.127.116.11.
The update process takes around 10 to 15 minutes in total, based on my three vCD cell setup.
The release notes for 18.104.22.168 can be found here.
These are the specifics of my vCloud Director lab:
- Running version vCloud Director 22.214.171.124
- 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 126.96.36.199
- 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 188.8.131.52–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
# 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/ folder tar -zxf /tmp/VMware_vCloud_Director_184.108.40.20644-14535248_update.tar.gz -C /tmp/local-update-package # Configure the folder /local-update-package/ as default update repository vamicli update --repo file:///tmp/local-update-package # Check if the repository is configured correctly vamicli update --check
- The result of the check will look like this
- Stop the vCD cell
# 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 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.
# Backup the vCloud Director database opt/vmware/appliance/bin/create-db-backup
- Upgrade the vCloud Director database by running the following command
# 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 service service vmware-vcd start
- Don’t forget to remove the snapshot from the cells in vSphere!
PS. Check our other vCloud Director related articles here.
3,175 total views, 5 views today