Procedure: Fast upgrade Unica Interact
Before you begin
Pre-requisites to upgrade from Unica Interact 8.6.x/later version to Unica Interact 12.0:
Procedure
- Ensure that Unica Platform and Unica Campaign are upgraded successfully on the target setup. Install Interact 12.0 on the setup.
- Take a backup for source system Databases InteractDT, InteractRT,Interact Learning, Interact prod
- Make sure that the Interact related files in Campaign's 'partition' folder are copied from the source system to the target system.
- Restore the backed up database schema on target system.
- Create data sources on the target application server and point to the new database schema. You can use the same JNDI names as those in the source system to save effort in doing manual changes.
Upgrading Interact DT
Procedure
-
Update setenv.sh with the values required for upgrade. For details on the environment variables
in the setenv.sh file, refer to the Interact Upgrade guide.
-
Pre-requisite to complete before running the Interact upgrade
tool:Update the jdbc.properties file under:
<Installation_Home>\install\
<Interact_Home>\interactDT\tools\upgrade\conf
The “jdbc.properties" file must contain the correct JDBC URL, Platform system database userID and encrypted password. If this information is incorrect, then the Interact upgrade tool will fail with database authentication related errors.
- Execute Interact “aciUpgradeTool.sh/bat". This Upgrade tool execution is similar to the usual acUpgradeToolexecution of Campaign.
- While executing the upgrade tool you are prompted for database details. Enter the Interact DesignTime Database details.
-
The tool will also prompt for “select base version to upgrade". You will
able to see the upgrade version specified for CHOICES_FOR_PREVIOUS_VERSIONS.
Select the fast upgrade base version to upgrade from.
- Once the upgrade tool execution completes, check the related logs to ensure that no errors were encountered during the upgrade tool execution.
Upgrading Interact RT, Interact learning and Interact Production databases
Procedure
-
Update setenv.sh with required values for Unica Interact upgrade. For details on the environment
variables in the setenv.sh file, refer to the Unica Interact Upgrade guide.
-
Pre-requisite to complete before running the Interact upgrade tool: Update
the jdbc.properties file under:
<Installation_Home>\install\
<Interact_Home>\tools\upgrade\conf
The “jdbc.properties" file must contain the correct JDBC URL, Platform system database userID and encrypted password. If this information is incorrect, the Interact upgrade tool will fail with database authentication related errors.
-
Execute Interact “aciUpgradeTool_crhtab .sh/bat" . This Upgrade tool
execution is similar to the usual aciUpgradeTool.
-
While executing the upgrade tool you are prompted for database
details mention the details of the Interact DesignTime Database. The
tool will also prompt for “select base version to upgrade". You will
see the upgrade version specified with
CHOICES_FOR_PREVIOUS_VERSIONS
= Select the fast upgrade base version you are upgrading from. - Once the upgradetool execution completes, check the related logs and ensure that no errors were encountered during the upgrade tool execution.
-
While executing the upgrade tool you are prompted for database
details mention the details of the Interact DesignTime Database. The
tool will also prompt for “select base version to upgrade". You will
see the upgrade version specified with
-
Execute Interact “aciUpgradeTool_runtab.sh/bat". This Upgrade tool
execution is similar to the usual aciUpgradeTool.
- While executing the upgrade tool you are prompted for database details. Enter the Interact RunTime Database details. The tool will also prompt for “select base version to upgrade", you can see the upgrade version specified in CHOICES_FOR_PREVIOUS_VERSIONS. Select the fast upgrade base version you are upgrading from.
- Once the upgradetool execute completes, check the related logs and ensure that no errors were encountered during the upgrade tool execution.
-
Execute Interact “aciUpgradeTool_lrntab .sh/bat". This Upgrade tool
execution is similar to the usual aciUpgradeTool.
-
While executing the upgrade tool you are prompted for database
details. Enter the Interact Learning Database details.The tool will
also prompt for “select base version to upgrade". You can see the
upgrade version specified with
CHOICES_FOR_PREVIOUS_VERSIONS
. Select the fast upgrade base version to upgrade from. - Once the upgradetool execution completes, check the related logs and ensure that errors were not encountered during the upgrade tool execution.
-
While executing the upgrade tool you are prompted for database
details. Enter the Interact Learning Database details.The tool will
also prompt for “select base version to upgrade". You can see the
upgrade version specified with
-
Execute Interact “aciUpgradeTool_usrtab.sh/bat". This Upgrade tool
execution is similar to the usual aciUpgradeTool.
- During the execution of the upgrade tool, you are prompted for database details. Enter the Interact Production/prod Database details. The tool will also prompt for “select base version to upgrade". You can see the upgrade version specified with CHOICES_FOR_PREVIOUS_VERSIONS. Select the fast upgrade base version to upgrade from.
- Once the upgradetool execution completes, check the related logs and ensure no errors were encountered during the upgrade tool execution.
Execute ILPB Migration Uitility
About this task
Properties setups for the ILPB migration upgrade utility
Procedure
-
Navigate to path
<Installation_Directory>\Interact\tools\upgrade\conf
and open ACIILPBUpgradeTaskList_usrtab.properties file.ILPB_TABLES_TO_UPDATE – Append the ILPB table (whitelist offers, default offers, offer by SQL) names which you want to migrate data from old columns to new predicate columns. The utility work only on the tables mentioned for this property.
ILPB_MIGRATIONTASK_BATCHSIZE - You can set this property for specifying the batch size for data update operations of this utility.
-
Run the standalone batch file aciILPBUpgradeTool_usrtab.bat or the
shell script file aciILPBUpgradeTool_usrtab.sh from path
"
<Installation_Directory>\Interact\tools\upgrade
" to run the migration utility.
Updating the JDBC file in InteractRT WAR
About this task
Procedure
- Take a back up of the interactRT.war file from the 12.0 environment (Interact/interactRT.war).
- Unwar the interactRT.war file.
- Copy the jdbc.properties file from Platform/tools/bin/ directory and paste it under interactRT.war/WEB-INF/classes.
- Re-war the interactRT.
Post Upgrade
Procedure
-
Register Interact DT Rest API Filter V2.
Navigate to the PLATFORM_HOME/tools/bin
directory.
Execute the following commands:
configTool.bat -vp -p "Affinium|suite|security|apiSecurity|interact" -f <Interact_Home>\interactDT\conf\ Interact_API_V2_Filter.xml
-
Interact version registration:
- This step is not required if you are upgrading from 11.x version. You must update the old Interact navigation with a new one.
-
Execute the following commands on the destination 12.0
environment:
Remove old menu:
configTool.bat -d -p "Affinium|suite|uiNavigation|mainMenu|Campaign|Interactive Channels" -o
Add the new menu:
configTool.sh/bat -i -p "Affinium|suite|uiNavigation|mainMenu"
"full_path_to_Interact_installation_directory/conf/interact_navigation.xml" - Register Unica Interact settings as configuration menu under "Affinium|suite|uiNavigation|settings" menu using full_path_to_Interact_installation_directory/interactDT/conf/interact_setup_navigation.xml.
-
Platform – DBResourceBundle: The following steps imports resource bundles
in Unica Platform. Execute the script underneath as specified:
a. b.
- Navigate to <platform_home>/tools/bin.
-
Run this command. DBResourceBundle.sh /bat -P interact-F <Interact_home>/resourcebundles
- If you have added any custom entries in the 'interact_log4j.xml' file on source 8.6 setup, then you must copy those custom entries into the target setup in the newly added 'interact_log4j2.xml' file.
- Deploy Interact RT WAR file.
- Update the configuration instanceURLs accordingly for your ServerGroup defined at Affinium|Campaign|partitions|partition1|Interact|serverGroups.
The second Interact runtime
Procedure
- Repeat the following steps for each Interact runtime if you have used a different server group and Platform.
- Install New Platform 12.0 with Interact RT.
- Perform the Platform upgrade and make the setup ready. (Refer the Platform Upgrade Guide.)
- Copy and restore the InteractRT database from the source to the target.
- Upgrade the database from source database to 12.0 by running the aciupgrade utility for RT.
- Create data sources on the target application server using the same JNDI names as the source setup.
- Deploy InteractRT.war.
Important
CFS updates: If the customer is using SOAP, then generate the proxy code based on the new WSDL and rebuild the CFS code using the new proxy.
Notes
Procedure
-
After Upgrade, it is observed that a Configuration Node sessionManagement
is displayed under:
Affinium|interact|
. Removal of this configuration can be done using the Platform configTool.sh/configTool.bat tool. -
After upgrade, it is observed that configuration Node treatmentStore is
displayed under
Affinium|Interact|services|contactHist|
. Removal of this configuration can be done using the Platform configTool.sh/configTool.bat tool. -
In case, after deployment during access you encounter the
DB2 SQL Error: SQLCODE=-668, SQLSTATE=57016, SQLERRMC=7
error, then contact your DBA and run the REORG query on the necessary database tables. - Removal steps are not applicable if you are upgrading from 11.x to 12.0.
Configure BIRT reports with Interact
Complete the following steps.
Procedure
-
Import Interact Reports schemas in Platform configuration.
Navigate to "<INTERACT_HOME>/reports/tools".
Run the
import_all.sh/bat
script. - For Reports pack configurations, see the BIRT Reports Installation and Configuration guide.