After clicking on the upgrade button in CAPC - The overall Status of the Data Collector - upgrade failed.
Dx NetOps Performance Management 20.x and up
The hostname of the Data Aggregator is not included as a subject alternative name in the certificate on the Data Aggregator that is running HTTPS
Looking at the logs we see:
INFO | pool-94-thread-1 | YYYY-MM-DD HH:MM:SS,### | DCInstallerDownloader | or.upgrade.DCInstallerDownloader 55 | ager.core.collector.impl | | DC download URL: https://dahostname:8582/dcm/InstData/Linux/VM/install.bin
ERROR | pool-94-thread-1 | YYYY-MM-DD HH:MM:SS,### | ExceptionLog | .ca.im.core.util.ExceptionLogger 104 | m.ca.im.common.core.util | | An existing application exception RECURRED (Key=2325234655634775), Recurrence count=12 : dc download url connection error. Status: -1. Exception: No subject alternative DNS name matching dahostname found.
WARN | pool-94-thread-1 | YYYY-MM-DD HH:MM:SS,### | DCInstallerInputSupplier | upgrade.DCInstallerInputSupplier 89 | ager.core.collector.impl | | failed to create the file at: /opt/IMDataAggregator/upgrade/dc-installers/install.##.##.##.###.bin
So when the upgrade process happens, we get the hostname of the DA and download the installer to the DA_HOME/upgrade/dc-installers/ directory.
In this case, it looks like the certificate for the DA does not include the short hostname.
Currently the hostname of the server must match the subject or a subject alternative name in the Data Aggregator certificate or you will have the error seen.
You can verify the hostname by running the command hostname on the Data Aggregator.
If this confirms the issue, you could do the following:
1) Update the certificates on the DA to include both the short name and fully qualified name as subject alternative names in the certificate.
2) Upgrade the Data Collector Manually:
https://techdocs.broadcom.com/us/en/ca-enterprise-software/it-operations-management/performance-management/20-2/upgrading/upgrade-the-data-collectors.html
3) Pre-download the dc installer to the dc-installers directory on the DA
curl -kvo /opt/CA/IMDataAggregator/upgrade/dc-installers/install.##.#.##.###.bin https://127.0.0.1:8582/dcm/InstData/Linux/VM/install.bin
Note that the version in the filename changes each release.
Then use the upgrade button in the UI