Configuring after upgrade
To enable disaster recovery
Perform the following tasks after upgrading the primary site:
- If you have enabled disaster recovery, you will be prompted to re-enable it.
Type y to enable disaster recovery.
Wait for the first backup to be complete.
To change the namespace pod security admission to restricted
After the upgrade, the namespace pod security admission must be changed to restricted.
To change the cluster-level pod security admission, run the following command:
pod-security.kubernetes.io/enforce=restricted \
pod-security.kubernetes.io/enforce-version=latest \
pod-security.kubernetes.io/warn=restricted \
pod-security.kubernetes.io/warn-version=latest \
pod-security.kubernetes.io/audit=restricted \
pod-security.kubernetes.io/audit-version=latest
Replace <namespace> with the namespace where you deployed BMC Helix IT Operations Management.
To remove the Open Distro and ES MinIO
Before running the clean-up script, make sure your application data is migrated from Open Distro to OpenSearch.
To remove the Open Distro and ES MinIO, run the following command:
./es-opensearch-migration.sh cleanup- You will be prompted to confirm if you want to delete the PVC used by migration MinIO, elasticsearch-events, and elasticsearch-logs.
Type y.
All data related to Open Distro and ES MinIO gets deleted.
To remove the PostgreSQL database version 12.9
Before running the clean-up script, make sure your data is migrated to PostgreSQL database version 15.5.
To remove PostgreSQL database 12.9 and the older version of PVC, run the following command:
./patroni-pg-migration.sh cleanup- You will be prompted to confirm if you want to delete the PVC used for the PostgreSQL database migration.
Type y.
The older version of the PVC gets deleted. - You will be prompted to confirm if you want to delete the older PostgreSQL database and associated pods.
Type y.
The PostgreSQL 12.9 and the associated pods get deleted.
After the cleanup, you will get the following message:
The cleanup was completed successfully.