Non-UUID to UUID content migration id226TI0U20XA
Perform these steps to migrate your content from non-UUID version 4.3.1 to UUID version 4.3.2.
-
Before you start the migration process, ensure that you have:
- Closed all active reviews.
- Closed all translation tasks.
-
Before migrating content to the UUID server, ensure that you have a non-UUID server with a compatible AEM Guides version installed on it.
-
If you are using a version before 4.3.1, upgrade to version 4.3.1. Follow the upgrade instructions specific to the licensed version of your product.
-
Currently, versions later than 4.3.1 are not supported for migration.
Package installation
Download the required packages from Adobe Software Distribution Portal, based on your version:
- Pre-migration: com.adobe.guides.pre-uuid-migration-1.2.27.zip
- Download UUID version 4.3.2: com.adobe.fmdita-6.5-uuid-4.3.2.1977.zip
- Migration: com.adobe.guides.uuid-upgrade-1.2.110.zip
Premigration checks
Perform the following checks on non-UUID version 4.3.1:
-
Install the pre-migration package com.adobe.guides.pre-uuid-migration-1.2.27.zip over version 4.3.1.
note note NOTE - You need administrator permission to execute the migration.
- Fixing the files with errors before proceeding with the migration is recommended.
-
If there are more than 100,000 DITA files in the system, update the query limit configs for the script to work:
- Navigate to
/system/console/configMgr and increase both the configs to more than number of assets - queryLimitInMemory
andqueryLimitReads under org.apache.jackrabbit.oak.query.QueryEngineSettingsService
- Navigate to
-
Launch
http://<server-name>/libs/fmdita/clientlibs/xmleditor_uuid_upgrade/page.html
. -
Select Compatibility Assessment from the left panel and browse the
/content/dam
folder path for all assets. -
Check the compatibility to list the following information:
- Total files
- Estimated time for migration
- Number of files with errors
- Files with GUID filename
-
If the error appears, then analyze the logs and fix those errors. You can re-run the compatibility matrix after fixing the errors.
-
Select Configure Validations from the left panel. Then, Select map and Select preset of the map to configure them. The current output validation list displays the output files present before migration and can be validated against the output files generated post-migration later.
By selecting multiple and large DITA maps, you can validate that all the content has been successfully migrated without issues. Selecting presets with baselines in them, also ensures that baselines and versions are migrated successfully.
-
(Optional) Perform version purging on the content to remove unnecessary versions and speed up the migration process. To perform version purging, select the option Version Purge from the migration screen and go to the user interface using the URL
http://<server- name>/libs/fmdita/clientlibs/xmleditor_uuid_upgrade/page.html
.note note NOTE This utility does not remove any versions used in baselines or reviews or has any labels.
For more details, view purge older versions.
Migration prerequisites
-
Execute UUID migration only on an Author instance.
-
Ensure the following infrastructure readiness:
- Author instance is upsized in terms of CPU and memory to support faster processing and additional memory needed for bulk activity. for example, if the current allocated CPU and memory are 8 vCPU and 24 GB heap, then use double the size for this activity.
- The overall disk space and temporary disk space
(crx-quickstart directory)
should have a buffer of 10 times what is already consumed. Once you complete the migration, you can reclaim most of the disk space by running compaction. - Do run Offline Tar compaction before starting this activity.
- Make sure that no indexing or system maintenance is planned during the window of this migration.
-
Install the UUID version of the supported release over the non-UUID version. For example, if you’re using 4.3.1 non-UUID build, you need to install UUID version 4.3.2 com.adobe.fmdita-6.5-uuid-4.3.2.1977.zip) and run the migration.
-
Install the uuid migration upgrade package com.adobe.guides.uuid-upgrade-1.2.110.zip.
-
Disable launchers for the following workflows using the URL:
http://<server-name>/libs/cq/workflow/content/console.html
.- DAM Update Asset workflow
- DAM Metadata Writeback workflow
note note NOTE Ideally any workflow launchers, which run on any path inside content/dam
should be disabled. -
Update the following configurations as per the suggested changes:
table 0-row-3 1-row-3 2-row-3 3-row-3 4-row-3 Configuration Property Value com.adobe.fmdita.config.ConfigManager
Enable Post Processing Workflow Launchers Disable com.adobe.fmdita.config.ConfigManager
uuid. regex ^GUID-(?<id>.*)
com.adobe.fmdita.postprocess.version.PostProcessVersionObservation
Enable Version Postprocessing Disable Day CQ Tagging Service Enable validation (validation.enabled) Disable -
Add a separate logger for:
com.adobe.fmdita.uuid
com.adobe.guides.uuid
.
-
(If not done earlier) If there are more than 100,000 DITA files in the system, update the
queryLimitReads
underorg.apache.jackrabbit.oak.query.QueryEngineSettingsService
to a larger value (any value greater than the number of assets present, for example 200,000).table 0-row-3 1-row-3 PID Property Key Property Value org.apache.jackrabbit.oak.query.QueryEngineSettingsService queryLimitReads Value: 200000
Default Value: 100000
Migration
-
Launch
http://<server-name>/libs/fmdita/clientlibs/xmleditor_uuid_upgrade/page.html
.note note NOTE If you choose “Enable DITA asset backup”, the temporary backup files are stored under /content/uuid-upgrade
and the DITA file backups are deleted when the migration of a file is complete. -
Select System upgrade from the left panel to run the migration. It’s recommended to migrate all the data at once, as the system optimally handles batching internally. Only files that are not DITA assets and are not used in any DITA assets can be skipped for migration.
-
(Optional) Select the folders for which you want to skip the migration. Use this option to migrate these folders later or skip migrating them. Ensure that these folders don’t have any DITA assets and aren’t referred by (and in the future won’t be referred by) any DITA assets. For example,
content/dam/projects
. -
Select Enable dita asset backup to create a backup of asset before migration. This backup is used to rollback in case there is an error in migrating a file. The backup is deleted, if the migration is successful. However, this slows down the migration process.
-
Start the migration.
note note NOTE Download the full logs and observe if there were any errors. If any error or exception is found Do not proceed but first fix the error. Common errors are listed at the end of this article. -
Once the migration is complete, the report is available to download and entire logs can also be downloaded.
-
Select Download Report while the migration is running to check whether all files in the folder are upgraded correctly and whether all features work only for that folder.
note note NOTE Content migration can be run on a folder level, the complete /content/dam
, or the same folder (rerun migration).Also, it’s important to make sure that the content migration is done for all the media assets, such as images and graphics you have used in the DITA content.
-
Once all the files are migrated, select Baseline/Review Upgrade from the left panel to migrate the baselines and review at the folder level.
Analyzing the reports from each step
Step: System Upgrade
Step: Upgrade Baselines
baselineObj not found on
Postmigration
-
Once the migration is completed, select Validate system upgrade from the left panel and validate the output files before and after the migration to ensure that the migration is successful.
-
After migrating the server successfully enable the following workflows and configurations (including all the other workflows that were disabled initially during the migration) to continue working on the server:
- DAM Update Asset workflow
- DAM Metadata workflow
note note NOTE Ideally any workflow launchers, which were running on any path inside content/dam
before the migration should be enabled. -
Enable the following configurations:
table 0-row-3 1-row-3 2-row-3 3-row-3 Configuration Property Value com.adobe.fmdita.config.ConfigManager
Enable Post Processing Workflow Launchers Enable com.adobe.fmdita.postprocess.version.PostProcessVersionObservation
Enable Version Postprocessing Enable Day CQ Tagging Service Enable validation (validation.enabled) Enable -
Assets properties to review post migration:
table 0-row-4 1-row-4 Configuration Property Pre migration value on Non-UUID Post migration value on UUID com.adobe.fmdita.config.ConfigManager
Use title for AEM Site page names False (default value) True note note NOTE If before migration, the property, Use title for AEM Site page names inside com.adobe.fmdita.config.ConfigManager
, set to False, then after migration this property needs to be updated. -
After the validation is done, most of the disk space can be reclaimed by running compaction (refer to
https://experienceleague.adobe.com/docs/experience-manager-65/deploying/deploying/revision-cleanup.html?lang=en
).