To migrate your Tools and Frameworks installation from 11.1 to 11.2, you must first create backups of your configuration files and application content, then upgrade to the latest Tools and Frameworks package. Afterwards, you can restore Workbench configuration from your backups, and update application configuration from backups.
Migrating from Tools and Frameworks 11.1 to 11.2 consists of the steps below. They are described in detail in the following sections:
Back up Workbench configuration from the
%ENDECA_TOOLS_CONF%\conf
directory.Use the export scripts included with Tools and Frameworks 11.1 to export user information from version 11.1.
Back up Workbench by running the
export_site
script for each application you are migrating.Back up any Forge data ingest configuration by creating a copy of the
config\pipeline
directory in your application.If you use CAS, back up
config\CAS
andconfig\MDEX
directories.Optionally, back up each deployed application directory, for example,
C:\Endeca\apps\Discover
.Stop and uninstall your Tools and Frameworks 11.1 Workbench.
Restore Workbench configuration from the backups created in Step 1a.
Restore each of your applications:
If you are using Experience Manager, and you want to use the workspace feature introduced in 11.2, export the deployment settings to a temporary directory.
Restore CAS configuration from backups.
Note
You should see a warning in the console that the Dgraph is down and search term expansions have to be manually updated by running the update_search_term_expansions script.
Repeat the substeps above for each application you are migrating.
Restore Workbench user information using the
import_users
script.Restore Workbench content from the modified export file created in Step 6h by running the
import_site
script.Run a baseline update to load data into the Dgraph and start it.
If you are upgrading to 11.2 for the first time, run the
update_search_term_expansions
script to add the searchTermExpansions property.Verify that Workbench configuration and application content are present in Workbench. Optionally, promote content to your live servers.
Repeat the substeps from 6g above for each application you are migrating.
If you are using Experience Manager, and you want to use the workspace feature introduced in 11.2, import the deployment settings you exported in Step 6b.
Add the
userState
property to the following bean definitions in the Assembler context file for your application,assembler-context.xml
:In the Assembler context file for your application,
assembler-context.xml
, delete theecrStoreFactory
bean. In 11.2, all store factory configurations must use FileStoreFactory. Update all references to theecrStoreFactory
bean tostoreFactory
, or the ID used in theFileStoreFactory
bean.In the Assembler context file for your application, add the
appName
property to the Store Factory bean and themdexResource
bean:<property name="appName" value="${workbench.app.name}" />
Delete the
store.factory
property from theWEB-INF/assembler.properties
file.store.factory=ecrStoreFactory