VMware Aria Suite Lifecycle 8.14 Product Support Pack 2 or PSPACK2 as we call it offers support for VMware Aria Operations 8.14.1 and VMware Aria Operations for Logs 8.14.1
Recorded a small demo which explains logs to monitor and the process involved to implement it
Logs to monitor
/var/log/vrlcm/vmware_vrlcm.log
/var/log/vrlcm/bootstrap.log
/var/log/vrlcm/patchcli.log
Once there is a successful PSPACK implementation you would see the following messages in logs
Reference: /var/log/vrlcm/patchcli.log
2023-11-24 13:14:46,865 - __main__ - INFO - Metadata: {"patchInfo":{"name":"VMware Aria Suite Lifecycle, version 8.14.0 Pspack 2","summary":"Cumulative pspack bundle for vRealize Suite Lifecycle Manager","description":"This cumulative pspack bundle provides fixes to issues observed with various VMware Aria Suite Lifecycle components. Refer the associated docUrl for more details.","kbUrl":"https:\/\/docs.vmware.com\/en\/VMware-vRealize-Lifecycle-Manager\/8.14.0\/rn\/vRealize-Lifecycle-Manager-814-Pspack-2.html","eulaFile":"","category":"bugfix","urgency":"critical","releaseType":"pspack","releaseDate":1700808903000,"additionaInfo":{}},"metadataId":"vrlcm-8.14.0-PSPACK2","metadataVersion":"1","patchId":"6813196a-22c8-4425-a527-3e86a4d30502","patchBundleCreationDate":1700808903,"selfPatch":true,"product":{"productId":"vrlcm","productName":"VMware Aria Suite Lifecycle","productVersion":"8.14.0","supportedVersions":["8.14.0"],"productBuild":"10689094","productPatchBuild":"","additionaInfo":{"patchInstructions":"mkdir -p \/data\/tmp-pspack-81402\/10318114; cp -r /tmp/10318114/VMware-vLCM-Appliance-8.14.0-PSPACK2.pspak \/data\/tmp-pspack-81402\/10318114; cd \/data\/tmp-pspack-81402\/10318114; unzip VMware-vLCM-Appliance-8.14.0-PSPACK2.pspak; unzip lcm_PSPACK_artifacts.zip; cp -r \/tmp\/10318114\/lcm_pspack_metadata.json \/data\/tmp-pspack-81402\/10318114; sh pre_pspack_instructions.sh; sh pspack_instructions.sh \/data\/tmp-pspack-81402\/10318114 6813196a-22c8-4425-a527-3e86a4d30502;"},"patchAlreadyApplied":false},"payload":{"productPatchLevel":"PSPACK2","patchPayloadFilename":"VMware-vLCM-Appliance-8.14.0-PSPACK2.pspak","patchPayloadUri":"","patchPayloadSize":395054038,"sha256sum":"041c06b1e11c83b6d8c20ba915866aa2e2fbd7b2eee79cc1df2d284e3ea2dedb","productMinorLevel":null},"patchFileName":"vrlcm-8.14.0-PSPACK2.pspak","patchSize":0,"patchSha256sum":"","patchRunningCounter":2,"patchStatus":"ACTIVE","patchDownloadStatus":null,"extract":false,"patchCounter":"2"}
2023-11-24 13:14:46,879 - __main__ - INFO - Patch File: /tmp/10318114//VMware-vLCM-Appliance-8.14.0-PSPACK2.pspak
2023-11-24 13:14:46,879 - __main__ - INFO - metadata after parsing :
2023-11-24 13:14:46,879 - __main__ - INFO - patch instructions:mkdir -p /data/tmp-pspack-81402/10318114; cp -r /tmp/10318114/VMware-vLCM-Appliance-8.14.0-PSPACK2.pspak /data/tmp-pspack-81402/10318114; cd /data/tmp-pspack-81402/10318114; unzip VMware-vLCM-Appliance-8.14.0-PSPACK2.pspak; unzip lcm_PSPACK_artifacts.zip; cp -r /tmp/10318114/lcm_pspack_metadata.json /data/tmp-pspack-81402/10318114; sh pre_pspack_instructions.sh; sh pspack_instructions.sh /data/tmp-pspack-81402/10318114 6813196a-22c8-4425-a527-3e86a4d30502;
2023-11-24 13:14:46,880 - __main__ - INFO - installing patch ...
Archive: VMware-vLCM-Appliance-8.14.0-PSPACK2.pspak
extracting: lcm_PSPACK_artifacts.zip
Archive: lcm_PSPACK_artifacts.zip
creating: os/
inflating: vmlcm-service-gui-8.14.0-SNAPSHOT.jar
inflating: vmlcm-service-8.14.0-SNAPSHOT.jar
inflating: vmware-service-configuration.jar
extracting: blackstone.zip
inflating: APUAT-8.5.0.18176777.pak
inflating: APUAT-for-8.10.x-8.14.1.22799028.pak
inflating: pre_pspack_instructions.sh
inflating: pspack_instructions.sh
inflating: policy.json
inflating: post_patch_instructions.sh
inflating: dev-build-upgrade.sh
inflating: populate.sh
inflating: patchcli.py
inflating: patchcliproxy
inflating: vlcm-support
inflating: vrlcm-server.service
2023-11-24_13:14:54 Pre-Product Support Pack - vRSLCM
2023-11-24_13:14:54 Cleaning backups from old location...
2023-11-24_13:14:54 Cleaning previous backups...
2023-11-24_13:14:54 Creating new backup file...
2023-11-24_13:15:16 Backup done.
2023-11-24_13:15:16 Copy script to /var/lib/vrlcm
2023-11-24 13:16:40,265 - __main__ - INFO - patch installation process ended.
2023-11-24 13:16:40,265 - __main__ - INFO - patch installation completed.
Post above message there would be a reboot of appliance.
Then the work begins under bootstrap.log and vmware_vrlcm.log
To validate from UI , one can check
Comments