Skip to content

vBlog.nl

All about technology

Menu
  • Home
  • VMware Cloud Director
  • vSphere
  • Automation
    • PowerCLI
    • PowerShell
    • Terraform
  • NSX
  • Horizon DaaS
  • About Us
Menu
vCD Database Availability - Check Primary Role

Update vCloud Director to 9.7.0.3

Posted on September 6, 2019

In this article I will describe a procedure how you can update vCloud Director to 9.7.0.3.
The update process takes around 10 to 15 minutes in total, based on my three vCD cell setup.
The release notes for 9.7.0.3 can be found here.

These are the specifics of my vCloud Director lab:

  • Running version vCloud Director 9.7.0.2
  • 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!

Table of Contents

  • Update vCloud Director to 9.7.0.3
  • Update the database

Update vCloud Director to 9.7.0.3

  1. Find out which cell is the primary cell.
    Open your browser and navigate to https://<Local-FQDN/IP>:5480
  2. Log in with your administrative credentials.
  3. After logging in you can see which cell of the cells is the primary

    vCD Database Availability - Check Primary Role
    vCD Database Availability – Check Primary Role
  4. Login to https://my.vmware.com and download the update package. In this case it’s “VMware vCloud Director 9.7.0.3–Virtual Appliance update package for 9.7.x”
    Direct link: https://my.vmware.com/group/vmware/details?downloadGroup=VSPP_VCD9703&productId=867&rPId=36103#

    VMware vCloud Director 9.7.0.3–Virtual Appliance update package for 9.7.x
    VMware vCloud Director 9.7.0.3–Virtual Appliance update package for 9.7.x
  5.  After the download completes, copy the .GZ file to the /tmp/ folder on your primary cell (In my example I’m using WinSCP)
    "WinSCP
  6. 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_9.7.0.4444-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
    
  7. The result of the check will look like this

    vCloud Director - vamicli update --check
    vCloud Director – vamicli update –check
  8. 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
  9. Quickly take a snapshot of the vCD cells in vSphere, just to be sure.
  10. Install the patch now. Installation will roughly take 5 minutes
    vamicli update --install latest
    

    vCloud Director - vamicli update --install latest
    vCloud Director – vamicli update –install latest
  11. Repeat the steps 5-10 on the vcd-cell02 and vcd-cell02

Update the database

  1. 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
    

    vCloud Director - opt-vmware-appliance-bin-create-db-backup
    vCloud Director – opt-vmware-appliance-bin-create-db-backup
  2. 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

    vCloud Director - opt-vmware-vcloud-director-bin-upgrade
    vCloud Director – opt-vmware-vcloud-director-bin-upgrade
  3. Start the vCloud Director service on vcd-cell02 and vcd-cell03
    # Start vCloud Director service
    service vmware-vcd start
    
  4. Don’t forget to remove the snapshot from the cells in vSphere!

 

PS. Check our other vCloud Director related articles here.

Loading

Share on Social Media
x facebook linkedin reddit emailwhatsapptelegram

1 thought on “Update vCloud Director to 9.7.0.3”

  1. Pingback: Upgrade to vCloud Director 10 appliance - vBlog.nl

Leave a Reply Cancel reply

Your email address will not be published. Required fields are marked *

Recent articles

  • Workspace ONE Access services monitoring July 11, 2023
  • vCloud Director API – Couldn’t connect to cloud server with the provided session id May 24, 2023
  • Horizon DaaS – Maximum sessions exceeded May 9, 2023
  • VMware Cloud on AWS with FSx for NetApp ONTAP December 28, 2022
  • Workspace ONE Access – Change certificate December 22, 2022
  • UI themes for VMware Cloud Director 10.4.1 and later December 16, 2022
  • VMware Tanzu Kubernetes Grid December 15, 2022
  • Workspace One Access – Not logged in to server FQDN. Please invoke Save before Sync December 12, 2022
  • NSX Edge configuration has failed. 1G hugepage support required. December 7, 2022
  • Horizon DaaS – Unable to connect to Desktop November 24, 2022

Tags

Automation bootstrapping Container Service Extension Credential Manager Desktone.log ESXi EUC EXi GPU Horizon DaaS Instant-Clone Logging NSX nsx-t PowerCLI PowerShell Putty Raspberry PI SSL Tanzu Terraform update vcd-cli vCenter vCloud vCloud Availability vCloud Director VDI vGPU VMware VMworld vSAN vSphere vVols workspace one Zerto

VMware Cloud Provider Blog

  • Ransomware Recovery for Cloud Providers Using VMware Cloud Director Availability
    by Nikolay Patrikov on September 28, 2023 at 10:30 am

    According to multiple reports, one of the biggest challenges for organizations is being targeted by Ransomware attacks. It is now happening more frequently than ever, which leads to several complications such as re-infection during recovery, prolonged recovery period, etc.  One of the most efficient ways to counteract this is to implement an effective Disaster Recovery policy. It … Continued The post Ransomware Recovery for Cloud Providers Using VMware Cloud Director Availability appeared first on VMware Cloud Provider Blog.

  • Tanzu Mission Control Self-Managed Now Available for Cloud Services Providers and Sovereign Cloud Providers
    by Christopher Wong on September 28, 2023 at 10:00 am

    Tanzu Mission Control, VMware’s centralized Kubernetes management platform, is evolving quickly from its initial release in 2020 to adapt to industry trends and changing customer needs. As observed in the VMware State of Kubernetes 2023 report, over 50% of respondents indicated they wanted to leverage multiple clouds to reduce vendor dependency, while 42% wanted to … Continued The post Tanzu Mission Control Self-Managed Now Available for Cloud Services Providers and Sovereign Cloud Providers appeared first on VMware Cloud Provider Blog.

  • End of NSX Migration for VMware Cloud Director…! What Should I Know?
    by Jaikishan Tayal on September 26, 2023 at 5:03 pm

    In May 2023, VMware unveiled the 7th major release of the VMware NSX Migration for VMware Cloud Director 1.4.2 tool, introducing an extensive array of functionalities and elevating the tool’s capabilities to encompass a comprehensive set of features, facilitating the migration of VMware Cloud Director Networking from NSX for vSphere to VMware NSX (formerly known … Continued The post End of NSX Migration for VMware Cloud Director…! What Should I Know? appeared first on VMware Cloud Provider Blog.

  • Alternative Solutions for Unsupported Features in VMware NSX Migration for VMware Cloud Director…!
    by Jaikishan Tayal on September 26, 2023 at 4:30 pm

    The VMware NSX Migration tool for VMware Cloud Director has seen multiple updates aimed at improving its capabilities and keeping pace with the evolving nature of both VMware Cloud Director and VMware NSX releases. However, it’s worth mentioning that there are certain features that remain unsupported. This could be attributed to their intricate nature or … Continued The post Alternative Solutions for Unsupported Features in VMware NSX Migration for VMware Cloud Director…! appeared first on VMware Cloud Provider Blog.

  • Understanding vGPU functionality with VMware Cloud Director
    by Jaikishan Tayal on September 26, 2023 at 2:02 pm

    VMware Cloud Director (VCD) is a cloud management platform that enables service providers to offer multi-tenant cloud services to their customers. When it comes to using Virtual Graphics Processing Units (vGPUs) with VCD, here are the key details and advantages: VMware Cloud Director (VCD) with vGPU support offers advantages not only for virtual machines (VMs) … Continued The post Understanding vGPU functionality with VMware Cloud Director appeared first on VMware Cloud Provider Blog.

©2023 vBlog.nl | Design: Newspaperly WordPress Theme