...
- Go to the
<DAS-3.2.0_HOME>/repository/conf
directory and update the datasource references in theuser-mgt.xml
andregistry.xml
files to match the updated configurations in themaster-datasources.xml
file that you made in the above step.
For detailed instructions to configure theuser-mgt.xml file
, see User Management.
For detailed instructions to configure theregistry.xml
file, see Registry. - Compare the configuration files in the
<DAS_HOME>/repository/conf/data-bridge
directory for DAS 3.1.0, and 3.2.0. Compare the configuration files in the
<DAS_HOME>/repository/conf/analytics
directory for DAS 3.1.0, and 3.2.0. Change the default values in DAS 3.2.0 to the same values you have specified in DAS 3.1.0.Info In DAS 3.2.0 following files are moved to
<DAS_HOME>repository/conf/data
directory because these runtime configuration files are required for the indexing operation. This is further explained also mentioned under Migrating indexing information.my-node-id.conf
local-shard-allocation.conf
Change the default values in
<DAS_3.2.0_HOME>/repository/conf/event-processor.xml
file to the same values you have specified in the<DAS_3.1.0_HOME>/repository/conf/event-processor.xml
file.Info In DAS 3.2.0, we have introduced a parameter for single-node persistence in the
event-processor.xml
file. The deployment mode is set to single-node deploment by default as shown below.<mode name="Single" enable="true">
If the existing mode in DAS_3.1.0 is HA, you have to disable theSingle
mode and enable theHA
mode in DAS_3.2.0 as shown below.
<mode name="Single" enable="false">
<mode name="HA" enable="true">
If you enable the HA mode for WSO2 DAS by setting the
<mode name="HA" enable="true">
property in theevent-processor.xml
file, state persistence is enabled by default. If there is no real time use case that requires any state information after starting the cluster, you should disable event persistence by setting thepersistence
attribute tofalse
in the same file as shown below.Code Block language xml <persistence enable="false"> <persistenceIntervalInMinutes>15</persistenceIntervalInMinutes> <persisterSchedulerPoolSize>10</persisterSchedulerPoolSize> <persister class="org.wso2.carbon.event.processor.core.internal.persistence.FileSystemPersistenceStore"> <property key="persistenceLocation">cep_persistence</property> </persister> </persistence>
- Check for any other configurations that were done for DAS 3.1.0 based on your solution and update the configuration files in DAS 3.2.0 accordingly. For example, configurations related to external user stores, caching, mounting, transports etc.
...
Localtabgroup | |||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
|
Migrating encrypted data
To migrate encrypted data in WSO2 DAS 3.1.0 when you upgrade to WSO2 3.2.0, follow the steps below:
...