enable_auto_migration key helps you automatically migrate existing profile instances to the latest version of the installed probe templates.
The migration status is stored in status column of SSRV2ProbeTemplatesPackage table.
If some of the templates have the status "migrating", all the MCS profiles will remain locked.
Release : UIM 20.x / 9.x
Component : UNIFIED INFRASTRUCTURE MGMT
1. Run next query on DX Infrastructure Database, to confirm whether there is any template with status "migrating"
select * from SSRV2ProbeTemplatesPackage where status = 'migrating'
2. If the above query return data, please follow below steps
2.1 Take the backup of SSRV2ProbeTemplatesPackage table
2.2 Keep the select * from SSRV2ProbeTemplatesPackage where status = 'migrating' query result with you to use it in 4 (optional).
2.3 Run below query :
update SSRV2ProbeTemplatesPackage set status='loaded' where status='migrating'
3. Wait for some time and load the UnifiedServiceManager (USM) in UMP and go to monitoring tab and check whether profiles are unlocked.
4. If the profiles are unlocked and if you still want to migrate the templates were stuck on "migrating", please follow below steps:
4.1 go to Infrastructure Management (IM) and open the raw configuration of mon_config_service probe. Then click on migration tab and then set the enable_auto_migration value to false.
4.2 set the mon_config_service probe logs to loglevel 5 and logsize as 10240, and try to migrate again these template by running activate_probe_templates_package MCS callback.
The parameters for the callback, i.e. probe_name and template_package_version can be obtained from 2.2, columns probe_name and probe_template_pkg_version
4.3 If migration is still failing , please log a case, and attach the logs collected to that case.
UIM - Find all hosts with failed MCS profiles
UIM - Unlock MCS Profiles locked with Red Cross