Patching vSphere 8 and Aria 8.18 - Part 2: VMware Identity Manager and Aria Suite Lifecycle
With vSphere patched in Part 1, Part 2 of my vSphere 8 and Aria 8.18 patching series moves to the Aria stack, starting with the two pieces that have to move together: VMware Identity Manager 3.3.7 Patch 5 and Aria Suite Lifecycle 8.18 Patch 10. KB 456519 is the procedure for both.
What’s in the vIDM patch
VCOPS-66406 is cumulative, so it applies every earlier CSP patch that isn’t already installed. Beyond the security fixes, it moves the vIDM appliance to TLS 1.3, with TLS 1.2 still supported, and it disables connector deletion in the UI.
Before you start
I’m starting from Suite Lifecycle 8.18.0 Patch 9. The Patch 9 release notes required the vIDM security patch from KB 426230, CSP-102547, and that patch leaves a flag file behind, so a quick look on vIDM confirms where it stands.
ls /usr/local/horizon/conf/flags/
CSP-102547 has since been superseded by VCOPS-66406, which is cumulative.
The order matters. Both products are patched in sequence within the same maintenance window, vIDM first, and vIDM services won’t be operational until Suite Lifecycle Patch 10 is also applied.
Take non-memory snapshots of the vIDM and Suite Lifecycle appliances while they’re healthy, and keep them until everything is working again. I took non-memory snapshots of both before I started. If a patch fails, collect log bundles from both before reverting, because reverting removes the failure details.
The rest of the prerequisites from the KB:
- vIDM must be on 3.3.7 GA or a previously patched 3.3.7.
- At least 4 GB free in the patch location and in
/db. The KB links KB 319356 for the appliance disk and KB 445861 for/db. - Grub upgraded to version 2 (KB 378767).
- Smart card or certificate authentication needs TCP 7443 open. Without either, the patch is safe to apply even if 7443 is blocked.
- vIDM behind an NSX load balancer needs the update in KB 417173.
On vIDM, I checked the free space, grub2, and the flag file.
df -h /db /boot /
ls /boot/grub2/grub.cfg
ls /usr/local/horizon/conf/flags/

I don’t use smart card or certificate authentication, so the port 7443 requirement didn’t apply to me.
vIDM isn’t behind an NSX load balancer, so the KB 417173 update didn’t apply either.
Step 1: Patch VMware Identity Manager
My vIDM is a single node, so there’s only one node to patch. SSH to vIDM as sshuser and switch to root.
sudo su -
Copy the patch zip from the Broadcom Support Portal to the appliance, for example into /db/vidm-upgrade, then unzip it and run the automation script.
unzip VCOPS-66406-Appliance-3.3.7-Patch.zip
rm -f VCOPS-66406-Appliance-3.3.7-Patch.zip
cd VCOPS-66406-Appliance-3.3.7-Patch
./VCOPS-66406-patch-automation.sh -f VCOPS-66406-Appliance-3.3.7.zip -r

The appliance reboots when the patch finishes. The live log is /opt/vmware/var/log/update/vidm-VCOPS-66406-update.log.
The script detected build 25163938, checked that /db had room for the PostgreSQL upgrade, applied the patch, confirmed the flag file, and rebooted the appliance.

After the reboot, the console stays on [ OK ] Reached target Cloud-init target and won’t take a login, so SSH back in and start the console’s getty service.

systemctl enable [email protected]
systemctl start [email protected]
I checked it with systemctl status [email protected], which showed the VAMI login on TTY running.

Step 2: Patch Aria Suite Lifecycle
Copy the prep-for-upgrade-lcm.sh script attached to KB 456519 into /data on the Suite Lifecycle appliance and run it.
cd /data
chmod +x prep-for-upgrade-lcm.sh
./prep-for-upgrade-lcm.sh
The script removed an orphaned kernel package and freed 41 MB in /boot, taking the free space from 372 MB to 413 MB.

The KB also deletes temporary folders from earlier patch attempts, but only when coming from Patch 3, so I skipped that step coming from Patch 9.
Copy the Patch 10 file into /data, then map it.
- Go to Lifecycle Operations > Settings > Binary Mapping and click Patch Binaries.
- Delete any old patch binaries listed.
- Click Add Patch Binary.
- Enter
/dataas the Source Location and click Discover. - Select the Patch 10 file and click Add.
Discover found vrlcm-8.18.0-PATCH10.patch in /data.

Then install it.
- Go to Lifecycle Operations > Settings > System Patches and click New Patch.
- Select the mapped patch and click Install.
The Review and Install step suggests taking product snapshots first, and I had.

The appliance reboots at the end. To follow along, tail the patch logs on the appliance.
cd /var/log/vrlcm/
tail -f os-package-update.log patchcli.log
When the log reached patch installation completed, the patch was in.

After the reboot, the About page shows version 8.18.0.0 (PATCH10), Product Support Pack 5, and build 24029603. The build number is the same one it showed on Patch 9. The Patch 10 release notes list build 25910890, but the About page doesn’t pick it up, so the version line is what confirms the patch.

The KB also checks the Photon OS build with cat /etc/photon-release. Mine reported VMware Photon OS 5.0, build b9d98344d.

Product Support Pack 5 lists 8.18.8 for Aria Operations, Aria Operations for Logs, and Aria Automation, which is what the next two parts need.

Step 3: Map the new vIDM OVA
Download the VMware Identity Manager 3.3.7 Patch 5 appliance OVA and map it in Suite Lifecycle, so future lifecycle operations use it. The steps are from Broadcom’s Configure product binaries page.
- Copy the OVA to the Suite Lifecycle appliance or to a hosted NFS share.
- From the My Services dashboard, click Lifecycle Operations.
- Click Settings, then Binary Mapping > Product Binaries.
- Click Add Binaries and select the location type. Local maps to a copy on the Suite Lifecycle appliance, and NFS maps to a share in the
<nfs-host>:/path/to/folderformat. - Enter the location in Base Location and click Discover.
- Select the OVA in the Product Binary list and click Add.
I hosted the OVA on an NFS share on my NAS, so I selected NFS. Suite Lifecycle maps OVAs to products automatically by their checksum. If you point it at an NFS share full of OVAs, the page warns that mapping takes a long time and fills the data disk faster, so map only the one you need. Discover found five binaries in my folder, and I selected only the Identity Manager OVA.

Step 4: Start services and validate
SSH to vIDM and make sure OpenSearch is running.
/etc/init.d/opensearch status
/etc/init.d/opensearch start
status reported Running.

Then I worked through the KB’s validation in the vIDM console. System Diagnostics is green, and the disk space, DNS, and connector deployment checks all pass. Port connectivity reads N/A because mine is a single node.

The Auth Adapters tab on the connector loads without errors. Only the password adapter is enabled, and the certificate adapter is disabled, which matches what I expected since I don’t use certificate or smart card authentication.

I clicked Sync now on the directory, and the Sync Log shows the new sync completing with a green alert and no users or groups affected.

The footer on every page reports VMware Identity Manager 3.3.7.0, build 25892792.
Rolling back
Rollback is restoring both appliances from the snapshots taken at the start.
Wrapping up
Both appliances are patched. vIDM is on 3.3.7.0 build 25892792 with VCOPS-66406 applied, and Suite Lifecycle is on 8.18.0 Patch 10 with Product Support Pack 5. Because that Product Support Pack lists 8.18.8 for Aria Operations, Aria Operations for Logs, and Aria Automation, the product upgrades can now run through Suite Lifecycle.
Next up is Part 3, Aria Operations and Aria Operations for Logs 8.18.8.
-virtualex-
Comments