Instructions about how to upgrade to VMware Identity Manager 3.3.7 patch 5 and VMware Aria Suite Lifecycle 8.18 Patch 10
search cancel

Instructions about how to upgrade to VMware Identity Manager 3.3.7 patch 5 and VMware Aria Suite Lifecycle 8.18 Patch 10

book

Article ID: 456519

calendar_today

Updated On:

Products

VCF Operations/Automation (formerly VMware Aria Suite)

Issue/Introduction

This article provides instructions for upgrading to VMware Identity Manager 3.3.7 patch 5. It also covers the subsequent installation of VMware Aria Suite Lifecycle 8.18 Patch 10

What's New in This Patch:

  • Security Vulnerabilities (Cumulative Update): This cumulative patch addresses critical security vulnerabilities across the appliance's core operating system and third-party components.
  • Comprehensive list of all resolved vulnerabilities: Refer to the attached spreadsheet CVEs_FIXED_VCOPS_66406.xlsx.
  • TLS 1.3 Upgrade: Upgrades the vIDM appliance to TLS 1.3. TLS 1.2 remains supported for backward compatibility.
  • UI Connector Deletion Disabled: Disables the connector deletion feature within the user interface.

If the patch installation fails, collect log bundles from vIDM and Aria Suite Lifecycle Manager before reverting to snapshots, as reverting removes failure details to analyze the issue.

Environment

VMware Identity Manager 3.3.7
VMware Aria Suite Lifecycle 8.18.0 Patch 10

Resolution

Pre-Patch Instructions:

Before proceeding, the following prerequisites must be completed to ensure a successful patch process and prevent service interruptions.

  1. Take Snapshots & Retain Snapshots
    Create non-memory snapshots of the VMware Identity Manager and VMware Aria Suite Lifecycle appliances in vCenter. Ensure the environments are in a healthy, stable state before taking the snapshots. (Retain snapshots, do not delete the snapshots until environment is fully functional.)
  2. Follow the Correct Patching Sequence
    The order of operations is critical. The products must be patched in the following sequence within the same maintenance window from Step 1 to Step 4.
  3. If vIDM is configured using NSX Load Balancer, follow the steps in the KB to Update the NSX Load Balancer (NSX-LB) configuration.

Step 1: VMware Identity Manager VCOPS-66406 Patch Deployment

Prerequisites:

  • Ensure VMware Identity Manager is at version 3.3.7 GA or has a previously applied patch. Upgrade any unsupported versions before proceeding.
  • Refer to the VMware Product Lifecycle Matrix for a list of supported versions.
  • Estimated Downtime: Approximately 1 hour for each product patch (vIDM and Aria Suite Lifecycle).
  • Ensure there is sufficient disk space of 4 GB in Patch Installation Location and /db.
  • Grub has been upgraded to version 2: review installation guide for grub2 here.
  • If your environment uses Smartcard or Certificate-based authentication, ensure port 7443 is open and accessible in your network firewall. You can verify connectivity using:

    Port 7443 Verification Guidelines:
    Before applying this patch, verify TCP port 7443 connectivity both locally (inside the vIDM node) and externally (from an external client machine outside vIDM) to ensure port 7443 is open and not blocked by network firewalls.

    Verify Port Status via OpenSSL
    Run the following command from both inside the vIDM node and outside the vIDM environment to verify TLS handshake connectivity:

    openssl s_client -connect <vIDMHostIP>:7443

    Expected Success Output: CONNECTED(00000003)
    Expected Failure Output (Port Blocked / Timed Out):80216EEF01000000:error:8000003C:system library:BIO_connect:Operation timed out:crypto/bio/bio_sock2.c:178:calling connect()
    80216EEF01000000:error:10000067:BIO routines:BIO_connect:connect error:crypto/bio/bio_sock2.c:180:connect:errno=60



    Certificate-Based / Smart Card Authentication:  Port 7443 is strictly required for certificate-based and smart card authentication workflows, contact your network administration team to unblock it

    Non-Certificate / Standard Authentication: SAFE TO PATCH. If certificate-based or smart card authentication is not in use, you may safely proceed with applying the patch even if port 7443 remains blocked.

Note: This is a cumulative patch and will apply all previous fixes if they are not already installed.

Deployment Type Instructions:

  • For Cluster Deployments:
    • Do not patch nodes in parallel. Wait for one node patch to display the message 'Rebooting system...'  before moving to the next node.
    • Patch nodes sequentially in the order of Primary → Secondary 1 → Secondary 2. 
  • For Single-Node Deployments:
    • Apply the patch directly to the node.

Patching Steps (perform on each node):

  1. SSH into the VMware Identity Manager appliance as sshuser.
  2. Elevate to the root user:
    sudo su -
  3. Download the VMware Identity Manager 3.3.7 Patch 5 Update file and transfer it to the appliance (e.g., into a /db/vidm-upgrade folder) using SCP or WinSCP.
  4. Unzip the patch file:
    unzip VCOPS-66406-Appliance-3.3.7-Patch.zip
  5. (Optional) Clean up the zip file to reclaim space:
    rm -f VCOPS-66406-Appliance-3.3.7-Patch.zip
  6. Change to the patch directory:
    cd VCOPS-66406-Appliance-3.3.7-Patch
  7. Run the patch automation script:
    ./VCOPS-66406-patch-automation.sh -f VCOPS-66406-Appliance-3.3.7.zip -r
  8. The system will reboot automatically after the patch installation is complete.

    Example of Successful Console Output:

    root [ /db/vidm-upgrade/VCOPS-66406-Appliance-3.3.7-Patch ]# ./VCOPS-66406-patch-automation.sh -f VCOPS-66406-Appliance-3.3.7.zip -r
    YYYY-MM-DD HH:MM:SS - Checking Patch ZIP location, should not be at /db/data...
    YYYY-MM-DD HH:MM:SS - Patch ZIP location check passed: /db/vidm-upgrade/VCOPS-66406-Appliance-3.3.7-Patch/VCOPS-66406-Appliance-3.3.7.zip
    YYYY-MM-DD HH:MM:SS - Disk space at /db/vidm-upgrade/VCOPS-66406-Appliance-3.3.7-Patch: 14.34GB free
    YYYY-MM-DD HH:MM:SS - Disk space at /boot: 78MB free
    YYYY-MM-DD HH:MM:SS - All checks passed for ZIP '/db/vidm-upgrade/VCOPS-66406-Appliance-3.3.7-Patch/VCOPS-66406-Appliance-3.3.7.zip'.
    YYYY-MM-DD HH:MM:SS - Running on node: anvidmga.lvn.broadcom.net
    YYYY-MM-DD HH:MM:SS - Checking grub2 presence
    YYYY-MM-DD HH:MM:SS - grub2 detected: /boot/grub2/grub.cfg exists
    YYYY-MM-DD HH:MM:SS - NOTE : Cluster size is displayed 0 , if prepare-vidm-patch.sh is run in a cluster
    YYYY-MM-DD HH:MM:SS - Cluster size detected: 1
    YYYY-MM-DD HH:MM:SS - Extracting patch bundle
    YYYY-MM-DD HH:MM:SS - Patch directory ready: VCOPS-66406-Appliance-3.3.7
    YYYY-MM-DD HH:MM:SS - Checking pgservicelog logrotate config on anvidmga.lvn.broadcom.net...
    YYYY-MM-DD HH:MM:SS - WARNING: /etc/logrotate.d/pgservicelog not found on anvidmga.lvn.broadcom.net. Skipping logrotate update.
    YYYY-MM-DD HH:MM:SS - Running patch script: VCOPS-66406-applyPatch.sh
    YYYY-MM-DD HH:MM:SS - Tail the log file /opt/vmware/var/log/update/vidm-VCOPS-66406-update.log for live logs..
    YYYY-MM-DD HH:MM:SS - Running pre patch validations...
    YYYY-MM-DD HH:MM:SS - Sufficient disk space in /db/vidm-upgrade/VCOPS-66406-Appliance-3.3.7-Patch/VCOPS-66406-Appliance-3.3.7: 14GB
    YYYY-MM-DD HH:MM:SS - Pre-checks passed successfully.
    YYYY-MM-DD HH:MM:SS - Target version: 3.3.7.0 | Detected version: 3.3.7.0
    YYYY-MM-DD HH:MM:SS - Detected Build Number: 21173100
    YYYY-MM-DD HH:MM:SS - Checking available disk space for PostgreSQL upgrade...
    YYYY-MM-DD HH:MM:SS - PostgreSQL /db/data size : 93M
    YYYY-MM-DD HH:MM:SS - Free space on /db        : 15G
    YYYY-MM-DD HH:MM:SS - Disk space check passed. Proceeding with PostgreSQL upgrade.
    YYYY-MM-DD HH:MM:SS - Applying current patch VCOPS-66406...
    YYYY-MM-DD HH:MM:SS - Extracting patch zip ...
    YYYY-MM-DD HH:MM:SS - Running preupdate.hzn ...
    YYYY-MM-DD HH:MM:SS - preupdate.hzn completed successfully.
    YYYY-MM-DD HH:MM:SS - Installing main RPM packages from package-pool ...
    YYYY-MM-DD HH:MM:SS - Main RPM installation completed.
    YYYY-MM-DD HH:MM:SS - Created update.success marker file.
    YYYY-MM-DD HH:MM:SS - Running postupdate.hzn ...
    YYYY-MM-DD HH:MM:SS - postupdate.hzn completed successfully.
    YYYY-MM-DD HH:MM:SS - Cleaning up deprecated sshd_config and pam.d entries...
    YYYY-MM-DD HH:MM:SS - System config cleanup done.
    YYYY-MM-DD HH:MM:SS - Patch VCOPS-66406 applied successfully.
    YYYY-MM-DD HH:MM:SS - Cleanup deprecated rpms on the system...
    YYYY-MM-DD HH:MM:SS - Cleanup deprecated rpms done.
    YYYY-MM-DD HH:MM:SS - Validating VCOPS-66406 patch status...
    YYYY-MM-DD HH:MM:SS - VCOPS-66406 Patch applied successfully and flag file /usr/local/horizon/conf/flags/VCOPS-66406-3.3.7.0-hotfix.applied is present.
    YYYY-MM-DD HH:MM:SS - VCOPS-66406-Appliance-3.3.7 directory cleanup complete
    YYYY-MM-DD HH:MM:SS - Rebooting system...
  9. Once the vIDM patch is successfully applied and the system reaches the "[ OK ] Reached target Cloud-init target" after a successful boot, run the following commands to display the blue screen on the console and then continue on with step 2 of the upgrade process.
    • Start Services in VMware Identity Manager
    • While watching the vIDM appliance via vCenter remote console . The screen will stay on "[ OK ] Reached target Cloud-init target. It will not be possible to open a remote login via the console; an SSH client must be used to finish applying the patch. 
    • SSH into the vIDM node(s) and run the below commands to ensure the Getty services are running:
    systemctl enable [email protected]
    systemctl start [email protected]

IMPORTANT: VMware Identity Manager services will not be operational until VMware Aria Suite Lifecycle 8.18 Patch 10 is also applied.


Step 2: VMware Aria Suite Lifecycle Patch 10 Installation: Patch 10 Release Notes

(Optional step) The progress of the patch installation can be monitored by tailing the following log files on the Aria Suite Lifecycle appliance:

cd /var/log/vrlcm/
tail -f os-package-update.log patchcli.log
  1. Copy the prep-for-upgrade-lcm.sh script (attached to the KB article) to the /data directory on the appliance and execute it:
    cd /data
    chmod +x prep-for-upgrade-lcm.sh
    ./prep-for-upgrade-lcm.sh
  2. (If upgrading from Patch 3 to Patch 10) Delete temporary folders from previous patch attempts by running the following commands:
    rm -r /data/tmp-patch-8180
    rm -r /data/tmp-patch-10318114
    rm -r /data/tmp_patch_storage
  3. Download the VMware Aria Suite Lifecycle Patch 10 patch from the Broadcom Support Portal.
  4. Copy the downloaded patch file to the /data directory on the Aria Suite Lifecycle appliance.
  5. Map the patch binary in the UI. Navigate to Lifecycle Operations > Settings > Binary Mapping and click Patch Binaries.
    • Delete any old patch binaries that may be listed.
    • Enter the local path (e.g., /data) in the Source Location field and click Discover.
    • Select the discovered Patch 10 file and click Add.
  6. Install the patch. Navigate to Lifecycle Operations > Settings > System Patches, click New Patch on the top right, select the mapped patch in the list, and then click Install.
  7. Wait for the installation to complete. The process takes approximately 20 minutes and will conclude with the appliance rebooting.
  8. After the appliance reboots, log in to the VMware Aria Suite Lifecycle UI, navigate to the About page, and verify that the version is listed as 8.18.0 Patch 10.
  9. SSH to the appliance and check the Photon OS version. Note that the build number will not change if patching from Patch 3 to Patch 10.
    cat /etc/photon-release
    VMware Photon OS 5.0
    PHOTON_BUILD_NUMBER=b9d98344d
  10. Steps to be followed for vIDM Cluster instances Only (Skip to step 11 in case of single node vIDM)
    The following 3 items must be completed even if you have skipped Step 1 patching vIDM with VCOPS-66406)
    1. Patch Postgres Cluster in Aria Suite Lifecycle.
      • In the Aria Suite Lifecycle UI, navigate to: Life Cycle Operations > Environments > Global Environment > View Details > Patch Postgres Cluster
      • Note: If this option is not visible, try accessing the UI from a private/incognito browser window.
    2. Run the below command on all 3 vIDM nodes
      sed -i 's/enable_pool_hba = on/enable_pool_hba = off/' /usr/local/etc/pgpool.conf
    3. Restart the pgService
      • Restart the pgService on all the vIDM nodes in the following order: LEADER first and then both STANDBY nodes.
      • The below command will indicate the LEADER and STANDBY nodes: 
        cat /usr/local/etc/pgpool.pwd | /usr/local/bin/pcp_watchdog_info -h localhost -p 9898 -U pgpool
      • Run the below command on the Leader node first and later on the Standby nodes:
        /etc/init.d/pgService restart
  11. Map Updated vIDM OVA in Aria Suite Lifecycle.
  12. Start Services in VMware Identity Manager.
    • SSH into the vIDM node(s) and ensure OpenSearch is running:
      /etc/init.d/opensearch status
      /etc/init.d/opensearch start

Potential Directory Space Issue with /tmp:

  • During the installation, error code LCMPATCHUPDATE16002 may be encountered. This error indicates that there is not enough free space in the /tmp directory for the patch to be extracted.
  • If this occurs, refer to KB 345990 for instructions on how to temporarily increase the space in the /tmp directory.

Step 3: Post Patch Validation

  1. Log in to the VMware Identity Manager Console and confirm the System Diagnostics page shows a green status.
  2. Verify Legacy Connector functionality by ensuring the Auth Adapters load and open without errors.
  3. Perform a Directory Sync and confirm that users and groups are synchronized correctly.
  4. Check the UI portal (including the config page at https://<vidm-hostname>:8443) for full functionality.
  5. Confirm the new version on the Admin Portal and Connectors page is 3.3.7.0 Build 25892792.

Step 4: Rollback Procedure

To revert this patch, restore the VMware Identity Manager appliance(s) and the Aria Suite Lifecycle appliance from the snapshots taken during the prerequisite phase.

Additional Information

Included Fixes from Previous Patches

This cumulative update includes all fixes from the following previously released patches. For a detailed list of CVEs or components addressed by a specific patch, refer to its original knowledge base article.

Patch ID

Summary of Fixes

Link

CSP-102547

 

Addresses numerous security vulnerabilities in Photon OS and third-party components.

 

KB 426230

CSP-102092

Addresses numerous security vulnerabilities in Photon OS and third-party components.

KB 412021

CSP-99024

Addresses numerous security vulnerabilities in Photon OS and third-party components.

KB 387748

CSP-97727

Upgrades Photon OS, Tomcat, and RabbitMQ to address vulnerabilities.

KB 380348

CSP-97577

Upgrades multiple platform components, including Java and Tomcat.

KB 404054

CSP-96928

Upgrades Photon OS, Tomcat, and RabbitMQ to address several vulnerabilities.

KB 377094

CSP-95247

Addresses two security vulnerabilities in Photon OS.

KB 373159

CSP-93316

Upgrades the Java version to address multiple vulnerabilities.

KB 369294

CSP-91401

Upgrades OpenSSH to fix CVE-2023-38408.

KB 327324

CSP-90495

Upgrades Angular XLTS to address licensing and CVEs.

KB 327323

HW-189454

Upgrades JQuery and Java versions to address multiple vulnerabilities.

KB 327326

HW-170932

Addresses VMSA-2023-0011 (CVE-2023-20884) and updates the connector.

KB 369609

 

List of recent CSP patches and accessioned build numbers

CSP Identifier

Build Number

Status

VCOPS-66406

25719592

Active

CSP-102547

25163938

Superseded

CSP-102092

24966008

Superseded

CSP-97577

24863103

Superseded

CSP-95247

23103647

Superseded

Attachments

prep-for-upgrade-lcm.sh get_app
CVEs_FIXED_VCOPS_66406.xlsx get_app