Migrating TIBCO Enterprise Administrator Database from Earlier Version to Version 2.4.1
In TIBCO Enterprise Administrator 2.4.1, H2 database version is upgraded from version 1.4.195 to 2.1.210. You must perform the following steps to migrate your database configured in an earlier version of TIBCO Enterprise Administrator to new format in the version 2.4.1.
- Procedure
-
Stop TIBCO Enterprise Administrator server.
- Take backup of
<TIBCO_CONFIG_HOME>/tibco/cfgmgmt/tea/data
directory. -
Run the following commands:
Copycd <TIBCO_HOME>/tea/2.4
Copy
java -cp lib/h2-1.3.176.jar org.h2.tools.Script -url jdbc:h2:<TIBCO_CONFIG_HOME>/tibco/cfgmgmt/tea/data/TEA -script tea.zip -options compression zipCopy
java -cp lib/h2-1.3.176.jar org.h2.tools.Script -url jdbc:h2:<TIBCO_CONFIG_HOME>/tibco/cfgmgmt/tea/data/TEA-REALM -script tea-realms.zip -options compression zipThis will create
tea.zip
andtea-realms.zip
file in the current directory. - Install TIBCO Enterprise Administrator 2.4.1. For more information, see Installation.
-
Copy
tea.zip
andtea-realms.zip
files in<TIBCO_HOME>/tea/2.4.1
directory using the following command:Copycd <TIBCO_HOME>/tea/2.4
Copycp tea.zip ../2.4.1
Copy
cp tea-realms.zip ../2.4.1 -
Run the following commands to restore the database:
Copycd <TIBCO_HOME>/tea/2.4.1
Copy
java -cp lib/h2-2.1.210.jar org.h2.tools.RunScript -script tea.zip -url "jdbc:h2:<TIBCO_CONFIG_HOME>/tibco/cfgmgmt/tea/data/TEA;NON_KEYWORDS=KEY,VALUE" -options compression zip variable_binaryCopy
java -cp lib/h2-2.1.210.jar org.h2.tools.RunScript -script tea-realms.zip -url "jdbc:h2:<TIBCO_CONFIG_HOME>/tibco/cfgmgmt/tea/data/TEA-REALM;NON_KEYWORDS=KEY,VALUE" -options compression zip variable_binary -
Start the TIBCO Enterprise Administrator server from
<TIBCO_HOME>/tea/2.4.1/bin
directory and verify if all the data from previous version is migrated to version 2.4.1.