Upgrade Steps for VCF Automation 9.1.1 - HP2 - 9.1.1.0202
search cancel

Upgrade Steps for VCF Automation 9.1.1 - HP2 - 9.1.1.0202

book

Article ID: 461742

calendar_today

Updated On:

Products

VCF Automation VCF Operations

Issue/Introduction

  • This article provides the step-by-step instructions to apply Hotpatch 2 (HP2 / Build 9.1.1.0202) to VMware Cloud Foundation (VCF) Automation 9.1.1 and VCF Operation9.1.1.
  • This update resolves specific known defects, addresses critical security vulnerabilities, and introduces system stability improvements over the base 9.1.1 release. 

Environment

VCF Automation 9.1.1,9.1.1.0202

VCF Operation 9.1.1,9.1.1.0202

Resolution

Note:

Free disk space on the VCF Automation VM
The root disk of the VCF Automation platform VM (auto-platform) needs room for the 17 GB patch bundle plus the new images. Keep at least about 50 GB free on / before the VCF Automation upgrade (check with df -h / on the VM). If there is less, extend the disk of the VM in vCenter first.

Datastore free space
Check that the vCenter datastore of the management domain has enough free space for the new VSP nodes and the runtime OVA template.

VSP control-plane node

The VSP (VCF services runtime) cluster has at least a single control-plane node with 10 GB RAM.

Steps for VCF Automation 9.1.1 - HP2 - 9.1.1.0202

  • Download Patch Files
  • Copy generated tar file to any system with network connectivity to VCF Operations
  • Download and Install the VCF Download Tool
  • Upload hot patch to FDS using VCF Download Tool
  • Verify the Upload is successful
  • Apply the Hot Patch


Download Patch Files

Browse to the Hot Patch page and login.

  • Alternatively, browse to support.broadcom.com and navigate to the My Downloads tab.
  • Search for VMware Cloud Foundation and select it. Select the Solutions tab, drill down within VMware Cloud Foundation and select the 9.1.1.0 version.
  • Select the patch for VCF Automation & Orchestrator.

Download all the files from the patch and place them in their respective folders as mentioned below. 

 

# Create a parent directory for the hotpatch
mkdir -p <some-path>/hotpatch/PROD

# Create a directory for the productVersionCatlog files and copy these files
mkdir -p <some-path>/hotpatch/PROD/metadata/productVersionCatalog/v1
cd <some path>/hotpatch/PROD/metadata/productVersionCatalog/v1
# Download or copy the following files within this folder
productVersionCatalog-delta.json
productVersionCatalog-delta.sig


# Create a directory for the VSP files
mkdir -p <some-path>/hotpatch/PROD/COMP/VSP/
cd <some-path>/hotpatch/PROD/COMP/VSP/
# Download or copy the following files within this folder
depot-manifest-vmsp-platform-9.1.1.0101.25814663.yaml
configuration-schema-vmsp-platform-9.1.1.0101.25814663.yaml
vmsp-cli-9.1.1.0101.25814663.tar.gz
vmsp-platform-9.1.1.0101.25814663.tar
vcf-services-platform-template-9.1.1.0101.25814663.ova
vmsp-plugin-9.1.1.0101.25814663.tgz


# Create a directory for the VRA files
mkdir -p <some-path>/hotpatch/PROD/COMP/VRA/
cd <some-path>/hotpatch/PROD/COMP/VRA/
# Download or copy the following files within this folder
depot-manifest-vcfa-bundle-9.1.1.0202.25886762.yaml
configuration-schema-vcfa-bundle-9.1.1.0202.25886762.yaml
vcfa-bundle-9.1.1.0202.25886762.tar
vcfa-plugin-9.1.1.0202.25886762.tgz


# Create a directory for the VKSM_EXTENSIONS files
mkdir -p <some-path>/hotpatch/PROD/COMP/VKSM_EXTENSIONS/
cd <some-path>/hotpatch/PROD/COMP/VKSM_EXTENSIONS/
# Download or copy the following files within this folder
extensions__ga__9.1.1-0202-25886762__gatekeeper-operator.9.1.1-0202-25886762.tar
extensions__ga__9.1.1-0202-25886762__vks-agent__repo.9.1.1-0202-25886762.tar
extensions__ga__9.1.1-0202-25886762__dataprotection__extension.9.1.1-0202-25886762.tar
extensions__ga__9.0.2-1202-25886762__vks-agent__repo.9.0.2-1202-25886762.tar
extensions__ga__9.1.1-0202-25886762__gatekeeper.9.1.1-0202-25886762.tar
extensions__ga__9.1.1-0202-25886762__agent__agent.9.1.1-0202-25886762.tar
extensions__ga__9.1.1-0202-25886762__policy-insight-extension.9.1.1-0202-25886762.tar
extensions__ga__9.1.1-0202-25886762__fleet-mgmt__policy-sync-extension.9.1.1-0202-25886762.tar
vksm-extensions-oci-images-9.1.1-0202-25886762.json


# Create a directory for the VCF_SERVICE_VKSM_AUTO_ATTACH files
mkdir -p <some-path>/hotpatch/PROD/COMP/VCF_SERVICE_VKSM_AUTO_ATTACH/
cd <some-path>/hotpatch/PROD/COMP/VCF_SERVICE_VKSM_AUTO_ATTACH/
# Download or copy the following files within this folder
auto-attach.vksm.broadcom.com-9.1.1.0202.25886762.yml
vksm-auto-attach-9.1.1.0202.25886762.json


# Create a directory for the VCF_SERVICE_VCD_MIGRATION_BACKEND files
mkdir -p <some-path>/hotpatch/PROD/COMP/VCF_SERVICE_VCD_MIGRATION_BACKEND/
cd <some-path>/hotpatch/PROD/COMP/VCF_SERVICE_VCD_MIGRATION_BACKEND/
# Download or copy the following files within this folder
vcd-migrator-9.1.1.0202.25886762.tgz
configuration-schema-vcd-migrator-9.1.1.0202.25886762.yaml
depot-manifest-vcd-migrator-9.1.1.0202.25886762.yaml
vcd-migrator-plugin-9.1.1.0202.25886762.tgz


# Change Directory to the root hotpatch folder and tar it
cd <some-path>/hotpatch
tar -cvf hotpatch_9.1.1.0202.tar .


Copy generated tar file to any system with network connectivity to VCF Operations

Ensure that the system has network connectivity to VCF Operations, and also that the latency is as low as possible.

scp <some-path>/hotpatch/hotpatch_9.1.1.0202.tar <user>@<system IP>:<some path on the system>


Download and Install the VCF Download Tool

  • On the same system, download and install the VCF Download Tool (shortened as vcfdt within this document).
  • Download vcf-download-tool-9.1.1.0200.25801073.tar.gz from support.broadcom.com
    • My Downloads > VMware Cloud Foundation > 9.1.1.0 > Drivers & Tools > VCF Download Tool
    • Tick the Terms and Conditions box first, or the download icon stays disabled.
  • SHA256 on the portal: c27508ad67c830ae4a45442f927e0190151f848a86aec2b98fe4611f537726ff
  • Install and check that the tool is working as expected:
mkdir -p ~/vcfdt
cd ~/vcfdt
tar -xzf ~/vcfdt-dl/vcf-download-tool-9.1.1.0200.25801073.tar.gz

~/vcfdt/bin/vcf-download-tool --help


Upload hot patch to FDS using VCF Download Tool

Execute the following comment to upload the hotpatch tar file to the Software Depot. Refer to the VCF Download Tool Manual for further instructions.

<vcfdt directory>/bin/vcf-download-tool depot metadata upload --depot-fqdn=<vmsp fleet FQDN> --depot-file=<some path on the system>/hotpatch_9.1.1.0202.tar --ops-fqdn=<vcf ops FQDN> --ops-auth-source=LOCAL --ops-user=<ops username>


Verify the Upload is successful

Execute the following curl commands to validate that the hotpatch was successfully uploaded to the Depot. Expect a 200 OK response for each of these.

Metadata verification:
curl -k https://<vmsp fleet FQDN>/depot-service/content-gateway/HOTPATCH/metadata/productVersionCatalog/v1/productVersionCatalog-delta.json
curl -k https://<vmsp fleet FQDN>/depot-service/content-gateway/HOTPATCH/metadata/productVersionCatalog/v1/productVersionCatalog-delta.sha256

Binaries verification (use -I so that only the headers are returned. Do not download the files):
curl -k -I https://<vmsp fleet FQDN>/depot-service/content-gateway/HOTPATCH/COMP/VRA/vcfa-bundle-9.1.1.0202.25886762.tar                    # expect HTTP 200, content-length 16858513920
curl -k -I https://<vmsp fleet FQDN>/depot-service/content-gateway/HOTPATCH/COMP/VRA/depot-manifest-vcfa-bundle-9.1.1.0202.25886762.yaml    # expect HTTP 200
curl -k -I https://<vmsp fleet FQDN>/depot-service/content-gateway/HOTPATCH/COMP/VSP/vmsp-platform-9.1.1.0101.25814663.tar                  # expect HTTP 200, content-length 6859231232
curl -k -I https://<vmsp fleet FQDN>/depot-service/content-gateway/HOTPATCH/COMP/VSP/vcf-services-platform-template-9.1.1.0101.25814663.ova # expect HTTP 200, content-length 10414970880
curl -k -I https://<vmsp fleet FQDN>/depot-service/content-gateway/HOTPATCH/COMP/VSP/depot-manifest-vmsp-platform-9.1.1.0101.25814663.yaml  # expect HTTP 200


Apply the HotPatch

  1. Login to VCF Operations
  2. Navigate to Build > Lifecycle > Upgrade tab.
  3. Click Sync and wait for it to finish.
  4. Click Change target version > Customize patch versions. Set VCF services runtime to 9.1.1.0101.25814663 and VCF Automation to 9.1.1.0202.25886762. Click Set Version.
  5. Validation is triggered automatically. Wait for validation to complete. At the end of this, the UI will display the upgrade path for the components selected. Example: VCF Automation 9.1.1.0200.25801570 → 9.1.1.0202.25886762. The status would also display as Ready for upgrade.
  6. Upgrade the components one row at a time, in this order:
    1. VCF services runtime
    2. VCF Automation
  7. Ensure that the upgrade is run per row, and do not use the top level RUN PRECHECKS (ALL) or UPGRADE (ALL) buttons.
  8. On the VCF services runtime row: run Prechecks from the ... menu
    1. Wait for Ready for upgrade, then click UPGRADE on that row.
    2. Wait for the task and its Inventory sync post VCF services runtime upgrade subtask to complete (Build > Lifecycle > Tasks).
    3. Open the Components tab and check that VCF services runtime shows 9.1.1.0101.25814663.
  9. On the VCF Automation row: run Prechecks again from the ... menu
    1. Wait for Ready for upgrade, then click UPGRADE on that row and ensure the tasks complete successfully.
  10. Open the Components tab and check the new versions.
  11. Ensure and validate that the Update Component Configurations tasks under Operate > Control Panel > Management Tasks show up as Completed.