Resolution: If you want to use the Shared Nothing (SN) store from one environment in another environment (SN store from PROD in QA) and test recovery related issues, then follow the instructions below:
- The two key items to recover using SN store from a different environment are the hostname and engine name. They need to match the engine name and hostname from which the shared nothing files were taken.
- Copy the SN Store and set the hostname used by TIBCO Business Events (BE) and use the same engine name to start the CacheAgents.
- You can set the hostname adding Cluster Deployment Descriptor (CDD) property at Processing Unit(PU) level.
be.engine.cluster.as.hostaware.hostname=<hostname_used_in_SN Store>
- TIBCO Business Events still uses the engine name (parameter -n <name>) to build the Active Spaces (AS) membername. You have to use the same member name as in your PROD environment in your QA environment as well.
To load the SN Store taken from production environment in a sample local project the following was set:
Example:
be.engine.cluster.as.hostaware.hostname=prodMachine1
be-engine -c <cdd> -u <pu> -n PRODCacheServerName
membername: prodMachine1.PRODCacheServerName
NOTE: It is not possible to update the folder-/filenames for the persistence files. The binary persistence file includes a seeder_list and will not load the data from persistence file when the current member name is not in the list.