Platform Upgrade
Last updated
Was this helpful?
Last updated
Was this helpful?
This document outlines the necessary steps for upgrading the Platform from version 1.1.5.5-P1 to 1.2.0.1.
Postgres:
Check and remove the duplicate thumbprint entries in keymanager ca_cert_store
. Refer the to know more.
Refer the for DB upgrade scripts to update the DB.
Change shareDomain
in all the relevant policies to point to latest datashare
Change shareDomain's value from datashare-service
to datashare.datashare
in the policy_file_id
column for each partner.
Check and rectify the partner name mismatch issue for certificate renewal. To know more, refer .
Follow this to check on the validity of the partner certificate and for renewal/ extension if required.
Check mvel expression, id schema and document mappings and add the required applicant document mappings. Click to know more.
Keycloak:
Follow the steps mentioned to execute upgrade keycloak init with import-init.yaml
.
Verify all the existing users of admin and update the roles according to the latest role matrix. To know more about the existing users, refer .
In Keycloak, it is important to ensure that the VID / UIN of each operator and supervisor is collected and updated in the individualId field. Failure to do so may cause complications during the onboarding or re-onboarding processes to new or existing machines, as well as during the biometrics update process for these users.
Manually update roles for client IDs that have been added as part of customization. For more information about the changes, please refer .
Activemq:
Clear all the objects along with topics in the activemq or deploy a fresh instance of activemq with no previous data
ABIS:
Stop and clear all the inprogress items as it will be reprocessed freshly.
Review the queue names and update if required (mosip-to-abis and abis-to-mosip).
Manual adjudication system:
Stop and clear all the in-progress items as it will be reprocessed freshly.
Review the queue names and update if required (mosip-to-adjudication and adjudication-to-mosip).
Manual verification system:
Stop and clear all in-progress items as it will be reprocessed freshly.
Review the queue names and update if required (mosip-to-verification and verification-to-mosip).
Update registration-processor-default.properties
reprocess elapse time to a larger time to avoid reprocessing before migration is fully complete (registration.processor.reprocess.elapse.time=315360000).
Add the below properties to syncdata-default.properties
file if reg-client versions 1.1.5.4 and below are to be supported additionally.
Configuration property files required to be updated for language specific deployments. Please follow the below snippet.
Note: Ensure that the transliteration line is not commented out, even for a single language.
Please ensure that the mosip.regproc.packet.classifier.tagging.agegroup.ranges
property is aligned with the camel route.xml file.
To begin, set up the Configuration server.
Next, configure and setup the Artifactory.
Execute the salt generation job
to generate salts for the newly created table in the regproc.
Run the key generation job
to ensure that all new module keys comply with the key_policy_def
table.
Note: Disable the masterdata loader
and regproc-reprocessor
.
Finally, restart all the services to take care of old data caching.
Initiate the regproc reprocessor.
Backup and delete any unnecessary tables and databases.
Manually remove the "mosip_regdevice" and "mosip_authdevice" databases, as they have been moved to "mosip_pms".
Delete all tables ending with "<table_name>_to_be_deleted" and "<table_name>_migr_bkp".
Remove any unnecessary roles for clients and users.
Run the data movement to the necessary three tables using the provided script. Afterward, run the migration script to re-encrypt the data and perform the movement of data from the bucket to the folder (This step is only necessary if the pre-registration has been upgraded from version 1.1.3.x). Please consult the provided for detailed instructions on how to carry out the data movement process.
Refer this to run the property migration script.
Take the latest version of the identity-mapping.json file (1.2.0.1) from mosip-config
and update the mapping values based on the country's id schema. Please refer for instructions on making the necessary updates.
Additionally, make adjustments to the mvel
config file for the application type according to each country's specific requirements. For more details on how to modify the mvel config file, please refer .
The camel routes need to be modified to accommodate the new workflow commands and ensure proper integration with external subsystems such as manual adjudication and manual verification. To understand the specific changes required, refer .
Proceed with the installation in the specified sequence. Refer to the provided for the correct order.
To resend the partner and policy details to IDA, please run the PMS utility job once. You can find the steps to run the job .
The UI specs for pre-registration should be published via the MasterData API in version 1.2.0. Previously, in version 1.1.5, the UI specs were saved in the config server. To upgrade the UI specs, please refer .
To proceed with the masterdata country specific upgrade scripts, please follow the instructions outlined .
Please create all the required applicant type details according to the applicanttype.mvel
file created in the property migration section. For more information, please refer to the document .
Starting from version 1.2.0.1, it is mandatory to prepend the thumbprint for all encryptions. Therefore, we need to ensure that the certificate thumbprint for a particular partner exactly matches in both the keymanager and IDA key_alias
tables. To learn how to check thumbprints and for further steps, please refer .
Please check and rectify any mixed case user names in the user details and zone mapping. For more information, refer .
Configure the Registration Client upgrade at the server side. Please refer to this for further instructions.
Run the query to identify all the packets stuck between the stages. Use the manual reprocess utility to reprocess all the RIDs found using the above query. Please refer to this to carry out the reprocess.
In case packets continue to fail due to performance issues, follow the steps mentioned in the to process packets from the beginning.
Perform the ID Repository tasks. Run the archival script and reprocess SQL script on the credential transaction table as specified in the .
Ensure that the datashare property is properly configured in the abis policy for the domain. Please refer to this for more detailed information.
When the admin portal becomes accessible, the admin user should generate the master keys that have been recently added to the key_policy_def
table. This can be done using the admin UI master key generation page (Keymanager) for the ADMIN_SERVICES
and RESIDENT
roles. Only proceed with this step if the corresponding entries are not already available in the key_alias
table of keymanager. For more detailed instructions, please consult the provided .
During the pre-registration upgrade process, if the encryption key is REGISTRATION,
which is an old key, it must be updated. To update the encryption key, please refer to the migration utility process by clicking .